~ubuntu-branches/ubuntu/vivid/libspectre/vivid-proposed

« back to all changes in this revision

Viewing changes to configure

Tags: upstream-0.2.3
ImportĀ upstreamĀ versionĀ 0.2.3

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 libspectre 0.2.2.
 
3
# Generated by GNU Autoconf 2.63 for libspectre 0.2.3.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
## --------------------- ##
15
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
16
  emulate sh
17
17
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
19
  # is contrary to our usage.  Disable this feature.
20
20
  alias -g '${1+"$@"}'='"$@"'
21
21
  setopt NO_GLOB_SUBST
37
37
as_cr_digits='0123456789'
38
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
51
79
fi
52
80
 
53
81
# Support unset when possible.
63
91
# there to prevent editors from complaining about space-tab.
64
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
93
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
94
IFS=" ""        $as_nl"
69
95
 
70
96
# Find who we are.  Look in the path if we contain no directory separator.
87
113
  as_myself=$0
88
114
fi
89
115
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
117
  { (exit 1); exit 1; }
92
118
fi
93
119
 
100
126
PS4='+ '
101
127
 
102
128
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
114
133
 
115
134
# Required to use basename.
116
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
132
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
152
         X"$0" : 'X\(//\)$' \| \
134
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
 
154
$as_echo X/"$0" |
136
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
156
            s//\1/
138
157
            q
158
177
  as_have_required=no
159
178
fi
160
179
 
161
 
  if test $as_have_required = yes &&     (eval ":
 
180
  if test $as_have_required = yes &&     (eval ":
162
181
(as_func_return () {
163
182
  (exit \$1)
164
183
}
240
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
260
  emulate sh
242
261
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
263
  # is contrary to our usage.  Disable this feature.
245
264
  alias -g '${1+"$@"}'='"$@"'
246
265
  setopt NO_GLOB_SUBST
261
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
281
  emulate sh
263
282
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
284
  # is contrary to our usage.  Disable this feature.
266
285
  alias -g '${1+"$@"}'='"$@"'
267
286
  setopt NO_GLOB_SUBST
341
360
 
342
361
      if test "x$CONFIG_SHELL" != x; then
343
362
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
367
fi
349
368
 
350
369
 
413
432
 
414
433
test \$exitcode = 0") || {
415
434
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this message.
 
437
  echo This can help us improve future autoconf versions.
 
438
  echo Configuration will now proceed without shell functions.
419
439
}
420
440
 
421
441
 
451
471
      s/-\n.*//
452
472
    ' >$as_me.lineno &&
453
473
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
475
   { (exit 1); exit 1; }; }
456
476
 
457
477
  # Don't try to exec as it changes $[0], causing all sort of problems
479
499
*)
480
500
  ECHO_N='-n';;
481
501
esac
482
 
 
483
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
504
  as_expr=expr
492
511
  rm -f conf$$.dir/conf$$.file
493
512
else
494
513
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
496
515
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
505
528
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
529
  fi
508
530
else
509
531
  as_ln_s='cp -p'
510
532
fi
529
551
  as_test_x='
530
552
    eval sh -c '\''
531
553
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
554
        test -d "$1/.";
533
555
      else
534
556
        case $1 in
535
 
        -*)set "./$1";;
 
557
        -*)set "./$1";;
536
558
        esac;
537
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
560
        ???[sx]*):;;*)false;;esac;fi
553
575
# Check that we are running under the correct shell.
554
576
SHELL=${CONFIG_SHELL-/bin/sh}
555
577
 
556
 
case X$ECHO in
 
578
case X$lt_ECHO in
557
579
X*--fallback-echo)
558
580
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
582
  ;;
561
583
esac
562
584
 
563
 
echo=${ECHO-echo}
 
585
ECHO=${lt_ECHO-echo}
564
586
if test "X$1" = X--no-reexec; then
565
587
  # Discard the --no-reexec flag, and continue.
566
588
  shift
567
589
elif test "X$1" = X--fallback-echo; then
568
590
  # Avoid inline document here, it may be left over
569
591
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
572
594
  :
573
595
else
574
596
  # Restart under the correct shell.
578
600
if test "X$1" = X--fallback-echo; then
579
601
  # used as fallback echo
580
602
  shift
581
 
  cat <<EOF
 
603
  cat <<_LT_EOF
582
604
$*
583
 
EOF
 
605
_LT_EOF
584
606
  exit 0
585
607
fi
586
608
 
588
610
# if CDPATH is set.
589
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
612
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
613
if test -z "$lt_ECHO"; then
 
614
  if test "X${echo_test_string+set}" != Xset; then
 
615
    # find a string as large as possible, as long as the shell can cope with it
 
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
620
      then
 
621
        break
 
622
      fi
 
623
    done
 
624
  fi
 
625
 
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
    :
 
630
  else
 
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
632
    # backslashes.  This makes it impossible to quote backslashes using
 
633
    #   echo "$something" | sed 's/\\/\\\\/g'
 
634
    #
 
635
    # So, first we look for a working echo in the user's PATH.
 
636
 
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
638
    for dir in $PATH /usr/ucb; do
 
639
      IFS="$lt_save_ifs"
 
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
        ECHO="$dir/echo"
 
645
        break
 
646
      fi
 
647
    done
618
648
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
649
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
650
    if test "X$ECHO" = Xecho; then
 
651
      # We didn't find a better echo, so look for alternatives.
 
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
        # This shell has a builtin print -r that does the trick.
 
656
        ECHO='print -r'
 
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
659
        # If we have ksh, try running configure again with it.
 
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
661
        export ORIGINAL_CONFIG_SHELL
 
662
        CONFIG_SHELL=/bin/ksh
 
663
        export CONFIG_SHELL
 
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
665
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
666
        # Try using printf.
 
667
        ECHO='printf %s\n'
 
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
671
          # Cool, printf works
 
672
          :
 
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
674
             test "X$echo_testing_string" = 'X\t' &&
 
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
678
          export CONFIG_SHELL
 
679
          SHELL="$CONFIG_SHELL"
 
680
          export SHELL
 
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
683
             test "X$echo_testing_string" = 'X\t' &&
 
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
687
        else
 
688
          # maybe with a smaller string...
 
689
          prev=:
 
690
 
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
693
            then
 
694
              break
 
695
            fi
 
696
            prev="$cmd"
 
697
          done
 
698
 
 
699
          if test "$prev" != 'sed 50q "$0"'; then
 
700
            echo_test_string=`eval $prev`
 
701
            export echo_test_string
 
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
703
          else
 
704
            # Oops.  We lost completely, so just stick with echo.
 
705
            ECHO=echo
674
706
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
707
        fi
686
708
      fi
687
709
    fi
688
710
  fi
689
711
fi
690
 
fi
691
712
 
692
713
# Copy echo and quote the copy suitably for passing to libtool from
693
714
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
715
lt_ECHO=$ECHO
 
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
718
fi
698
719
 
699
720
 
700
721
 
701
722
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
723
exec 7<&0 </dev/null 6>&1
707
724
 
708
725
# Name of the host.
726
743
# Identity of this package.
727
744
PACKAGE_NAME='libspectre'
728
745
PACKAGE_TARNAME='libspectre'
729
 
PACKAGE_VERSION='0.2.2'
730
 
PACKAGE_STRING='libspectre 0.2.2'
 
746
PACKAGE_VERSION='0.2.3'
 
747
PACKAGE_STRING='libspectre 0.2.3'
731
748
PACKAGE_BUGREPORT=''
732
749
 
733
750
# Factoring default headers for most tests.
766
783
# include <unistd.h>
767
784
#endif"
768
785
 
769
 
ac_subst_vars='SHELL
770
 
PATH_SEPARATOR
771
 
PACKAGE_NAME
772
 
PACKAGE_TARNAME
773
 
PACKAGE_VERSION
774
 
PACKAGE_STRING
775
 
PACKAGE_BUGREPORT
776
 
exec_prefix
777
 
prefix
778
 
program_transform_name
779
 
bindir
780
 
sbindir
781
 
libexecdir
782
 
datarootdir
783
 
datadir
784
 
sysconfdir
785
 
sharedstatedir
786
 
localstatedir
787
 
includedir
788
 
oldincludedir
789
 
docdir
790
 
infodir
791
 
htmldir
792
 
dvidir
793
 
pdfdir
794
 
psdir
795
 
libdir
796
 
localedir
797
 
mandir
798
 
DEFS
799
 
ECHO_C
800
 
ECHO_N
801
 
ECHO_T
802
 
LIBS
803
 
build_alias
804
 
host_alias
805
 
target_alias
806
 
INSTALL_PROGRAM
807
 
INSTALL_SCRIPT
808
 
INSTALL_DATA
809
 
am__isrc
810
 
CYGPATH_W
811
 
PACKAGE
812
 
VERSION
813
 
ACLOCAL
814
 
AUTOCONF
815
 
AUTOMAKE
816
 
AUTOHEADER
817
 
MAKEINFO
818
 
install_sh
819
 
STRIP
820
 
INSTALL_STRIP_PROGRAM
821
 
mkdir_p
822
 
AWK
823
 
SET_MAKE
824
 
am__leading_dot
825
 
AMTAR
826
 
am__tar
827
 
am__untar
828
 
MAINTAINER_MODE_TRUE
829
 
MAINTAINER_MODE_FALSE
830
 
MAINT
831
 
VERSION_INFO
832
 
LT_CURRENT_MINUS_AGE
833
 
LT_CURRENT
834
 
LT_REVISION
835
 
LT_AGE
836
 
SPECTRE_MAJOR_VERSION
837
 
SPECTRE_MINOR_VERSION
838
 
SPECTRE_MICRO_VERSION
839
 
SPECTRE_VERSION
 
786
ac_subst_vars='am__EXEEXT_FALSE
 
787
am__EXEEXT_TRUE
 
788
LTLIBOBJS
 
789
LIBOBJS
 
790
SPECTRE_CFLAGS
 
791
ENABLE_TEST_FALSE
 
792
ENABLE_TEST_TRUE
 
793
CAIRO_LIBS
 
794
CAIRO_CFLAGS
 
795
PKG_CONFIG
 
796
LIB_GS
 
797
CPP
 
798
OTOOL64
 
799
OTOOL
 
800
LIPO
 
801
NMEDIT
 
802
DSYMUTIL
 
803
lt_ECHO
 
804
RANLIB
 
805
AR
 
806
OBJDUMP
 
807
LN_S
 
808
NM
 
809
ac_ct_DUMPBIN
 
810
DUMPBIN
 
811
LD
 
812
FGREP
 
813
EGREP
 
814
GREP
 
815
SED
 
816
am__fastdepCC_FALSE
 
817
am__fastdepCC_TRUE
 
818
CCDEPMODE
 
819
AMDEPBACKSLASH
 
820
AMDEP_FALSE
 
821
AMDEP_TRUE
 
822
am__quote
 
823
am__include
 
824
DEPDIR
 
825
OBJEXT
 
826
EXEEXT
 
827
ac_ct_CC
 
828
CPPFLAGS
 
829
LDFLAGS
 
830
CFLAGS
 
831
CC
 
832
host_os
 
833
host_vendor
 
834
host_cpu
 
835
host
 
836
build_os
 
837
build_vendor
 
838
build_cpu
840
839
build
841
 
build_cpu
842
 
build_vendor
843
 
build_os
844
 
host
845
 
host_cpu
846
 
host_vendor
847
 
host_os
848
 
CC
849
 
CFLAGS
850
 
LDFLAGS
851
 
CPPFLAGS
852
 
ac_ct_CC
853
 
EXEEXT
854
 
OBJEXT
855
 
DEPDIR
856
 
am__include
857
 
am__quote
858
 
AMDEP_TRUE
859
 
AMDEP_FALSE
860
 
AMDEPBACKSLASH
861
 
CCDEPMODE
862
 
am__fastdepCC_TRUE
863
 
am__fastdepCC_FALSE
864
 
GREP
865
 
EGREP
866
 
LN_S
867
 
ECHO
868
 
AR
869
 
RANLIB
870
 
CPP
871
 
CXX
872
 
CXXFLAGS
873
 
ac_ct_CXX
874
 
CXXDEPMODE
875
 
am__fastdepCXX_TRUE
876
 
am__fastdepCXX_FALSE
877
 
CXXCPP
878
 
F77
879
 
FFLAGS
880
 
ac_ct_F77
881
840
LIBTOOL
882
 
LIB_GS
883
 
PKG_CONFIG
884
 
CAIRO_CFLAGS
885
 
CAIRO_LIBS
886
 
ENABLE_TEST_TRUE
887
 
ENABLE_TEST_FALSE
888
 
SPECTRE_CFLAGS
889
 
LIBOBJS
890
 
LTLIBOBJS'
 
841
SPECTRE_VERSION
 
842
SPECTRE_MICRO_VERSION
 
843
SPECTRE_MINOR_VERSION
 
844
SPECTRE_MAJOR_VERSION
 
845
LT_AGE
 
846
LT_REVISION
 
847
LT_CURRENT
 
848
LT_CURRENT_MINUS_AGE
 
849
VERSION_INFO
 
850
MAINT
 
851
MAINTAINER_MODE_FALSE
 
852
MAINTAINER_MODE_TRUE
 
853
am__untar
 
854
am__tar
 
855
AMTAR
 
856
am__leading_dot
 
857
SET_MAKE
 
858
AWK
 
859
mkdir_p
 
860
MKDIR_P
 
861
INSTALL_STRIP_PROGRAM
 
862
STRIP
 
863
install_sh
 
864
MAKEINFO
 
865
AUTOHEADER
 
866
AUTOMAKE
 
867
AUTOCONF
 
868
ACLOCAL
 
869
VERSION
 
870
PACKAGE
 
871
CYGPATH_W
 
872
am__isrc
 
873
INSTALL_DATA
 
874
INSTALL_SCRIPT
 
875
INSTALL_PROGRAM
 
876
target_alias
 
877
host_alias
 
878
build_alias
 
879
LIBS
 
880
ECHO_T
 
881
ECHO_N
 
882
ECHO_C
 
883
DEFS
 
884
mandir
 
885
localedir
 
886
libdir
 
887
psdir
 
888
pdfdir
 
889
dvidir
 
890
htmldir
 
891
infodir
 
892
docdir
 
893
oldincludedir
 
894
includedir
 
895
localstatedir
 
896
sharedstatedir
 
897
sysconfdir
 
898
datadir
 
899
datarootdir
 
900
libexecdir
 
901
sbindir
 
902
bindir
 
903
program_transform_name
 
904
prefix
 
905
exec_prefix
 
906
PACKAGE_BUGREPORT
 
907
PACKAGE_STRING
 
908
PACKAGE_VERSION
 
909
PACKAGE_TARNAME
 
910
PACKAGE_NAME
 
911
PATH_SEPARATOR
 
912
SHELL'
891
913
ac_subst_files=''
 
914
ac_user_opts='
 
915
enable_option_checking
 
916
enable_maintainer_mode
 
917
enable_shared
 
918
enable_static
 
919
with_pic
 
920
enable_fast_install
 
921
enable_dependency_tracking
 
922
with_gnu_ld
 
923
enable_libtool_lock
 
924
enable_asserts
 
925
enable_checks
 
926
enable_test
 
927
'
892
928
      ac_precious_vars='build_alias
893
929
host_alias
894
930
target_alias
898
934
LIBS
899
935
CPPFLAGS
900
936
CPP
901
 
CXX
902
 
CXXFLAGS
903
 
CCC
904
 
CXXCPP
905
 
F77
906
 
FFLAGS
907
937
PKG_CONFIG
908
938
CAIRO_CFLAGS
909
939
CAIRO_LIBS'
912
942
# Initialize some variables set by options.
913
943
ac_init_help=
914
944
ac_init_version=false
 
945
ac_unrecognized_opts=
 
946
ac_unrecognized_sep=
915
947
# The variables have the same names as the options, with
916
948
# dashes changed to underlines.
917
949
cache_file=/dev/null
1010
1042
    datarootdir=$ac_optarg ;;
1011
1043
 
1012
1044
  -disable-* | --disable-*)
1013
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1045
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1014
1046
    # Reject names that are not valid shell variable names.
1015
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1016
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1047
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1048
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1017
1049
   { (exit 1); exit 1; }; }
1018
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1019
 
    eval enable_$ac_feature=no ;;
 
1050
    ac_useropt_orig=$ac_useropt
 
1051
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1052
    case $ac_user_opts in
 
1053
      *"
 
1054
"enable_$ac_useropt"
 
1055
"*) ;;
 
1056
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1057
         ac_unrecognized_sep=', ';;
 
1058
    esac
 
1059
    eval enable_$ac_useropt=no ;;
1020
1060
 
1021
1061
  -docdir | --docdir | --docdi | --doc | --do)
1022
1062
    ac_prev=docdir ;;
1029
1069
    dvidir=$ac_optarg ;;
1030
1070
 
1031
1071
  -enable-* | --enable-*)
1032
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1072
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033
1073
    # Reject names that are not valid shell variable names.
1034
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1035
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1074
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1075
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1036
1076
   { (exit 1); exit 1; }; }
1037
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1038
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1077
    ac_useropt_orig=$ac_useropt
 
1078
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1079
    case $ac_user_opts in
 
1080
      *"
 
1081
"enable_$ac_useropt"
 
1082
"*) ;;
 
1083
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1084
         ac_unrecognized_sep=', ';;
 
1085
    esac
 
1086
    eval enable_$ac_useropt=\$ac_optarg ;;
1039
1087
 
1040
1088
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1041
1089
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1226
1274
    ac_init_version=: ;;
1227
1275
 
1228
1276
  -with-* | --with-*)
1229
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1277
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1230
1278
    # 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
 
1279
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1280
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1233
1281
   { (exit 1); exit 1; }; }
1234
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1235
 
    eval with_$ac_package=\$ac_optarg ;;
 
1282
    ac_useropt_orig=$ac_useropt
 
1283
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1284
    case $ac_user_opts in
 
1285
      *"
 
1286
"with_$ac_useropt"
 
1287
"*) ;;
 
1288
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1289
         ac_unrecognized_sep=', ';;
 
1290
    esac
 
1291
    eval with_$ac_useropt=\$ac_optarg ;;
1236
1292
 
1237
1293
  -without-* | --without-*)
1238
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1294
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1239
1295
    # Reject names that are not valid shell variable names.
1240
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1241
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1296
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1297
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1242
1298
   { (exit 1); exit 1; }; }
1243
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1244
 
    eval with_$ac_package=no ;;
 
1299
    ac_useropt_orig=$ac_useropt
 
1300
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1301
    case $ac_user_opts in
 
1302
      *"
 
1303
"with_$ac_useropt"
 
1304
"*) ;;
 
1305
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1306
         ac_unrecognized_sep=', ';;
 
1307
    esac
 
1308
    eval with_$ac_useropt=no ;;
1245
1309
 
1246
1310
  --x)
1247
1311
    # Obsolete; use --with-x.
1261
1325
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1262
1326
    x_libraries=$ac_optarg ;;
1263
1327
 
1264
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1328
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1265
1329
Try \`$0 --help' for more information." >&2
1266
1330
   { (exit 1); exit 1; }; }
1267
1331
    ;;
1270
1334
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1271
1335
    # Reject names that are not valid shell variable names.
1272
1336
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1273
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1337
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1274
1338
   { (exit 1); exit 1; }; }
1275
1339
    eval $ac_envvar=\$ac_optarg
1276
1340
    export $ac_envvar ;;
1277
1341
 
1278
1342
  *)
1279
1343
    # FIXME: should be removed in autoconf 3.0.
1280
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1344
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1281
1345
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1282
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1346
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283
1347
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1284
1348
    ;;
1285
1349
 
1288
1352
 
1289
1353
if test -n "$ac_prev"; then
1290
1354
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1291
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1355
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1292
1356
   { (exit 1); exit 1; }; }
1293
1357
fi
1294
1358
 
1295
 
# Be sure to have absolute directory names.
 
1359
if test -n "$ac_unrecognized_opts"; then
 
1360
  case $enable_option_checking in
 
1361
    no) ;;
 
1362
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1363
   { (exit 1); exit 1; }; } ;;
 
1364
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1365
  esac
 
1366
fi
 
1367
 
 
1368
# Check all directory arguments for consistency.
1296
1369
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1297
1370
                datadir sysconfdir sharedstatedir localstatedir includedir \
1298
1371
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1299
1372
                libdir localedir mandir
1300
1373
do
1301
1374
  eval ac_val=\$$ac_var
 
1375
  # Remove trailing slashes.
 
1376
  case $ac_val in
 
1377
    */ )
 
1378
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1379
      eval $ac_var=\$ac_val;;
 
1380
  esac
 
1381
  # Be sure to have absolute directory names.
1302
1382
  case $ac_val in
1303
1383
    [\\/$]* | ?:[\\/]* )  continue;;
1304
1384
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1305
1385
  esac
1306
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1386
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1307
1387
   { (exit 1); exit 1; }; }
1308
1388
done
1309
1389
 
1318
1398
if test "x$host_alias" != x; then
1319
1399
  if test "x$build_alias" = x; then
1320
1400
    cross_compiling=maybe
1321
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1401
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1322
1402
    If a cross compiler is detected then cross compile mode will be used." >&2
1323
1403
  elif test "x$build_alias" != "x$host_alias"; then
1324
1404
    cross_compiling=yes
1334
1414
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1335
1415
ac_ls_di=`ls -di .` &&
1336
1416
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1417
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1338
1418
   { (exit 1); exit 1; }; }
1339
1419
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1340
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1420
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1341
1421
   { (exit 1); exit 1; }; }
1342
1422
 
1343
1423
 
1345
1425
if test -z "$srcdir"; then
1346
1426
  ac_srcdir_defaulted=yes
1347
1427
  # Try the directory containing this script, then the parent directory.
1348
 
  ac_confdir=`$as_dirname -- "$0" ||
1349
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1350
 
         X"$0" : 'X\(//\)[^/]' \| \
1351
 
         X"$0" : 'X\(//\)$' \| \
1352
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1353
 
echo X"$0" |
 
1428
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1429
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1430
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1431
         X"$as_myself" : 'X\(//\)$' \| \
 
1432
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1433
$as_echo X"$as_myself" |
1354
1434
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1355
1435
            s//\1/
1356
1436
            q
1377
1457
fi
1378
1458
if test ! -r "$srcdir/$ac_unique_file"; then
1379
1459
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1380
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1460
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1381
1461
   { (exit 1); exit 1; }; }
1382
1462
fi
1383
1463
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1384
1464
ac_abs_confdir=`(
1385
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1465
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1386
1466
   { (exit 1); exit 1; }; }
1387
1467
        pwd)`
1388
1468
# When building in place, set srcdir=.
1409
1489
  # Omit some internal or obsolete options to make the list less imposing.
1410
1490
  # This message is too long to be a string in the A/UX 3.1 sh.
1411
1491
  cat <<_ACEOF
1412
 
\`configure' configures libspectre 0.2.2 to adapt to many kinds of systems.
 
1492
\`configure' configures libspectre 0.2.3 to adapt to many kinds of systems.
1413
1493
 
1414
1494
Usage: $0 [OPTION]... [VAR=VALUE]...
1415
1495
 
1431
1511
 
1432
1512
Installation directories:
1433
1513
  --prefix=PREFIX         install architecture-independent files in PREFIX
1434
 
                          [$ac_default_prefix]
 
1514
                          [$ac_default_prefix]
1435
1515
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1436
 
                          [PREFIX]
 
1516
                          [PREFIX]
1437
1517
 
1438
1518
By default, \`make install' will install all the files in
1439
1519
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1443
1523
For better control, use the options below.
1444
1524
 
1445
1525
Fine tuning of the installation directories:
1446
 
  --bindir=DIR           user executables [EPREFIX/bin]
1447
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1448
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1449
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1450
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1451
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1452
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1453
 
  --includedir=DIR       C header files [PREFIX/include]
1454
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1455
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1456
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1457
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1458
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1459
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1460
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libspectre]
1461
 
  --htmldir=DIR          html documentation [DOCDIR]
1462
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1463
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1464
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1526
  --bindir=DIR            user executables [EPREFIX/bin]
 
1527
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1528
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1529
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1530
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1531
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1532
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1533
  --includedir=DIR        C header files [PREFIX/include]
 
1534
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1535
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1536
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1537
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1538
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1539
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1540
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libspectre]
 
1541
  --htmldir=DIR           html documentation [DOCDIR]
 
1542
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1543
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1544
  --psdir=DIR             ps documentation [DOCDIR]
1465
1545
_ACEOF
1466
1546
 
1467
1547
  cat <<\_ACEOF
1479
1559
 
1480
1560
if test -n "$ac_init_help"; then
1481
1561
  case $ac_init_help in
1482
 
     short | recursive ) echo "Configuration of libspectre 0.2.2:";;
 
1562
     short | recursive ) echo "Configuration of libspectre 0.2.3:";;
1483
1563
   esac
1484
1564
  cat <<\_ACEOF
1485
1565
 
1486
1566
Optional Features:
 
1567
  --disable-option-checking  ignore unrecognized --enable/--with options
1487
1568
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1488
1569
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1489
1570
  --enable-maintainer-mode  enable make rules and dependencies not useful
1502
1583
Optional Packages:
1503
1584
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1504
1585
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1505
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1506
1586
  --with-pic              try to use only PIC/non-PIC objects [default=use
1507
1587
                          both]
1508
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1588
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1509
1589
 
1510
1590
Some influential environment variables:
1511
1591
  CC          C compiler command
1516
1596
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1517
1597
              you have headers in a nonstandard directory <include dir>
1518
1598
  CPP         C preprocessor
1519
 
  CXX         C++ compiler command
1520
 
  CXXFLAGS    C++ compiler flags
1521
 
  CXXCPP      C++ preprocessor
1522
 
  F77         Fortran 77 compiler command
1523
 
  FFLAGS      Fortran 77 compiler flags
1524
1599
  PKG_CONFIG  path to pkg-config utility
1525
1600
  CAIRO_CFLAGS
1526
1601
              C compiler flags for CAIRO, overriding pkg-config
1536
1611
if test "$ac_init_help" = "recursive"; then
1537
1612
  # If there are subdirs, report their specific --help.
1538
1613
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1539
 
    test -d "$ac_dir" || continue
 
1614
    test -d "$ac_dir" ||
 
1615
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1616
      continue
1540
1617
    ac_builddir=.
1541
1618
 
1542
1619
case "$ac_dir" in
1543
1620
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544
1621
*)
1545
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1622
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1546
1623
  # A ".." for each directory in $ac_dir_suffix.
1547
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1624
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548
1625
  case $ac_top_builddir_sub in
1549
1626
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550
1627
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1580
1657
      echo &&
1581
1658
      $SHELL "$ac_srcdir/configure" --help=recursive
1582
1659
    else
1583
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1660
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584
1661
    fi || ac_status=$?
1585
1662
    cd "$ac_pwd" || { ac_status=$?; break; }
1586
1663
  done
1589
1666
test -n "$ac_init_help" && exit $ac_status
1590
1667
if $ac_init_version; then
1591
1668
  cat <<\_ACEOF
1592
 
libspectre configure 0.2.2
1593
 
generated by GNU Autoconf 2.61
 
1669
libspectre configure 0.2.3
 
1670
generated by GNU Autoconf 2.63
1594
1671
 
1595
1672
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1596
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1673
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1597
1674
This configure script is free software; the Free Software Foundation
1598
1675
gives unlimited permission to copy, distribute and modify it.
1599
1676
_ACEOF
1603
1680
This file contains any messages produced by compilers while
1604
1681
running configure, to aid debugging if configure makes a mistake.
1605
1682
 
1606
 
It was created by libspectre $as_me 0.2.2, which was
1607
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1683
It was created by libspectre $as_me 0.2.3, which was
 
1684
generated by GNU Autoconf 2.63.  Invocation command line was
1608
1685
 
1609
1686
  $ $0 $@
1610
1687
 
1640
1717
do
1641
1718
  IFS=$as_save_IFS
1642
1719
  test -z "$as_dir" && as_dir=.
1643
 
  echo "PATH: $as_dir"
 
1720
  $as_echo "PATH: $as_dir"
1644
1721
done
1645
1722
IFS=$as_save_IFS
1646
1723
 
1675
1752
    | -silent | --silent | --silen | --sile | --sil)
1676
1753
      continue ;;
1677
1754
    *\'*)
1678
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1755
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1679
1756
    esac
1680
1757
    case $ac_pass in
1681
1758
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1727
1804
    case $ac_val in #(
1728
1805
    *${as_nl}*)
1729
1806
      case $ac_var in #(
1730
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1731
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1807
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1808
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1732
1809
      esac
1733
1810
      case $ac_var in #(
1734
1811
      _ | IFS | as_nl) ;; #(
 
1812
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1735
1813
      *) $as_unset $ac_var ;;
1736
1814
      esac ;;
1737
1815
    esac
1761
1839
    do
1762
1840
      eval ac_val=\$$ac_var
1763
1841
      case $ac_val in
1764
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1842
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1765
1843
      esac
1766
 
      echo "$ac_var='\''$ac_val'\''"
 
1844
      $as_echo "$ac_var='\''$ac_val'\''"
1767
1845
    done | sort
1768
1846
    echo
1769
1847
 
1778
1856
      do
1779
1857
        eval ac_val=\$$ac_var
1780
1858
        case $ac_val in
1781
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1859
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1782
1860
        esac
1783
 
        echo "$ac_var='\''$ac_val'\''"
 
1861
        $as_echo "$ac_var='\''$ac_val'\''"
1784
1862
      done | sort
1785
1863
      echo
1786
1864
    fi
1796
1874
      echo
1797
1875
    fi
1798
1876
    test "$ac_signal" != 0 &&
1799
 
      echo "$as_me: caught signal $ac_signal"
1800
 
    echo "$as_me: exit $exit_status"
 
1877
      $as_echo "$as_me: caught signal $ac_signal"
 
1878
    $as_echo "$as_me: exit $exit_status"
1801
1879
  } >&5
1802
1880
  rm -f core *.core core.conftest.* &&
1803
1881
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1839
1917
 
1840
1918
 
1841
1919
# Let the site file select an alternate cache file if it wants to.
1842
 
# Prefer explicitly selected file to automatically selected ones.
 
1920
# Prefer an explicitly selected file to automatically selected ones.
 
1921
ac_site_file1=NONE
 
1922
ac_site_file2=NONE
1843
1923
if test -n "$CONFIG_SITE"; then
1844
 
  set x "$CONFIG_SITE"
 
1924
  ac_site_file1=$CONFIG_SITE
1845
1925
elif test "x$prefix" != xNONE; then
1846
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1926
  ac_site_file1=$prefix/share/config.site
 
1927
  ac_site_file2=$prefix/etc/config.site
1847
1928
else
1848
 
  set x "$ac_default_prefix/share/config.site" \
1849
 
        "$ac_default_prefix/etc/config.site"
 
1929
  ac_site_file1=$ac_default_prefix/share/config.site
 
1930
  ac_site_file2=$ac_default_prefix/etc/config.site
1850
1931
fi
1851
 
shift
1852
 
for ac_site_file
 
1932
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1853
1933
do
 
1934
  test "x$ac_site_file" = xNONE && continue
1854
1935
  if test -r "$ac_site_file"; then
1855
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1856
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1936
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1937
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1857
1938
    sed 's/^/| /' "$ac_site_file" >&5
1858
1939
    . "$ac_site_file"
1859
1940
  fi
1863
1944
  # Some versions of bash will fail to source /dev/null (special
1864
1945
  # files actually), so we avoid doing that.
1865
1946
  if test -f "$cache_file"; then
1866
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1867
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1947
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1948
$as_echo "$as_me: loading cache $cache_file" >&6;}
1868
1949
    case $cache_file in
1869
1950
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1870
1951
      *)                      . "./$cache_file";;
1871
1952
    esac
1872
1953
  fi
1873
1954
else
1874
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1875
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1955
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1956
$as_echo "$as_me: creating cache $cache_file" >&6;}
1876
1957
  >$cache_file
1877
1958
fi
1878
1959
 
1886
1967
  eval ac_new_val=\$ac_env_${ac_var}_value
1887
1968
  case $ac_old_set,$ac_new_set in
1888
1969
    set,)
1889
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1890
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1970
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1971
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1891
1972
      ac_cache_corrupted=: ;;
1892
1973
    ,set)
1893
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1894
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1974
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1975
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1895
1976
      ac_cache_corrupted=: ;;
1896
1977
    ,);;
1897
1978
    *)
1898
1979
      if test "x$ac_old_val" != "x$ac_new_val"; then
1899
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1900
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1901
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1902
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1903
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1904
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1905
 
        ac_cache_corrupted=:
 
1980
        # differences in whitespace do not lead to failure.
 
1981
        ac_old_val_w=`echo x $ac_old_val`
 
1982
        ac_new_val_w=`echo x $ac_new_val`
 
1983
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1984
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1985
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1986
          ac_cache_corrupted=:
 
1987
        else
 
1988
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1989
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1990
          eval $ac_var=\$ac_old_val
 
1991
        fi
 
1992
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1993
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1994
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1995
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1906
1996
      fi;;
1907
1997
  esac
1908
1998
  # Pass precious variables to config.status.
1909
1999
  if test "$ac_new_set" = set; then
1910
2000
    case $ac_new_val in
1911
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2001
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1912
2002
    *) ac_arg=$ac_var=$ac_new_val ;;
1913
2003
    esac
1914
2004
    case " $ac_configure_args " in
1918
2008
  fi
1919
2009
done
1920
2010
if $ac_cache_corrupted; then
1921
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1922
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1923
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1924
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2011
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2012
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2013
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2014
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2015
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2016
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1925
2017
   { (exit 1); exit 1; }; }
1926
2018
fi
1927
2019
 
1959
2051
ac_config_headers="$ac_config_headers config.h"
1960
2052
 
1961
2053
 
1962
 
am__api_version='1.10'
 
2054
am__api_version='1.11'
1963
2055
 
1964
2056
ac_aux_dir=
1965
2057
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1978
2070
  fi
1979
2071
done
1980
2072
if test -z "$ac_aux_dir"; then
1981
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1982
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2073
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2074
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1983
2075
   { (exit 1); exit 1; }; }
1984
2076
fi
1985
2077
 
2005
2097
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2006
2098
# OS/2's system install, which has a completely different semantic
2007
2099
# ./install, which can be erroneously created by make from ./install.sh.
2008
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2009
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2100
# Reject install programs that cannot install multiple files.
 
2101
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2102
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2010
2103
if test -z "$INSTALL"; then
2011
2104
if test "${ac_cv_path_install+set}" = set; then
2012
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2105
  $as_echo_n "(cached) " >&6
2013
2106
else
2014
2107
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015
2108
for as_dir in $PATH
2038
2131
            # program-specific install script used by HP pwplus--don't use.
2039
2132
            :
2040
2133
          else
2041
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2042
 
            break 3
 
2134
            rm -rf conftest.one conftest.two conftest.dir
 
2135
            echo one > conftest.one
 
2136
            echo two > conftest.two
 
2137
            mkdir conftest.dir
 
2138
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2139
              test -s conftest.one && test -s conftest.two &&
 
2140
              test -s conftest.dir/conftest.one &&
 
2141
              test -s conftest.dir/conftest.two
 
2142
            then
 
2143
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2144
              break 3
 
2145
            fi
2043
2146
          fi
2044
2147
        fi
2045
2148
      done
2046
2149
    done
2047
2150
    ;;
2048
2151
esac
 
2152
 
2049
2153
done
2050
2154
IFS=$as_save_IFS
2051
2155
 
 
2156
rm -rf conftest.one conftest.two conftest.dir
2052
2157
 
2053
2158
fi
2054
2159
  if test "${ac_cv_path_install+set}" = set; then
2061
2166
    INSTALL=$ac_install_sh
2062
2167
  fi
2063
2168
fi
2064
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2065
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2169
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2170
$as_echo "$INSTALL" >&6; }
2066
2171
 
2067
2172
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2068
2173
# It thinks the first close brace ends the variable substitution.
2072
2177
 
2073
2178
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2074
2179
 
2075
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2076
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2180
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2181
$as_echo_n "checking whether build environment is sane... " >&6; }
2077
2182
# Just in case
2078
2183
sleep 1
2079
2184
echo timestamp > conftest.file
 
2185
# Reject unsafe characters in $srcdir or the absolute working directory
 
2186
# name.  Accept space and tab only in the latter.
 
2187
am_lf='
 
2188
'
 
2189
case `pwd` in
 
2190
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2191
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
2192
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
2193
   { (exit 1); exit 1; }; };;
 
2194
esac
 
2195
case $srcdir in
 
2196
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2197
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
2198
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
2199
   { (exit 1); exit 1; }; };;
 
2200
esac
 
2201
 
2080
2202
# Do `set' in a subshell so we don't clobber the current shell's
2081
2203
# arguments.  Must try -L first in case configure is actually a
2082
2204
# symlink; some systems play weird games with the mod time of symlinks
2083
2205
# (eg FreeBSD returns the mod time of the symlink's containing
2084
2206
# directory).
2085
2207
if (
2086
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2208
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2087
2209
   if test "$*" = "X"; then
2088
2210
      # -L didn't work.
2089
 
      set X `ls -t $srcdir/configure conftest.file`
 
2211
      set X `ls -t "$srcdir/configure" conftest.file`
2090
2212
   fi
2091
2213
   rm -f conftest.file
2092
2214
   if test "$*" != "X $srcdir/configure conftest.file" \
2096
2218
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2097
2219
      # broken ls alias from the environment.  This has actually
2098
2220
      # happened.  Such a system could not be considered "sane".
2099
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2221
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2100
2222
alias in your environment" >&5
2101
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2223
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2102
2224
alias in your environment" >&2;}
2103
2225
   { (exit 1); exit 1; }; }
2104
2226
   fi
2109
2231
   # Ok.
2110
2232
   :
2111
2233
else
2112
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2234
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2113
2235
Check your system clock" >&5
2114
 
echo "$as_me: error: newly created file is older than distributed files!
 
2236
$as_echo "$as_me: error: newly created file is older than distributed files!
2115
2237
Check your system clock" >&2;}
2116
2238
   { (exit 1); exit 1; }; }
2117
2239
fi
2118
 
{ echo "$as_me:$LINENO: result: yes" >&5
2119
 
echo "${ECHO_T}yes" >&6; }
 
2240
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2241
$as_echo "yes" >&6; }
2120
2242
test "$program_prefix" != NONE &&
2121
2243
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2122
2244
# Use a double $ so make ignores it.
2123
2245
test "$program_suffix" != NONE &&
2124
2246
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2125
 
# Double any \ or $.  echo might interpret backslashes.
 
2247
# Double any \ or $.
2126
2248
# By default was `s,x,x', remove it if useless.
2127
 
cat <<\_ACEOF >conftest.sed
2128
 
s/[\\$]/&&/g;s/;s,x,x,$//
2129
 
_ACEOF
2130
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2131
 
rm -f conftest.sed
 
2249
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2250
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2132
2251
 
2133
2252
# expand $ac_aux_dir to an absolute path
2134
2253
am_aux_dir=`cd $ac_aux_dir && pwd`
2135
2254
 
2136
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2255
if test x"${MISSING+set}" != xset; then
 
2256
  case $am_aux_dir in
 
2257
  *\ * | *\     *)
 
2258
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2259
  *)
 
2260
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2261
  esac
 
2262
fi
2137
2263
# Use eval to expand $SHELL
2138
2264
if eval "$MISSING --run true"; then
2139
2265
  am_missing_run="$MISSING --run "
2140
2266
else
2141
2267
  am_missing_run=
2142
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2143
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2144
 
fi
2145
 
 
2146
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2147
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2268
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2269
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2270
fi
 
2271
 
 
2272
if test x"${install_sh}" != xset; then
 
2273
  case $am_aux_dir in
 
2274
  *\ * | *\     *)
 
2275
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2276
  *)
 
2277
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2278
  esac
 
2279
fi
 
2280
 
 
2281
# Installed binaries are usually stripped using `strip' when the user
 
2282
# run `make install-strip'.  However `strip' might not be the right
 
2283
# tool to use in cross-compilation environments, therefore Automake
 
2284
# will honor the `STRIP' environment variable to overrule this program.
 
2285
if test "$cross_compiling" != no; then
 
2286
  if test -n "$ac_tool_prefix"; then
 
2287
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2288
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2289
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2290
$as_echo_n "checking for $ac_word... " >&6; }
 
2291
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2292
  $as_echo_n "(cached) " >&6
 
2293
else
 
2294
  if test -n "$STRIP"; then
 
2295
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2296
else
 
2297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2298
for as_dir in $PATH
 
2299
do
 
2300
  IFS=$as_save_IFS
 
2301
  test -z "$as_dir" && as_dir=.
 
2302
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2303
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2304
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2305
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2306
    break 2
 
2307
  fi
 
2308
done
 
2309
done
 
2310
IFS=$as_save_IFS
 
2311
 
 
2312
fi
 
2313
fi
 
2314
STRIP=$ac_cv_prog_STRIP
 
2315
if test -n "$STRIP"; then
 
2316
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2317
$as_echo "$STRIP" >&6; }
 
2318
else
 
2319
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2320
$as_echo "no" >&6; }
 
2321
fi
 
2322
 
 
2323
 
 
2324
fi
 
2325
if test -z "$ac_cv_prog_STRIP"; then
 
2326
  ac_ct_STRIP=$STRIP
 
2327
  # Extract the first word of "strip", so it can be a program name with args.
 
2328
set dummy strip; ac_word=$2
 
2329
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2330
$as_echo_n "checking for $ac_word... " >&6; }
 
2331
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2332
  $as_echo_n "(cached) " >&6
 
2333
else
 
2334
  if test -n "$ac_ct_STRIP"; then
 
2335
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2336
else
 
2337
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2338
for as_dir in $PATH
 
2339
do
 
2340
  IFS=$as_save_IFS
 
2341
  test -z "$as_dir" && as_dir=.
 
2342
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2343
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2344
    ac_cv_prog_ac_ct_STRIP="strip"
 
2345
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2346
    break 2
 
2347
  fi
 
2348
done
 
2349
done
 
2350
IFS=$as_save_IFS
 
2351
 
 
2352
fi
 
2353
fi
 
2354
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2355
if test -n "$ac_ct_STRIP"; then
 
2356
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2357
$as_echo "$ac_ct_STRIP" >&6; }
 
2358
else
 
2359
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2360
$as_echo "no" >&6; }
 
2361
fi
 
2362
 
 
2363
  if test "x$ac_ct_STRIP" = x; then
 
2364
    STRIP=":"
 
2365
  else
 
2366
    case $cross_compiling:$ac_tool_warned in
 
2367
yes:)
 
2368
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2369
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2370
ac_tool_warned=yes ;;
 
2371
esac
 
2372
    STRIP=$ac_ct_STRIP
 
2373
  fi
 
2374
else
 
2375
  STRIP="$ac_cv_prog_STRIP"
 
2376
fi
 
2377
 
 
2378
fi
 
2379
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2380
 
 
2381
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2382
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2148
2383
if test -z "$MKDIR_P"; then
2149
2384
  if test "${ac_cv_path_mkdir+set}" = set; then
2150
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2385
  $as_echo_n "(cached) " >&6
2151
2386
else
2152
2387
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153
2388
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2182
2417
    MKDIR_P="$ac_install_sh -d"
2183
2418
  fi
2184
2419
fi
2185
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2186
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2420
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2421
$as_echo "$MKDIR_P" >&6; }
2187
2422
 
2188
2423
mkdir_p="$MKDIR_P"
2189
2424
case $mkdir_p in
2195
2430
do
2196
2431
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2197
2432
set dummy $ac_prog; ac_word=$2
2198
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2199
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2433
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2434
$as_echo_n "checking for $ac_word... " >&6; }
2200
2435
if test "${ac_cv_prog_AWK+set}" = set; then
2201
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2436
  $as_echo_n "(cached) " >&6
2202
2437
else
2203
2438
  if test -n "$AWK"; then
2204
2439
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2211
2446
  for ac_exec_ext in '' $ac_executable_extensions; do
2212
2447
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2213
2448
    ac_cv_prog_AWK="$ac_prog"
2214
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2449
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215
2450
    break 2
2216
2451
  fi
2217
2452
done
2222
2457
fi
2223
2458
AWK=$ac_cv_prog_AWK
2224
2459
if test -n "$AWK"; then
2225
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2226
 
echo "${ECHO_T}$AWK" >&6; }
 
2460
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2461
$as_echo "$AWK" >&6; }
2227
2462
else
2228
 
  { echo "$as_me:$LINENO: result: no" >&5
2229
 
echo "${ECHO_T}no" >&6; }
 
2463
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2464
$as_echo "no" >&6; }
2230
2465
fi
2231
2466
 
2232
2467
 
2233
2468
  test -n "$AWK" && break
2234
2469
done
2235
2470
 
2236
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2237
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2238
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2471
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2472
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2473
set x ${MAKE-make}
 
2474
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2239
2475
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2476
  $as_echo_n "(cached) " >&6
2241
2477
else
2242
2478
  cat >conftest.make <<\_ACEOF
2243
2479
SHELL = /bin/sh
2254
2490
rm -f conftest.make
2255
2491
fi
2256
2492
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2257
 
  { echo "$as_me:$LINENO: result: yes" >&5
2258
 
echo "${ECHO_T}yes" >&6; }
 
2493
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2494
$as_echo "yes" >&6; }
2259
2495
  SET_MAKE=
2260
2496
else
2261
 
  { echo "$as_me:$LINENO: result: no" >&5
2262
 
echo "${ECHO_T}no" >&6; }
 
2497
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2498
$as_echo "no" >&6; }
2263
2499
  SET_MAKE="MAKE=${MAKE-make}"
2264
2500
fi
2265
2501
 
2278
2514
  am__isrc=' -I$(srcdir)'
2279
2515
  # test to see if srcdir already configured
2280
2516
  if test -f $srcdir/config.status; then
2281
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2282
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2517
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2518
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2283
2519
   { (exit 1); exit 1; }; }
2284
2520
  fi
2285
2521
fi
2296
2532
 
2297
2533
# Define the identity of the package.
2298
2534
 PACKAGE='libspectre'
2299
 
 VERSION='0.2.2'
 
2535
 VERSION='0.2.3'
2300
2536
 
2301
2537
 
2302
2538
cat >>confdefs.h <<_ACEOF
2324
2560
 
2325
2561
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2326
2562
 
2327
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2328
 
 
2329
 
# Installed binaries are usually stripped using `strip' when the user
2330
 
# run `make install-strip'.  However `strip' might not be the right
2331
 
# tool to use in cross-compilation environments, therefore Automake
2332
 
# will honor the `STRIP' environment variable to overrule this program.
2333
 
if test "$cross_compiling" != no; then
2334
 
  if test -n "$ac_tool_prefix"; then
2335
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2336
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2337
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2338
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2340
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2341
 
else
2342
 
  if test -n "$STRIP"; then
2343
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2344
 
else
2345
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346
 
for as_dir in $PATH
2347
 
do
2348
 
  IFS=$as_save_IFS
2349
 
  test -z "$as_dir" && as_dir=.
2350
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2351
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2353
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354
 
    break 2
2355
 
  fi
2356
 
done
2357
 
done
2358
 
IFS=$as_save_IFS
2359
 
 
2360
 
fi
2361
 
fi
2362
 
STRIP=$ac_cv_prog_STRIP
2363
 
if test -n "$STRIP"; then
2364
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2365
 
echo "${ECHO_T}$STRIP" >&6; }
2366
 
else
2367
 
  { echo "$as_me:$LINENO: result: no" >&5
2368
 
echo "${ECHO_T}no" >&6; }
2369
 
fi
2370
 
 
2371
 
 
2372
 
fi
2373
 
if test -z "$ac_cv_prog_STRIP"; then
2374
 
  ac_ct_STRIP=$STRIP
2375
 
  # Extract the first word of "strip", so it can be a program name with args.
2376
 
set dummy strip; ac_word=$2
2377
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2378
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2380
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2381
 
else
2382
 
  if test -n "$ac_ct_STRIP"; then
2383
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2384
 
else
2385
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386
 
for as_dir in $PATH
2387
 
do
2388
 
  IFS=$as_save_IFS
2389
 
  test -z "$as_dir" && as_dir=.
2390
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2391
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392
 
    ac_cv_prog_ac_ct_STRIP="strip"
2393
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394
 
    break 2
2395
 
  fi
2396
 
done
2397
 
done
2398
 
IFS=$as_save_IFS
2399
 
 
2400
 
fi
2401
 
fi
2402
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2403
 
if test -n "$ac_ct_STRIP"; then
2404
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2405
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2406
 
else
2407
 
  { echo "$as_me:$LINENO: result: no" >&5
2408
 
echo "${ECHO_T}no" >&6; }
2409
 
fi
2410
 
 
2411
 
  if test "x$ac_ct_STRIP" = x; then
2412
 
    STRIP=":"
2413
 
  else
2414
 
    case $cross_compiling:$ac_tool_warned in
2415
 
yes:)
2416
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2417
 
whose name does not start with the host triplet.  If you think this
2418
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2419
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2420
 
whose name does not start with the host triplet.  If you think this
2421
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2422
 
ac_tool_warned=yes ;;
2423
 
esac
2424
 
    STRIP=$ac_ct_STRIP
2425
 
  fi
2426
 
else
2427
 
  STRIP="$ac_cv_prog_STRIP"
2428
 
fi
2429
 
 
2430
 
fi
2431
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2432
 
 
2433
2563
# We need awk for the "check" target.  The system "awk" is bad on
2434
2564
# some platforms.
2435
2565
# Always define AMTAR for backward compatibility.
2443
2573
 
2444
2574
 
2445
2575
 
2446
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2447
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2576
 
 
2577
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2578
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2448
2579
    # Check whether --enable-maintainer-mode was given.
2449
2580
if test "${enable_maintainer_mode+set}" = set; then
2450
2581
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2452
2583
  USE_MAINTAINER_MODE=no
2453
2584
fi
2454
2585
 
2455
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2456
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2586
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2587
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2457
2588
   if test $USE_MAINTAINER_MODE = yes; then
2458
2589
  MAINTAINER_MODE_TRUE=
2459
2590
  MAINTAINER_MODE_FALSE='#'
2476
2607
 
2477
2608
## increment any time the source changes; set to
2478
2609
##  0 if you increment CURRENT
2479
 
LT_REVISION=2
 
2610
LT_REVISION=3
2480
2611
 
2481
2612
## increment if any interfaces have been added; set to 0
2482
2613
## if any interfaces have been changed or removed. removal has
2495
2626
 
2496
2627
SPECTRE_MAJOR_VERSION=0
2497
2628
SPECTRE_MINOR_VERSION=2
2498
 
SPECTRE_MICRO_VERSION=2
2499
 
SPECTRE_VERSION=0.2.2
2500
 
 
2501
 
 
2502
 
 
2503
 
 
2504
 
 
2505
 
 
2506
 
# Check whether --enable-shared was given.
2507
 
if test "${enable_shared+set}" = set; then
2508
 
  enableval=$enable_shared; p=${PACKAGE-default}
2509
 
    case $enableval in
2510
 
    yes) enable_shared=yes ;;
2511
 
    no) enable_shared=no ;;
2512
 
    *)
2513
 
      enable_shared=no
2514
 
      # Look at the argument we got.  We use all the common list separators.
2515
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2516
 
      for pkg in $enableval; do
2517
 
        IFS="$lt_save_ifs"
2518
 
        if test "X$pkg" = "X$p"; then
2519
 
          enable_shared=yes
2520
 
        fi
2521
 
      done
2522
 
      IFS="$lt_save_ifs"
2523
 
      ;;
2524
 
    esac
2525
 
else
2526
 
  enable_shared=yes
2527
 
fi
2528
 
 
2529
 
 
2530
 
# Check whether --enable-static was given.
2531
 
if test "${enable_static+set}" = set; then
2532
 
  enableval=$enable_static; p=${PACKAGE-default}
2533
 
    case $enableval in
2534
 
    yes) enable_static=yes ;;
2535
 
    no) enable_static=no ;;
2536
 
    *)
2537
 
     enable_static=no
2538
 
      # Look at the argument we got.  We use all the common list separators.
2539
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2540
 
      for pkg in $enableval; do
2541
 
        IFS="$lt_save_ifs"
2542
 
        if test "X$pkg" = "X$p"; then
2543
 
          enable_static=yes
2544
 
        fi
2545
 
      done
2546
 
      IFS="$lt_save_ifs"
2547
 
      ;;
2548
 
    esac
2549
 
else
2550
 
  enable_static=yes
2551
 
fi
2552
 
 
2553
 
 
2554
 
# Check whether --enable-fast-install was given.
2555
 
if test "${enable_fast_install+set}" = set; then
2556
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
2557
 
    case $enableval in
2558
 
    yes) enable_fast_install=yes ;;
2559
 
    no) enable_fast_install=no ;;
2560
 
    *)
2561
 
      enable_fast_install=no
2562
 
      # Look at the argument we got.  We use all the common list separators.
2563
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2564
 
      for pkg in $enableval; do
2565
 
        IFS="$lt_save_ifs"
2566
 
        if test "X$pkg" = "X$p"; then
2567
 
          enable_fast_install=yes
2568
 
        fi
2569
 
      done
2570
 
      IFS="$lt_save_ifs"
2571
 
      ;;
2572
 
    esac
2573
 
else
2574
 
  enable_fast_install=yes
2575
 
fi
2576
 
 
 
2629
SPECTRE_MICRO_VERSION=3
 
2630
SPECTRE_VERSION=0.2.3
 
2631
 
 
2632
 
 
2633
 
 
2634
 
 
2635
 
 
2636
 
 
2637
case `pwd` in
 
2638
  *\ * | *\     *)
 
2639
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2640
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2641
esac
 
2642
 
 
2643
 
 
2644
 
 
2645
macro_version='2.2.6'
 
2646
macro_revision='1.3012'
 
2647
 
 
2648
 
 
2649
 
 
2650
 
 
2651
 
 
2652
 
 
2653
 
 
2654
 
 
2655
 
 
2656
 
 
2657
 
 
2658
 
 
2659
 
 
2660
ltmain="$ac_aux_dir/ltmain.sh"
2577
2661
 
2578
2662
# Make sure we can run config.sub.
2579
2663
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2580
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2581
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2664
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2665
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2582
2666
   { (exit 1); exit 1; }; }
2583
2667
 
2584
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2585
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
2668
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2669
$as_echo_n "checking build system type... " >&6; }
2586
2670
if test "${ac_cv_build+set}" = set; then
2587
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2671
  $as_echo_n "(cached) " >&6
2588
2672
else
2589
2673
  ac_build_alias=$build_alias
2590
2674
test "x$ac_build_alias" = x &&
2591
2675
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2592
2676
test "x$ac_build_alias" = x &&
2593
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2594
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2677
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2678
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2595
2679
   { (exit 1); exit 1; }; }
2596
2680
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2597
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2598
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2681
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2682
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2599
2683
   { (exit 1); exit 1; }; }
2600
2684
 
2601
2685
fi
2602
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2603
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2686
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2687
$as_echo "$ac_cv_build" >&6; }
2604
2688
case $ac_cv_build in
2605
2689
*-*-*) ;;
2606
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2607
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2690
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2691
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2608
2692
   { (exit 1); exit 1; }; };;
2609
2693
esac
2610
2694
build=$ac_cv_build
2621
2705
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2622
2706
 
2623
2707
 
2624
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2625
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
2708
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2709
$as_echo_n "checking host system type... " >&6; }
2626
2710
if test "${ac_cv_host+set}" = set; then
2627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2711
  $as_echo_n "(cached) " >&6
2628
2712
else
2629
2713
  if test "x$host_alias" = x; then
2630
2714
  ac_cv_host=$ac_cv_build
2631
2715
else
2632
2716
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2633
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2634
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2717
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2718
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2635
2719
   { (exit 1); exit 1; }; }
2636
2720
fi
2637
2721
 
2638
2722
fi
2639
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2640
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2723
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2724
$as_echo "$ac_cv_host" >&6; }
2641
2725
case $ac_cv_host in
2642
2726
*-*-*) ;;
2643
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2644
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2727
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2728
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2645
2729
   { (exit 1); exit 1; }; };;
2646
2730
esac
2647
2731
host=$ac_cv_host
2666
2750
am_make=${MAKE-make}
2667
2751
cat > confinc << 'END'
2668
2752
am__doit:
2669
 
        @echo done
 
2753
        @echo this is the am__doit target
2670
2754
.PHONY: am__doit
2671
2755
END
2672
2756
# If we don't find an include directive, just comment out the code.
2673
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2674
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2757
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2758
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2675
2759
am__include="#"
2676
2760
am__quote=
2677
2761
_am_result=none
2678
2762
# First try GNU make style include.
2679
2763
echo "include confinc" > confmf
2680
 
# We grep out `Entering directory' and `Leaving directory'
2681
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2682
 
# In particular we don't look at `^make:' because GNU make might
2683
 
# be invoked under some other name (usually "gmake"), in which
2684
 
# case it prints its new name instead of `make'.
2685
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2686
 
   am__include=include
2687
 
   am__quote=
2688
 
   _am_result=GNU
2689
 
fi
 
2764
# Ignore all kinds of additional output from `make'.
 
2765
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2766
*the\ am__doit\ target*)
 
2767
  am__include=include
 
2768
  am__quote=
 
2769
  _am_result=GNU
 
2770
  ;;
 
2771
esac
2690
2772
# Now try BSD make style include.
2691
2773
if test "$am__include" = "#"; then
2692
2774
   echo '.include "confinc"' > confmf
2693
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2694
 
      am__include=.include
2695
 
      am__quote="\""
2696
 
      _am_result=BSD
2697
 
   fi
 
2775
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2776
   *the\ am__doit\ target*)
 
2777
     am__include=.include
 
2778
     am__quote="\""
 
2779
     _am_result=BSD
 
2780
     ;;
 
2781
   esac
2698
2782
fi
2699
2783
 
2700
2784
 
2701
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2702
 
echo "${ECHO_T}$_am_result" >&6; }
 
2785
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2786
$as_echo "$_am_result" >&6; }
2703
2787
rm -f confinc confmf
2704
2788
 
2705
2789
# Check whether --enable-dependency-tracking was given.
2728
2812
if test -n "$ac_tool_prefix"; then
2729
2813
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2730
2814
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2731
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2732
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2815
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2816
$as_echo_n "checking for $ac_word... " >&6; }
2733
2817
if test "${ac_cv_prog_CC+set}" = set; then
2734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2818
  $as_echo_n "(cached) " >&6
2735
2819
else
2736
2820
  if test -n "$CC"; then
2737
2821
  ac_cv_prog_CC="$CC" # Let the user override the test.
2744
2828
  for ac_exec_ext in '' $ac_executable_extensions; do
2745
2829
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746
2830
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2747
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2831
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748
2832
    break 2
2749
2833
  fi
2750
2834
done
2755
2839
fi
2756
2840
CC=$ac_cv_prog_CC
2757
2841
if test -n "$CC"; then
2758
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2759
 
echo "${ECHO_T}$CC" >&6; }
 
2842
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2843
$as_echo "$CC" >&6; }
2760
2844
else
2761
 
  { echo "$as_me:$LINENO: result: no" >&5
2762
 
echo "${ECHO_T}no" >&6; }
 
2845
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2846
$as_echo "no" >&6; }
2763
2847
fi
2764
2848
 
2765
2849
 
2768
2852
  ac_ct_CC=$CC
2769
2853
  # Extract the first word of "gcc", so it can be a program name with args.
2770
2854
set dummy gcc; ac_word=$2
2771
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2772
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2855
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2856
$as_echo_n "checking for $ac_word... " >&6; }
2773
2857
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2858
  $as_echo_n "(cached) " >&6
2775
2859
else
2776
2860
  if test -n "$ac_ct_CC"; then
2777
2861
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2784
2868
  for ac_exec_ext in '' $ac_executable_extensions; do
2785
2869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786
2870
    ac_cv_prog_ac_ct_CC="gcc"
2787
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2871
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788
2872
    break 2
2789
2873
  fi
2790
2874
done
2795
2879
fi
2796
2880
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2797
2881
if test -n "$ac_ct_CC"; then
2798
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2882
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2883
$as_echo "$ac_ct_CC" >&6; }
2800
2884
else
2801
 
  { echo "$as_me:$LINENO: result: no" >&5
2802
 
echo "${ECHO_T}no" >&6; }
 
2885
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2886
$as_echo "no" >&6; }
2803
2887
fi
2804
2888
 
2805
2889
  if test "x$ac_ct_CC" = x; then
2807
2891
  else
2808
2892
    case $cross_compiling:$ac_tool_warned in
2809
2893
yes:)
2810
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2811
 
whose name does not start with the host triplet.  If you think this
2812
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2813
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2814
 
whose name does not start with the host triplet.  If you think this
2815
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2894
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2895
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2816
2896
ac_tool_warned=yes ;;
2817
2897
esac
2818
2898
    CC=$ac_ct_CC
2825
2905
          if test -n "$ac_tool_prefix"; then
2826
2906
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2827
2907
set dummy ${ac_tool_prefix}cc; ac_word=$2
2828
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2829
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2908
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2909
$as_echo_n "checking for $ac_word... " >&6; }
2830
2910
if test "${ac_cv_prog_CC+set}" = set; then
2831
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2911
  $as_echo_n "(cached) " >&6
2832
2912
else
2833
2913
  if test -n "$CC"; then
2834
2914
  ac_cv_prog_CC="$CC" # Let the user override the test.
2841
2921
  for ac_exec_ext in '' $ac_executable_extensions; do
2842
2922
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843
2923
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2844
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2924
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2845
2925
    break 2
2846
2926
  fi
2847
2927
done
2852
2932
fi
2853
2933
CC=$ac_cv_prog_CC
2854
2934
if test -n "$CC"; then
2855
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2856
 
echo "${ECHO_T}$CC" >&6; }
 
2935
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2936
$as_echo "$CC" >&6; }
2857
2937
else
2858
 
  { echo "$as_me:$LINENO: result: no" >&5
2859
 
echo "${ECHO_T}no" >&6; }
 
2938
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2939
$as_echo "no" >&6; }
2860
2940
fi
2861
2941
 
2862
2942
 
2865
2945
if test -z "$CC"; then
2866
2946
  # Extract the first word of "cc", so it can be a program name with args.
2867
2947
set dummy cc; ac_word=$2
2868
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2869
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2948
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2949
$as_echo_n "checking for $ac_word... " >&6; }
2870
2950
if test "${ac_cv_prog_CC+set}" = set; then
2871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2951
  $as_echo_n "(cached) " >&6
2872
2952
else
2873
2953
  if test -n "$CC"; then
2874
2954
  ac_cv_prog_CC="$CC" # Let the user override the test.
2886
2966
       continue
2887
2967
     fi
2888
2968
    ac_cv_prog_CC="cc"
2889
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2969
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2890
2970
    break 2
2891
2971
  fi
2892
2972
done
2909
2989
fi
2910
2990
CC=$ac_cv_prog_CC
2911
2991
if test -n "$CC"; then
2912
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2913
 
echo "${ECHO_T}$CC" >&6; }
 
2992
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2993
$as_echo "$CC" >&6; }
2914
2994
else
2915
 
  { echo "$as_me:$LINENO: result: no" >&5
2916
 
echo "${ECHO_T}no" >&6; }
 
2995
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2996
$as_echo "no" >&6; }
2917
2997
fi
2918
2998
 
2919
2999
 
2924
3004
  do
2925
3005
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2926
3006
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2927
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2928
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3007
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3008
$as_echo_n "checking for $ac_word... " >&6; }
2929
3009
if test "${ac_cv_prog_CC+set}" = set; then
2930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3010
  $as_echo_n "(cached) " >&6
2931
3011
else
2932
3012
  if test -n "$CC"; then
2933
3013
  ac_cv_prog_CC="$CC" # Let the user override the test.
2940
3020
  for ac_exec_ext in '' $ac_executable_extensions; do
2941
3021
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942
3022
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2943
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3023
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2944
3024
    break 2
2945
3025
  fi
2946
3026
done
2951
3031
fi
2952
3032
CC=$ac_cv_prog_CC
2953
3033
if test -n "$CC"; then
2954
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2955
 
echo "${ECHO_T}$CC" >&6; }
 
3034
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3035
$as_echo "$CC" >&6; }
2956
3036
else
2957
 
  { echo "$as_me:$LINENO: result: no" >&5
2958
 
echo "${ECHO_T}no" >&6; }
 
3037
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3038
$as_echo "no" >&6; }
2959
3039
fi
2960
3040
 
2961
3041
 
2968
3048
do
2969
3049
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2970
3050
set dummy $ac_prog; ac_word=$2
2971
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2972
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3051
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3052
$as_echo_n "checking for $ac_word... " >&6; }
2973
3053
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2974
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3054
  $as_echo_n "(cached) " >&6
2975
3055
else
2976
3056
  if test -n "$ac_ct_CC"; then
2977
3057
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2984
3064
  for ac_exec_ext in '' $ac_executable_extensions; do
2985
3065
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986
3066
    ac_cv_prog_ac_ct_CC="$ac_prog"
2987
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3067
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988
3068
    break 2
2989
3069
  fi
2990
3070
done
2995
3075
fi
2996
3076
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2997
3077
if test -n "$ac_ct_CC"; then
2998
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2999
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3078
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3079
$as_echo "$ac_ct_CC" >&6; }
3000
3080
else
3001
 
  { echo "$as_me:$LINENO: result: no" >&5
3002
 
echo "${ECHO_T}no" >&6; }
 
3081
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3082
$as_echo "no" >&6; }
3003
3083
fi
3004
3084
 
3005
3085
 
3011
3091
  else
3012
3092
    case $cross_compiling:$ac_tool_warned in
3013
3093
yes:)
3014
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3015
 
whose name does not start with the host triplet.  If you think this
3016
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3017
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3018
 
whose name does not start with the host triplet.  If you think this
3019
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3094
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3095
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020
3096
ac_tool_warned=yes ;;
3021
3097
esac
3022
3098
    CC=$ac_ct_CC
3026
3102
fi
3027
3103
 
3028
3104
 
3029
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3105
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3106
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3107
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3030
3108
See \`config.log' for more details." >&5
3031
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3109
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3032
3110
See \`config.log' for more details." >&2;}
3033
 
   { (exit 1); exit 1; }; }
 
3111
   { (exit 1); exit 1; }; }; }
3034
3112
 
3035
3113
# Provide some information about the compiler.
3036
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3037
 
ac_compiler=`set X $ac_compile; echo $2`
 
3114
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3115
set X $ac_compile
 
3116
ac_compiler=$2
3038
3117
{ (ac_try="$ac_compiler --version >&5"
3039
3118
case "(($ac_try" in
3040
3119
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041
3120
  *) ac_try_echo=$ac_try;;
3042
3121
esac
3043
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3122
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3123
$as_echo "$ac_try_echo") >&5
3044
3124
  (eval "$ac_compiler --version >&5") 2>&5
3045
3125
  ac_status=$?
3046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3126
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
3127
  (exit $ac_status); }
3048
3128
{ (ac_try="$ac_compiler -v >&5"
3049
3129
case "(($ac_try" in
3050
3130
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051
3131
  *) ac_try_echo=$ac_try;;
3052
3132
esac
3053
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3133
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3134
$as_echo "$ac_try_echo") >&5
3054
3135
  (eval "$ac_compiler -v >&5") 2>&5
3055
3136
  ac_status=$?
3056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3137
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
3138
  (exit $ac_status); }
3058
3139
{ (ac_try="$ac_compiler -V >&5"
3059
3140
case "(($ac_try" in
3060
3141
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061
3142
  *) ac_try_echo=$ac_try;;
3062
3143
esac
3063
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3144
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3145
$as_echo "$ac_try_echo") >&5
3064
3146
  (eval "$ac_compiler -V >&5") 2>&5
3065
3147
  ac_status=$?
3066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3148
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067
3149
  (exit $ac_status); }
3068
3150
 
3069
3151
cat >conftest.$ac_ext <<_ACEOF
3082
3164
}
3083
3165
_ACEOF
3084
3166
ac_clean_files_save=$ac_clean_files
3085
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3167
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3086
3168
# Try to create an executable without -o first, disregard a.out.
3087
3169
# It will help us diagnose broken compilers, and finding out an intuition
3088
3170
# of exeext.
3089
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3090
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3091
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3092
 
#
3093
 
# List of possible output files, starting from the most likely.
3094
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3095
 
# only as a last resort.  b.out is created by i960 compilers.
3096
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3097
 
#
3098
 
# The IRIX 6 linker writes into existing files which may not be
3099
 
# executable, retaining their permissions.  Remove them first so a
3100
 
# subsequent execution test works.
 
3171
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3172
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3173
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3174
 
 
3175
# The possible output files:
 
3176
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3177
 
3101
3178
ac_rmfiles=
3102
3179
for ac_file in $ac_files
3103
3180
do
3104
3181
  case $ac_file in
3105
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3182
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3106
3183
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3107
3184
  esac
3108
3185
done
3113
3190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114
3191
  *) ac_try_echo=$ac_try;;
3115
3192
esac
3116
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3193
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3194
$as_echo "$ac_try_echo") >&5
3117
3195
  (eval "$ac_link_default") 2>&5
3118
3196
  ac_status=$?
3119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3197
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120
3198
  (exit $ac_status); }; then
3121
3199
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3122
3200
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3127
3205
do
3128
3206
  test -f "$ac_file" || continue
3129
3207
  case $ac_file in
3130
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3208
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3131
3209
        ;;
3132
3210
    [ab].out )
3133
3211
        # We found the default executable, but exeext='' is most
3154
3232
  ac_file=''
3155
3233
fi
3156
3234
 
3157
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3158
 
echo "${ECHO_T}$ac_file" >&6; }
 
3235
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3236
$as_echo "$ac_file" >&6; }
3159
3237
if test -z "$ac_file"; then
3160
 
  echo "$as_me: failed program was:" >&5
 
3238
  $as_echo "$as_me: failed program was:" >&5
3161
3239
sed 's/^/| /' conftest.$ac_ext >&5
3162
3240
 
3163
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3241
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3243
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3164
3244
See \`config.log' for more details." >&5
3165
 
echo "$as_me: error: C compiler cannot create executables
 
3245
$as_echo "$as_me: error: C compiler cannot create executables
3166
3246
See \`config.log' for more details." >&2;}
3167
 
   { (exit 77); exit 77; }; }
 
3247
   { (exit 77); exit 77; }; }; }
3168
3248
fi
3169
3249
 
3170
3250
ac_exeext=$ac_cv_exeext
3171
3251
 
3172
3252
# Check that the compiler produces executables we can run.  If not, either
3173
3253
# the compiler is broken, or we cross compile.
3174
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3175
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3254
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3255
$as_echo_n "checking whether the C compiler works... " >&6; }
3176
3256
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3177
3257
# If not cross compiling, check that we can run a simple program.
3178
3258
if test "$cross_compiling" != yes; then
3181
3261
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182
3262
  *) ac_try_echo=$ac_try;;
3183
3263
esac
3184
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3264
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3265
$as_echo "$ac_try_echo") >&5
3185
3266
  (eval "$ac_try") 2>&5
3186
3267
  ac_status=$?
3187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3268
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188
3269
  (exit $ac_status); }; }; then
3189
3270
    cross_compiling=no
3190
3271
  else
3191
3272
    if test "$cross_compiling" = maybe; then
3192
3273
        cross_compiling=yes
3193
3274
    else
3194
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3275
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3276
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3277
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3195
3278
If you meant to cross compile, use \`--host'.
3196
3279
See \`config.log' for more details." >&5
3197
 
echo "$as_me: error: cannot run C compiled programs.
 
3280
$as_echo "$as_me: error: cannot run C compiled programs.
3198
3281
If you meant to cross compile, use \`--host'.
3199
3282
See \`config.log' for more details." >&2;}
3200
 
   { (exit 1); exit 1; }; }
 
3283
   { (exit 1); exit 1; }; }; }
3201
3284
    fi
3202
3285
  fi
3203
3286
fi
3204
 
{ echo "$as_me:$LINENO: result: yes" >&5
3205
 
echo "${ECHO_T}yes" >&6; }
 
3287
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3288
$as_echo "yes" >&6; }
3206
3289
 
3207
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3290
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3208
3291
ac_clean_files=$ac_clean_files_save
3209
3292
# Check that the compiler produces executables we can run.  If not, either
3210
3293
# the compiler is broken, or we cross compile.
3211
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3212
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3213
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3214
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3294
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3295
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3296
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3297
$as_echo "$cross_compiling" >&6; }
3215
3298
 
3216
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3217
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3299
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3300
$as_echo_n "checking for suffix of executables... " >&6; }
3218
3301
if { (ac_try="$ac_link"
3219
3302
case "(($ac_try" in
3220
3303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221
3304
  *) ac_try_echo=$ac_try;;
3222
3305
esac
3223
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3306
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3307
$as_echo "$ac_try_echo") >&5
3224
3308
  (eval "$ac_link") 2>&5
3225
3309
  ac_status=$?
3226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3310
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
3311
  (exit $ac_status); }; then
3228
3312
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3229
3313
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3232
3316
for ac_file in conftest.exe conftest conftest.*; do
3233
3317
  test -f "$ac_file" || continue
3234
3318
  case $ac_file in
3235
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3319
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3236
3320
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237
3321
          break;;
3238
3322
    * ) break;;
3239
3323
  esac
3240
3324
done
3241
3325
else
3242
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3326
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3328
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3243
3329
See \`config.log' for more details." >&5
3244
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3330
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3245
3331
See \`config.log' for more details." >&2;}
3246
 
   { (exit 1); exit 1; }; }
 
3332
   { (exit 1); exit 1; }; }; }
3247
3333
fi
3248
3334
 
3249
3335
rm -f conftest$ac_cv_exeext
3250
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3251
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3336
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3337
$as_echo "$ac_cv_exeext" >&6; }
3252
3338
 
3253
3339
rm -f conftest.$ac_ext
3254
3340
EXEEXT=$ac_cv_exeext
3255
3341
ac_exeext=$EXEEXT
3256
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3257
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3342
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3343
$as_echo_n "checking for suffix of object files... " >&6; }
3258
3344
if test "${ac_cv_objext+set}" = set; then
3259
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3345
  $as_echo_n "(cached) " >&6
3260
3346
else
3261
3347
  cat >conftest.$ac_ext <<_ACEOF
3262
3348
/* confdefs.h.  */
3279
3365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280
3366
  *) ac_try_echo=$ac_try;;
3281
3367
esac
3282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3368
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3369
$as_echo "$ac_try_echo") >&5
3283
3370
  (eval "$ac_compile") 2>&5
3284
3371
  ac_status=$?
3285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286
3373
  (exit $ac_status); }; then
3287
3374
  for ac_file in conftest.o conftest.obj conftest.*; do
3288
3375
  test -f "$ac_file" || continue;
3289
3376
  case $ac_file in
3290
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3377
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3291
3378
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3292
3379
       break;;
3293
3380
  esac
3294
3381
done
3295
3382
else
3296
 
  echo "$as_me: failed program was:" >&5
 
3383
  $as_echo "$as_me: failed program was:" >&5
3297
3384
sed 's/^/| /' conftest.$ac_ext >&5
3298
3385
 
3299
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3386
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3388
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3300
3389
See \`config.log' for more details." >&5
3301
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3390
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3302
3391
See \`config.log' for more details." >&2;}
3303
 
   { (exit 1); exit 1; }; }
 
3392
   { (exit 1); exit 1; }; }; }
3304
3393
fi
3305
3394
 
3306
3395
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3307
3396
fi
3308
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3309
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3397
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3398
$as_echo "$ac_cv_objext" >&6; }
3310
3399
OBJEXT=$ac_cv_objext
3311
3400
ac_objext=$OBJEXT
3312
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3313
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3401
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3402
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3314
3403
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3315
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3404
  $as_echo_n "(cached) " >&6
3316
3405
else
3317
3406
  cat >conftest.$ac_ext <<_ACEOF
3318
3407
/* confdefs.h.  */
3338
3427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339
3428
  *) ac_try_echo=$ac_try;;
3340
3429
esac
3341
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3430
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3431
$as_echo "$ac_try_echo") >&5
3342
3432
  (eval "$ac_compile") 2>conftest.er1
3343
3433
  ac_status=$?
3344
3434
  grep -v '^ *+' conftest.er1 >conftest.err
3345
3435
  rm -f conftest.er1
3346
3436
  cat conftest.err >&5
3347
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3437
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348
3438
  (exit $ac_status); } && {
3349
3439
         test -z "$ac_c_werror_flag" ||
3350
3440
         test ! -s conftest.err
3351
3441
       } && test -s conftest.$ac_objext; then
3352
3442
  ac_compiler_gnu=yes
3353
3443
else
3354
 
  echo "$as_me: failed program was:" >&5
 
3444
  $as_echo "$as_me: failed program was:" >&5
3355
3445
sed 's/^/| /' conftest.$ac_ext >&5
3356
3446
 
3357
3447
        ac_compiler_gnu=no
3361
3451
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362
3452
 
3363
3453
fi
3364
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3365
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3366
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3454
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3455
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3456
if test $ac_compiler_gnu = yes; then
 
3457
  GCC=yes
 
3458
else
 
3459
  GCC=
 
3460
fi
3367
3461
ac_test_CFLAGS=${CFLAGS+set}
3368
3462
ac_save_CFLAGS=$CFLAGS
3369
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3370
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3463
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3464
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3371
3465
if test "${ac_cv_prog_cc_g+set}" = set; then
3372
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3466
  $as_echo_n "(cached) " >&6
3373
3467
else
3374
3468
  ac_save_c_werror_flag=$ac_c_werror_flag
3375
3469
   ac_c_werror_flag=yes
3396
3490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397
3491
  *) ac_try_echo=$ac_try;;
3398
3492
esac
3399
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3493
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3494
$as_echo "$ac_try_echo") >&5
3400
3495
  (eval "$ac_compile") 2>conftest.er1
3401
3496
  ac_status=$?
3402
3497
  grep -v '^ *+' conftest.er1 >conftest.err
3403
3498
  rm -f conftest.er1
3404
3499
  cat conftest.err >&5
3405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3500
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406
3501
  (exit $ac_status); } && {
3407
3502
         test -z "$ac_c_werror_flag" ||
3408
3503
         test ! -s conftest.err
3409
3504
       } && test -s conftest.$ac_objext; then
3410
3505
  ac_cv_prog_cc_g=yes
3411
3506
else
3412
 
  echo "$as_me: failed program was:" >&5
 
3507
  $as_echo "$as_me: failed program was:" >&5
3413
3508
sed 's/^/| /' conftest.$ac_ext >&5
3414
3509
 
3415
3510
        CFLAGS=""
3434
3529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435
3530
  *) ac_try_echo=$ac_try;;
3436
3531
esac
3437
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3533
$as_echo "$ac_try_echo") >&5
3438
3534
  (eval "$ac_compile") 2>conftest.er1
3439
3535
  ac_status=$?
3440
3536
  grep -v '^ *+' conftest.er1 >conftest.err
3441
3537
  rm -f conftest.er1
3442
3538
  cat conftest.err >&5
3443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3539
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444
3540
  (exit $ac_status); } && {
3445
3541
         test -z "$ac_c_werror_flag" ||
3446
3542
         test ! -s conftest.err
3447
3543
       } && test -s conftest.$ac_objext; then
3448
3544
  :
3449
3545
else
3450
 
  echo "$as_me: failed program was:" >&5
 
3546
  $as_echo "$as_me: failed program was:" >&5
3451
3547
sed 's/^/| /' conftest.$ac_ext >&5
3452
3548
 
3453
3549
        ac_c_werror_flag=$ac_save_c_werror_flag
3473
3569
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474
3570
  *) ac_try_echo=$ac_try;;
3475
3571
esac
3476
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3572
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3573
$as_echo "$ac_try_echo") >&5
3477
3574
  (eval "$ac_compile") 2>conftest.er1
3478
3575
  ac_status=$?
3479
3576
  grep -v '^ *+' conftest.er1 >conftest.err
3480
3577
  rm -f conftest.er1
3481
3578
  cat conftest.err >&5
3482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3579
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
3580
  (exit $ac_status); } && {
3484
3581
         test -z "$ac_c_werror_flag" ||
3485
3582
         test ! -s conftest.err
3486
3583
       } && test -s conftest.$ac_objext; then
3487
3584
  ac_cv_prog_cc_g=yes
3488
3585
else
3489
 
  echo "$as_me: failed program was:" >&5
 
3586
  $as_echo "$as_me: failed program was:" >&5
3490
3587
sed 's/^/| /' conftest.$ac_ext >&5
3491
3588
 
3492
3589
 
3501
3598
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502
3599
   ac_c_werror_flag=$ac_save_c_werror_flag
3503
3600
fi
3504
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3505
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3601
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3602
$as_echo "$ac_cv_prog_cc_g" >&6; }
3506
3603
if test "$ac_test_CFLAGS" = set; then
3507
3604
  CFLAGS=$ac_save_CFLAGS
3508
3605
elif test $ac_cv_prog_cc_g = yes; then
3518
3615
    CFLAGS=
3519
3616
  fi
3520
3617
fi
3521
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3522
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3618
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3619
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3523
3620
if test "${ac_cv_prog_cc_c89+set}" = set; then
3524
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3621
  $as_echo_n "(cached) " >&6
3525
3622
else
3526
3623
  ac_cv_prog_cc_c89=no
3527
3624
ac_save_CC=$CC
3592
3689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593
3690
  *) ac_try_echo=$ac_try;;
3594
3691
esac
3595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3692
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3693
$as_echo "$ac_try_echo") >&5
3596
3694
  (eval "$ac_compile") 2>conftest.er1
3597
3695
  ac_status=$?
3598
3696
  grep -v '^ *+' conftest.er1 >conftest.err
3599
3697
  rm -f conftest.er1
3600
3698
  cat conftest.err >&5
3601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3699
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602
3700
  (exit $ac_status); } && {
3603
3701
         test -z "$ac_c_werror_flag" ||
3604
3702
         test ! -s conftest.err
3605
3703
       } && test -s conftest.$ac_objext; then
3606
3704
  ac_cv_prog_cc_c89=$ac_arg
3607
3705
else
3608
 
  echo "$as_me: failed program was:" >&5
 
3706
  $as_echo "$as_me: failed program was:" >&5
3609
3707
sed 's/^/| /' conftest.$ac_ext >&5
3610
3708
 
3611
3709
 
3621
3719
# AC_CACHE_VAL
3622
3720
case "x$ac_cv_prog_cc_c89" in
3623
3721
  x)
3624
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3625
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3722
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3723
$as_echo "none needed" >&6; } ;;
3626
3724
  xno)
3627
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3628
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3725
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3726
$as_echo "unsupported" >&6; } ;;
3629
3727
  *)
3630
3728
    CC="$CC $ac_cv_prog_cc_c89"
3631
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3632
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3729
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3730
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3633
3731
esac
3634
3732
 
3635
3733
 
3641
3739
 
3642
3740
depcc="$CC"   am_compiler_list=
3643
3741
 
3644
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3645
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3742
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3743
$as_echo_n "checking dependency style of $depcc... " >&6; }
3646
3744
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3745
  $as_echo_n "(cached) " >&6
3648
3746
else
3649
3747
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3650
3748
  # We make a subdir and do the tests there.  Otherwise we can end up
3669
3767
  if test "$am_compiler_list" = ""; then
3670
3768
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3671
3769
  fi
 
3770
  am__universal=false
 
3771
  case " $depcc " in #(
 
3772
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3773
     esac
 
3774
 
3672
3775
  for depmode in $am_compiler_list; do
3673
3776
    # Setup a source with many dependencies, because some compilers
3674
3777
    # like to wrap large dependency lists on column 80 (with \), and
3686
3789
    done
3687
3790
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3688
3791
 
 
3792
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3793
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3794
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3795
    # versions had trouble with output in subdirs
 
3796
    am__obj=sub/conftest.${OBJEXT-o}
 
3797
    am__minus_obj="-o $am__obj"
3689
3798
    case $depmode in
 
3799
    gcc)
 
3800
      # This depmode causes a compiler race in universal mode.
 
3801
      test "$am__universal" = false || continue
 
3802
      ;;
3690
3803
    nosideeffect)
3691
3804
      # after this tag, mechanisms are not by side-effect, so they'll
3692
3805
      # only be used when explicitly requested
3696
3809
        break
3697
3810
      fi
3698
3811
      ;;
 
3812
    msvisualcpp | msvcmsys)
 
3813
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3814
      # not run yet.  These depmodes are late enough in the game, and
 
3815
      # so weak that their functioning should not be impacted.
 
3816
      am__obj=conftest.${OBJEXT-o}
 
3817
      am__minus_obj=
 
3818
      ;;
3699
3819
    none) break ;;
3700
3820
    esac
3701
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3702
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3703
 
    # handle `-M -o', and we need to detect this.
3704
3821
    if depmode=$depmode \
3705
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3822
       source=sub/conftest.c object=$am__obj \
3706
3823
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3707
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3824
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3708
3825
         >/dev/null 2>conftest.err &&
3709
3826
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3710
3827
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3711
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3828
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3712
3829
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3713
3830
      # icc doesn't choke on unknown options, it will just issue warnings
3714
3831
      # or remarks (even with -Werror).  So we grep stderr for any message
3732
3849
fi
3733
3850
 
3734
3851
fi
3735
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3736
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3852
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3853
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3737
3854
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3738
3855
 
3739
3856
 if
3747
3864
fi
3748
3865
 
3749
3866
 
3750
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3751
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3752
 
if test "${lt_cv_path_SED+set}" = set; then
3753
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3867
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3868
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
3869
if test "${ac_cv_path_SED+set}" = set; then
 
3870
  $as_echo_n "(cached) " >&6
3754
3871
else
3755
 
  # Loop through the user's path and test for sed and gsed.
3756
 
# Then use that list of sed's as ones to test for truncation.
3757
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3872
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
3873
     for ac_i in 1 2 3 4 5 6 7; do
 
3874
       ac_script="$ac_script$as_nl$ac_script"
 
3875
     done
 
3876
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
3877
     $as_unset ac_script || ac_script=
 
3878
     if test -z "$SED"; then
 
3879
  ac_path_SED_found=false
 
3880
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3881
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758
3882
for as_dir in $PATH
3759
3883
do
3760
3884
  IFS=$as_save_IFS
3761
3885
  test -z "$as_dir" && as_dir=.
3762
 
  for lt_ac_prog in sed gsed; do
 
3886
  for ac_prog in sed gsed; do
3763
3887
    for ac_exec_ext in '' $ac_executable_extensions; do
3764
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3765
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3766
 
      fi
 
3888
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
3889
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
3890
# Check for GNU ac_path_SED and select it if it is found.
 
3891
  # Check for GNU $ac_path_SED
 
3892
case `"$ac_path_SED" --version 2>&1` in
 
3893
*GNU*)
 
3894
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
3895
*)
 
3896
  ac_count=0
 
3897
  $as_echo_n 0123456789 >"conftest.in"
 
3898
  while :
 
3899
  do
 
3900
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3901
    mv "conftest.tmp" "conftest.in"
 
3902
    cp "conftest.in" "conftest.nl"
 
3903
    $as_echo '' >> "conftest.nl"
 
3904
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3905
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3906
    ac_count=`expr $ac_count + 1`
 
3907
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
3908
      # Best one so far, save it but keep looking for a better one
 
3909
      ac_cv_path_SED="$ac_path_SED"
 
3910
      ac_path_SED_max=$ac_count
 
3911
    fi
 
3912
    # 10*(2^10) chars as input seems more than enough
 
3913
    test $ac_count -gt 10 && break
 
3914
  done
 
3915
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3916
esac
 
3917
 
 
3918
      $ac_path_SED_found && break 3
3767
3919
    done
3768
3920
  done
3769
3921
done
3770
 
lt_ac_max=0
3771
 
lt_ac_count=0
3772
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3773
 
# along with /bin/sed that truncates output.
3774
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3775
 
  test ! -f $lt_ac_sed && continue
3776
 
  cat /dev/null > conftest.in
3777
 
  lt_ac_count=0
3778
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3779
 
  # Check for GNU sed and select it if it is found.
3780
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3781
 
    lt_cv_path_SED=$lt_ac_sed
3782
 
    break
 
3922
IFS=$as_save_IFS
 
3923
  if test -z "$ac_cv_path_SED"; then
 
3924
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
3925
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
3926
   { (exit 1); exit 1; }; }
3783
3927
  fi
3784
 
  while true; do
3785
 
    cat conftest.in conftest.in >conftest.tmp
3786
 
    mv conftest.tmp conftest.in
3787
 
    cp conftest.in conftest.nl
3788
 
    echo >>conftest.nl
3789
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3790
 
    cmp -s conftest.out conftest.nl || break
3791
 
    # 10000 chars as input seems more than enough
3792
 
    test $lt_ac_count -gt 10 && break
3793
 
    lt_ac_count=`expr $lt_ac_count + 1`
3794
 
    if test $lt_ac_count -gt $lt_ac_max; then
3795
 
      lt_ac_max=$lt_ac_count
3796
 
      lt_cv_path_SED=$lt_ac_sed
3797
 
    fi
3798
 
  done
3799
 
done
3800
 
 
3801
 
fi
3802
 
 
3803
 
SED=$lt_cv_path_SED
3804
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3805
 
echo "${ECHO_T}$SED" >&6; }
3806
 
 
3807
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3808
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3809
 
if test "${ac_cv_path_GREP+set}" = set; then
3810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3811
 
else
3812
 
  # Extract the first word of "grep ggrep" to use in msg output
3813
 
if test -z "$GREP"; then
3814
 
set dummy grep ggrep; ac_prog_name=$2
3815
 
if test "${ac_cv_path_GREP+set}" = set; then
3816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3817
 
else
 
3928
else
 
3929
  ac_cv_path_SED=$SED
 
3930
fi
 
3931
 
 
3932
fi
 
3933
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
3934
$as_echo "$ac_cv_path_SED" >&6; }
 
3935
 SED="$ac_cv_path_SED"
 
3936
  rm -f conftest.sed
 
3937
 
 
3938
test -z "$SED" && SED=sed
 
3939
Xsed="$SED -e 1s/^X//"
 
3940
 
 
3941
 
 
3942
 
 
3943
 
 
3944
 
 
3945
 
 
3946
 
 
3947
 
 
3948
 
 
3949
 
 
3950
 
 
3951
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3952
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3953
if test "${ac_cv_path_GREP+set}" = set; then
 
3954
  $as_echo_n "(cached) " >&6
 
3955
else
 
3956
  if test -z "$GREP"; then
3818
3957
  ac_path_GREP_found=false
3819
 
# Loop through the user's path and test for each of PROGNAME-LIST
3820
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3958
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3959
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821
3960
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3822
3961
do
3823
3962
  IFS=$as_save_IFS
3824
3963
  test -z "$as_dir" && as_dir=.
3825
3964
  for ac_prog in grep ggrep; do
3826
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3827
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3828
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3829
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
3965
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3966
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3967
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3968
# Check for GNU ac_path_GREP and select it if it is found.
3830
3969
  # Check for GNU $ac_path_GREP
3831
3970
case `"$ac_path_GREP" --version 2>&1` in
3832
3971
*GNU*)
3833
3972
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3834
3973
*)
3835
3974
  ac_count=0
3836
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3975
  $as_echo_n 0123456789 >"conftest.in"
3837
3976
  while :
3838
3977
  do
3839
3978
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3840
3979
    mv "conftest.tmp" "conftest.in"
3841
3980
    cp "conftest.in" "conftest.nl"
3842
 
    echo 'GREP' >> "conftest.nl"
 
3981
    $as_echo 'GREP' >> "conftest.nl"
3843
3982
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3844
3983
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3845
3984
    ac_count=`expr $ac_count + 1`
3854
3993
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3855
3994
esac
3856
3995
 
3857
 
 
3858
 
    $ac_path_GREP_found && break 3
 
3996
      $ac_path_GREP_found && break 3
 
3997
    done
3859
3998
  done
3860
3999
done
3861
 
 
3862
 
done
3863
4000
IFS=$as_save_IFS
3864
 
 
3865
 
 
3866
 
fi
3867
 
 
3868
 
GREP="$ac_cv_path_GREP"
3869
 
if test -z "$GREP"; then
3870
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3871
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4001
  if test -z "$ac_cv_path_GREP"; then
 
4002
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4003
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3872
4004
   { (exit 1); exit 1; }; }
3873
 
fi
3874
 
 
 
4005
  fi
3875
4006
else
3876
4007
  ac_cv_path_GREP=$GREP
3877
4008
fi
3878
4009
 
3879
 
 
3880
4010
fi
3881
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3882
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4012
$as_echo "$ac_cv_path_GREP" >&6; }
3883
4013
 GREP="$ac_cv_path_GREP"
3884
4014
 
3885
4015
 
3886
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3887
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4016
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4017
$as_echo_n "checking for egrep... " >&6; }
3888
4018
if test "${ac_cv_path_EGREP+set}" = set; then
3889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4019
  $as_echo_n "(cached) " >&6
3890
4020
else
3891
4021
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3892
4022
   then ac_cv_path_EGREP="$GREP -E"
3893
4023
   else
3894
 
     # Extract the first word of "egrep" to use in msg output
3895
 
if test -z "$EGREP"; then
3896
 
set dummy egrep; ac_prog_name=$2
3897
 
if test "${ac_cv_path_EGREP+set}" = set; then
3898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3899
 
else
 
4024
     if test -z "$EGREP"; then
3900
4025
  ac_path_EGREP_found=false
3901
 
# Loop through the user's path and test for each of PROGNAME-LIST
3902
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4026
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4027
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903
4028
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3904
4029
do
3905
4030
  IFS=$as_save_IFS
3906
4031
  test -z "$as_dir" && as_dir=.
3907
4032
  for ac_prog in egrep; do
3908
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3909
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3910
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3911
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4033
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4034
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4035
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4036
# Check for GNU ac_path_EGREP and select it if it is found.
3912
4037
  # Check for GNU $ac_path_EGREP
3913
4038
case `"$ac_path_EGREP" --version 2>&1` in
3914
4039
*GNU*)
3915
4040
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3916
4041
*)
3917
4042
  ac_count=0
3918
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4043
  $as_echo_n 0123456789 >"conftest.in"
3919
4044
  while :
3920
4045
  do
3921
4046
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3922
4047
    mv "conftest.tmp" "conftest.in"
3923
4048
    cp "conftest.in" "conftest.nl"
3924
 
    echo 'EGREP' >> "conftest.nl"
 
4049
    $as_echo 'EGREP' >> "conftest.nl"
3925
4050
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3926
4051
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3927
4052
    ac_count=`expr $ac_count + 1`
3936
4061
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3937
4062
esac
3938
4063
 
3939
 
 
3940
 
    $ac_path_EGREP_found && break 3
 
4064
      $ac_path_EGREP_found && break 3
 
4065
    done
3941
4066
  done
3942
4067
done
3943
 
 
3944
 
done
3945
4068
IFS=$as_save_IFS
3946
 
 
3947
 
 
3948
 
fi
3949
 
 
3950
 
EGREP="$ac_cv_path_EGREP"
3951
 
if test -z "$EGREP"; then
3952
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3953
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4069
  if test -z "$ac_cv_path_EGREP"; then
 
4070
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4071
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3954
4072
   { (exit 1); exit 1; }; }
3955
 
fi
3956
 
 
 
4073
  fi
3957
4074
else
3958
4075
  ac_cv_path_EGREP=$EGREP
3959
4076
fi
3960
4077
 
3961
 
 
3962
4078
   fi
3963
4079
fi
3964
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3965
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4080
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4081
$as_echo "$ac_cv_path_EGREP" >&6; }
3966
4082
 EGREP="$ac_cv_path_EGREP"
3967
4083
 
3968
4084
 
 
4085
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4086
$as_echo_n "checking for fgrep... " >&6; }
 
4087
if test "${ac_cv_path_FGREP+set}" = set; then
 
4088
  $as_echo_n "(cached) " >&6
 
4089
else
 
4090
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4091
   then ac_cv_path_FGREP="$GREP -F"
 
4092
   else
 
4093
     if test -z "$FGREP"; then
 
4094
  ac_path_FGREP_found=false
 
4095
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4096
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4097
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4098
do
 
4099
  IFS=$as_save_IFS
 
4100
  test -z "$as_dir" && as_dir=.
 
4101
  for ac_prog in fgrep; do
 
4102
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4103
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4104
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4105
# Check for GNU ac_path_FGREP and select it if it is found.
 
4106
  # Check for GNU $ac_path_FGREP
 
4107
case `"$ac_path_FGREP" --version 2>&1` in
 
4108
*GNU*)
 
4109
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4110
*)
 
4111
  ac_count=0
 
4112
  $as_echo_n 0123456789 >"conftest.in"
 
4113
  while :
 
4114
  do
 
4115
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4116
    mv "conftest.tmp" "conftest.in"
 
4117
    cp "conftest.in" "conftest.nl"
 
4118
    $as_echo 'FGREP' >> "conftest.nl"
 
4119
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4120
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4121
    ac_count=`expr $ac_count + 1`
 
4122
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4123
      # Best one so far, save it but keep looking for a better one
 
4124
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4125
      ac_path_FGREP_max=$ac_count
 
4126
    fi
 
4127
    # 10*(2^10) chars as input seems more than enough
 
4128
    test $ac_count -gt 10 && break
 
4129
  done
 
4130
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4131
esac
 
4132
 
 
4133
      $ac_path_FGREP_found && break 3
 
4134
    done
 
4135
  done
 
4136
done
 
4137
IFS=$as_save_IFS
 
4138
  if test -z "$ac_cv_path_FGREP"; then
 
4139
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4140
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4141
   { (exit 1); exit 1; }; }
 
4142
  fi
 
4143
else
 
4144
  ac_cv_path_FGREP=$FGREP
 
4145
fi
 
4146
 
 
4147
   fi
 
4148
fi
 
4149
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4150
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4151
 FGREP="$ac_cv_path_FGREP"
 
4152
 
 
4153
 
 
4154
test -z "$GREP" && GREP=grep
 
4155
 
 
4156
 
 
4157
 
 
4158
 
 
4159
 
 
4160
 
 
4161
 
 
4162
 
 
4163
 
 
4164
 
 
4165
 
 
4166
 
 
4167
 
 
4168
 
 
4169
 
 
4170
 
 
4171
 
 
4172
 
3969
4173
 
3970
4174
# Check whether --with-gnu-ld was given.
3971
4175
if test "${with_gnu_ld+set}" = set; then
3977
4181
ac_prog=ld
3978
4182
if test "$GCC" = yes; then
3979
4183
  # Check if gcc -print-prog-name=ld gives a path.
3980
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3981
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4184
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4185
$as_echo_n "checking for ld used by $CC... " >&6; }
3982
4186
  case $host in
3983
4187
  *-*-mingw*)
3984
4188
    # gcc leaves a trailing carriage return which upsets mingw
3991
4195
    [\\/]* | ?:[\\/]*)
3992
4196
      re_direlt='/[^/][^/]*/\.\./'
3993
4197
      # Canonicalize the pathname of ld
3994
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3995
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3996
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4198
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4199
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4200
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3997
4201
      done
3998
4202
      test -z "$LD" && LD="$ac_prog"
3999
4203
      ;;
4007
4211
    ;;
4008
4212
  esac
4009
4213
elif test "$with_gnu_ld" = yes; then
4010
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4011
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4214
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4215
$as_echo_n "checking for GNU ld... " >&6; }
4012
4216
else
4013
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4014
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4217
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4218
$as_echo_n "checking for non-GNU ld... " >&6; }
4015
4219
fi
4016
4220
if test "${lt_cv_path_LD+set}" = set; then
4017
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4221
  $as_echo_n "(cached) " >&6
4018
4222
else
4019
4223
  if test -z "$LD"; then
4020
4224
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4044
4248
 
4045
4249
LD="$lt_cv_path_LD"
4046
4250
if test -n "$LD"; then
4047
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4048
 
echo "${ECHO_T}$LD" >&6; }
 
4251
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4252
$as_echo "$LD" >&6; }
4049
4253
else
4050
 
  { echo "$as_me:$LINENO: result: no" >&5
4051
 
echo "${ECHO_T}no" >&6; }
 
4254
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4255
$as_echo "no" >&6; }
4052
4256
fi
4053
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4054
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4257
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4258
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4055
4259
   { (exit 1); exit 1; }; }
4056
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4057
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
4260
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4261
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4058
4262
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4263
  $as_echo_n "(cached) " >&6
4060
4264
else
4061
4265
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4062
4266
case `$LD -v 2>&1 </dev/null` in
4068
4272
  ;;
4069
4273
esac
4070
4274
fi
4071
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4072
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
4275
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4276
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4073
4277
with_gnu_ld=$lt_cv_prog_gnu_ld
4074
4278
 
4075
4279
 
4076
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4077
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4078
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4080
 
else
4081
 
  lt_cv_ld_reload_flag='-r'
4082
 
fi
4083
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4084
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4085
 
reload_flag=$lt_cv_ld_reload_flag
4086
 
case $reload_flag in
4087
 
"" | " "*) ;;
4088
 
*) reload_flag=" $reload_flag" ;;
4089
 
esac
4090
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4091
 
case $host_os in
4092
 
  darwin*)
4093
 
    if test "$GCC" = yes; then
4094
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4095
 
    else
4096
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4097
 
    fi
4098
 
    ;;
4099
 
esac
4100
 
 
4101
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4102
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4280
 
 
4281
 
 
4282
 
 
4283
 
 
4284
 
 
4285
 
 
4286
 
 
4287
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4288
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4103
4289
if test "${lt_cv_path_NM+set}" = set; then
4104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4290
  $as_echo_n "(cached) " >&6
4105
4291
else
4106
4292
  if test -n "$NM"; then
4107
4293
  # Let the user override the test.
4144
4330
    done
4145
4331
    IFS="$lt_save_ifs"
4146
4332
  done
4147
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4148
 
fi
4149
 
fi
4150
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4151
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4152
 
NM="$lt_cv_path_NM"
4153
 
 
4154
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4155
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
4333
  : ${lt_cv_path_NM=no}
 
4334
fi
 
4335
fi
 
4336
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4337
$as_echo "$lt_cv_path_NM" >&6; }
 
4338
if test "$lt_cv_path_NM" != "no"; then
 
4339
  NM="$lt_cv_path_NM"
 
4340
else
 
4341
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4342
  if test -n "$ac_tool_prefix"; then
 
4343
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4344
  do
 
4345
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4346
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4347
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4348
$as_echo_n "checking for $ac_word... " >&6; }
 
4349
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4350
  $as_echo_n "(cached) " >&6
 
4351
else
 
4352
  if test -n "$DUMPBIN"; then
 
4353
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4354
else
 
4355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4356
for as_dir in $PATH
 
4357
do
 
4358
  IFS=$as_save_IFS
 
4359
  test -z "$as_dir" && as_dir=.
 
4360
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4362
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4363
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4364
    break 2
 
4365
  fi
 
4366
done
 
4367
done
 
4368
IFS=$as_save_IFS
 
4369
 
 
4370
fi
 
4371
fi
 
4372
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4373
if test -n "$DUMPBIN"; then
 
4374
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4375
$as_echo "$DUMPBIN" >&6; }
 
4376
else
 
4377
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4378
$as_echo "no" >&6; }
 
4379
fi
 
4380
 
 
4381
 
 
4382
    test -n "$DUMPBIN" && break
 
4383
  done
 
4384
fi
 
4385
if test -z "$DUMPBIN"; then
 
4386
  ac_ct_DUMPBIN=$DUMPBIN
 
4387
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4388
do
 
4389
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4390
set dummy $ac_prog; ac_word=$2
 
4391
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4392
$as_echo_n "checking for $ac_word... " >&6; }
 
4393
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4394
  $as_echo_n "(cached) " >&6
 
4395
else
 
4396
  if test -n "$ac_ct_DUMPBIN"; then
 
4397
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4398
else
 
4399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4400
for as_dir in $PATH
 
4401
do
 
4402
  IFS=$as_save_IFS
 
4403
  test -z "$as_dir" && as_dir=.
 
4404
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4405
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4406
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4407
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4408
    break 2
 
4409
  fi
 
4410
done
 
4411
done
 
4412
IFS=$as_save_IFS
 
4413
 
 
4414
fi
 
4415
fi
 
4416
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4417
if test -n "$ac_ct_DUMPBIN"; then
 
4418
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4419
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4420
else
 
4421
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4422
$as_echo "no" >&6; }
 
4423
fi
 
4424
 
 
4425
 
 
4426
  test -n "$ac_ct_DUMPBIN" && break
 
4427
done
 
4428
 
 
4429
  if test "x$ac_ct_DUMPBIN" = x; then
 
4430
    DUMPBIN=":"
 
4431
  else
 
4432
    case $cross_compiling:$ac_tool_warned in
 
4433
yes:)
 
4434
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4435
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4436
ac_tool_warned=yes ;;
 
4437
esac
 
4438
    DUMPBIN=$ac_ct_DUMPBIN
 
4439
  fi
 
4440
fi
 
4441
 
 
4442
 
 
4443
  if test "$DUMPBIN" != ":"; then
 
4444
    NM="$DUMPBIN"
 
4445
  fi
 
4446
fi
 
4447
test -z "$NM" && NM=nm
 
4448
 
 
4449
 
 
4450
 
 
4451
 
 
4452
 
 
4453
 
 
4454
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4455
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4456
if test "${lt_cv_nm_interface+set}" = set; then
 
4457
  $as_echo_n "(cached) " >&6
 
4458
else
 
4459
  lt_cv_nm_interface="BSD nm"
 
4460
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4461
  (eval echo "\"\$as_me:4461: $ac_compile\"" >&5)
 
4462
  (eval "$ac_compile" 2>conftest.err)
 
4463
  cat conftest.err >&5
 
4464
  (eval echo "\"\$as_me:4464: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4465
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4466
  cat conftest.err >&5
 
4467
  (eval echo "\"\$as_me:4467: output\"" >&5)
 
4468
  cat conftest.out >&5
 
4469
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4470
    lt_cv_nm_interface="MS dumpbin"
 
4471
  fi
 
4472
  rm -f conftest*
 
4473
fi
 
4474
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4475
$as_echo "$lt_cv_nm_interface" >&6; }
 
4476
 
 
4477
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4478
$as_echo_n "checking whether ln -s works... " >&6; }
4156
4479
LN_S=$as_ln_s
4157
4480
if test "$LN_S" = "ln -s"; then
4158
 
  { echo "$as_me:$LINENO: result: yes" >&5
4159
 
echo "${ECHO_T}yes" >&6; }
4160
 
else
4161
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4162
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4163
 
fi
4164
 
 
4165
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4166
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
4481
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4482
$as_echo "yes" >&6; }
 
4483
else
 
4484
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4485
$as_echo "no, using $LN_S" >&6; }
 
4486
fi
 
4487
 
 
4488
# find the maximum length of command line arguments
 
4489
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4490
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4491
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4492
  $as_echo_n "(cached) " >&6
 
4493
else
 
4494
    i=0
 
4495
  teststring="ABCD"
 
4496
 
 
4497
  case $build_os in
 
4498
  msdosdjgpp*)
 
4499
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4500
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4501
    # during glob expansion).  Even if it were fixed, the result of this
 
4502
    # check would be larger than it should be.
 
4503
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4504
    ;;
 
4505
 
 
4506
  gnu*)
 
4507
    # Under GNU Hurd, this test is not required because there is
 
4508
    # no limit to the length of command line arguments.
 
4509
    # Libtool will interpret -1 as no limit whatsoever
 
4510
    lt_cv_sys_max_cmd_len=-1;
 
4511
    ;;
 
4512
 
 
4513
  cygwin* | mingw* | cegcc*)
 
4514
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4515
    # about 5 minutes as the teststring grows exponentially.
 
4516
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4517
    # you end up with a "frozen" computer, even though with patience
 
4518
    # the test eventually succeeds (with a max line length of 256k).
 
4519
    # Instead, let's just punt: use the minimum linelength reported by
 
4520
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4521
    lt_cv_sys_max_cmd_len=8192;
 
4522
    ;;
 
4523
 
 
4524
  amigaos*)
 
4525
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4526
    # So we just punt and use a minimum line length of 8192.
 
4527
    lt_cv_sys_max_cmd_len=8192;
 
4528
    ;;
 
4529
 
 
4530
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4531
    # This has been around since 386BSD, at least.  Likely further.
 
4532
    if test -x /sbin/sysctl; then
 
4533
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4534
    elif test -x /usr/sbin/sysctl; then
 
4535
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4536
    else
 
4537
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4538
    fi
 
4539
    # And add a safety zone
 
4540
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4541
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4542
    ;;
 
4543
 
 
4544
  interix*)
 
4545
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4546
    lt_cv_sys_max_cmd_len=196608
 
4547
    ;;
 
4548
 
 
4549
  osf*)
 
4550
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4551
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4552
    # nice to cause kernel panics so lets avoid the loop below.
 
4553
    # First set a reasonable default.
 
4554
    lt_cv_sys_max_cmd_len=16384
 
4555
    #
 
4556
    if test -x /sbin/sysconfig; then
 
4557
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4558
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4559
      esac
 
4560
    fi
 
4561
    ;;
 
4562
  sco3.2v5*)
 
4563
    lt_cv_sys_max_cmd_len=102400
 
4564
    ;;
 
4565
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4566
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4567
    if test -n "$kargmax"; then
 
4568
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4569
    else
 
4570
      lt_cv_sys_max_cmd_len=32768
 
4571
    fi
 
4572
    ;;
 
4573
  *)
 
4574
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4575
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4576
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4577
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4578
    else
 
4579
      # Make teststring a little bigger before we do anything with it.
 
4580
      # a 1K string should be a reasonable start.
 
4581
      for i in 1 2 3 4 5 6 7 8 ; do
 
4582
        teststring=$teststring$teststring
 
4583
      done
 
4584
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4585
      # If test is not a shell built-in, we'll probably end up computing a
 
4586
      # maximum length that is only half of the actual maximum length, but
 
4587
      # we can't tell.
 
4588
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4589
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4590
              test $i != 17 # 1/2 MB should be enough
 
4591
      do
 
4592
        i=`expr $i + 1`
 
4593
        teststring=$teststring$teststring
 
4594
      done
 
4595
      # Only check the string length outside the loop.
 
4596
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4597
      teststring=
 
4598
      # Add a significant safety factor because C++ compilers can tack on
 
4599
      # massive amounts of additional arguments before passing them to the
 
4600
      # linker.  It appears as though 1/2 is a usable value.
 
4601
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4602
    fi
 
4603
    ;;
 
4604
  esac
 
4605
 
 
4606
fi
 
4607
 
 
4608
if test -n $lt_cv_sys_max_cmd_len ; then
 
4609
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4610
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4611
else
 
4612
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4613
$as_echo "none" >&6; }
 
4614
fi
 
4615
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4616
 
 
4617
 
 
4618
 
 
4619
 
 
4620
 
 
4621
 
 
4622
: ${CP="cp -f"}
 
4623
: ${MV="mv -f"}
 
4624
: ${RM="rm -f"}
 
4625
 
 
4626
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4627
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4628
# Try some XSI features
 
4629
xsi_shell=no
 
4630
( _lt_dummy="a/b/c"
 
4631
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4632
      = c,a/b,, \
 
4633
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4634
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4635
  && xsi_shell=yes
 
4636
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4637
$as_echo "$xsi_shell" >&6; }
 
4638
 
 
4639
 
 
4640
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4641
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4642
lt_shell_append=no
 
4643
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4644
    >/dev/null 2>&1 \
 
4645
  && lt_shell_append=yes
 
4646
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4647
$as_echo "$lt_shell_append" >&6; }
 
4648
 
 
4649
 
 
4650
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4651
  lt_unset=unset
 
4652
else
 
4653
  lt_unset=false
 
4654
fi
 
4655
 
 
4656
 
 
4657
 
 
4658
 
 
4659
 
 
4660
# test EBCDIC or ASCII
 
4661
case `echo X|tr X '\101'` in
 
4662
 A) # ASCII based system
 
4663
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4664
  lt_SP2NL='tr \040 \012'
 
4665
  lt_NL2SP='tr \015\012 \040\040'
 
4666
  ;;
 
4667
 *) # EBCDIC based system
 
4668
  lt_SP2NL='tr \100 \n'
 
4669
  lt_NL2SP='tr \r\n \100\100'
 
4670
  ;;
 
4671
esac
 
4672
 
 
4673
 
 
4674
 
 
4675
 
 
4676
 
 
4677
 
 
4678
 
 
4679
 
 
4680
 
 
4681
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4682
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4683
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4684
  $as_echo_n "(cached) " >&6
 
4685
else
 
4686
  lt_cv_ld_reload_flag='-r'
 
4687
fi
 
4688
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4689
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
4690
reload_flag=$lt_cv_ld_reload_flag
 
4691
case $reload_flag in
 
4692
"" | " "*) ;;
 
4693
*) reload_flag=" $reload_flag" ;;
 
4694
esac
 
4695
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4696
case $host_os in
 
4697
  darwin*)
 
4698
    if test "$GCC" = yes; then
 
4699
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4700
    else
 
4701
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4702
    fi
 
4703
    ;;
 
4704
esac
 
4705
 
 
4706
 
 
4707
 
 
4708
 
 
4709
 
 
4710
 
 
4711
 
 
4712
 
 
4713
 
 
4714
if test -n "$ac_tool_prefix"; then
 
4715
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4716
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4717
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4718
$as_echo_n "checking for $ac_word... " >&6; }
 
4719
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4720
  $as_echo_n "(cached) " >&6
 
4721
else
 
4722
  if test -n "$OBJDUMP"; then
 
4723
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4724
else
 
4725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4726
for as_dir in $PATH
 
4727
do
 
4728
  IFS=$as_save_IFS
 
4729
  test -z "$as_dir" && as_dir=.
 
4730
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4731
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4732
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4733
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4734
    break 2
 
4735
  fi
 
4736
done
 
4737
done
 
4738
IFS=$as_save_IFS
 
4739
 
 
4740
fi
 
4741
fi
 
4742
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4743
if test -n "$OBJDUMP"; then
 
4744
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4745
$as_echo "$OBJDUMP" >&6; }
 
4746
else
 
4747
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4748
$as_echo "no" >&6; }
 
4749
fi
 
4750
 
 
4751
 
 
4752
fi
 
4753
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4754
  ac_ct_OBJDUMP=$OBJDUMP
 
4755
  # Extract the first word of "objdump", so it can be a program name with args.
 
4756
set dummy objdump; ac_word=$2
 
4757
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4758
$as_echo_n "checking for $ac_word... " >&6; }
 
4759
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4760
  $as_echo_n "(cached) " >&6
 
4761
else
 
4762
  if test -n "$ac_ct_OBJDUMP"; then
 
4763
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4764
else
 
4765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4766
for as_dir in $PATH
 
4767
do
 
4768
  IFS=$as_save_IFS
 
4769
  test -z "$as_dir" && as_dir=.
 
4770
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4771
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4772
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4773
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4774
    break 2
 
4775
  fi
 
4776
done
 
4777
done
 
4778
IFS=$as_save_IFS
 
4779
 
 
4780
fi
 
4781
fi
 
4782
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4783
if test -n "$ac_ct_OBJDUMP"; then
 
4784
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4785
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4786
else
 
4787
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4788
$as_echo "no" >&6; }
 
4789
fi
 
4790
 
 
4791
  if test "x$ac_ct_OBJDUMP" = x; then
 
4792
    OBJDUMP="false"
 
4793
  else
 
4794
    case $cross_compiling:$ac_tool_warned in
 
4795
yes:)
 
4796
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4797
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4798
ac_tool_warned=yes ;;
 
4799
esac
 
4800
    OBJDUMP=$ac_ct_OBJDUMP
 
4801
  fi
 
4802
else
 
4803
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4804
fi
 
4805
 
 
4806
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4807
 
 
4808
 
 
4809
 
 
4810
 
 
4811
 
 
4812
 
 
4813
 
 
4814
 
 
4815
 
 
4816
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4817
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4167
4818
if test "${lt_cv_deplibs_check_method+set}" = set; then
4168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4819
  $as_echo_n "(cached) " >&6
4169
4820
else
4170
4821
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4171
4822
lt_cv_file_magic_test_file=
4182
4833
# whether `pass_all' will *always* work, you probably want this one.
4183
4834
 
4184
4835
case $host_os in
4185
 
aix4* | aix5*)
 
4836
aix[4-9]*)
4186
4837
  lt_cv_deplibs_check_method=pass_all
4187
4838
  ;;
4188
4839
 
4204
4855
 
4205
4856
mingw* | pw32*)
4206
4857
  # Base MSYS/MinGW do not provide the 'file' command needed by
4207
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4208
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4858
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4859
  # unless we find 'file', for example because we are cross-compiling.
 
4860
  if ( file / ) >/dev/null 2>&1; then
 
4861
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4862
    lt_cv_file_magic_cmd='func_win32_libid'
 
4863
  else
 
4864
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4865
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4866
  fi
 
4867
  ;;
 
4868
 
 
4869
cegcc)
 
4870
  # use the weaker test based on 'objdump'. See mingw*.
 
4871
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4209
4872
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4210
4873
  ;;
4211
4874
 
4213
4876
  lt_cv_deplibs_check_method=pass_all
4214
4877
  ;;
4215
4878
 
4216
 
freebsd* | kfreebsd*-gnu | dragonfly*)
4217
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4879
freebsd* | dragonfly*)
 
4880
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4218
4881
    case $host_cpu in
4219
4882
    i*86 )
4220
4883
      # Not sure whether the presence of OpenBSD here was a mistake.
4251
4914
  esac
4252
4915
  ;;
4253
4916
 
4254
 
interix3*)
 
4917
interix[3-9]*)
4255
4918
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4256
4919
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4257
4920
  ;;
4267
4930
  ;;
4268
4931
 
4269
4932
# This must be Linux ELF.
4270
 
linux*)
 
4933
linux* | k*bsd*-gnu)
4271
4934
  lt_cv_deplibs_check_method=pass_all
4272
4935
  ;;
4273
4936
 
4274
4937
netbsd*)
4275
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4938
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4276
4939
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4277
4940
  else
4278
4941
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4285
4948
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4286
4949
  ;;
4287
4950
 
4288
 
nto-qnx*)
4289
 
  lt_cv_deplibs_check_method=unknown
 
4951
*nto* | *qnx*)
 
4952
  lt_cv_deplibs_check_method=pass_all
4290
4953
  ;;
4291
4954
 
4292
4955
openbsd*)
4293
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
4956
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4294
4957
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4295
4958
  else
4296
4959
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4301
4964
  lt_cv_deplibs_check_method=pass_all
4302
4965
  ;;
4303
4966
 
 
4967
rdos*)
 
4968
  lt_cv_deplibs_check_method=pass_all
 
4969
  ;;
 
4970
 
4304
4971
solaris*)
4305
4972
  lt_cv_deplibs_check_method=pass_all
4306
4973
  ;;
4307
4974
 
 
4975
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4976
  lt_cv_deplibs_check_method=pass_all
 
4977
  ;;
 
4978
 
4308
4979
sysv4 | sysv4.3*)
4309
4980
  case $host_vendor in
4310
4981
  motorola)
4332
5003
  esac
4333
5004
  ;;
4334
5005
 
4335
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5006
tpf*)
4336
5007
  lt_cv_deplibs_check_method=pass_all
4337
5008
  ;;
4338
5009
esac
4339
5010
 
4340
5011
fi
4341
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4342
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
5012
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5013
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4343
5014
file_magic_cmd=$lt_cv_file_magic_cmd
4344
5015
deplibs_check_method=$lt_cv_deplibs_check_method
4345
5016
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4347
5018
 
4348
5019
 
4349
5020
 
 
5021
 
 
5022
 
 
5023
 
 
5024
 
 
5025
 
 
5026
 
 
5027
 
 
5028
 
 
5029
if test -n "$ac_tool_prefix"; then
 
5030
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5031
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5032
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5033
$as_echo_n "checking for $ac_word... " >&6; }
 
5034
if test "${ac_cv_prog_AR+set}" = set; then
 
5035
  $as_echo_n "(cached) " >&6
 
5036
else
 
5037
  if test -n "$AR"; then
 
5038
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5039
else
 
5040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5041
for as_dir in $PATH
 
5042
do
 
5043
  IFS=$as_save_IFS
 
5044
  test -z "$as_dir" && as_dir=.
 
5045
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5046
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5047
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5048
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5049
    break 2
 
5050
  fi
 
5051
done
 
5052
done
 
5053
IFS=$as_save_IFS
 
5054
 
 
5055
fi
 
5056
fi
 
5057
AR=$ac_cv_prog_AR
 
5058
if test -n "$AR"; then
 
5059
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5060
$as_echo "$AR" >&6; }
 
5061
else
 
5062
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5063
$as_echo "no" >&6; }
 
5064
fi
 
5065
 
 
5066
 
 
5067
fi
 
5068
if test -z "$ac_cv_prog_AR"; then
 
5069
  ac_ct_AR=$AR
 
5070
  # Extract the first word of "ar", so it can be a program name with args.
 
5071
set dummy ar; ac_word=$2
 
5072
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5073
$as_echo_n "checking for $ac_word... " >&6; }
 
5074
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5075
  $as_echo_n "(cached) " >&6
 
5076
else
 
5077
  if test -n "$ac_ct_AR"; then
 
5078
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5079
else
 
5080
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5081
for as_dir in $PATH
 
5082
do
 
5083
  IFS=$as_save_IFS
 
5084
  test -z "$as_dir" && as_dir=.
 
5085
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5086
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5087
    ac_cv_prog_ac_ct_AR="ar"
 
5088
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5089
    break 2
 
5090
  fi
 
5091
done
 
5092
done
 
5093
IFS=$as_save_IFS
 
5094
 
 
5095
fi
 
5096
fi
 
5097
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5098
if test -n "$ac_ct_AR"; then
 
5099
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5100
$as_echo "$ac_ct_AR" >&6; }
 
5101
else
 
5102
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5103
$as_echo "no" >&6; }
 
5104
fi
 
5105
 
 
5106
  if test "x$ac_ct_AR" = x; then
 
5107
    AR="false"
 
5108
  else
 
5109
    case $cross_compiling:$ac_tool_warned in
 
5110
yes:)
 
5111
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5112
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5113
ac_tool_warned=yes ;;
 
5114
esac
 
5115
    AR=$ac_ct_AR
 
5116
  fi
 
5117
else
 
5118
  AR="$ac_cv_prog_AR"
 
5119
fi
 
5120
 
 
5121
test -z "$AR" && AR=ar
 
5122
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5123
 
 
5124
 
 
5125
 
 
5126
 
 
5127
 
 
5128
 
 
5129
 
 
5130
 
 
5131
 
 
5132
 
 
5133
 
 
5134
if test -n "$ac_tool_prefix"; then
 
5135
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5136
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5137
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5138
$as_echo_n "checking for $ac_word... " >&6; }
 
5139
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5140
  $as_echo_n "(cached) " >&6
 
5141
else
 
5142
  if test -n "$STRIP"; then
 
5143
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5144
else
 
5145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5146
for as_dir in $PATH
 
5147
do
 
5148
  IFS=$as_save_IFS
 
5149
  test -z "$as_dir" && as_dir=.
 
5150
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5152
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5153
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5154
    break 2
 
5155
  fi
 
5156
done
 
5157
done
 
5158
IFS=$as_save_IFS
 
5159
 
 
5160
fi
 
5161
fi
 
5162
STRIP=$ac_cv_prog_STRIP
 
5163
if test -n "$STRIP"; then
 
5164
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5165
$as_echo "$STRIP" >&6; }
 
5166
else
 
5167
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5168
$as_echo "no" >&6; }
 
5169
fi
 
5170
 
 
5171
 
 
5172
fi
 
5173
if test -z "$ac_cv_prog_STRIP"; then
 
5174
  ac_ct_STRIP=$STRIP
 
5175
  # Extract the first word of "strip", so it can be a program name with args.
 
5176
set dummy strip; ac_word=$2
 
5177
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5178
$as_echo_n "checking for $ac_word... " >&6; }
 
5179
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5180
  $as_echo_n "(cached) " >&6
 
5181
else
 
5182
  if test -n "$ac_ct_STRIP"; then
 
5183
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5184
else
 
5185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5186
for as_dir in $PATH
 
5187
do
 
5188
  IFS=$as_save_IFS
 
5189
  test -z "$as_dir" && as_dir=.
 
5190
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5192
    ac_cv_prog_ac_ct_STRIP="strip"
 
5193
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5194
    break 2
 
5195
  fi
 
5196
done
 
5197
done
 
5198
IFS=$as_save_IFS
 
5199
 
 
5200
fi
 
5201
fi
 
5202
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5203
if test -n "$ac_ct_STRIP"; then
 
5204
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5205
$as_echo "$ac_ct_STRIP" >&6; }
 
5206
else
 
5207
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5208
$as_echo "no" >&6; }
 
5209
fi
 
5210
 
 
5211
  if test "x$ac_ct_STRIP" = x; then
 
5212
    STRIP=":"
 
5213
  else
 
5214
    case $cross_compiling:$ac_tool_warned in
 
5215
yes:)
 
5216
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5217
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5218
ac_tool_warned=yes ;;
 
5219
esac
 
5220
    STRIP=$ac_ct_STRIP
 
5221
  fi
 
5222
else
 
5223
  STRIP="$ac_cv_prog_STRIP"
 
5224
fi
 
5225
 
 
5226
test -z "$STRIP" && STRIP=:
 
5227
 
 
5228
 
 
5229
 
 
5230
 
 
5231
 
 
5232
 
 
5233
if test -n "$ac_tool_prefix"; then
 
5234
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5235
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5236
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5237
$as_echo_n "checking for $ac_word... " >&6; }
 
5238
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5239
  $as_echo_n "(cached) " >&6
 
5240
else
 
5241
  if test -n "$RANLIB"; then
 
5242
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5243
else
 
5244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5245
for as_dir in $PATH
 
5246
do
 
5247
  IFS=$as_save_IFS
 
5248
  test -z "$as_dir" && as_dir=.
 
5249
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5251
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5252
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5253
    break 2
 
5254
  fi
 
5255
done
 
5256
done
 
5257
IFS=$as_save_IFS
 
5258
 
 
5259
fi
 
5260
fi
 
5261
RANLIB=$ac_cv_prog_RANLIB
 
5262
if test -n "$RANLIB"; then
 
5263
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5264
$as_echo "$RANLIB" >&6; }
 
5265
else
 
5266
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5267
$as_echo "no" >&6; }
 
5268
fi
 
5269
 
 
5270
 
 
5271
fi
 
5272
if test -z "$ac_cv_prog_RANLIB"; then
 
5273
  ac_ct_RANLIB=$RANLIB
 
5274
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5275
set dummy ranlib; ac_word=$2
 
5276
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5277
$as_echo_n "checking for $ac_word... " >&6; }
 
5278
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5279
  $as_echo_n "(cached) " >&6
 
5280
else
 
5281
  if test -n "$ac_ct_RANLIB"; then
 
5282
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5283
else
 
5284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5285
for as_dir in $PATH
 
5286
do
 
5287
  IFS=$as_save_IFS
 
5288
  test -z "$as_dir" && as_dir=.
 
5289
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5290
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5291
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5292
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5293
    break 2
 
5294
  fi
 
5295
done
 
5296
done
 
5297
IFS=$as_save_IFS
 
5298
 
 
5299
fi
 
5300
fi
 
5301
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5302
if test -n "$ac_ct_RANLIB"; then
 
5303
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5304
$as_echo "$ac_ct_RANLIB" >&6; }
 
5305
else
 
5306
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5307
$as_echo "no" >&6; }
 
5308
fi
 
5309
 
 
5310
  if test "x$ac_ct_RANLIB" = x; then
 
5311
    RANLIB=":"
 
5312
  else
 
5313
    case $cross_compiling:$ac_tool_warned in
 
5314
yes:)
 
5315
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5316
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5317
ac_tool_warned=yes ;;
 
5318
esac
 
5319
    RANLIB=$ac_ct_RANLIB
 
5320
  fi
 
5321
else
 
5322
  RANLIB="$ac_cv_prog_RANLIB"
 
5323
fi
 
5324
 
 
5325
test -z "$RANLIB" && RANLIB=:
 
5326
 
 
5327
 
 
5328
 
 
5329
 
 
5330
 
 
5331
 
 
5332
# Determine commands to create old-style static archives.
 
5333
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5334
old_postinstall_cmds='chmod 644 $oldlib'
 
5335
old_postuninstall_cmds=
 
5336
 
 
5337
if test -n "$RANLIB"; then
 
5338
  case $host_os in
 
5339
  openbsd*)
 
5340
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5341
    ;;
 
5342
  *)
 
5343
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5344
    ;;
 
5345
  esac
 
5346
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5347
fi
 
5348
 
 
5349
 
 
5350
 
 
5351
 
 
5352
 
 
5353
 
 
5354
 
 
5355
 
 
5356
 
 
5357
 
 
5358
 
 
5359
 
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
 
 
5366
 
 
5367
 
 
5368
 
 
5369
 
 
5370
 
 
5371
 
 
5372
 
 
5373
 
 
5374
 
 
5375
 
 
5376
 
 
5377
 
 
5378
 
 
5379
 
 
5380
 
 
5381
 
4350
5382
# If no C compiler was specified, use CC.
4351
5383
LTCC=${LTCC-"$CC"}
4352
5384
 
4357
5389
compiler=$CC
4358
5390
 
4359
5391
 
4360
 
# Check whether --enable-libtool-lock was given.
4361
 
if test "${enable_libtool_lock+set}" = set; then
4362
 
  enableval=$enable_libtool_lock;
4363
 
fi
4364
 
 
4365
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4366
 
 
4367
 
# Some flags need to be propagated to the compiler or linker for good
4368
 
# libtool support.
4369
 
case $host in
4370
 
ia64-*-hpux*)
4371
 
  # Find out which ABI we are using.
4372
 
  echo 'int i;' > conftest.$ac_ext
4373
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374
 
  (eval $ac_compile) 2>&5
4375
 
  ac_status=$?
4376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377
 
  (exit $ac_status); }; then
4378
 
    case `/usr/bin/file conftest.$ac_objext` in
4379
 
    *ELF-32*)
4380
 
      HPUX_IA64_MODE="32"
4381
 
      ;;
4382
 
    *ELF-64*)
4383
 
      HPUX_IA64_MODE="64"
4384
 
      ;;
4385
 
    esac
4386
 
  fi
4387
 
  rm -rf conftest*
4388
 
  ;;
4389
 
*-*-irix6*)
4390
 
  # Find out which ABI we are using.
4391
 
  echo '#line 4391 "configure"' > conftest.$ac_ext
4392
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4393
 
  (eval $ac_compile) 2>&5
4394
 
  ac_status=$?
4395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396
 
  (exit $ac_status); }; then
4397
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4398
 
    case `/usr/bin/file conftest.$ac_objext` in
4399
 
    *32-bit*)
4400
 
      LD="${LD-ld} -melf32bsmip"
4401
 
      ;;
4402
 
    *N32*)
4403
 
      LD="${LD-ld} -melf32bmipn32"
4404
 
      ;;
4405
 
    *64-bit*)
4406
 
      LD="${LD-ld} -melf64bmip"
4407
 
      ;;
4408
 
    esac
4409
 
   else
4410
 
    case `/usr/bin/file conftest.$ac_objext` in
4411
 
    *32-bit*)
4412
 
      LD="${LD-ld} -32"
4413
 
      ;;
4414
 
    *N32*)
4415
 
      LD="${LD-ld} -n32"
4416
 
      ;;
4417
 
    *64-bit*)
4418
 
      LD="${LD-ld} -64"
4419
 
      ;;
4420
 
    esac
4421
 
   fi
4422
 
  fi
4423
 
  rm -rf conftest*
4424
 
  ;;
4425
 
 
4426
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4427
 
  # Find out which ABI we are using.
4428
 
  echo 'int i;' > conftest.$ac_ext
4429
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4430
 
  (eval $ac_compile) 2>&5
4431
 
  ac_status=$?
4432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433
 
  (exit $ac_status); }; then
4434
 
    case `/usr/bin/file conftest.o` in
4435
 
    *32-bit*)
4436
 
      case $host in
4437
 
        x86_64-*linux*)
4438
 
          LD="${LD-ld} -m elf_i386"
4439
 
          ;;
4440
 
        ppc64-*linux*|powerpc64-*linux*)
4441
 
          LD="${LD-ld} -m elf32ppclinux"
4442
 
          ;;
4443
 
        s390x-*linux*)
4444
 
          LD="${LD-ld} -m elf_s390"
4445
 
          ;;
4446
 
        sparc64-*linux*)
4447
 
          LD="${LD-ld} -m elf32_sparc"
4448
 
          ;;
4449
 
      esac
4450
 
      ;;
4451
 
    *64-bit*)
4452
 
      case $host in
4453
 
        x86_64-*linux*)
4454
 
          LD="${LD-ld} -m elf_x86_64"
4455
 
          ;;
4456
 
        ppc*-*linux*|powerpc*-*linux*)
4457
 
          LD="${LD-ld} -m elf64ppc"
4458
 
          ;;
4459
 
        s390*-*linux*)
4460
 
          LD="${LD-ld} -m elf64_s390"
4461
 
          ;;
4462
 
        sparc*-*linux*)
4463
 
          LD="${LD-ld} -m elf64_sparc"
4464
 
          ;;
4465
 
      esac
4466
 
      ;;
4467
 
    esac
4468
 
  fi
4469
 
  rm -rf conftest*
4470
 
  ;;
4471
 
 
4472
 
*-*-sco3.2v5*)
4473
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4474
 
  SAVE_CFLAGS="$CFLAGS"
4475
 
  CFLAGS="$CFLAGS -belf"
4476
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4477
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4478
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4479
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4480
 
else
4481
 
  ac_ext=c
4482
 
ac_cpp='$CPP $CPPFLAGS'
4483
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4486
 
 
4487
 
     cat >conftest.$ac_ext <<_ACEOF
4488
 
/* confdefs.h.  */
4489
 
_ACEOF
4490
 
cat confdefs.h >>conftest.$ac_ext
4491
 
cat >>conftest.$ac_ext <<_ACEOF
4492
 
/* end confdefs.h.  */
4493
 
 
4494
 
int
4495
 
main ()
4496
 
{
4497
 
 
4498
 
  ;
4499
 
  return 0;
4500
 
}
4501
 
_ACEOF
4502
 
rm -f conftest.$ac_objext conftest$ac_exeext
4503
 
if { (ac_try="$ac_link"
4504
 
case "(($ac_try" in
4505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506
 
  *) ac_try_echo=$ac_try;;
4507
 
esac
4508
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4509
 
  (eval "$ac_link") 2>conftest.er1
4510
 
  ac_status=$?
4511
 
  grep -v '^ *+' conftest.er1 >conftest.err
4512
 
  rm -f conftest.er1
4513
 
  cat conftest.err >&5
4514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515
 
  (exit $ac_status); } && {
4516
 
         test -z "$ac_c_werror_flag" ||
4517
 
         test ! -s conftest.err
4518
 
       } && test -s conftest$ac_exeext &&
4519
 
       $as_test_x conftest$ac_exeext; then
4520
 
  lt_cv_cc_needs_belf=yes
4521
 
else
4522
 
  echo "$as_me: failed program was:" >&5
4523
 
sed 's/^/| /' conftest.$ac_ext >&5
4524
 
 
4525
 
        lt_cv_cc_needs_belf=no
4526
 
fi
4527
 
 
4528
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4529
 
      conftest$ac_exeext conftest.$ac_ext
4530
 
     ac_ext=c
4531
 
ac_cpp='$CPP $CPPFLAGS'
4532
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4535
 
 
4536
 
fi
4537
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4538
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4539
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4540
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4541
 
    CFLAGS="$SAVE_CFLAGS"
4542
 
  fi
4543
 
  ;;
4544
 
sparc*-*solaris*)
4545
 
  # Find out which ABI we are using.
4546
 
  echo 'int i;' > conftest.$ac_ext
4547
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4548
 
  (eval $ac_compile) 2>&5
4549
 
  ac_status=$?
4550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551
 
  (exit $ac_status); }; then
4552
 
    case `/usr/bin/file conftest.o` in
4553
 
    *64-bit*)
4554
 
      case $lt_cv_prog_gnu_ld in
4555
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4556
 
      *)    LD="${LD-ld} -64" ;;
4557
 
      esac
4558
 
      ;;
4559
 
    esac
4560
 
  fi
4561
 
  rm -rf conftest*
4562
 
  ;;
4563
 
 
4564
 
 
4565
 
esac
4566
 
 
4567
 
need_locks="$enable_libtool_lock"
4568
 
 
4569
 
 
4570
 
ac_ext=c
4571
 
ac_cpp='$CPP $CPPFLAGS'
4572
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4575
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4576
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4577
 
# On Suns, sometimes $CPP names a directory.
4578
 
if test -n "$CPP" && test -d "$CPP"; then
4579
 
  CPP=
4580
 
fi
4581
 
if test -z "$CPP"; then
4582
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4584
 
else
4585
 
      # Double quotes because CPP needs to be expanded
4586
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4587
 
    do
4588
 
      ac_preproc_ok=false
4589
 
for ac_c_preproc_warn_flag in '' yes
4590
 
do
4591
 
  # Use a header file that comes with gcc, so configuring glibc
4592
 
  # with a fresh cross-compiler works.
4593
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4594
 
  # <limits.h> exists even on freestanding compilers.
4595
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4596
 
  # not just through cpp. "Syntax error" is here to catch this case.
4597
 
  cat >conftest.$ac_ext <<_ACEOF
4598
 
/* confdefs.h.  */
4599
 
_ACEOF
4600
 
cat confdefs.h >>conftest.$ac_ext
4601
 
cat >>conftest.$ac_ext <<_ACEOF
4602
 
/* end confdefs.h.  */
4603
 
#ifdef __STDC__
4604
 
# include <limits.h>
4605
 
#else
4606
 
# include <assert.h>
4607
 
#endif
4608
 
                     Syntax error
4609
 
_ACEOF
4610
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4611
 
case "(($ac_try" in
4612
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4613
 
  *) ac_try_echo=$ac_try;;
4614
 
esac
4615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4616
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4617
 
  ac_status=$?
4618
 
  grep -v '^ *+' conftest.er1 >conftest.err
4619
 
  rm -f conftest.er1
4620
 
  cat conftest.err >&5
4621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622
 
  (exit $ac_status); } >/dev/null && {
4623
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4624
 
         test ! -s conftest.err
4625
 
       }; then
4626
 
  :
4627
 
else
4628
 
  echo "$as_me: failed program was:" >&5
4629
 
sed 's/^/| /' conftest.$ac_ext >&5
4630
 
 
4631
 
  # Broken: fails on valid input.
4632
 
continue
4633
 
fi
4634
 
 
4635
 
rm -f conftest.err conftest.$ac_ext
4636
 
 
4637
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4638
 
  # can be detected and how.
4639
 
  cat >conftest.$ac_ext <<_ACEOF
4640
 
/* confdefs.h.  */
4641
 
_ACEOF
4642
 
cat confdefs.h >>conftest.$ac_ext
4643
 
cat >>conftest.$ac_ext <<_ACEOF
4644
 
/* end confdefs.h.  */
4645
 
#include <ac_nonexistent.h>
4646
 
_ACEOF
4647
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4648
 
case "(($ac_try" in
4649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650
 
  *) ac_try_echo=$ac_try;;
4651
 
esac
4652
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4653
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4654
 
  ac_status=$?
4655
 
  grep -v '^ *+' conftest.er1 >conftest.err
4656
 
  rm -f conftest.er1
4657
 
  cat conftest.err >&5
4658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659
 
  (exit $ac_status); } >/dev/null && {
4660
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4661
 
         test ! -s conftest.err
4662
 
       }; then
4663
 
  # Broken: success on invalid input.
4664
 
continue
4665
 
else
4666
 
  echo "$as_me: failed program was:" >&5
4667
 
sed 's/^/| /' conftest.$ac_ext >&5
4668
 
 
4669
 
  # Passes both tests.
4670
 
ac_preproc_ok=:
4671
 
break
4672
 
fi
4673
 
 
4674
 
rm -f conftest.err conftest.$ac_ext
4675
 
 
4676
 
done
4677
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4678
 
rm -f conftest.err conftest.$ac_ext
4679
 
if $ac_preproc_ok; then
4680
 
  break
4681
 
fi
4682
 
 
4683
 
    done
4684
 
    ac_cv_prog_CPP=$CPP
4685
 
 
4686
 
fi
4687
 
  CPP=$ac_cv_prog_CPP
4688
 
else
4689
 
  ac_cv_prog_CPP=$CPP
4690
 
fi
4691
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4692
 
echo "${ECHO_T}$CPP" >&6; }
4693
 
ac_preproc_ok=false
4694
 
for ac_c_preproc_warn_flag in '' yes
4695
 
do
4696
 
  # Use a header file that comes with gcc, so configuring glibc
4697
 
  # with a fresh cross-compiler works.
4698
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4699
 
  # <limits.h> exists even on freestanding compilers.
4700
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4701
 
  # not just through cpp. "Syntax error" is here to catch this case.
4702
 
  cat >conftest.$ac_ext <<_ACEOF
4703
 
/* confdefs.h.  */
4704
 
_ACEOF
4705
 
cat confdefs.h >>conftest.$ac_ext
4706
 
cat >>conftest.$ac_ext <<_ACEOF
4707
 
/* end confdefs.h.  */
4708
 
#ifdef __STDC__
4709
 
# include <limits.h>
4710
 
#else
4711
 
# include <assert.h>
4712
 
#endif
4713
 
                     Syntax error
4714
 
_ACEOF
4715
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4716
 
case "(($ac_try" in
4717
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718
 
  *) ac_try_echo=$ac_try;;
4719
 
esac
4720
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4721
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4722
 
  ac_status=$?
4723
 
  grep -v '^ *+' conftest.er1 >conftest.err
4724
 
  rm -f conftest.er1
4725
 
  cat conftest.err >&5
4726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727
 
  (exit $ac_status); } >/dev/null && {
4728
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4729
 
         test ! -s conftest.err
4730
 
       }; then
4731
 
  :
4732
 
else
4733
 
  echo "$as_me: failed program was:" >&5
4734
 
sed 's/^/| /' conftest.$ac_ext >&5
4735
 
 
4736
 
  # Broken: fails on valid input.
4737
 
continue
4738
 
fi
4739
 
 
4740
 
rm -f conftest.err conftest.$ac_ext
4741
 
 
4742
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4743
 
  # can be detected and how.
4744
 
  cat >conftest.$ac_ext <<_ACEOF
4745
 
/* confdefs.h.  */
4746
 
_ACEOF
4747
 
cat confdefs.h >>conftest.$ac_ext
4748
 
cat >>conftest.$ac_ext <<_ACEOF
4749
 
/* end confdefs.h.  */
4750
 
#include <ac_nonexistent.h>
4751
 
_ACEOF
4752
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4753
 
case "(($ac_try" in
4754
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755
 
  *) ac_try_echo=$ac_try;;
4756
 
esac
4757
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4758
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4759
 
  ac_status=$?
4760
 
  grep -v '^ *+' conftest.er1 >conftest.err
4761
 
  rm -f conftest.er1
4762
 
  cat conftest.err >&5
4763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764
 
  (exit $ac_status); } >/dev/null && {
4765
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4766
 
         test ! -s conftest.err
4767
 
       }; then
4768
 
  # Broken: success on invalid input.
4769
 
continue
4770
 
else
4771
 
  echo "$as_me: failed program was:" >&5
4772
 
sed 's/^/| /' conftest.$ac_ext >&5
4773
 
 
4774
 
  # Passes both tests.
4775
 
ac_preproc_ok=:
4776
 
break
4777
 
fi
4778
 
 
4779
 
rm -f conftest.err conftest.$ac_ext
4780
 
 
4781
 
done
4782
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4783
 
rm -f conftest.err conftest.$ac_ext
4784
 
if $ac_preproc_ok; then
4785
 
  :
4786
 
else
4787
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4788
 
See \`config.log' for more details." >&5
4789
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4790
 
See \`config.log' for more details." >&2;}
4791
 
   { (exit 1); exit 1; }; }
4792
 
fi
4793
 
 
4794
 
ac_ext=c
4795
 
ac_cpp='$CPP $CPPFLAGS'
4796
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4799
 
 
4800
 
 
4801
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4802
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4803
 
if test "${ac_cv_header_stdc+set}" = set; then
4804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4805
 
else
4806
 
  cat >conftest.$ac_ext <<_ACEOF
4807
 
/* confdefs.h.  */
4808
 
_ACEOF
4809
 
cat confdefs.h >>conftest.$ac_ext
4810
 
cat >>conftest.$ac_ext <<_ACEOF
4811
 
/* end confdefs.h.  */
4812
 
#include <stdlib.h>
4813
 
#include <stdarg.h>
4814
 
#include <string.h>
4815
 
#include <float.h>
4816
 
 
4817
 
int
4818
 
main ()
4819
 
{
4820
 
 
4821
 
  ;
4822
 
  return 0;
4823
 
}
4824
 
_ACEOF
4825
 
rm -f conftest.$ac_objext
4826
 
if { (ac_try="$ac_compile"
4827
 
case "(($ac_try" in
4828
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829
 
  *) ac_try_echo=$ac_try;;
4830
 
esac
4831
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4832
 
  (eval "$ac_compile") 2>conftest.er1
4833
 
  ac_status=$?
4834
 
  grep -v '^ *+' conftest.er1 >conftest.err
4835
 
  rm -f conftest.er1
4836
 
  cat conftest.err >&5
4837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838
 
  (exit $ac_status); } && {
4839
 
         test -z "$ac_c_werror_flag" ||
4840
 
         test ! -s conftest.err
4841
 
       } && test -s conftest.$ac_objext; then
4842
 
  ac_cv_header_stdc=yes
4843
 
else
4844
 
  echo "$as_me: failed program was:" >&5
4845
 
sed 's/^/| /' conftest.$ac_ext >&5
4846
 
 
4847
 
        ac_cv_header_stdc=no
4848
 
fi
4849
 
 
4850
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4851
 
 
4852
 
if test $ac_cv_header_stdc = yes; then
4853
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4854
 
  cat >conftest.$ac_ext <<_ACEOF
4855
 
/* confdefs.h.  */
4856
 
_ACEOF
4857
 
cat confdefs.h >>conftest.$ac_ext
4858
 
cat >>conftest.$ac_ext <<_ACEOF
4859
 
/* end confdefs.h.  */
4860
 
#include <string.h>
4861
 
 
4862
 
_ACEOF
4863
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4864
 
  $EGREP "memchr" >/dev/null 2>&1; then
4865
 
  :
4866
 
else
4867
 
  ac_cv_header_stdc=no
4868
 
fi
4869
 
rm -f conftest*
4870
 
 
4871
 
fi
4872
 
 
4873
 
if test $ac_cv_header_stdc = yes; then
4874
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4875
 
  cat >conftest.$ac_ext <<_ACEOF
4876
 
/* confdefs.h.  */
4877
 
_ACEOF
4878
 
cat confdefs.h >>conftest.$ac_ext
4879
 
cat >>conftest.$ac_ext <<_ACEOF
4880
 
/* end confdefs.h.  */
4881
 
#include <stdlib.h>
4882
 
 
4883
 
_ACEOF
4884
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4885
 
  $EGREP "free" >/dev/null 2>&1; then
4886
 
  :
4887
 
else
4888
 
  ac_cv_header_stdc=no
4889
 
fi
4890
 
rm -f conftest*
4891
 
 
4892
 
fi
4893
 
 
4894
 
if test $ac_cv_header_stdc = yes; then
4895
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4896
 
  if test "$cross_compiling" = yes; then
4897
 
  :
4898
 
else
4899
 
  cat >conftest.$ac_ext <<_ACEOF
4900
 
/* confdefs.h.  */
4901
 
_ACEOF
4902
 
cat confdefs.h >>conftest.$ac_ext
4903
 
cat >>conftest.$ac_ext <<_ACEOF
4904
 
/* end confdefs.h.  */
4905
 
#include <ctype.h>
4906
 
#include <stdlib.h>
4907
 
#if ((' ' & 0x0FF) == 0x020)
4908
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4909
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4910
 
#else
4911
 
# define ISLOWER(c) \
4912
 
                   (('a' <= (c) && (c) <= 'i') \
4913
 
                     || ('j' <= (c) && (c) <= 'r') \
4914
 
                     || ('s' <= (c) && (c) <= 'z'))
4915
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4916
 
#endif
4917
 
 
4918
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4919
 
int
4920
 
main ()
4921
 
{
4922
 
  int i;
4923
 
  for (i = 0; i < 256; i++)
4924
 
    if (XOR (islower (i), ISLOWER (i))
4925
 
        || toupper (i) != TOUPPER (i))
4926
 
      return 2;
4927
 
  return 0;
4928
 
}
4929
 
_ACEOF
4930
 
rm -f conftest$ac_exeext
4931
 
if { (ac_try="$ac_link"
4932
 
case "(($ac_try" in
4933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934
 
  *) ac_try_echo=$ac_try;;
4935
 
esac
4936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937
 
  (eval "$ac_link") 2>&5
4938
 
  ac_status=$?
4939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4941
 
  { (case "(($ac_try" in
4942
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4943
 
  *) ac_try_echo=$ac_try;;
4944
 
esac
4945
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4946
 
  (eval "$ac_try") 2>&5
4947
 
  ac_status=$?
4948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949
 
  (exit $ac_status); }; }; then
4950
 
  :
4951
 
else
4952
 
  echo "$as_me: program exited with status $ac_status" >&5
4953
 
echo "$as_me: failed program was:" >&5
4954
 
sed 's/^/| /' conftest.$ac_ext >&5
4955
 
 
4956
 
( exit $ac_status )
4957
 
ac_cv_header_stdc=no
4958
 
fi
4959
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4960
 
fi
4961
 
 
4962
 
 
4963
 
fi
4964
 
fi
4965
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4966
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4967
 
if test $ac_cv_header_stdc = yes; then
4968
 
 
4969
 
cat >>confdefs.h <<\_ACEOF
4970
 
#define STDC_HEADERS 1
4971
 
_ACEOF
4972
 
 
4973
 
fi
4974
 
 
4975
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4976
 
 
4977
 
 
4978
 
 
4979
 
 
4980
 
 
4981
 
 
4982
 
 
4983
 
 
4984
 
 
4985
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4986
 
                  inttypes.h stdint.h unistd.h
4987
 
do
4988
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4989
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4990
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4991
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4992
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4993
 
else
4994
 
  cat >conftest.$ac_ext <<_ACEOF
4995
 
/* confdefs.h.  */
4996
 
_ACEOF
4997
 
cat confdefs.h >>conftest.$ac_ext
4998
 
cat >>conftest.$ac_ext <<_ACEOF
4999
 
/* end confdefs.h.  */
5000
 
$ac_includes_default
5001
 
 
5002
 
#include <$ac_header>
5003
 
_ACEOF
5004
 
rm -f conftest.$ac_objext
5005
 
if { (ac_try="$ac_compile"
5006
 
case "(($ac_try" in
5007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008
 
  *) ac_try_echo=$ac_try;;
5009
 
esac
5010
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011
 
  (eval "$ac_compile") 2>conftest.er1
5012
 
  ac_status=$?
5013
 
  grep -v '^ *+' conftest.er1 >conftest.err
5014
 
  rm -f conftest.er1
5015
 
  cat conftest.err >&5
5016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017
 
  (exit $ac_status); } && {
5018
 
         test -z "$ac_c_werror_flag" ||
5019
 
         test ! -s conftest.err
5020
 
       } && test -s conftest.$ac_objext; then
5021
 
  eval "$as_ac_Header=yes"
5022
 
else
5023
 
  echo "$as_me: failed program was:" >&5
5024
 
sed 's/^/| /' conftest.$ac_ext >&5
5025
 
 
5026
 
        eval "$as_ac_Header=no"
5027
 
fi
5028
 
 
5029
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030
 
fi
5031
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5032
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5033
 
echo "${ECHO_T}$ac_res" >&6; }
5034
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5035
 
  cat >>confdefs.h <<_ACEOF
5036
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5037
 
_ACEOF
5038
 
 
5039
 
fi
5040
 
 
5041
 
done
5042
 
 
5043
 
 
5044
 
 
5045
 
for ac_header in dlfcn.h
5046
 
do
5047
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5048
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5049
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5050
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5051
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5052
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5053
 
fi
5054
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5055
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5056
 
echo "${ECHO_T}$ac_res" >&6; }
5057
 
else
5058
 
  # Is the header compilable?
5059
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5060
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5061
 
cat >conftest.$ac_ext <<_ACEOF
5062
 
/* confdefs.h.  */
5063
 
_ACEOF
5064
 
cat confdefs.h >>conftest.$ac_ext
5065
 
cat >>conftest.$ac_ext <<_ACEOF
5066
 
/* end confdefs.h.  */
5067
 
$ac_includes_default
5068
 
#include <$ac_header>
5069
 
_ACEOF
5070
 
rm -f conftest.$ac_objext
5071
 
if { (ac_try="$ac_compile"
5072
 
case "(($ac_try" in
5073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5074
 
  *) ac_try_echo=$ac_try;;
5075
 
esac
5076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5077
 
  (eval "$ac_compile") 2>conftest.er1
5078
 
  ac_status=$?
5079
 
  grep -v '^ *+' conftest.er1 >conftest.err
5080
 
  rm -f conftest.er1
5081
 
  cat conftest.err >&5
5082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083
 
  (exit $ac_status); } && {
5084
 
         test -z "$ac_c_werror_flag" ||
5085
 
         test ! -s conftest.err
5086
 
       } && test -s conftest.$ac_objext; then
5087
 
  ac_header_compiler=yes
5088
 
else
5089
 
  echo "$as_me: failed program was:" >&5
5090
 
sed 's/^/| /' conftest.$ac_ext >&5
5091
 
 
5092
 
        ac_header_compiler=no
5093
 
fi
5094
 
 
5095
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5097
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5098
 
 
5099
 
# Is the header present?
5100
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5101
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5102
 
cat >conftest.$ac_ext <<_ACEOF
5103
 
/* confdefs.h.  */
5104
 
_ACEOF
5105
 
cat confdefs.h >>conftest.$ac_ext
5106
 
cat >>conftest.$ac_ext <<_ACEOF
5107
 
/* end confdefs.h.  */
5108
 
#include <$ac_header>
5109
 
_ACEOF
5110
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5111
 
case "(($ac_try" in
5112
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5113
 
  *) ac_try_echo=$ac_try;;
5114
 
esac
5115
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5116
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5117
 
  ac_status=$?
5118
 
  grep -v '^ *+' conftest.er1 >conftest.err
5119
 
  rm -f conftest.er1
5120
 
  cat conftest.err >&5
5121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122
 
  (exit $ac_status); } >/dev/null && {
5123
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5124
 
         test ! -s conftest.err
5125
 
       }; then
5126
 
  ac_header_preproc=yes
5127
 
else
5128
 
  echo "$as_me: failed program was:" >&5
5129
 
sed 's/^/| /' conftest.$ac_ext >&5
5130
 
 
5131
 
  ac_header_preproc=no
5132
 
fi
5133
 
 
5134
 
rm -f conftest.err conftest.$ac_ext
5135
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5136
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5137
 
 
5138
 
# So?  What about this header?
5139
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5140
 
  yes:no: )
5141
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5142
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5143
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5144
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5145
 
    ac_header_preproc=yes
5146
 
    ;;
5147
 
  no:yes:* )
5148
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5149
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5150
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5151
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5152
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5153
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5154
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5155
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5156
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5157
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5158
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5159
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5160
 
 
5161
 
    ;;
5162
 
esac
5163
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5164
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5165
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5166
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5167
 
else
5168
 
  eval "$as_ac_Header=\$ac_header_preproc"
5169
 
fi
5170
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5171
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5172
 
echo "${ECHO_T}$ac_res" >&6; }
5173
 
 
5174
 
fi
5175
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5176
 
  cat >>confdefs.h <<_ACEOF
5177
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5178
 
_ACEOF
5179
 
 
5180
 
fi
5181
 
 
5182
 
done
5183
 
 
5184
 
ac_ext=cpp
5185
 
ac_cpp='$CXXCPP $CPPFLAGS'
5186
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5187
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5188
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5189
 
if test -z "$CXX"; then
5190
 
  if test -n "$CCC"; then
5191
 
    CXX=$CCC
5192
 
  else
5193
 
    if test -n "$ac_tool_prefix"; then
5194
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5195
 
  do
5196
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5197
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5198
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5199
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5200
 
if test "${ac_cv_prog_CXX+set}" = set; then
5201
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5202
 
else
5203
 
  if test -n "$CXX"; then
5204
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5205
 
else
5206
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207
 
for as_dir in $PATH
5208
 
do
5209
 
  IFS=$as_save_IFS
5210
 
  test -z "$as_dir" && as_dir=.
5211
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5212
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5213
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5214
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5215
 
    break 2
5216
 
  fi
5217
 
done
5218
 
done
5219
 
IFS=$as_save_IFS
5220
 
 
5221
 
fi
5222
 
fi
5223
 
CXX=$ac_cv_prog_CXX
5224
 
if test -n "$CXX"; then
5225
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5226
 
echo "${ECHO_T}$CXX" >&6; }
5227
 
else
5228
 
  { echo "$as_me:$LINENO: result: no" >&5
5229
 
echo "${ECHO_T}no" >&6; }
5230
 
fi
5231
 
 
5232
 
 
5233
 
    test -n "$CXX" && break
5234
 
  done
5235
 
fi
5236
 
if test -z "$CXX"; then
5237
 
  ac_ct_CXX=$CXX
5238
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5239
 
do
5240
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5241
 
set dummy $ac_prog; ac_word=$2
5242
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5243
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5245
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5246
 
else
5247
 
  if test -n "$ac_ct_CXX"; then
5248
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5249
 
else
5250
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251
 
for as_dir in $PATH
5252
 
do
5253
 
  IFS=$as_save_IFS
5254
 
  test -z "$as_dir" && as_dir=.
5255
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5256
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5258
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259
 
    break 2
5260
 
  fi
5261
 
done
5262
 
done
5263
 
IFS=$as_save_IFS
5264
 
 
5265
 
fi
5266
 
fi
5267
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5268
 
if test -n "$ac_ct_CXX"; then
5269
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5270
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5271
 
else
5272
 
  { echo "$as_me:$LINENO: result: no" >&5
5273
 
echo "${ECHO_T}no" >&6; }
5274
 
fi
5275
 
 
5276
 
 
5277
 
  test -n "$ac_ct_CXX" && break
5278
 
done
5279
 
 
5280
 
  if test "x$ac_ct_CXX" = x; then
5281
 
    CXX="g++"
5282
 
  else
5283
 
    case $cross_compiling:$ac_tool_warned in
5284
 
yes:)
5285
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5286
 
whose name does not start with the host triplet.  If you think this
5287
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5288
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5289
 
whose name does not start with the host triplet.  If you think this
5290
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5291
 
ac_tool_warned=yes ;;
5292
 
esac
5293
 
    CXX=$ac_ct_CXX
5294
 
  fi
5295
 
fi
5296
 
 
5297
 
  fi
5298
 
fi
5299
 
# Provide some information about the compiler.
5300
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5301
 
ac_compiler=`set X $ac_compile; echo $2`
5302
 
{ (ac_try="$ac_compiler --version >&5"
5303
 
case "(($ac_try" in
5304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5305
 
  *) ac_try_echo=$ac_try;;
5306
 
esac
5307
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5308
 
  (eval "$ac_compiler --version >&5") 2>&5
5309
 
  ac_status=$?
5310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311
 
  (exit $ac_status); }
5312
 
{ (ac_try="$ac_compiler -v >&5"
5313
 
case "(($ac_try" in
5314
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5315
 
  *) ac_try_echo=$ac_try;;
5316
 
esac
5317
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5318
 
  (eval "$ac_compiler -v >&5") 2>&5
5319
 
  ac_status=$?
5320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321
 
  (exit $ac_status); }
5322
 
{ (ac_try="$ac_compiler -V >&5"
5323
 
case "(($ac_try" in
5324
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325
 
  *) ac_try_echo=$ac_try;;
5326
 
esac
5327
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5328
 
  (eval "$ac_compiler -V >&5") 2>&5
5329
 
  ac_status=$?
5330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331
 
  (exit $ac_status); }
5332
 
 
5333
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5334
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5335
 
if test "${ac_cv_cxx_compiler_gnu+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
 
 
5345
 
int
5346
 
main ()
5347
 
{
5348
 
#ifndef __GNUC__
5349
 
       choke me
5350
 
#endif
5351
 
 
5352
 
  ;
5353
 
  return 0;
5354
 
}
5355
 
_ACEOF
5356
 
rm -f conftest.$ac_objext
5357
 
if { (ac_try="$ac_compile"
5358
 
case "(($ac_try" in
5359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5360
 
  *) ac_try_echo=$ac_try;;
5361
 
esac
5362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5363
 
  (eval "$ac_compile") 2>conftest.er1
5364
 
  ac_status=$?
5365
 
  grep -v '^ *+' conftest.er1 >conftest.err
5366
 
  rm -f conftest.er1
5367
 
  cat conftest.err >&5
5368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369
 
  (exit $ac_status); } && {
5370
 
         test -z "$ac_cxx_werror_flag" ||
5371
 
         test ! -s conftest.err
5372
 
       } && test -s conftest.$ac_objext; then
5373
 
  ac_compiler_gnu=yes
5374
 
else
5375
 
  echo "$as_me: failed program was:" >&5
5376
 
sed 's/^/| /' conftest.$ac_ext >&5
5377
 
 
5378
 
        ac_compiler_gnu=no
5379
 
fi
5380
 
 
5381
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5382
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5383
 
 
5384
 
fi
5385
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5386
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5387
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5388
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5389
 
ac_save_CXXFLAGS=$CXXFLAGS
5390
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5391
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5392
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5393
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5394
 
else
5395
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5396
 
   ac_cxx_werror_flag=yes
5397
 
   ac_cv_prog_cxx_g=no
5398
 
   CXXFLAGS="-g"
5399
 
   cat >conftest.$ac_ext <<_ACEOF
5400
 
/* confdefs.h.  */
5401
 
_ACEOF
5402
 
cat confdefs.h >>conftest.$ac_ext
5403
 
cat >>conftest.$ac_ext <<_ACEOF
5404
 
/* end confdefs.h.  */
5405
 
 
5406
 
int
5407
 
main ()
5408
 
{
5409
 
 
5410
 
  ;
5411
 
  return 0;
5412
 
}
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_cxx_werror_flag" ||
5429
 
         test ! -s conftest.err
5430
 
       } && test -s conftest.$ac_objext; then
5431
 
  ac_cv_prog_cxx_g=yes
5432
 
else
5433
 
  echo "$as_me: failed program was:" >&5
5434
 
sed 's/^/| /' conftest.$ac_ext >&5
5435
 
 
5436
 
        CXXFLAGS=""
5437
 
      cat >conftest.$ac_ext <<_ACEOF
5438
 
/* confdefs.h.  */
5439
 
_ACEOF
5440
 
cat confdefs.h >>conftest.$ac_ext
5441
 
cat >>conftest.$ac_ext <<_ACEOF
5442
 
/* end confdefs.h.  */
5443
 
 
5444
 
int
5445
 
main ()
5446
 
{
5447
 
 
5448
 
  ;
5449
 
  return 0;
5450
 
}
5451
 
_ACEOF
5452
 
rm -f conftest.$ac_objext
5453
 
if { (ac_try="$ac_compile"
5454
 
case "(($ac_try" in
5455
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5456
 
  *) ac_try_echo=$ac_try;;
5457
 
esac
5458
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5459
 
  (eval "$ac_compile") 2>conftest.er1
5460
 
  ac_status=$?
5461
 
  grep -v '^ *+' conftest.er1 >conftest.err
5462
 
  rm -f conftest.er1
5463
 
  cat conftest.err >&5
5464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465
 
  (exit $ac_status); } && {
5466
 
         test -z "$ac_cxx_werror_flag" ||
5467
 
         test ! -s conftest.err
5468
 
       } && test -s conftest.$ac_objext; then
5469
 
  :
5470
 
else
5471
 
  echo "$as_me: failed program was:" >&5
5472
 
sed 's/^/| /' conftest.$ac_ext >&5
5473
 
 
5474
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5475
 
         CXXFLAGS="-g"
5476
 
         cat >conftest.$ac_ext <<_ACEOF
5477
 
/* confdefs.h.  */
5478
 
_ACEOF
5479
 
cat confdefs.h >>conftest.$ac_ext
5480
 
cat >>conftest.$ac_ext <<_ACEOF
5481
 
/* end confdefs.h.  */
5482
 
 
5483
 
int
5484
 
main ()
5485
 
{
5486
 
 
5487
 
  ;
5488
 
  return 0;
5489
 
}
5490
 
_ACEOF
5491
 
rm -f conftest.$ac_objext
5492
 
if { (ac_try="$ac_compile"
5493
 
case "(($ac_try" in
5494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5495
 
  *) ac_try_echo=$ac_try;;
5496
 
esac
5497
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498
 
  (eval "$ac_compile") 2>conftest.er1
5499
 
  ac_status=$?
5500
 
  grep -v '^ *+' conftest.er1 >conftest.err
5501
 
  rm -f conftest.er1
5502
 
  cat conftest.err >&5
5503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504
 
  (exit $ac_status); } && {
5505
 
         test -z "$ac_cxx_werror_flag" ||
5506
 
         test ! -s conftest.err
5507
 
       } && test -s conftest.$ac_objext; then
5508
 
  ac_cv_prog_cxx_g=yes
5509
 
else
5510
 
  echo "$as_me: failed program was:" >&5
5511
 
sed 's/^/| /' conftest.$ac_ext >&5
5512
 
 
5513
 
 
5514
 
fi
5515
 
 
5516
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5517
 
fi
5518
 
 
5519
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5520
 
fi
5521
 
 
5522
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5523
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5524
 
fi
5525
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5526
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5527
 
if test "$ac_test_CXXFLAGS" = set; then
5528
 
  CXXFLAGS=$ac_save_CXXFLAGS
5529
 
elif test $ac_cv_prog_cxx_g = yes; then
5530
 
  if test "$GXX" = yes; then
5531
 
    CXXFLAGS="-g -O2"
5532
 
  else
5533
 
    CXXFLAGS="-g"
5534
 
  fi
5535
 
else
5536
 
  if test "$GXX" = yes; then
5537
 
    CXXFLAGS="-O2"
5538
 
  else
5539
 
    CXXFLAGS=
5540
 
  fi
5541
 
fi
5542
 
ac_ext=cpp
5543
 
ac_cpp='$CXXCPP $CPPFLAGS'
5544
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5545
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5546
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5547
 
 
5548
 
depcc="$CXX"  am_compiler_list=
5549
 
 
5550
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5551
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5552
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5553
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5554
 
else
5555
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5556
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5557
 
  # making bogus files that we don't know about and never remove.  For
5558
 
  # instance it was reported that on HP-UX the gcc test will end up
5559
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5560
 
  # in D'.
5561
 
  mkdir conftest.dir
5562
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5563
 
  # using a relative directory.
5564
 
  cp "$am_depcomp" conftest.dir
5565
 
  cd conftest.dir
5566
 
  # We will build objects and dependencies in a subdirectory because
5567
 
  # it helps to detect inapplicable dependency modes.  For instance
5568
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5569
 
  # side effect of compilation, but ICC will put the dependencies in
5570
 
  # the current directory while Tru64 will put them in the object
5571
 
  # directory.
5572
 
  mkdir sub
5573
 
 
5574
 
  am_cv_CXX_dependencies_compiler_type=none
5575
 
  if test "$am_compiler_list" = ""; then
5576
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5577
 
  fi
5578
 
  for depmode in $am_compiler_list; do
5579
 
    # Setup a source with many dependencies, because some compilers
5580
 
    # like to wrap large dependency lists on column 80 (with \), and
5581
 
    # we should not choose a depcomp mode which is confused by this.
5582
 
    #
5583
 
    # We need to recreate these files for each test, as the compiler may
5584
 
    # overwrite some of them when testing with obscure command lines.
5585
 
    # This happens at least with the AIX C compiler.
5586
 
    : > sub/conftest.c
5587
 
    for i in 1 2 3 4 5 6; do
5588
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5589
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5590
 
      # Solaris 8's {/usr,}/bin/sh.
5591
 
      touch sub/conftst$i.h
5592
 
    done
5593
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5594
 
 
5595
 
    case $depmode in
5596
 
    nosideeffect)
5597
 
      # after this tag, mechanisms are not by side-effect, so they'll
5598
 
      # only be used when explicitly requested
5599
 
      if test "x$enable_dependency_tracking" = xyes; then
5600
 
        continue
5601
 
      else
5602
 
        break
5603
 
      fi
5604
 
      ;;
5605
 
    none) break ;;
5606
 
    esac
5607
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5608
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5609
 
    # handle `-M -o', and we need to detect this.
5610
 
    if depmode=$depmode \
5611
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5612
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5613
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5614
 
         >/dev/null 2>conftest.err &&
5615
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5616
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5617
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5618
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5619
 
      # icc doesn't choke on unknown options, it will just issue warnings
5620
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5621
 
      # that says an option was ignored or not supported.
5622
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5623
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5624
 
      # The diagnosis changed in icc 8.0:
5625
 
      #   icc: Command line remark: option '-MP' not supported
5626
 
      if (grep 'ignoring option' conftest.err ||
5627
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5628
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5629
 
        break
5630
 
      fi
5631
 
    fi
5632
 
  done
5633
 
 
5634
 
  cd ..
5635
 
  rm -rf conftest.dir
5636
 
else
5637
 
  am_cv_CXX_dependencies_compiler_type=none
5638
 
fi
5639
 
 
5640
 
fi
5641
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5642
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5643
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5644
 
 
5645
 
 if
5646
 
  test "x$enable_dependency_tracking" != xno \
5647
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5648
 
  am__fastdepCXX_TRUE=
5649
 
  am__fastdepCXX_FALSE='#'
5650
 
else
5651
 
  am__fastdepCXX_TRUE='#'
5652
 
  am__fastdepCXX_FALSE=
5653
 
fi
5654
 
 
5655
 
 
5656
 
 
5657
 
 
5658
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5659
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5660
 
    (test "X$CXX" != "Xg++"))) ; then
5661
 
  ac_ext=cpp
5662
 
ac_cpp='$CXXCPP $CPPFLAGS'
5663
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5664
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5665
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5666
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5667
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5668
 
if test -z "$CXXCPP"; then
5669
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5671
 
else
5672
 
      # Double quotes because CXXCPP needs to be expanded
5673
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5674
 
    do
5675
 
      ac_preproc_ok=false
5676
 
for ac_cxx_preproc_warn_flag in '' yes
5677
 
do
5678
 
  # Use a header file that comes with gcc, so configuring glibc
5679
 
  # with a fresh cross-compiler works.
5680
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5681
 
  # <limits.h> exists even on freestanding compilers.
5682
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5683
 
  # not just through cpp. "Syntax error" is here to catch this case.
5684
 
  cat >conftest.$ac_ext <<_ACEOF
5685
 
/* confdefs.h.  */
5686
 
_ACEOF
5687
 
cat confdefs.h >>conftest.$ac_ext
5688
 
cat >>conftest.$ac_ext <<_ACEOF
5689
 
/* end confdefs.h.  */
5690
 
#ifdef __STDC__
5691
 
# include <limits.h>
5692
 
#else
5693
 
# include <assert.h>
5694
 
#endif
5695
 
                     Syntax error
5696
 
_ACEOF
5697
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5698
 
case "(($ac_try" in
5699
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5700
 
  *) ac_try_echo=$ac_try;;
5701
 
esac
5702
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5703
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5704
 
  ac_status=$?
5705
 
  grep -v '^ *+' conftest.er1 >conftest.err
5706
 
  rm -f conftest.er1
5707
 
  cat conftest.err >&5
5708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709
 
  (exit $ac_status); } >/dev/null && {
5710
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5711
 
         test ! -s conftest.err
5712
 
       }; then
5713
 
  :
5714
 
else
5715
 
  echo "$as_me: failed program was:" >&5
5716
 
sed 's/^/| /' conftest.$ac_ext >&5
5717
 
 
5718
 
  # Broken: fails on valid input.
5719
 
continue
5720
 
fi
5721
 
 
5722
 
rm -f conftest.err conftest.$ac_ext
5723
 
 
5724
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5725
 
  # can be detected and how.
5726
 
  cat >conftest.$ac_ext <<_ACEOF
5727
 
/* confdefs.h.  */
5728
 
_ACEOF
5729
 
cat confdefs.h >>conftest.$ac_ext
5730
 
cat >>conftest.$ac_ext <<_ACEOF
5731
 
/* end confdefs.h.  */
5732
 
#include <ac_nonexistent.h>
5733
 
_ACEOF
5734
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5735
 
case "(($ac_try" in
5736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737
 
  *) ac_try_echo=$ac_try;;
5738
 
esac
5739
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5741
 
  ac_status=$?
5742
 
  grep -v '^ *+' conftest.er1 >conftest.err
5743
 
  rm -f conftest.er1
5744
 
  cat conftest.err >&5
5745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746
 
  (exit $ac_status); } >/dev/null && {
5747
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5748
 
         test ! -s conftest.err
5749
 
       }; then
5750
 
  # Broken: success on invalid input.
5751
 
continue
5752
 
else
5753
 
  echo "$as_me: failed program was:" >&5
5754
 
sed 's/^/| /' conftest.$ac_ext >&5
5755
 
 
5756
 
  # Passes both tests.
5757
 
ac_preproc_ok=:
5758
 
break
5759
 
fi
5760
 
 
5761
 
rm -f conftest.err conftest.$ac_ext
5762
 
 
5763
 
done
5764
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5765
 
rm -f conftest.err conftest.$ac_ext
5766
 
if $ac_preproc_ok; then
5767
 
  break
5768
 
fi
5769
 
 
5770
 
    done
5771
 
    ac_cv_prog_CXXCPP=$CXXCPP
5772
 
 
5773
 
fi
5774
 
  CXXCPP=$ac_cv_prog_CXXCPP
5775
 
else
5776
 
  ac_cv_prog_CXXCPP=$CXXCPP
5777
 
fi
5778
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5779
 
echo "${ECHO_T}$CXXCPP" >&6; }
5780
 
ac_preproc_ok=false
5781
 
for ac_cxx_preproc_warn_flag in '' yes
5782
 
do
5783
 
  # Use a header file that comes with gcc, so configuring glibc
5784
 
  # with a fresh cross-compiler works.
5785
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5786
 
  # <limits.h> exists even on freestanding compilers.
5787
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5788
 
  # not just through cpp. "Syntax error" is here to catch this case.
5789
 
  cat >conftest.$ac_ext <<_ACEOF
5790
 
/* confdefs.h.  */
5791
 
_ACEOF
5792
 
cat confdefs.h >>conftest.$ac_ext
5793
 
cat >>conftest.$ac_ext <<_ACEOF
5794
 
/* end confdefs.h.  */
5795
 
#ifdef __STDC__
5796
 
# include <limits.h>
5797
 
#else
5798
 
# include <assert.h>
5799
 
#endif
5800
 
                     Syntax error
5801
 
_ACEOF
5802
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
5809
 
  ac_status=$?
5810
 
  grep -v '^ *+' conftest.er1 >conftest.err
5811
 
  rm -f conftest.er1
5812
 
  cat conftest.err >&5
5813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814
 
  (exit $ac_status); } >/dev/null && {
5815
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5816
 
         test ! -s conftest.err
5817
 
       }; then
5818
 
  :
5819
 
else
5820
 
  echo "$as_me: failed program was:" >&5
5821
 
sed 's/^/| /' conftest.$ac_ext >&5
5822
 
 
5823
 
  # Broken: fails on valid input.
5824
 
continue
5825
 
fi
5826
 
 
5827
 
rm -f conftest.err conftest.$ac_ext
5828
 
 
5829
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5830
 
  # can be detected and how.
5831
 
  cat >conftest.$ac_ext <<_ACEOF
5832
 
/* confdefs.h.  */
5833
 
_ACEOF
5834
 
cat confdefs.h >>conftest.$ac_ext
5835
 
cat >>conftest.$ac_ext <<_ACEOF
5836
 
/* end confdefs.h.  */
5837
 
#include <ac_nonexistent.h>
5838
 
_ACEOF
5839
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5840
 
case "(($ac_try" in
5841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5842
 
  *) ac_try_echo=$ac_try;;
5843
 
esac
5844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5845
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5846
 
  ac_status=$?
5847
 
  grep -v '^ *+' conftest.er1 >conftest.err
5848
 
  rm -f conftest.er1
5849
 
  cat conftest.err >&5
5850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851
 
  (exit $ac_status); } >/dev/null && {
5852
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5853
 
         test ! -s conftest.err
5854
 
       }; then
5855
 
  # Broken: success on invalid input.
5856
 
continue
5857
 
else
5858
 
  echo "$as_me: failed program was:" >&5
5859
 
sed 's/^/| /' conftest.$ac_ext >&5
5860
 
 
5861
 
  # Passes both tests.
5862
 
ac_preproc_ok=:
5863
 
break
5864
 
fi
5865
 
 
5866
 
rm -f conftest.err conftest.$ac_ext
5867
 
 
5868
 
done
5869
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5870
 
rm -f conftest.err conftest.$ac_ext
5871
 
if $ac_preproc_ok; then
5872
 
  :
5873
 
else
5874
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5875
 
See \`config.log' for more details." >&5
5876
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5877
 
See \`config.log' for more details." >&2;}
5878
 
   { (exit 1); exit 1; }; }
5879
 
fi
5880
 
 
5881
 
ac_ext=cpp
5882
 
ac_cpp='$CXXCPP $CPPFLAGS'
5883
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5884
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5885
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5886
 
 
5887
 
fi
5888
 
 
5889
 
 
5890
 
ac_ext=f
5891
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5892
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5893
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5894
 
if test -n "$ac_tool_prefix"; then
5895
 
  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
5896
 
  do
5897
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5898
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5899
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5900
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5901
 
if test "${ac_cv_prog_F77+set}" = set; then
5902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5903
 
else
5904
 
  if test -n "$F77"; then
5905
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
5906
 
else
5907
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908
 
for as_dir in $PATH
5909
 
do
5910
 
  IFS=$as_save_IFS
5911
 
  test -z "$as_dir" && as_dir=.
5912
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5913
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5915
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916
 
    break 2
5917
 
  fi
5918
 
done
5919
 
done
5920
 
IFS=$as_save_IFS
5921
 
 
5922
 
fi
5923
 
fi
5924
 
F77=$ac_cv_prog_F77
5925
 
if test -n "$F77"; then
5926
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5927
 
echo "${ECHO_T}$F77" >&6; }
5928
 
else
5929
 
  { echo "$as_me:$LINENO: result: no" >&5
5930
 
echo "${ECHO_T}no" >&6; }
5931
 
fi
5932
 
 
5933
 
 
5934
 
    test -n "$F77" && break
5935
 
  done
5936
 
fi
5937
 
if test -z "$F77"; then
5938
 
  ac_ct_F77=$F77
5939
 
  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
5940
 
do
5941
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5942
 
set dummy $ac_prog; ac_word=$2
5943
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5944
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5945
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5947
 
else
5948
 
  if test -n "$ac_ct_F77"; then
5949
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5950
 
else
5951
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952
 
for as_dir in $PATH
5953
 
do
5954
 
  IFS=$as_save_IFS
5955
 
  test -z "$as_dir" && as_dir=.
5956
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5957
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
5959
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5960
 
    break 2
5961
 
  fi
5962
 
done
5963
 
done
5964
 
IFS=$as_save_IFS
5965
 
 
5966
 
fi
5967
 
fi
5968
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5969
 
if test -n "$ac_ct_F77"; then
5970
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5971
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
5972
 
else
5973
 
  { echo "$as_me:$LINENO: result: no" >&5
5974
 
echo "${ECHO_T}no" >&6; }
5975
 
fi
5976
 
 
5977
 
 
5978
 
  test -n "$ac_ct_F77" && break
5979
 
done
5980
 
 
5981
 
  if test "x$ac_ct_F77" = x; then
5982
 
    F77=""
5983
 
  else
5984
 
    case $cross_compiling:$ac_tool_warned in
5985
 
yes:)
5986
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5987
 
whose name does not start with the host triplet.  If you think this
5988
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5989
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5990
 
whose name does not start with the host triplet.  If you think this
5991
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5992
 
ac_tool_warned=yes ;;
5993
 
esac
5994
 
    F77=$ac_ct_F77
5995
 
  fi
5996
 
fi
5997
 
 
5998
 
 
5999
 
# Provide some information about the compiler.
6000
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6001
 
ac_compiler=`set X $ac_compile; echo $2`
6002
 
{ (ac_try="$ac_compiler --version >&5"
6003
 
case "(($ac_try" in
6004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6005
 
  *) ac_try_echo=$ac_try;;
6006
 
esac
6007
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6008
 
  (eval "$ac_compiler --version >&5") 2>&5
6009
 
  ac_status=$?
6010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011
 
  (exit $ac_status); }
6012
 
{ (ac_try="$ac_compiler -v >&5"
6013
 
case "(($ac_try" in
6014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6015
 
  *) ac_try_echo=$ac_try;;
6016
 
esac
6017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6018
 
  (eval "$ac_compiler -v >&5") 2>&5
6019
 
  ac_status=$?
6020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021
 
  (exit $ac_status); }
6022
 
{ (ac_try="$ac_compiler -V >&5"
6023
 
case "(($ac_try" in
6024
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6025
 
  *) ac_try_echo=$ac_try;;
6026
 
esac
6027
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6028
 
  (eval "$ac_compiler -V >&5") 2>&5
6029
 
  ac_status=$?
6030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031
 
  (exit $ac_status); }
6032
 
rm -f a.out
6033
 
 
6034
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6035
 
# input file.  (Note that this only needs to work for GNU compilers.)
6036
 
ac_save_ext=$ac_ext
6037
 
ac_ext=F
6038
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6039
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6040
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6041
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6042
 
else
6043
 
  cat >conftest.$ac_ext <<_ACEOF
6044
 
      program main
6045
 
#ifndef __GNUC__
6046
 
       choke me
6047
 
#endif
6048
 
 
6049
 
      end
6050
 
_ACEOF
6051
 
rm -f conftest.$ac_objext
6052
 
if { (ac_try="$ac_compile"
6053
 
case "(($ac_try" in
6054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6055
 
  *) ac_try_echo=$ac_try;;
6056
 
esac
6057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6058
 
  (eval "$ac_compile") 2>conftest.er1
6059
 
  ac_status=$?
6060
 
  grep -v '^ *+' conftest.er1 >conftest.err
6061
 
  rm -f conftest.er1
6062
 
  cat conftest.err >&5
6063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064
 
  (exit $ac_status); } && {
6065
 
         test -z "$ac_f77_werror_flag" ||
6066
 
         test ! -s conftest.err
6067
 
       } && test -s conftest.$ac_objext; then
6068
 
  ac_compiler_gnu=yes
6069
 
else
6070
 
  echo "$as_me: failed program was:" >&5
6071
 
sed 's/^/| /' conftest.$ac_ext >&5
6072
 
 
6073
 
        ac_compiler_gnu=no
6074
 
fi
6075
 
 
6076
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6077
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6078
 
 
6079
 
fi
6080
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6081
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6082
 
ac_ext=$ac_save_ext
6083
 
ac_test_FFLAGS=${FFLAGS+set}
6084
 
ac_save_FFLAGS=$FFLAGS
6085
 
FFLAGS=
6086
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6087
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6088
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6090
 
else
6091
 
  FFLAGS=-g
6092
 
cat >conftest.$ac_ext <<_ACEOF
6093
 
      program main
6094
 
 
6095
 
      end
6096
 
_ACEOF
6097
 
rm -f conftest.$ac_objext
6098
 
if { (ac_try="$ac_compile"
6099
 
case "(($ac_try" in
6100
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6101
 
  *) ac_try_echo=$ac_try;;
6102
 
esac
6103
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6104
 
  (eval "$ac_compile") 2>conftest.er1
6105
 
  ac_status=$?
6106
 
  grep -v '^ *+' conftest.er1 >conftest.err
6107
 
  rm -f conftest.er1
6108
 
  cat conftest.err >&5
6109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110
 
  (exit $ac_status); } && {
6111
 
         test -z "$ac_f77_werror_flag" ||
6112
 
         test ! -s conftest.err
6113
 
       } && test -s conftest.$ac_objext; then
6114
 
  ac_cv_prog_f77_g=yes
6115
 
else
6116
 
  echo "$as_me: failed program was:" >&5
6117
 
sed 's/^/| /' conftest.$ac_ext >&5
6118
 
 
6119
 
        ac_cv_prog_f77_g=no
6120
 
fi
6121
 
 
6122
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6123
 
 
6124
 
fi
6125
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6126
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6127
 
if test "$ac_test_FFLAGS" = set; then
6128
 
  FFLAGS=$ac_save_FFLAGS
6129
 
elif test $ac_cv_prog_f77_g = yes; then
6130
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6131
 
    FFLAGS="-g -O2"
6132
 
  else
6133
 
    FFLAGS="-g"
6134
 
  fi
6135
 
else
6136
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6137
 
    FFLAGS="-O2"
6138
 
  else
6139
 
    FFLAGS=
6140
 
  fi
6141
 
fi
6142
 
 
6143
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6144
 
ac_ext=c
6145
 
ac_cpp='$CPP $CPPFLAGS'
6146
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6147
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6148
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6149
 
 
6150
 
 
6151
 
 
6152
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6153
 
 
6154
 
# find the maximum length of command line arguments
6155
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6156
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6157
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6159
 
else
6160
 
    i=0
6161
 
  teststring="ABCD"
6162
 
 
6163
 
  case $build_os in
6164
 
  msdosdjgpp*)
6165
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6166
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6167
 
    # during glob expansion).  Even if it were fixed, the result of this
6168
 
    # check would be larger than it should be.
6169
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6170
 
    ;;
6171
 
 
6172
 
  gnu*)
6173
 
    # Under GNU Hurd, this test is not required because there is
6174
 
    # no limit to the length of command line arguments.
6175
 
    # Libtool will interpret -1 as no limit whatsoever
6176
 
    lt_cv_sys_max_cmd_len=-1;
6177
 
    ;;
6178
 
 
6179
 
  cygwin* | mingw*)
6180
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6181
 
    # about 5 minutes as the teststring grows exponentially.
6182
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6183
 
    # you end up with a "frozen" computer, even though with patience
6184
 
    # the test eventually succeeds (with a max line length of 256k).
6185
 
    # Instead, let's just punt: use the minimum linelength reported by
6186
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6187
 
    lt_cv_sys_max_cmd_len=8192;
6188
 
    ;;
6189
 
 
6190
 
  amigaos*)
6191
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6192
 
    # So we just punt and use a minimum line length of 8192.
6193
 
    lt_cv_sys_max_cmd_len=8192;
6194
 
    ;;
6195
 
 
6196
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6197
 
    # This has been around since 386BSD, at least.  Likely further.
6198
 
    if test -x /sbin/sysctl; then
6199
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6200
 
    elif test -x /usr/sbin/sysctl; then
6201
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6202
 
    else
6203
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6204
 
    fi
6205
 
    # And add a safety zone
6206
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6207
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6208
 
    ;;
6209
 
 
6210
 
  interix*)
6211
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6212
 
    lt_cv_sys_max_cmd_len=196608
6213
 
    ;;
6214
 
 
6215
 
  osf*)
6216
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6217
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6218
 
    # nice to cause kernel panics so lets avoid the loop below.
6219
 
    # First set a reasonable default.
6220
 
    lt_cv_sys_max_cmd_len=16384
6221
 
    #
6222
 
    if test -x /sbin/sysconfig; then
6223
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6224
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6225
 
      esac
6226
 
    fi
6227
 
    ;;
6228
 
  sco3.2v5*)
6229
 
    lt_cv_sys_max_cmd_len=102400
6230
 
    ;;
6231
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6232
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6233
 
    if test -n "$kargmax"; then
6234
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6235
 
    else
6236
 
      lt_cv_sys_max_cmd_len=32768
6237
 
    fi
6238
 
    ;;
6239
 
  *)
6240
 
    # If test is not a shell built-in, we'll probably end up computing a
6241
 
    # maximum length that is only half of the actual maximum length, but
6242
 
    # we can't tell.
6243
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6244
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6245
 
               = "XX$teststring") >/dev/null 2>&1 &&
6246
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6247
 
            lt_cv_sys_max_cmd_len=$new_result &&
6248
 
            test $i != 17 # 1/2 MB should be enough
6249
 
    do
6250
 
      i=`expr $i + 1`
6251
 
      teststring=$teststring$teststring
6252
 
    done
6253
 
    teststring=
6254
 
    # Add a significant safety factor because C++ compilers can tack on massive
6255
 
    # amounts of additional arguments before passing them to the linker.
6256
 
    # It appears as though 1/2 is a usable value.
6257
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6258
 
    ;;
6259
 
  esac
6260
 
 
6261
 
fi
6262
 
 
6263
 
if test -n $lt_cv_sys_max_cmd_len ; then
6264
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6265
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6266
 
else
6267
 
  { echo "$as_me:$LINENO: result: none" >&5
6268
 
echo "${ECHO_T}none" >&6; }
6269
 
fi
6270
 
 
6271
 
 
6272
 
 
6273
 
 
6274
5392
# Check for command to grab the raw symbol name followed by C symbol from nm.
6275
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6276
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
5393
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5394
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6277
5395
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6278
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5396
  $as_echo_n "(cached) " >&6
6279
5397
else
6280
5398
 
6281
5399
# These are sane defaults that work on at least a few old systems.
6287
5405
# Regexp to match symbols that can be accessed directly from C.
6288
5406
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6289
5407
 
6290
 
# Transform an extracted symbol line into a proper C declaration
6291
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6292
 
 
6293
 
# Transform an extracted symbol line into symbol name and symbol address
6294
 
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'"
6295
 
 
6296
5408
# Define system-specific variables.
6297
5409
case $host_os in
6298
5410
aix*)
6299
5411
  symcode='[BCDT]'
6300
5412
  ;;
6301
 
cygwin* | mingw* | pw32*)
 
5413
cygwin* | mingw* | pw32* | cegcc*)
6302
5414
  symcode='[ABCDGISTW]'
6303
5415
  ;;
6304
 
hpux*) # Its linker distinguishes data from code symbols
 
5416
hpux*)
6305
5417
  if test "$host_cpu" = ia64; then
6306
5418
    symcode='[ABCDEGRST]'
6307
5419
  fi
6308
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6309
 
  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'"
6310
 
  ;;
6311
 
linux*)
6312
 
  if test "$host_cpu" = ia64; then
6313
 
    symcode='[ABCDGIRSTW]'
6314
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6315
 
    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'"
6316
 
  fi
6317
5420
  ;;
6318
5421
irix* | nonstopux*)
6319
5422
  symcode='[BCDEGRST]'
6338
5441
  ;;
6339
5442
esac
6340
5443
 
 
5444
# If we're using GNU nm, then use its standard symbol codes.
 
5445
case `$NM -V 2>&1` in
 
5446
*GNU* | *'with BFD'*)
 
5447
  symcode='[ABCDGIRSTW]' ;;
 
5448
esac
 
5449
 
 
5450
# Transform an extracted symbol line into a proper C declaration.
 
5451
# Some systems (esp. on ia64) link data and code symbols differently,
 
5452
# so use this general approach.
 
5453
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5454
 
 
5455
# Transform an extracted symbol line into symbol name and symbol address
 
5456
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5457
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'"
 
5458
 
6341
5459
# Handle CRLF in mingw tool chain
6342
5460
opt_cr=
6343
5461
case $build_os in
6344
5462
mingw*)
6345
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5463
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6346
5464
  ;;
6347
5465
esac
6348
5466
 
6349
 
# If we're using GNU nm, then use its standard symbol codes.
6350
 
case `$NM -V 2>&1` in
6351
 
*GNU* | *'with BFD'*)
6352
 
  symcode='[ABCDGIRSTW]' ;;
6353
 
esac
6354
 
 
6355
 
# Try without a prefix undercore, then with it.
 
5467
# Try without a prefix underscore, then with it.
6356
5468
for ac_symprfx in "" "_"; do
6357
5469
 
6358
5470
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6359
5471
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6360
5472
 
6361
5473
  # Write the raw and C identifiers.
6362
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5474
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5475
    # Fake it for dumpbin and say T for any non-static function
 
5476
    # and D for any global variable.
 
5477
    # Also find C++ and __fastcall symbols from MSVC++,
 
5478
    # which start with @ or ?.
 
5479
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5480
"     {last_section=section; section=\$ 3};"\
 
5481
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5482
"     \$ 0!~/External *\|/{next};"\
 
5483
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5484
"     {if(hide[section]) next};"\
 
5485
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5486
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5487
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5488
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5489
"     ' prfx=^$ac_symprfx"
 
5490
  else
 
5491
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5492
  fi
6363
5493
 
6364
5494
  # Check to see that the pipe works correctly.
6365
5495
  pipe_works=no
6366
5496
 
6367
5497
  rm -f conftest*
6368
 
  cat > conftest.$ac_ext <<EOF
 
5498
  cat > conftest.$ac_ext <<_LT_EOF
6369
5499
#ifdef __cplusplus
6370
5500
extern "C" {
6371
5501
#endif
6372
5502
char nm_test_var;
6373
 
void nm_test_func(){}
 
5503
void nm_test_func(void);
 
5504
void nm_test_func(void){}
6374
5505
#ifdef __cplusplus
6375
5506
}
6376
5507
#endif
6377
5508
int main(){nm_test_var='a';nm_test_func();return(0);}
6378
 
EOF
 
5509
_LT_EOF
6379
5510
 
6380
5511
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6381
5512
  (eval $ac_compile) 2>&5
6382
5513
  ac_status=$?
6383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5514
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384
5515
  (exit $ac_status); }; then
6385
5516
    # Now try to grab the symbols.
6386
5517
    nlist=conftest.nm
6387
5518
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6388
5519
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6389
5520
  ac_status=$?
6390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5521
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391
5522
  (exit $ac_status); } && test -s "$nlist"; then
6392
5523
      # Try sorting and uniquifying the output.
6393
5524
      if sort "$nlist" | uniq > "$nlist"T; then
6397
5528
      fi
6398
5529
 
6399
5530
      # Make sure that we snagged all the symbols we need.
6400
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6401
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6402
 
          cat <<EOF > conftest.$ac_ext
 
5531
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5532
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5533
          cat <<_LT_EOF > conftest.$ac_ext
6403
5534
#ifdef __cplusplus
6404
5535
extern "C" {
6405
5536
#endif
6406
5537
 
6407
 
EOF
 
5538
_LT_EOF
6408
5539
          # Now generate the symbol file.
6409
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6410
 
 
6411
 
          cat <<EOF >> conftest.$ac_ext
6412
 
#if defined (__STDC__) && __STDC__
6413
 
# define lt_ptr_t void *
6414
 
#else
6415
 
# define lt_ptr_t char *
6416
 
# define const
6417
 
#endif
6418
 
 
6419
 
/* The mapping between symbol names and symbols. */
 
5540
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5541
 
 
5542
          cat <<_LT_EOF >> conftest.$ac_ext
 
5543
 
 
5544
/* The mapping between symbol names and symbols.  */
6420
5545
const struct {
6421
5546
  const char *name;
6422
 
  lt_ptr_t address;
 
5547
  void       *address;
6423
5548
}
6424
 
lt_preloaded_symbols[] =
 
5549
lt__PROGRAM__LTX_preloaded_symbols[] =
6425
5550
{
6426
 
EOF
6427
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6428
 
          cat <<\EOF >> conftest.$ac_ext
6429
 
  {0, (lt_ptr_t) 0}
 
5551
  { "@PROGRAM@", (void *) 0 },
 
5552
_LT_EOF
 
5553
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5554
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5555
  {0, (void *) 0}
6430
5556
};
6431
5557
 
 
5558
/* This works around a problem in FreeBSD linker */
 
5559
#ifdef FREEBSD_WORKAROUND
 
5560
static const void *lt_preloaded_setup() {
 
5561
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5562
}
 
5563
#endif
 
5564
 
6432
5565
#ifdef __cplusplus
6433
5566
}
6434
5567
#endif
6435
 
EOF
 
5568
_LT_EOF
6436
5569
          # Now try linking the two files.
6437
5570
          mv conftest.$ac_objext conftstm.$ac_objext
6438
5571
          lt_save_LIBS="$LIBS"
6442
5575
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6443
5576
  (eval $ac_link) 2>&5
6444
5577
  ac_status=$?
6445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5578
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446
5579
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6447
5580
            pipe_works=yes
6448
5581
          fi
6461
5594
    echo "$progname: failed program was:" >&5
6462
5595
    cat conftest.$ac_ext >&5
6463
5596
  fi
6464
 
  rm -f conftest* conftst*
 
5597
  rm -rf conftest* conftst*
6465
5598
 
6466
5599
  # Do not use the global_symbol_pipe unless it works.
6467
5600
  if test "$pipe_works" = yes; then
6477
5610
  lt_cv_sys_global_symbol_to_cdecl=
6478
5611
fi
6479
5612
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6480
 
  { echo "$as_me:$LINENO: result: failed" >&5
6481
 
echo "${ECHO_T}failed" >&6; }
6482
 
else
6483
 
  { echo "$as_me:$LINENO: result: ok" >&5
6484
 
echo "${ECHO_T}ok" >&6; }
6485
 
fi
6486
 
 
6487
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6488
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
5613
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5614
$as_echo "failed" >&6; }
 
5615
else
 
5616
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5617
$as_echo "ok" >&6; }
 
5618
fi
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
 
 
5624
 
 
5625
 
 
5626
 
 
5627
 
 
5628
 
 
5629
 
 
5630
 
 
5631
 
 
5632
 
 
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
# Check whether --enable-libtool-lock was given.
 
5643
if test "${enable_libtool_lock+set}" = set; then
 
5644
  enableval=$enable_libtool_lock;
 
5645
fi
 
5646
 
 
5647
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5648
 
 
5649
# Some flags need to be propagated to the compiler or linker for good
 
5650
# libtool support.
 
5651
case $host in
 
5652
ia64-*-hpux*)
 
5653
  # Find out which ABI we are using.
 
5654
  echo 'int i;' > conftest.$ac_ext
 
5655
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5656
  (eval $ac_compile) 2>&5
 
5657
  ac_status=$?
 
5658
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5659
  (exit $ac_status); }; then
 
5660
    case `/usr/bin/file conftest.$ac_objext` in
 
5661
      *ELF-32*)
 
5662
        HPUX_IA64_MODE="32"
 
5663
        ;;
 
5664
      *ELF-64*)
 
5665
        HPUX_IA64_MODE="64"
 
5666
        ;;
 
5667
    esac
 
5668
  fi
 
5669
  rm -rf conftest*
 
5670
  ;;
 
5671
*-*-irix6*)
 
5672
  # Find out which ABI we are using.
 
5673
  echo '#line 5673 "configure"' > conftest.$ac_ext
 
5674
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5675
  (eval $ac_compile) 2>&5
 
5676
  ac_status=$?
 
5677
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5678
  (exit $ac_status); }; then
 
5679
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5680
      case `/usr/bin/file conftest.$ac_objext` in
 
5681
        *32-bit*)
 
5682
          LD="${LD-ld} -melf32bsmip"
 
5683
          ;;
 
5684
        *N32*)
 
5685
          LD="${LD-ld} -melf32bmipn32"
 
5686
          ;;
 
5687
        *64-bit*)
 
5688
          LD="${LD-ld} -melf64bmip"
 
5689
        ;;
 
5690
      esac
 
5691
    else
 
5692
      case `/usr/bin/file conftest.$ac_objext` in
 
5693
        *32-bit*)
 
5694
          LD="${LD-ld} -32"
 
5695
          ;;
 
5696
        *N32*)
 
5697
          LD="${LD-ld} -n32"
 
5698
          ;;
 
5699
        *64-bit*)
 
5700
          LD="${LD-ld} -64"
 
5701
          ;;
 
5702
      esac
 
5703
    fi
 
5704
  fi
 
5705
  rm -rf conftest*
 
5706
  ;;
 
5707
 
 
5708
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5709
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
5710
  # Find out which ABI we are using.
 
5711
  echo 'int i;' > conftest.$ac_ext
 
5712
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5713
  (eval $ac_compile) 2>&5
 
5714
  ac_status=$?
 
5715
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5716
  (exit $ac_status); }; then
 
5717
    case `/usr/bin/file conftest.o` in
 
5718
      *32-bit*)
 
5719
        case $host in
 
5720
          x86_64-*kfreebsd*-gnu)
 
5721
            LD="${LD-ld} -m elf_i386_fbsd"
 
5722
            ;;
 
5723
          x86_64-*linux*)
 
5724
            LD="${LD-ld} -m elf_i386"
 
5725
            ;;
 
5726
          ppc64-*linux*|powerpc64-*linux*)
 
5727
            LD="${LD-ld} -m elf32ppclinux"
 
5728
            ;;
 
5729
          s390x-*linux*)
 
5730
            LD="${LD-ld} -m elf_s390"
 
5731
            ;;
 
5732
          sparc64-*linux*)
 
5733
            LD="${LD-ld} -m elf32_sparc"
 
5734
            ;;
 
5735
        esac
 
5736
        ;;
 
5737
      *64-bit*)
 
5738
        case $host in
 
5739
          x86_64-*kfreebsd*-gnu)
 
5740
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
5741
            ;;
 
5742
          x86_64-*linux*)
 
5743
            LD="${LD-ld} -m elf_x86_64"
 
5744
            ;;
 
5745
          ppc*-*linux*|powerpc*-*linux*)
 
5746
            LD="${LD-ld} -m elf64ppc"
 
5747
            ;;
 
5748
          s390*-*linux*|s390*-*tpf*)
 
5749
            LD="${LD-ld} -m elf64_s390"
 
5750
            ;;
 
5751
          sparc*-*linux*)
 
5752
            LD="${LD-ld} -m elf64_sparc"
 
5753
            ;;
 
5754
        esac
 
5755
        ;;
 
5756
    esac
 
5757
  fi
 
5758
  rm -rf conftest*
 
5759
  ;;
 
5760
 
 
5761
*-*-sco3.2v5*)
 
5762
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5763
  SAVE_CFLAGS="$CFLAGS"
 
5764
  CFLAGS="$CFLAGS -belf"
 
5765
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5766
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
5767
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5768
  $as_echo_n "(cached) " >&6
 
5769
else
 
5770
  ac_ext=c
 
5771
ac_cpp='$CPP $CPPFLAGS'
 
5772
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5773
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5774
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5775
 
 
5776
     cat >conftest.$ac_ext <<_ACEOF
 
5777
/* confdefs.h.  */
 
5778
_ACEOF
 
5779
cat confdefs.h >>conftest.$ac_ext
 
5780
cat >>conftest.$ac_ext <<_ACEOF
 
5781
/* end confdefs.h.  */
 
5782
 
 
5783
int
 
5784
main ()
 
5785
{
 
5786
 
 
5787
  ;
 
5788
  return 0;
 
5789
}
 
5790
_ACEOF
 
5791
rm -f conftest.$ac_objext conftest$ac_exeext
 
5792
if { (ac_try="$ac_link"
 
5793
case "(($ac_try" in
 
5794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5795
  *) ac_try_echo=$ac_try;;
 
5796
esac
 
5797
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5798
$as_echo "$ac_try_echo") >&5
 
5799
  (eval "$ac_link") 2>conftest.er1
 
5800
  ac_status=$?
 
5801
  grep -v '^ *+' conftest.er1 >conftest.err
 
5802
  rm -f conftest.er1
 
5803
  cat conftest.err >&5
 
5804
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5805
  (exit $ac_status); } && {
 
5806
         test -z "$ac_c_werror_flag" ||
 
5807
         test ! -s conftest.err
 
5808
       } && test -s conftest$ac_exeext && {
 
5809
         test "$cross_compiling" = yes ||
 
5810
         $as_test_x conftest$ac_exeext
 
5811
       }; then
 
5812
  lt_cv_cc_needs_belf=yes
 
5813
else
 
5814
  $as_echo "$as_me: failed program was:" >&5
 
5815
sed 's/^/| /' conftest.$ac_ext >&5
 
5816
 
 
5817
        lt_cv_cc_needs_belf=no
 
5818
fi
 
5819
 
 
5820
rm -rf conftest.dSYM
 
5821
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5822
      conftest$ac_exeext conftest.$ac_ext
 
5823
     ac_ext=c
 
5824
ac_cpp='$CPP $CPPFLAGS'
 
5825
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5826
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5827
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5828
 
 
5829
fi
 
5830
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5831
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
5832
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5833
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5834
    CFLAGS="$SAVE_CFLAGS"
 
5835
  fi
 
5836
  ;;
 
5837
sparc*-*solaris*)
 
5838
  # Find out which ABI we are using.
 
5839
  echo 'int i;' > conftest.$ac_ext
 
5840
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5841
  (eval $ac_compile) 2>&5
 
5842
  ac_status=$?
 
5843
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5844
  (exit $ac_status); }; then
 
5845
    case `/usr/bin/file conftest.o` in
 
5846
    *64-bit*)
 
5847
      case $lt_cv_prog_gnu_ld in
 
5848
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5849
      *)
 
5850
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5851
          LD="${LD-ld} -64"
 
5852
        fi
 
5853
        ;;
 
5854
      esac
 
5855
      ;;
 
5856
    esac
 
5857
  fi
 
5858
  rm -rf conftest*
 
5859
  ;;
 
5860
esac
 
5861
 
 
5862
need_locks="$enable_libtool_lock"
 
5863
 
 
5864
 
 
5865
  case $host_os in
 
5866
    rhapsody* | darwin*)
 
5867
    if test -n "$ac_tool_prefix"; then
 
5868
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
5869
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
5870
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5871
$as_echo_n "checking for $ac_word... " >&6; }
 
5872
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
5873
  $as_echo_n "(cached) " >&6
 
5874
else
 
5875
  if test -n "$DSYMUTIL"; then
 
5876
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
5877
else
 
5878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5879
for as_dir in $PATH
 
5880
do
 
5881
  IFS=$as_save_IFS
 
5882
  test -z "$as_dir" && as_dir=.
 
5883
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5884
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5885
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
5886
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5887
    break 2
 
5888
  fi
 
5889
done
 
5890
done
 
5891
IFS=$as_save_IFS
 
5892
 
 
5893
fi
 
5894
fi
 
5895
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
5896
if test -n "$DSYMUTIL"; then
 
5897
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
5898
$as_echo "$DSYMUTIL" >&6; }
 
5899
else
 
5900
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5901
$as_echo "no" >&6; }
 
5902
fi
 
5903
 
 
5904
 
 
5905
fi
 
5906
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
5907
  ac_ct_DSYMUTIL=$DSYMUTIL
 
5908
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
5909
set dummy dsymutil; ac_word=$2
 
5910
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5911
$as_echo_n "checking for $ac_word... " >&6; }
 
5912
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
5913
  $as_echo_n "(cached) " >&6
 
5914
else
 
5915
  if test -n "$ac_ct_DSYMUTIL"; then
 
5916
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
5917
else
 
5918
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5919
for as_dir in $PATH
 
5920
do
 
5921
  IFS=$as_save_IFS
 
5922
  test -z "$as_dir" && as_dir=.
 
5923
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5925
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
5926
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5927
    break 2
 
5928
  fi
 
5929
done
 
5930
done
 
5931
IFS=$as_save_IFS
 
5932
 
 
5933
fi
 
5934
fi
 
5935
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
5936
if test -n "$ac_ct_DSYMUTIL"; then
 
5937
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
5938
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
5939
else
 
5940
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5941
$as_echo "no" >&6; }
 
5942
fi
 
5943
 
 
5944
  if test "x$ac_ct_DSYMUTIL" = x; then
 
5945
    DSYMUTIL=":"
 
5946
  else
 
5947
    case $cross_compiling:$ac_tool_warned in
 
5948
yes:)
 
5949
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5951
ac_tool_warned=yes ;;
 
5952
esac
 
5953
    DSYMUTIL=$ac_ct_DSYMUTIL
 
5954
  fi
 
5955
else
 
5956
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
5957
fi
 
5958
 
 
5959
    if test -n "$ac_tool_prefix"; then
 
5960
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
5961
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
5962
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5963
$as_echo_n "checking for $ac_word... " >&6; }
 
5964
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
5965
  $as_echo_n "(cached) " >&6
 
5966
else
 
5967
  if test -n "$NMEDIT"; then
 
5968
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
5969
else
 
5970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5971
for as_dir in $PATH
 
5972
do
 
5973
  IFS=$as_save_IFS
 
5974
  test -z "$as_dir" && as_dir=.
 
5975
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5977
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
5978
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5979
    break 2
 
5980
  fi
 
5981
done
 
5982
done
 
5983
IFS=$as_save_IFS
 
5984
 
 
5985
fi
 
5986
fi
 
5987
NMEDIT=$ac_cv_prog_NMEDIT
 
5988
if test -n "$NMEDIT"; then
 
5989
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
5990
$as_echo "$NMEDIT" >&6; }
 
5991
else
 
5992
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5993
$as_echo "no" >&6; }
 
5994
fi
 
5995
 
 
5996
 
 
5997
fi
 
5998
if test -z "$ac_cv_prog_NMEDIT"; then
 
5999
  ac_ct_NMEDIT=$NMEDIT
 
6000
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6001
set dummy nmedit; ac_word=$2
 
6002
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6003
$as_echo_n "checking for $ac_word... " >&6; }
 
6004
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6005
  $as_echo_n "(cached) " >&6
 
6006
else
 
6007
  if test -n "$ac_ct_NMEDIT"; then
 
6008
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6009
else
 
6010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6011
for as_dir in $PATH
 
6012
do
 
6013
  IFS=$as_save_IFS
 
6014
  test -z "$as_dir" && as_dir=.
 
6015
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6016
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6017
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6018
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6019
    break 2
 
6020
  fi
 
6021
done
 
6022
done
 
6023
IFS=$as_save_IFS
 
6024
 
 
6025
fi
 
6026
fi
 
6027
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6028
if test -n "$ac_ct_NMEDIT"; then
 
6029
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6030
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6031
else
 
6032
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6033
$as_echo "no" >&6; }
 
6034
fi
 
6035
 
 
6036
  if test "x$ac_ct_NMEDIT" = x; then
 
6037
    NMEDIT=":"
 
6038
  else
 
6039
    case $cross_compiling:$ac_tool_warned in
 
6040
yes:)
 
6041
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6042
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6043
ac_tool_warned=yes ;;
 
6044
esac
 
6045
    NMEDIT=$ac_ct_NMEDIT
 
6046
  fi
 
6047
else
 
6048
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6049
fi
 
6050
 
 
6051
    if test -n "$ac_tool_prefix"; then
 
6052
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6053
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6054
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6055
$as_echo_n "checking for $ac_word... " >&6; }
 
6056
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6057
  $as_echo_n "(cached) " >&6
 
6058
else
 
6059
  if test -n "$LIPO"; then
 
6060
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6061
else
 
6062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6063
for as_dir in $PATH
 
6064
do
 
6065
  IFS=$as_save_IFS
 
6066
  test -z "$as_dir" && as_dir=.
 
6067
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6068
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6069
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6070
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6071
    break 2
 
6072
  fi
 
6073
done
 
6074
done
 
6075
IFS=$as_save_IFS
 
6076
 
 
6077
fi
 
6078
fi
 
6079
LIPO=$ac_cv_prog_LIPO
 
6080
if test -n "$LIPO"; then
 
6081
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6082
$as_echo "$LIPO" >&6; }
 
6083
else
 
6084
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6085
$as_echo "no" >&6; }
 
6086
fi
 
6087
 
 
6088
 
 
6089
fi
 
6090
if test -z "$ac_cv_prog_LIPO"; then
 
6091
  ac_ct_LIPO=$LIPO
 
6092
  # Extract the first word of "lipo", so it can be a program name with args.
 
6093
set dummy lipo; ac_word=$2
 
6094
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6095
$as_echo_n "checking for $ac_word... " >&6; }
 
6096
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6097
  $as_echo_n "(cached) " >&6
 
6098
else
 
6099
  if test -n "$ac_ct_LIPO"; then
 
6100
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6101
else
 
6102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6103
for as_dir in $PATH
 
6104
do
 
6105
  IFS=$as_save_IFS
 
6106
  test -z "$as_dir" && as_dir=.
 
6107
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6108
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6109
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6110
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6111
    break 2
 
6112
  fi
 
6113
done
 
6114
done
 
6115
IFS=$as_save_IFS
 
6116
 
 
6117
fi
 
6118
fi
 
6119
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6120
if test -n "$ac_ct_LIPO"; then
 
6121
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6122
$as_echo "$ac_ct_LIPO" >&6; }
 
6123
else
 
6124
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6125
$as_echo "no" >&6; }
 
6126
fi
 
6127
 
 
6128
  if test "x$ac_ct_LIPO" = x; then
 
6129
    LIPO=":"
 
6130
  else
 
6131
    case $cross_compiling:$ac_tool_warned in
 
6132
yes:)
 
6133
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6134
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6135
ac_tool_warned=yes ;;
 
6136
esac
 
6137
    LIPO=$ac_ct_LIPO
 
6138
  fi
 
6139
else
 
6140
  LIPO="$ac_cv_prog_LIPO"
 
6141
fi
 
6142
 
 
6143
    if test -n "$ac_tool_prefix"; then
 
6144
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6145
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6146
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6147
$as_echo_n "checking for $ac_word... " >&6; }
 
6148
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6149
  $as_echo_n "(cached) " >&6
 
6150
else
 
6151
  if test -n "$OTOOL"; then
 
6152
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6153
else
 
6154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6155
for as_dir in $PATH
 
6156
do
 
6157
  IFS=$as_save_IFS
 
6158
  test -z "$as_dir" && as_dir=.
 
6159
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6160
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6161
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6162
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6163
    break 2
 
6164
  fi
 
6165
done
 
6166
done
 
6167
IFS=$as_save_IFS
 
6168
 
 
6169
fi
 
6170
fi
 
6171
OTOOL=$ac_cv_prog_OTOOL
 
6172
if test -n "$OTOOL"; then
 
6173
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6174
$as_echo "$OTOOL" >&6; }
 
6175
else
 
6176
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6177
$as_echo "no" >&6; }
 
6178
fi
 
6179
 
 
6180
 
 
6181
fi
 
6182
if test -z "$ac_cv_prog_OTOOL"; then
 
6183
  ac_ct_OTOOL=$OTOOL
 
6184
  # Extract the first word of "otool", so it can be a program name with args.
 
6185
set dummy otool; ac_word=$2
 
6186
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6187
$as_echo_n "checking for $ac_word... " >&6; }
 
6188
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6189
  $as_echo_n "(cached) " >&6
 
6190
else
 
6191
  if test -n "$ac_ct_OTOOL"; then
 
6192
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6193
else
 
6194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6195
for as_dir in $PATH
 
6196
do
 
6197
  IFS=$as_save_IFS
 
6198
  test -z "$as_dir" && as_dir=.
 
6199
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6200
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6201
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6202
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6203
    break 2
 
6204
  fi
 
6205
done
 
6206
done
 
6207
IFS=$as_save_IFS
 
6208
 
 
6209
fi
 
6210
fi
 
6211
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6212
if test -n "$ac_ct_OTOOL"; then
 
6213
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6214
$as_echo "$ac_ct_OTOOL" >&6; }
 
6215
else
 
6216
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6217
$as_echo "no" >&6; }
 
6218
fi
 
6219
 
 
6220
  if test "x$ac_ct_OTOOL" = x; then
 
6221
    OTOOL=":"
 
6222
  else
 
6223
    case $cross_compiling:$ac_tool_warned in
 
6224
yes:)
 
6225
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6226
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6227
ac_tool_warned=yes ;;
 
6228
esac
 
6229
    OTOOL=$ac_ct_OTOOL
 
6230
  fi
 
6231
else
 
6232
  OTOOL="$ac_cv_prog_OTOOL"
 
6233
fi
 
6234
 
 
6235
    if test -n "$ac_tool_prefix"; then
 
6236
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6237
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6238
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6239
$as_echo_n "checking for $ac_word... " >&6; }
 
6240
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6241
  $as_echo_n "(cached) " >&6
 
6242
else
 
6243
  if test -n "$OTOOL64"; then
 
6244
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6245
else
 
6246
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6247
for as_dir in $PATH
 
6248
do
 
6249
  IFS=$as_save_IFS
 
6250
  test -z "$as_dir" && as_dir=.
 
6251
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6253
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6254
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6255
    break 2
 
6256
  fi
 
6257
done
 
6258
done
 
6259
IFS=$as_save_IFS
 
6260
 
 
6261
fi
 
6262
fi
 
6263
OTOOL64=$ac_cv_prog_OTOOL64
 
6264
if test -n "$OTOOL64"; then
 
6265
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6266
$as_echo "$OTOOL64" >&6; }
 
6267
else
 
6268
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6269
$as_echo "no" >&6; }
 
6270
fi
 
6271
 
 
6272
 
 
6273
fi
 
6274
if test -z "$ac_cv_prog_OTOOL64"; then
 
6275
  ac_ct_OTOOL64=$OTOOL64
 
6276
  # Extract the first word of "otool64", so it can be a program name with args.
 
6277
set dummy otool64; ac_word=$2
 
6278
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6279
$as_echo_n "checking for $ac_word... " >&6; }
 
6280
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6281
  $as_echo_n "(cached) " >&6
 
6282
else
 
6283
  if test -n "$ac_ct_OTOOL64"; then
 
6284
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6285
else
 
6286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6287
for as_dir in $PATH
 
6288
do
 
6289
  IFS=$as_save_IFS
 
6290
  test -z "$as_dir" && as_dir=.
 
6291
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6293
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6294
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6295
    break 2
 
6296
  fi
 
6297
done
 
6298
done
 
6299
IFS=$as_save_IFS
 
6300
 
 
6301
fi
 
6302
fi
 
6303
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6304
if test -n "$ac_ct_OTOOL64"; then
 
6305
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6306
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6307
else
 
6308
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6309
$as_echo "no" >&6; }
 
6310
fi
 
6311
 
 
6312
  if test "x$ac_ct_OTOOL64" = x; then
 
6313
    OTOOL64=":"
 
6314
  else
 
6315
    case $cross_compiling:$ac_tool_warned in
 
6316
yes:)
 
6317
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6318
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6319
ac_tool_warned=yes ;;
 
6320
esac
 
6321
    OTOOL64=$ac_ct_OTOOL64
 
6322
  fi
 
6323
else
 
6324
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6325
fi
 
6326
 
 
6327
 
 
6328
 
 
6329
 
 
6330
 
 
6331
 
 
6332
 
 
6333
 
 
6334
 
 
6335
 
 
6336
 
 
6337
 
 
6338
 
 
6339
 
 
6340
 
 
6341
 
 
6342
 
 
6343
 
 
6344
 
 
6345
 
 
6346
 
 
6347
 
 
6348
 
 
6349
 
 
6350
 
 
6351
 
 
6352
 
 
6353
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6354
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6355
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6356
  $as_echo_n "(cached) " >&6
 
6357
else
 
6358
  lt_cv_apple_cc_single_mod=no
 
6359
      if test -z "${LT_MULTI_MODULE}"; then
 
6360
        # By default we will add the -single_module flag. You can override
 
6361
        # by either setting the environment variable LT_MULTI_MODULE
 
6362
        # non-empty at configure time, or by adding -multi_module to the
 
6363
        # link flags.
 
6364
        rm -rf libconftest.dylib*
 
6365
        echo "int foo(void){return 1;}" > conftest.c
 
6366
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6367
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6368
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6369
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6370
        _lt_result=$?
 
6371
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6372
          lt_cv_apple_cc_single_mod=yes
 
6373
        else
 
6374
          cat conftest.err >&5
 
6375
        fi
 
6376
        rm -rf libconftest.dylib*
 
6377
        rm -f conftest.*
 
6378
      fi
 
6379
fi
 
6380
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6381
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6382
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6383
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6384
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6385
  $as_echo_n "(cached) " >&6
 
6386
else
 
6387
  lt_cv_ld_exported_symbols_list=no
 
6388
      save_LDFLAGS=$LDFLAGS
 
6389
      echo "_main" > conftest.sym
 
6390
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
6391
      cat >conftest.$ac_ext <<_ACEOF
 
6392
/* confdefs.h.  */
 
6393
_ACEOF
 
6394
cat confdefs.h >>conftest.$ac_ext
 
6395
cat >>conftest.$ac_ext <<_ACEOF
 
6396
/* end confdefs.h.  */
 
6397
 
 
6398
int
 
6399
main ()
 
6400
{
 
6401
 
 
6402
  ;
 
6403
  return 0;
 
6404
}
 
6405
_ACEOF
 
6406
rm -f conftest.$ac_objext conftest$ac_exeext
 
6407
if { (ac_try="$ac_link"
 
6408
case "(($ac_try" in
 
6409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6410
  *) ac_try_echo=$ac_try;;
 
6411
esac
 
6412
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6413
$as_echo "$ac_try_echo") >&5
 
6414
  (eval "$ac_link") 2>conftest.er1
 
6415
  ac_status=$?
 
6416
  grep -v '^ *+' conftest.er1 >conftest.err
 
6417
  rm -f conftest.er1
 
6418
  cat conftest.err >&5
 
6419
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6420
  (exit $ac_status); } && {
 
6421
         test -z "$ac_c_werror_flag" ||
 
6422
         test ! -s conftest.err
 
6423
       } && test -s conftest$ac_exeext && {
 
6424
         test "$cross_compiling" = yes ||
 
6425
         $as_test_x conftest$ac_exeext
 
6426
       }; then
 
6427
  lt_cv_ld_exported_symbols_list=yes
 
6428
else
 
6429
  $as_echo "$as_me: failed program was:" >&5
 
6430
sed 's/^/| /' conftest.$ac_ext >&5
 
6431
 
 
6432
        lt_cv_ld_exported_symbols_list=no
 
6433
fi
 
6434
 
 
6435
rm -rf conftest.dSYM
 
6436
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6437
      conftest$ac_exeext conftest.$ac_ext
 
6438
        LDFLAGS="$save_LDFLAGS"
 
6439
 
 
6440
fi
 
6441
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6442
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6443
    case $host_os in
 
6444
    rhapsody* | darwin1.[012])
 
6445
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
6446
    darwin1.*)
 
6447
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6448
    darwin*) # darwin 5.x on
 
6449
      # if running on 10.5 or later, the deployment target defaults
 
6450
      # to the OS version, if on x86, and 10.4, the deployment
 
6451
      # target defaults to 10.4. Don't you love it?
 
6452
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
6453
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6454
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6455
        10.[012]*)
 
6456
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6457
        10.*)
 
6458
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6459
      esac
 
6460
    ;;
 
6461
  esac
 
6462
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
6463
      _lt_dar_single_mod='$single_module'
 
6464
    fi
 
6465
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
6466
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
6467
    else
 
6468
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6469
    fi
 
6470
    if test "$DSYMUTIL" != ":"; then
 
6471
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
6472
    else
 
6473
      _lt_dsymutil=
 
6474
    fi
 
6475
    ;;
 
6476
  esac
 
6477
 
 
6478
ac_ext=c
 
6479
ac_cpp='$CPP $CPPFLAGS'
 
6480
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6481
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6482
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6483
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
6484
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6485
# On Suns, sometimes $CPP names a directory.
 
6486
if test -n "$CPP" && test -d "$CPP"; then
 
6487
  CPP=
 
6488
fi
 
6489
if test -z "$CPP"; then
 
6490
  if test "${ac_cv_prog_CPP+set}" = set; then
 
6491
  $as_echo_n "(cached) " >&6
 
6492
else
 
6493
      # Double quotes because CPP needs to be expanded
 
6494
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6495
    do
 
6496
      ac_preproc_ok=false
 
6497
for ac_c_preproc_warn_flag in '' yes
 
6498
do
 
6499
  # Use a header file that comes with gcc, so configuring glibc
 
6500
  # with a fresh cross-compiler works.
 
6501
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6502
  # <limits.h> exists even on freestanding compilers.
 
6503
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6504
  # not just through cpp. "Syntax error" is here to catch this case.
 
6505
  cat >conftest.$ac_ext <<_ACEOF
 
6506
/* confdefs.h.  */
 
6507
_ACEOF
 
6508
cat confdefs.h >>conftest.$ac_ext
 
6509
cat >>conftest.$ac_ext <<_ACEOF
 
6510
/* end confdefs.h.  */
 
6511
#ifdef __STDC__
 
6512
# include <limits.h>
 
6513
#else
 
6514
# include <assert.h>
 
6515
#endif
 
6516
                     Syntax error
 
6517
_ACEOF
 
6518
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6519
case "(($ac_try" in
 
6520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6521
  *) ac_try_echo=$ac_try;;
 
6522
esac
 
6523
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6524
$as_echo "$ac_try_echo") >&5
 
6525
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6526
  ac_status=$?
 
6527
  grep -v '^ *+' conftest.er1 >conftest.err
 
6528
  rm -f conftest.er1
 
6529
  cat conftest.err >&5
 
6530
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6531
  (exit $ac_status); } >/dev/null && {
 
6532
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6533
         test ! -s conftest.err
 
6534
       }; then
 
6535
  :
 
6536
else
 
6537
  $as_echo "$as_me: failed program was:" >&5
 
6538
sed 's/^/| /' conftest.$ac_ext >&5
 
6539
 
 
6540
  # Broken: fails on valid input.
 
6541
continue
 
6542
fi
 
6543
 
 
6544
rm -f conftest.err conftest.$ac_ext
 
6545
 
 
6546
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6547
  # can be detected and how.
 
6548
  cat >conftest.$ac_ext <<_ACEOF
 
6549
/* confdefs.h.  */
 
6550
_ACEOF
 
6551
cat confdefs.h >>conftest.$ac_ext
 
6552
cat >>conftest.$ac_ext <<_ACEOF
 
6553
/* end confdefs.h.  */
 
6554
#include <ac_nonexistent.h>
 
6555
_ACEOF
 
6556
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6557
case "(($ac_try" in
 
6558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6559
  *) ac_try_echo=$ac_try;;
 
6560
esac
 
6561
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6562
$as_echo "$ac_try_echo") >&5
 
6563
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6564
  ac_status=$?
 
6565
  grep -v '^ *+' conftest.er1 >conftest.err
 
6566
  rm -f conftest.er1
 
6567
  cat conftest.err >&5
 
6568
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6569
  (exit $ac_status); } >/dev/null && {
 
6570
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6571
         test ! -s conftest.err
 
6572
       }; then
 
6573
  # Broken: success on invalid input.
 
6574
continue
 
6575
else
 
6576
  $as_echo "$as_me: failed program was:" >&5
 
6577
sed 's/^/| /' conftest.$ac_ext >&5
 
6578
 
 
6579
  # Passes both tests.
 
6580
ac_preproc_ok=:
 
6581
break
 
6582
fi
 
6583
 
 
6584
rm -f conftest.err conftest.$ac_ext
 
6585
 
 
6586
done
 
6587
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6588
rm -f conftest.err conftest.$ac_ext
 
6589
if $ac_preproc_ok; then
 
6590
  break
 
6591
fi
 
6592
 
 
6593
    done
 
6594
    ac_cv_prog_CPP=$CPP
 
6595
 
 
6596
fi
 
6597
  CPP=$ac_cv_prog_CPP
 
6598
else
 
6599
  ac_cv_prog_CPP=$CPP
 
6600
fi
 
6601
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
6602
$as_echo "$CPP" >&6; }
 
6603
ac_preproc_ok=false
 
6604
for ac_c_preproc_warn_flag in '' yes
 
6605
do
 
6606
  # Use a header file that comes with gcc, so configuring glibc
 
6607
  # with a fresh cross-compiler works.
 
6608
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6609
  # <limits.h> exists even on freestanding compilers.
 
6610
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6611
  # not just through cpp. "Syntax error" is here to catch this case.
 
6612
  cat >conftest.$ac_ext <<_ACEOF
 
6613
/* confdefs.h.  */
 
6614
_ACEOF
 
6615
cat confdefs.h >>conftest.$ac_ext
 
6616
cat >>conftest.$ac_ext <<_ACEOF
 
6617
/* end confdefs.h.  */
 
6618
#ifdef __STDC__
 
6619
# include <limits.h>
 
6620
#else
 
6621
# include <assert.h>
 
6622
#endif
 
6623
                     Syntax error
 
6624
_ACEOF
 
6625
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6626
case "(($ac_try" in
 
6627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6628
  *) ac_try_echo=$ac_try;;
 
6629
esac
 
6630
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6631
$as_echo "$ac_try_echo") >&5
 
6632
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6633
  ac_status=$?
 
6634
  grep -v '^ *+' conftest.er1 >conftest.err
 
6635
  rm -f conftest.er1
 
6636
  cat conftest.err >&5
 
6637
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6638
  (exit $ac_status); } >/dev/null && {
 
6639
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6640
         test ! -s conftest.err
 
6641
       }; then
 
6642
  :
 
6643
else
 
6644
  $as_echo "$as_me: failed program was:" >&5
 
6645
sed 's/^/| /' conftest.$ac_ext >&5
 
6646
 
 
6647
  # Broken: fails on valid input.
 
6648
continue
 
6649
fi
 
6650
 
 
6651
rm -f conftest.err conftest.$ac_ext
 
6652
 
 
6653
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6654
  # can be detected and how.
 
6655
  cat >conftest.$ac_ext <<_ACEOF
 
6656
/* confdefs.h.  */
 
6657
_ACEOF
 
6658
cat confdefs.h >>conftest.$ac_ext
 
6659
cat >>conftest.$ac_ext <<_ACEOF
 
6660
/* end confdefs.h.  */
 
6661
#include <ac_nonexistent.h>
 
6662
_ACEOF
 
6663
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6664
case "(($ac_try" in
 
6665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6666
  *) ac_try_echo=$ac_try;;
 
6667
esac
 
6668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6669
$as_echo "$ac_try_echo") >&5
 
6670
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6671
  ac_status=$?
 
6672
  grep -v '^ *+' conftest.er1 >conftest.err
 
6673
  rm -f conftest.er1
 
6674
  cat conftest.err >&5
 
6675
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6676
  (exit $ac_status); } >/dev/null && {
 
6677
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6678
         test ! -s conftest.err
 
6679
       }; then
 
6680
  # Broken: success on invalid input.
 
6681
continue
 
6682
else
 
6683
  $as_echo "$as_me: failed program was:" >&5
 
6684
sed 's/^/| /' conftest.$ac_ext >&5
 
6685
 
 
6686
  # Passes both tests.
 
6687
ac_preproc_ok=:
 
6688
break
 
6689
fi
 
6690
 
 
6691
rm -f conftest.err conftest.$ac_ext
 
6692
 
 
6693
done
 
6694
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6695
rm -f conftest.err conftest.$ac_ext
 
6696
if $ac_preproc_ok; then
 
6697
  :
 
6698
else
 
6699
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6700
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6701
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
6702
See \`config.log' for more details." >&5
 
6703
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
6704
See \`config.log' for more details." >&2;}
 
6705
   { (exit 1); exit 1; }; }; }
 
6706
fi
 
6707
 
 
6708
ac_ext=c
 
6709
ac_cpp='$CPP $CPPFLAGS'
 
6710
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6711
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6712
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6713
 
 
6714
 
 
6715
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6716
$as_echo_n "checking for ANSI C header files... " >&6; }
 
6717
if test "${ac_cv_header_stdc+set}" = set; then
 
6718
  $as_echo_n "(cached) " >&6
 
6719
else
 
6720
  cat >conftest.$ac_ext <<_ACEOF
 
6721
/* confdefs.h.  */
 
6722
_ACEOF
 
6723
cat confdefs.h >>conftest.$ac_ext
 
6724
cat >>conftest.$ac_ext <<_ACEOF
 
6725
/* end confdefs.h.  */
 
6726
#include <stdlib.h>
 
6727
#include <stdarg.h>
 
6728
#include <string.h>
 
6729
#include <float.h>
 
6730
 
 
6731
int
 
6732
main ()
 
6733
{
 
6734
 
 
6735
  ;
 
6736
  return 0;
 
6737
}
 
6738
_ACEOF
 
6739
rm -f conftest.$ac_objext
 
6740
if { (ac_try="$ac_compile"
 
6741
case "(($ac_try" in
 
6742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6743
  *) ac_try_echo=$ac_try;;
 
6744
esac
 
6745
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6746
$as_echo "$ac_try_echo") >&5
 
6747
  (eval "$ac_compile") 2>conftest.er1
 
6748
  ac_status=$?
 
6749
  grep -v '^ *+' conftest.er1 >conftest.err
 
6750
  rm -f conftest.er1
 
6751
  cat conftest.err >&5
 
6752
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6753
  (exit $ac_status); } && {
 
6754
         test -z "$ac_c_werror_flag" ||
 
6755
         test ! -s conftest.err
 
6756
       } && test -s conftest.$ac_objext; then
 
6757
  ac_cv_header_stdc=yes
 
6758
else
 
6759
  $as_echo "$as_me: failed program was:" >&5
 
6760
sed 's/^/| /' conftest.$ac_ext >&5
 
6761
 
 
6762
        ac_cv_header_stdc=no
 
6763
fi
 
6764
 
 
6765
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6766
 
 
6767
if test $ac_cv_header_stdc = yes; then
 
6768
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6769
  cat >conftest.$ac_ext <<_ACEOF
 
6770
/* confdefs.h.  */
 
6771
_ACEOF
 
6772
cat confdefs.h >>conftest.$ac_ext
 
6773
cat >>conftest.$ac_ext <<_ACEOF
 
6774
/* end confdefs.h.  */
 
6775
#include <string.h>
 
6776
 
 
6777
_ACEOF
 
6778
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6779
  $EGREP "memchr" >/dev/null 2>&1; then
 
6780
  :
 
6781
else
 
6782
  ac_cv_header_stdc=no
 
6783
fi
 
6784
rm -f conftest*
 
6785
 
 
6786
fi
 
6787
 
 
6788
if test $ac_cv_header_stdc = yes; then
 
6789
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6790
  cat >conftest.$ac_ext <<_ACEOF
 
6791
/* confdefs.h.  */
 
6792
_ACEOF
 
6793
cat confdefs.h >>conftest.$ac_ext
 
6794
cat >>conftest.$ac_ext <<_ACEOF
 
6795
/* end confdefs.h.  */
 
6796
#include <stdlib.h>
 
6797
 
 
6798
_ACEOF
 
6799
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6800
  $EGREP "free" >/dev/null 2>&1; then
 
6801
  :
 
6802
else
 
6803
  ac_cv_header_stdc=no
 
6804
fi
 
6805
rm -f conftest*
 
6806
 
 
6807
fi
 
6808
 
 
6809
if test $ac_cv_header_stdc = yes; then
 
6810
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6811
  if test "$cross_compiling" = yes; then
 
6812
  :
 
6813
else
 
6814
  cat >conftest.$ac_ext <<_ACEOF
 
6815
/* confdefs.h.  */
 
6816
_ACEOF
 
6817
cat confdefs.h >>conftest.$ac_ext
 
6818
cat >>conftest.$ac_ext <<_ACEOF
 
6819
/* end confdefs.h.  */
 
6820
#include <ctype.h>
 
6821
#include <stdlib.h>
 
6822
#if ((' ' & 0x0FF) == 0x020)
 
6823
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6824
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6825
#else
 
6826
# define ISLOWER(c) \
 
6827
                   (('a' <= (c) && (c) <= 'i') \
 
6828
                     || ('j' <= (c) && (c) <= 'r') \
 
6829
                     || ('s' <= (c) && (c) <= 'z'))
 
6830
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6831
#endif
 
6832
 
 
6833
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6834
int
 
6835
main ()
 
6836
{
 
6837
  int i;
 
6838
  for (i = 0; i < 256; i++)
 
6839
    if (XOR (islower (i), ISLOWER (i))
 
6840
        || toupper (i) != TOUPPER (i))
 
6841
      return 2;
 
6842
  return 0;
 
6843
}
 
6844
_ACEOF
 
6845
rm -f conftest$ac_exeext
 
6846
if { (ac_try="$ac_link"
 
6847
case "(($ac_try" in
 
6848
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6849
  *) ac_try_echo=$ac_try;;
 
6850
esac
 
6851
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6852
$as_echo "$ac_try_echo") >&5
 
6853
  (eval "$ac_link") 2>&5
 
6854
  ac_status=$?
 
6855
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6856
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
6857
  { (case "(($ac_try" in
 
6858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6859
  *) ac_try_echo=$ac_try;;
 
6860
esac
 
6861
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6862
$as_echo "$ac_try_echo") >&5
 
6863
  (eval "$ac_try") 2>&5
 
6864
  ac_status=$?
 
6865
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6866
  (exit $ac_status); }; }; then
 
6867
  :
 
6868
else
 
6869
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6870
$as_echo "$as_me: failed program was:" >&5
 
6871
sed 's/^/| /' conftest.$ac_ext >&5
 
6872
 
 
6873
( exit $ac_status )
 
6874
ac_cv_header_stdc=no
 
6875
fi
 
6876
rm -rf conftest.dSYM
 
6877
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6878
fi
 
6879
 
 
6880
 
 
6881
fi
 
6882
fi
 
6883
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6884
$as_echo "$ac_cv_header_stdc" >&6; }
 
6885
if test $ac_cv_header_stdc = yes; then
 
6886
 
 
6887
cat >>confdefs.h <<\_ACEOF
 
6888
#define STDC_HEADERS 1
 
6889
_ACEOF
 
6890
 
 
6891
fi
 
6892
 
 
6893
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
6894
 
 
6895
 
 
6896
 
 
6897
 
 
6898
 
 
6899
 
 
6900
 
 
6901
 
 
6902
 
 
6903
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
6904
                  inttypes.h stdint.h unistd.h
 
6905
do
 
6906
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6907
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6908
$as_echo_n "checking for $ac_header... " >&6; }
 
6909
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6910
  $as_echo_n "(cached) " >&6
 
6911
else
 
6912
  cat >conftest.$ac_ext <<_ACEOF
 
6913
/* confdefs.h.  */
 
6914
_ACEOF
 
6915
cat confdefs.h >>conftest.$ac_ext
 
6916
cat >>conftest.$ac_ext <<_ACEOF
 
6917
/* end confdefs.h.  */
 
6918
$ac_includes_default
 
6919
 
 
6920
#include <$ac_header>
 
6921
_ACEOF
 
6922
rm -f conftest.$ac_objext
 
6923
if { (ac_try="$ac_compile"
 
6924
case "(($ac_try" in
 
6925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6926
  *) ac_try_echo=$ac_try;;
 
6927
esac
 
6928
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6929
$as_echo "$ac_try_echo") >&5
 
6930
  (eval "$ac_compile") 2>conftest.er1
 
6931
  ac_status=$?
 
6932
  grep -v '^ *+' conftest.er1 >conftest.err
 
6933
  rm -f conftest.er1
 
6934
  cat conftest.err >&5
 
6935
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6936
  (exit $ac_status); } && {
 
6937
         test -z "$ac_c_werror_flag" ||
 
6938
         test ! -s conftest.err
 
6939
       } && test -s conftest.$ac_objext; then
 
6940
  eval "$as_ac_Header=yes"
 
6941
else
 
6942
  $as_echo "$as_me: failed program was:" >&5
 
6943
sed 's/^/| /' conftest.$ac_ext >&5
 
6944
 
 
6945
        eval "$as_ac_Header=no"
 
6946
fi
 
6947
 
 
6948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6949
fi
 
6950
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6951
                 $as_echo "$as_val"'`
 
6952
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6953
$as_echo "$ac_res" >&6; }
 
6954
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6955
                 $as_echo "$as_val"'`
 
6956
   if test "x$as_val" = x""yes; then
 
6957
  cat >>confdefs.h <<_ACEOF
 
6958
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6959
_ACEOF
 
6960
 
 
6961
fi
 
6962
 
 
6963
done
 
6964
 
 
6965
 
 
6966
 
 
6967
for ac_header in dlfcn.h
 
6968
do
 
6969
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6970
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6971
$as_echo_n "checking for $ac_header... " >&6; }
 
6972
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6973
  $as_echo_n "(cached) " >&6
 
6974
else
 
6975
  cat >conftest.$ac_ext <<_ACEOF
 
6976
/* confdefs.h.  */
 
6977
_ACEOF
 
6978
cat confdefs.h >>conftest.$ac_ext
 
6979
cat >>conftest.$ac_ext <<_ACEOF
 
6980
/* end confdefs.h.  */
 
6981
$ac_includes_default
 
6982
 
 
6983
#include <$ac_header>
 
6984
_ACEOF
 
6985
rm -f conftest.$ac_objext
 
6986
if { (ac_try="$ac_compile"
 
6987
case "(($ac_try" in
 
6988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6989
  *) ac_try_echo=$ac_try;;
 
6990
esac
 
6991
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6992
$as_echo "$ac_try_echo") >&5
 
6993
  (eval "$ac_compile") 2>conftest.er1
 
6994
  ac_status=$?
 
6995
  grep -v '^ *+' conftest.er1 >conftest.err
 
6996
  rm -f conftest.er1
 
6997
  cat conftest.err >&5
 
6998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6999
  (exit $ac_status); } && {
 
7000
         test -z "$ac_c_werror_flag" ||
 
7001
         test ! -s conftest.err
 
7002
       } && test -s conftest.$ac_objext; then
 
7003
  eval "$as_ac_Header=yes"
 
7004
else
 
7005
  $as_echo "$as_me: failed program was:" >&5
 
7006
sed 's/^/| /' conftest.$ac_ext >&5
 
7007
 
 
7008
        eval "$as_ac_Header=no"
 
7009
fi
 
7010
 
 
7011
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7012
fi
 
7013
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7014
                 $as_echo "$as_val"'`
 
7015
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7016
$as_echo "$ac_res" >&6; }
 
7017
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7018
                 $as_echo "$as_val"'`
 
7019
   if test "x$as_val" = x""yes; then
 
7020
  cat >>confdefs.h <<_ACEOF
 
7021
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7022
_ACEOF
 
7023
 
 
7024
fi
 
7025
 
 
7026
done
 
7027
 
 
7028
 
 
7029
 
 
7030
# Set options
 
7031
 
 
7032
 
 
7033
 
 
7034
        enable_dlopen=no
 
7035
 
 
7036
 
 
7037
  enable_win32_dll=no
 
7038
 
 
7039
 
 
7040
            # Check whether --enable-shared was given.
 
7041
if test "${enable_shared+set}" = set; then
 
7042
  enableval=$enable_shared; p=${PACKAGE-default}
 
7043
    case $enableval in
 
7044
    yes) enable_shared=yes ;;
 
7045
    no) enable_shared=no ;;
 
7046
    *)
 
7047
      enable_shared=no
 
7048
      # Look at the argument we got.  We use all the common list separators.
 
7049
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7050
      for pkg in $enableval; do
 
7051
        IFS="$lt_save_ifs"
 
7052
        if test "X$pkg" = "X$p"; then
 
7053
          enable_shared=yes
 
7054
        fi
 
7055
      done
 
7056
      IFS="$lt_save_ifs"
 
7057
      ;;
 
7058
    esac
 
7059
else
 
7060
  enable_shared=yes
 
7061
fi
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
 
 
7067
 
 
7068
 
 
7069
 
 
7070
 
 
7071
  # Check whether --enable-static was given.
 
7072
if test "${enable_static+set}" = set; then
 
7073
  enableval=$enable_static; p=${PACKAGE-default}
 
7074
    case $enableval in
 
7075
    yes) enable_static=yes ;;
 
7076
    no) enable_static=no ;;
 
7077
    *)
 
7078
     enable_static=no
 
7079
      # Look at the argument we got.  We use all the common list separators.
 
7080
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7081
      for pkg in $enableval; do
 
7082
        IFS="$lt_save_ifs"
 
7083
        if test "X$pkg" = "X$p"; then
 
7084
          enable_static=yes
 
7085
        fi
 
7086
      done
 
7087
      IFS="$lt_save_ifs"
 
7088
      ;;
 
7089
    esac
 
7090
else
 
7091
  enable_static=yes
 
7092
fi
 
7093
 
 
7094
 
 
7095
 
 
7096
 
 
7097
 
 
7098
 
 
7099
 
 
7100
 
 
7101
 
 
7102
 
 
7103
# Check whether --with-pic was given.
 
7104
if test "${with_pic+set}" = set; then
 
7105
  withval=$with_pic; pic_mode="$withval"
 
7106
else
 
7107
  pic_mode=default
 
7108
fi
 
7109
 
 
7110
 
 
7111
test -z "$pic_mode" && pic_mode=default
 
7112
 
 
7113
 
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
  # Check whether --enable-fast-install was given.
 
7120
if test "${enable_fast_install+set}" = set; then
 
7121
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7122
    case $enableval in
 
7123
    yes) enable_fast_install=yes ;;
 
7124
    no) enable_fast_install=no ;;
 
7125
    *)
 
7126
      enable_fast_install=no
 
7127
      # Look at the argument we got.  We use all the common list separators.
 
7128
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7129
      for pkg in $enableval; do
 
7130
        IFS="$lt_save_ifs"
 
7131
        if test "X$pkg" = "X$p"; then
 
7132
          enable_fast_install=yes
 
7133
        fi
 
7134
      done
 
7135
      IFS="$lt_save_ifs"
 
7136
      ;;
 
7137
    esac
 
7138
else
 
7139
  enable_fast_install=yes
 
7140
fi
 
7141
 
 
7142
 
 
7143
 
 
7144
 
 
7145
 
 
7146
 
 
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
 
 
7152
# This can be used to rebuild libtool when needed
 
7153
LIBTOOL_DEPS="$ltmain"
 
7154
 
 
7155
# Always use our own libtool.
 
7156
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7157
 
 
7158
 
 
7159
 
 
7160
 
 
7161
 
 
7162
 
 
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
test -z "$LN_S" && LN_S="ln -s"
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
 
7192
 
 
7193
 
 
7194
 
 
7195
 
 
7196
 
 
7197
if test -n "${ZSH_VERSION+set}" ; then
 
7198
   setopt NO_GLOB_SUBST
 
7199
fi
 
7200
 
 
7201
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7202
$as_echo_n "checking for objdir... " >&6; }
6489
7203
if test "${lt_cv_objdir+set}" = set; then
6490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7204
  $as_echo_n "(cached) " >&6
6491
7205
else
6492
7206
  rm -f .libs 2>/dev/null
6493
7207
mkdir .libs 2>/dev/null
6499
7213
fi
6500
7214
rmdir .libs 2>/dev/null
6501
7215
fi
6502
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6503
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
7216
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7217
$as_echo "$lt_cv_objdir" >&6; }
6504
7218
objdir=$lt_cv_objdir
6505
7219
 
6506
7220
 
6507
7221
 
6508
7222
 
6509
7223
 
 
7224
cat >>confdefs.h <<_ACEOF
 
7225
#define LT_OBJDIR "$lt_cv_objdir/"
 
7226
_ACEOF
 
7227
 
 
7228
 
 
7229
 
 
7230
 
 
7231
 
 
7232
 
 
7233
 
 
7234
 
 
7235
 
 
7236
 
 
7237
 
 
7238
 
 
7239
 
 
7240
 
 
7241
 
 
7242
 
 
7243
 
6510
7244
case $host_os in
6511
7245
aix3*)
6512
7246
  # AIX sometimes has problems with the GCC collect2 program.  For some
6521
7255
 
6522
7256
# Sed substitution that helps us do robust quoting.  It backslashifies
6523
7257
# metacharacters that are still active within double-quoted strings.
6524
 
Xsed='sed -e 1s/^X//'
6525
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
7258
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6526
7259
 
6527
7260
# Same as above, but do not quote variable references.
6528
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
7261
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6529
7262
 
6530
7263
# Sed substitution to delay expansion of an escaped shell variable in a
6531
7264
# double_quote_subst'ed string.
6532
7265
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6533
7266
 
 
7267
# Sed substitution to delay expansion of an escaped single quote.
 
7268
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7269
 
6534
7270
# Sed substitution to avoid accidental globbing in evaled expressions
6535
7271
no_glob_subst='s/\*/\\\*/g'
6536
7272
 
6537
 
# Constants:
6538
 
rm="rm -f"
6539
 
 
6540
7273
# Global variables:
6541
 
default_ofile=libtool
 
7274
ofile=libtool
6542
7275
can_build_shared=yes
6543
7276
 
6544
7277
# All known linkers require a `.a' archive for static linking (except MSVC,
6545
7278
# which needs '.lib').
6546
7279
libext=a
6547
 
ltmain="$ac_aux_dir/ltmain.sh"
6548
 
ofile="$default_ofile"
 
7280
 
6549
7281
with_gnu_ld="$lt_cv_prog_gnu_ld"
6550
7282
 
6551
 
if test -n "$ac_tool_prefix"; then
6552
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6553
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6554
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6555
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6556
 
if test "${ac_cv_prog_AR+set}" = set; then
6557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6558
 
else
6559
 
  if test -n "$AR"; then
6560
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6561
 
else
6562
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563
 
for as_dir in $PATH
6564
 
do
6565
 
  IFS=$as_save_IFS
6566
 
  test -z "$as_dir" && as_dir=.
6567
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6568
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6570
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6571
 
    break 2
6572
 
  fi
6573
 
done
6574
 
done
6575
 
IFS=$as_save_IFS
6576
 
 
6577
 
fi
6578
 
fi
6579
 
AR=$ac_cv_prog_AR
6580
 
if test -n "$AR"; then
6581
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6582
 
echo "${ECHO_T}$AR" >&6; }
6583
 
else
6584
 
  { echo "$as_me:$LINENO: result: no" >&5
6585
 
echo "${ECHO_T}no" >&6; }
6586
 
fi
6587
 
 
6588
 
 
6589
 
fi
6590
 
if test -z "$ac_cv_prog_AR"; then
6591
 
  ac_ct_AR=$AR
6592
 
  # Extract the first word of "ar", so it can be a program name with args.
6593
 
set dummy ar; ac_word=$2
6594
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6595
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6596
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6598
 
else
6599
 
  if test -n "$ac_ct_AR"; then
6600
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6601
 
else
6602
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603
 
for as_dir in $PATH
6604
 
do
6605
 
  IFS=$as_save_IFS
6606
 
  test -z "$as_dir" && as_dir=.
6607
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6608
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6609
 
    ac_cv_prog_ac_ct_AR="ar"
6610
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6611
 
    break 2
6612
 
  fi
6613
 
done
6614
 
done
6615
 
IFS=$as_save_IFS
6616
 
 
6617
 
fi
6618
 
fi
6619
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6620
 
if test -n "$ac_ct_AR"; then
6621
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6622
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6623
 
else
6624
 
  { echo "$as_me:$LINENO: result: no" >&5
6625
 
echo "${ECHO_T}no" >&6; }
6626
 
fi
6627
 
 
6628
 
  if test "x$ac_ct_AR" = x; then
6629
 
    AR="false"
6630
 
  else
6631
 
    case $cross_compiling:$ac_tool_warned in
6632
 
yes:)
6633
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6634
 
whose name does not start with the host triplet.  If you think this
6635
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6636
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6637
 
whose name does not start with the host triplet.  If you think this
6638
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6639
 
ac_tool_warned=yes ;;
6640
 
esac
6641
 
    AR=$ac_ct_AR
6642
 
  fi
6643
 
else
6644
 
  AR="$ac_cv_prog_AR"
6645
 
fi
6646
 
 
6647
 
if test -n "$ac_tool_prefix"; then
6648
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6649
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6650
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6651
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6652
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6654
 
else
6655
 
  if test -n "$RANLIB"; then
6656
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6657
 
else
6658
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659
 
for as_dir in $PATH
6660
 
do
6661
 
  IFS=$as_save_IFS
6662
 
  test -z "$as_dir" && as_dir=.
6663
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6664
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6666
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6667
 
    break 2
6668
 
  fi
6669
 
done
6670
 
done
6671
 
IFS=$as_save_IFS
6672
 
 
6673
 
fi
6674
 
fi
6675
 
RANLIB=$ac_cv_prog_RANLIB
6676
 
if test -n "$RANLIB"; then
6677
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6678
 
echo "${ECHO_T}$RANLIB" >&6; }
6679
 
else
6680
 
  { echo "$as_me:$LINENO: result: no" >&5
6681
 
echo "${ECHO_T}no" >&6; }
6682
 
fi
6683
 
 
6684
 
 
6685
 
fi
6686
 
if test -z "$ac_cv_prog_RANLIB"; then
6687
 
  ac_ct_RANLIB=$RANLIB
6688
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6689
 
set dummy ranlib; ac_word=$2
6690
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6691
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6692
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6694
 
else
6695
 
  if test -n "$ac_ct_RANLIB"; then
6696
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6697
 
else
6698
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699
 
for as_dir in $PATH
6700
 
do
6701
 
  IFS=$as_save_IFS
6702
 
  test -z "$as_dir" && as_dir=.
6703
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6704
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6706
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6707
 
    break 2
6708
 
  fi
6709
 
done
6710
 
done
6711
 
IFS=$as_save_IFS
6712
 
 
6713
 
fi
6714
 
fi
6715
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6716
 
if test -n "$ac_ct_RANLIB"; then
6717
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6718
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6719
 
else
6720
 
  { echo "$as_me:$LINENO: result: no" >&5
6721
 
echo "${ECHO_T}no" >&6; }
6722
 
fi
6723
 
 
6724
 
  if test "x$ac_ct_RANLIB" = x; then
6725
 
    RANLIB=":"
6726
 
  else
6727
 
    case $cross_compiling:$ac_tool_warned in
6728
 
yes:)
6729
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6730
 
whose name does not start with the host triplet.  If you think this
6731
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6732
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6733
 
whose name does not start with the host triplet.  If you think this
6734
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6735
 
ac_tool_warned=yes ;;
6736
 
esac
6737
 
    RANLIB=$ac_ct_RANLIB
6738
 
  fi
6739
 
else
6740
 
  RANLIB="$ac_cv_prog_RANLIB"
6741
 
fi
6742
 
 
6743
 
if test -n "$ac_tool_prefix"; then
6744
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6745
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6746
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6748
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6750
 
else
6751
 
  if test -n "$STRIP"; then
6752
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6753
 
else
6754
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755
 
for as_dir in $PATH
6756
 
do
6757
 
  IFS=$as_save_IFS
6758
 
  test -z "$as_dir" && as_dir=.
6759
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6760
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6762
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6763
 
    break 2
6764
 
  fi
6765
 
done
6766
 
done
6767
 
IFS=$as_save_IFS
6768
 
 
6769
 
fi
6770
 
fi
6771
 
STRIP=$ac_cv_prog_STRIP
6772
 
if test -n "$STRIP"; then
6773
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6774
 
echo "${ECHO_T}$STRIP" >&6; }
6775
 
else
6776
 
  { echo "$as_me:$LINENO: result: no" >&5
6777
 
echo "${ECHO_T}no" >&6; }
6778
 
fi
6779
 
 
6780
 
 
6781
 
fi
6782
 
if test -z "$ac_cv_prog_STRIP"; then
6783
 
  ac_ct_STRIP=$STRIP
6784
 
  # Extract the first word of "strip", so it can be a program name with args.
6785
 
set dummy strip; ac_word=$2
6786
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6787
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6788
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6790
 
else
6791
 
  if test -n "$ac_ct_STRIP"; then
6792
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6793
 
else
6794
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795
 
for as_dir in $PATH
6796
 
do
6797
 
  IFS=$as_save_IFS
6798
 
  test -z "$as_dir" && as_dir=.
6799
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6800
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6801
 
    ac_cv_prog_ac_ct_STRIP="strip"
6802
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6803
 
    break 2
6804
 
  fi
6805
 
done
6806
 
done
6807
 
IFS=$as_save_IFS
6808
 
 
6809
 
fi
6810
 
fi
6811
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6812
 
if test -n "$ac_ct_STRIP"; then
6813
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6814
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6815
 
else
6816
 
  { echo "$as_me:$LINENO: result: no" >&5
6817
 
echo "${ECHO_T}no" >&6; }
6818
 
fi
6819
 
 
6820
 
  if test "x$ac_ct_STRIP" = x; then
6821
 
    STRIP=":"
6822
 
  else
6823
 
    case $cross_compiling:$ac_tool_warned in
6824
 
yes:)
6825
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6826
 
whose name does not start with the host triplet.  If you think this
6827
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6828
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6829
 
whose name does not start with the host triplet.  If you think this
6830
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6831
 
ac_tool_warned=yes ;;
6832
 
esac
6833
 
    STRIP=$ac_ct_STRIP
6834
 
  fi
6835
 
else
6836
 
  STRIP="$ac_cv_prog_STRIP"
6837
 
fi
6838
 
 
6839
 
 
6840
7283
old_CC="$CC"
6841
7284
old_CFLAGS="$CFLAGS"
6842
7285
 
6843
7286
# Set sane defaults for various variables
6844
 
test -z "$AR" && AR=ar
6845
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6846
 
test -z "$AS" && AS=as
6847
7287
test -z "$CC" && CC=cc
6848
7288
test -z "$LTCC" && LTCC=$CC
6849
7289
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6850
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6851
7290
test -z "$LD" && LD=ld
6852
 
test -z "$LN_S" && LN_S="ln -s"
6853
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6854
 
test -z "$NM" && NM=nm
6855
 
test -z "$SED" && SED=sed
6856
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6857
 
test -z "$RANLIB" && RANLIB=:
6858
 
test -z "$STRIP" && STRIP=:
6859
7291
test -z "$ac_objext" && ac_objext=o
6860
7292
 
6861
 
# Determine commands to create old-style static archives.
6862
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6863
 
old_postinstall_cmds='chmod 644 $oldlib'
6864
 
old_postuninstall_cmds=
6865
 
 
6866
 
if test -n "$RANLIB"; then
6867
 
  case $host_os in
6868
 
  openbsd*)
6869
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6870
 
    ;;
6871
 
  *)
6872
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6873
 
    ;;
6874
 
  esac
6875
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6876
 
fi
6877
 
 
6878
7293
for cc_temp in $compiler""; do
6879
7294
  case $cc_temp in
6880
7295
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6883
7298
    *) break;;
6884
7299
  esac
6885
7300
done
6886
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7301
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6887
7302
 
6888
7303
 
6889
7304
# Only perform the check for file, if the check method requires it
 
7305
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6890
7306
case $deplibs_check_method in
6891
7307
file_magic*)
6892
7308
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6893
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6894
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
7309
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7310
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6895
7311
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6896
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7312
  $as_echo_n "(cached) " >&6
6897
7313
else
6898
7314
  case $MAGIC_CMD in
6899
7315
[\\/*] |  ?:[\\/]*)
6917
7333
            $EGREP "$file_magic_regex" > /dev/null; then
6918
7334
            :
6919
7335
          else
6920
 
            cat <<EOF 1>&2
 
7336
            cat <<_LT_EOF 1>&2
6921
7337
 
6922
7338
*** Warning: the command libtool uses to detect shared libraries,
6923
7339
*** $file_magic_cmd, produces output that libtool cannot recognize.
6928
7344
*** may want to report the problem to your system manager and/or to
6929
7345
*** bug-libtool@gnu.org
6930
7346
 
6931
 
EOF
 
7347
_LT_EOF
6932
7348
          fi ;;
6933
7349
        esac
6934
7350
      fi
6943
7359
 
6944
7360
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6945
7361
if test -n "$MAGIC_CMD"; then
6946
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6947
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7362
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7363
$as_echo "$MAGIC_CMD" >&6; }
6948
7364
else
6949
 
  { echo "$as_me:$LINENO: result: no" >&5
6950
 
echo "${ECHO_T}no" >&6; }
 
7365
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7366
$as_echo "no" >&6; }
6951
7367
fi
6952
7368
 
 
7369
 
 
7370
 
 
7371
 
 
7372
 
6953
7373
if test -z "$lt_cv_path_MAGIC_CMD"; then
6954
7374
  if test -n "$ac_tool_prefix"; then
6955
 
    { echo "$as_me:$LINENO: checking for file" >&5
6956
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
7375
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7376
$as_echo_n "checking for file... " >&6; }
6957
7377
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7378
  $as_echo_n "(cached) " >&6
6959
7379
else
6960
7380
  case $MAGIC_CMD in
6961
7381
[\\/*] |  ?:[\\/]*)
6979
7399
            $EGREP "$file_magic_regex" > /dev/null; then
6980
7400
            :
6981
7401
          else
6982
 
            cat <<EOF 1>&2
 
7402
            cat <<_LT_EOF 1>&2
6983
7403
 
6984
7404
*** Warning: the command libtool uses to detect shared libraries,
6985
7405
*** $file_magic_cmd, produces output that libtool cannot recognize.
6990
7410
*** may want to report the problem to your system manager and/or to
6991
7411
*** bug-libtool@gnu.org
6992
7412
 
6993
 
EOF
 
7413
_LT_EOF
6994
7414
          fi ;;
6995
7415
        esac
6996
7416
      fi
7005
7425
 
7006
7426
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7007
7427
if test -n "$MAGIC_CMD"; then
7008
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7009
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7428
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7429
$as_echo "$MAGIC_CMD" >&6; }
7010
7430
else
7011
 
  { echo "$as_me:$LINENO: result: no" >&5
7012
 
echo "${ECHO_T}no" >&6; }
 
7431
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7432
$as_echo "no" >&6; }
7013
7433
fi
7014
7434
 
 
7435
 
7015
7436
  else
7016
7437
    MAGIC_CMD=:
7017
7438
  fi
7021
7442
  ;;
7022
7443
esac
7023
7444
 
7024
 
enable_dlopen=no
7025
 
enable_win32_dll=no
7026
 
 
7027
 
# Check whether --enable-libtool-lock was given.
7028
 
if test "${enable_libtool_lock+set}" = set; then
7029
 
  enableval=$enable_libtool_lock;
7030
 
fi
7031
 
 
7032
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7033
 
 
7034
 
 
7035
 
# Check whether --with-pic was given.
7036
 
if test "${with_pic+set}" = set; then
7037
 
  withval=$with_pic; pic_mode="$withval"
7038
 
else
7039
 
  pic_mode=default
7040
 
fi
7041
 
 
7042
 
test -z "$pic_mode" && pic_mode=default
7043
 
 
7044
7445
# Use C for the default configuration in the libtool script
7045
 
tagname=
 
7446
 
7046
7447
lt_save_CC="$CC"
7047
7448
ac_ext=c
7048
7449
ac_cpp='$CPP $CPPFLAGS'
7059
7460
objext=$objext
7060
7461
 
7061
7462
# Code to be used in simple compile tests
7062
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7463
lt_simple_compile_test_code="int some_variable = 0;"
7063
7464
 
7064
7465
# Code to be used in simple link tests
7065
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7466
lt_simple_link_test_code='int main(){return(0);}'
 
7467
 
 
7468
 
 
7469
 
 
7470
 
 
7471
 
7066
7472
 
7067
7473
 
7068
7474
# If no C compiler was specified, use CC.
7074
7480
# Allow CC to be a program name with arguments.
7075
7481
compiler=$CC
7076
7482
 
 
7483
# Save the default compiler, since it gets overwritten when the other
 
7484
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7485
compiler_DEFAULT=$CC
7077
7486
 
7078
7487
# save warnings/boilerplate of simple test code
7079
7488
ac_outfile=conftest.$ac_objext
7080
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7489
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7081
7490
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7082
7491
_lt_compiler_boilerplate=`cat conftest.err`
7083
 
$rm conftest*
 
7492
$RM conftest*
7084
7493
 
7085
7494
ac_outfile=conftest.$ac_objext
7086
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7495
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7087
7496
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7088
7497
_lt_linker_boilerplate=`cat conftest.err`
7089
 
$rm conftest*
7090
 
 
7091
 
 
 
7498
$RM -r conftest*
 
7499
 
 
7500
 
 
7501
if test -n "$compiler"; then
7092
7502
 
7093
7503
lt_prog_compiler_no_builtin_flag=
7094
7504
 
7095
7505
if test "$GCC" = yes; then
7096
7506
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7097
7507
 
7098
 
 
7099
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7100
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
7508
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7509
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7101
7510
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7102
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7511
  $as_echo_n "(cached) " >&6
7103
7512
else
7104
7513
  lt_cv_prog_compiler_rtti_exceptions=no
7105
 
  ac_outfile=conftest.$ac_objext
7106
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7514
   ac_outfile=conftest.$ac_objext
 
7515
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7107
7516
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7108
7517
   # Insert the option either (1) after the last *FLAGS variable, or
7109
7518
   # (2) before a word containing "conftest.", or (3) at the end.
7114
7523
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7115
7524
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7116
7525
   -e 's:$: $lt_compiler_flag:'`
7117
 
   (eval echo "\"\$as_me:7117: $lt_compile\"" >&5)
 
7526
   (eval echo "\"\$as_me:7526: $lt_compile\"" >&5)
7118
7527
   (eval "$lt_compile" 2>conftest.err)
7119
7528
   ac_status=$?
7120
7529
   cat conftest.err >&5
7121
 
   echo "$as_me:7121: \$? = $ac_status" >&5
 
7530
   echo "$as_me:7530: \$? = $ac_status" >&5
7122
7531
   if (exit $ac_status) && test -s "$ac_outfile"; then
7123
7532
     # The compiler can only warn and ignore the option if not recognized
7124
7533
     # So say no if there are warnings other than the usual output.
7125
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7534
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7126
7535
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7127
7536
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7128
7537
       lt_cv_prog_compiler_rtti_exceptions=yes
7129
7538
     fi
7130
7539
   fi
7131
 
   $rm conftest*
 
7540
   $RM conftest*
7132
7541
 
7133
7542
fi
7134
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7135
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7543
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7544
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7136
7545
 
7137
7546
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7138
7547
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7142
7551
 
7143
7552
fi
7144
7553
 
7145
 
lt_prog_compiler_wl=
 
7554
 
 
7555
 
 
7556
 
 
7557
 
 
7558
 
 
7559
  lt_prog_compiler_wl=
7146
7560
lt_prog_compiler_pic=
7147
7561
lt_prog_compiler_static=
7148
7562
 
7149
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7150
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
7563
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7564
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7151
7565
 
7152
7566
  if test "$GCC" = yes; then
7153
7567
    lt_prog_compiler_wl='-Wl,'
7163
7577
      ;;
7164
7578
 
7165
7579
    amigaos*)
7166
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7167
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7168
 
      # like `-m68040'.
7169
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7580
      case $host_cpu in
 
7581
      powerpc)
 
7582
            # see comment about AmigaOS4 .so support
 
7583
            lt_prog_compiler_pic='-fPIC'
 
7584
        ;;
 
7585
      m68k)
 
7586
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7587
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7588
            # like `-m68040'.
 
7589
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7590
        ;;
 
7591
      esac
7170
7592
      ;;
7171
7593
 
7172
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7594
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7173
7595
      # PIC is the default for these OSes.
7174
7596
      ;;
7175
7597
 
7176
 
    mingw* | pw32* | os2*)
 
7598
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7177
7599
      # This hack is so that the source file can tell whether it is being
7178
7600
      # built for inclusion in a dll (and should export symbols for example).
 
7601
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7602
      # (--disable-auto-import) libraries
7179
7603
      lt_prog_compiler_pic='-DDLL_EXPORT'
7180
7604
      ;;
7181
7605
 
7185
7609
      lt_prog_compiler_pic='-fno-common'
7186
7610
      ;;
7187
7611
 
7188
 
    interix3*)
 
7612
    hpux*)
 
7613
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7614
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7615
      # sets the default TLS model and affects inlining.
 
7616
      case $host_cpu in
 
7617
      hppa*64*)
 
7618
        # +Z the default
 
7619
        ;;
 
7620
      *)
 
7621
        lt_prog_compiler_pic='-fPIC'
 
7622
        ;;
 
7623
      esac
 
7624
      ;;
 
7625
 
 
7626
    interix[3-9]*)
7189
7627
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7190
7628
      # Instead, we relocate shared libraries at runtime.
7191
7629
      ;;
7197
7635
      enable_shared=no
7198
7636
      ;;
7199
7637
 
 
7638
    *nto* | *qnx*)
 
7639
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7640
      # it will coredump.
 
7641
      lt_prog_compiler_pic='-fPIC -shared'
 
7642
      ;;
 
7643
 
7200
7644
    sysv4*MP*)
7201
7645
      if test -d /usr/nec; then
7202
7646
        lt_prog_compiler_pic=-Kconform_pic
7203
7647
      fi
7204
7648
      ;;
7205
7649
 
7206
 
    hpux*)
7207
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7208
 
      # not for PA HP-UX.
7209
 
      case $host_cpu in
7210
 
      hppa*64*|ia64*)
7211
 
        # +Z the default
7212
 
        ;;
7213
 
      *)
7214
 
        lt_prog_compiler_pic='-fPIC'
7215
 
        ;;
7216
 
      esac
7217
 
      ;;
7218
 
 
7219
7650
    *)
7220
7651
      lt_prog_compiler_pic='-fPIC'
7221
7652
      ;;
7232
7663
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7233
7664
      fi
7234
7665
      ;;
7235
 
      darwin*)
7236
 
        # PIC is the default on this platform
7237
 
        # Common symbols not allowed in MH_DYLIB files
7238
 
       case $cc_basename in
7239
 
         xlc*)
7240
 
         lt_prog_compiler_pic='-qnocommon'
7241
 
         lt_prog_compiler_wl='-Wl,'
7242
 
         ;;
7243
 
       esac
7244
 
       ;;
7245
7666
 
7246
 
    mingw* | pw32* | os2*)
 
7667
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7247
7668
      # This hack is so that the source file can tell whether it is being
7248
7669
      # built for inclusion in a dll (and should export symbols for example).
7249
7670
      lt_prog_compiler_pic='-DDLL_EXPORT'
7271
7692
      lt_prog_compiler_static='-non_shared'
7272
7693
      ;;
7273
7694
 
7274
 
    newsos6)
7275
 
      lt_prog_compiler_pic='-KPIC'
7276
 
      lt_prog_compiler_static='-Bstatic'
7277
 
      ;;
7278
 
 
7279
 
    linux*)
 
7695
    linux* | k*bsd*-gnu)
7280
7696
      case $cc_basename in
7281
 
      icc* | ecc*)
 
7697
      # old Intel for x86_64 which still supported -KPIC.
 
7698
      ecc*)
7282
7699
        lt_prog_compiler_wl='-Wl,'
7283
7700
        lt_prog_compiler_pic='-KPIC'
7284
7701
        lt_prog_compiler_static='-static'
7285
7702
        ;;
 
7703
      # icc used to be incompatible with GCC.
 
7704
      # ICC 10 doesn't accept -KPIC any more.
 
7705
      icc* | ifort*)
 
7706
        lt_prog_compiler_wl='-Wl,'
 
7707
        lt_prog_compiler_pic='-fPIC'
 
7708
        lt_prog_compiler_static='-static'
 
7709
        ;;
 
7710
      # Lahey Fortran 8.1.
 
7711
      lf95*)
 
7712
        lt_prog_compiler_wl='-Wl,'
 
7713
        lt_prog_compiler_pic='--shared'
 
7714
        lt_prog_compiler_static='--static'
 
7715
        ;;
7286
7716
      pgcc* | pgf77* | pgf90* | pgf95*)
7287
7717
        # Portland Group compilers (*not* the Pentium gcc compiler,
7288
7718
        # which looks to be a dead project)
7295
7725
        # All Alpha code is PIC.
7296
7726
        lt_prog_compiler_static='-non_shared'
7297
7727
        ;;
 
7728
      xl*)
 
7729
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7730
        lt_prog_compiler_wl='-Wl,'
 
7731
        lt_prog_compiler_pic='-qpic'
 
7732
        lt_prog_compiler_static='-qstaticlink'
 
7733
        ;;
 
7734
      *)
 
7735
        case `$CC -V 2>&1 | sed 5q` in
 
7736
        *Sun\ C*)
 
7737
          # Sun C 5.9
 
7738
          lt_prog_compiler_pic='-KPIC'
 
7739
          lt_prog_compiler_static='-Bstatic'
 
7740
          lt_prog_compiler_wl='-Wl,'
 
7741
          ;;
 
7742
        *Sun\ F*)
 
7743
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7744
          lt_prog_compiler_pic='-KPIC'
 
7745
          lt_prog_compiler_static='-Bstatic'
 
7746
          lt_prog_compiler_wl=''
 
7747
          ;;
 
7748
        esac
 
7749
        ;;
7298
7750
      esac
7299
7751
      ;;
7300
7752
 
 
7753
    newsos6)
 
7754
      lt_prog_compiler_pic='-KPIC'
 
7755
      lt_prog_compiler_static='-Bstatic'
 
7756
      ;;
 
7757
 
 
7758
    *nto* | *qnx*)
 
7759
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7760
      # it will coredump.
 
7761
      lt_prog_compiler_pic='-fPIC -shared'
 
7762
      ;;
 
7763
 
7301
7764
    osf3* | osf4* | osf5*)
7302
7765
      lt_prog_compiler_wl='-Wl,'
7303
7766
      # All OSF/1 code is PIC.
7304
7767
      lt_prog_compiler_static='-non_shared'
7305
7768
      ;;
7306
7769
 
 
7770
    rdos*)
 
7771
      lt_prog_compiler_static='-non_shared'
 
7772
      ;;
 
7773
 
7307
7774
    solaris*)
7308
7775
      lt_prog_compiler_pic='-KPIC'
7309
7776
      lt_prog_compiler_static='-Bstatic'
7356
7823
    esac
7357
7824
  fi
7358
7825
 
7359
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7360
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
7826
case $host_os in
 
7827
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7828
  *djgpp*)
 
7829
    lt_prog_compiler_pic=
 
7830
    ;;
 
7831
  *)
 
7832
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7833
    ;;
 
7834
esac
 
7835
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7836
$as_echo "$lt_prog_compiler_pic" >&6; }
 
7837
 
 
7838
 
 
7839
 
 
7840
 
 
7841
 
7361
7842
 
7362
7843
#
7363
7844
# Check to make sure the PIC flag actually works.
7364
7845
#
7365
7846
if test -n "$lt_prog_compiler_pic"; then
7366
 
 
7367
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7368
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7369
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7370
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7847
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7848
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7849
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7850
  $as_echo_n "(cached) " >&6
7371
7851
else
7372
 
  lt_prog_compiler_pic_works=no
7373
 
  ac_outfile=conftest.$ac_objext
7374
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7852
  lt_cv_prog_compiler_pic_works=no
 
7853
   ac_outfile=conftest.$ac_objext
 
7854
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7375
7855
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7376
7856
   # Insert the option either (1) after the last *FLAGS variable, or
7377
7857
   # (2) before a word containing "conftest.", or (3) at the end.
7382
7862
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7383
7863
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7384
7864
   -e 's:$: $lt_compiler_flag:'`
7385
 
   (eval echo "\"\$as_me:7385: $lt_compile\"" >&5)
 
7865
   (eval echo "\"\$as_me:7865: $lt_compile\"" >&5)
7386
7866
   (eval "$lt_compile" 2>conftest.err)
7387
7867
   ac_status=$?
7388
7868
   cat conftest.err >&5
7389
 
   echo "$as_me:7389: \$? = $ac_status" >&5
 
7869
   echo "$as_me:7869: \$? = $ac_status" >&5
7390
7870
   if (exit $ac_status) && test -s "$ac_outfile"; then
7391
7871
     # The compiler can only warn and ignore the option if not recognized
7392
7872
     # So say no if there are warnings other than the usual output.
7393
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7873
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7394
7874
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7395
7875
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7396
 
       lt_prog_compiler_pic_works=yes
 
7876
       lt_cv_prog_compiler_pic_works=yes
7397
7877
     fi
7398
7878
   fi
7399
 
   $rm conftest*
 
7879
   $RM conftest*
7400
7880
 
7401
7881
fi
7402
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7403
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
7882
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7883
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7404
7884
 
7405
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7885
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7406
7886
    case $lt_prog_compiler_pic in
7407
7887
     "" | " "*) ;;
7408
7888
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7413
7893
fi
7414
7894
 
7415
7895
fi
7416
 
case $host_os in
7417
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7418
 
  *djgpp*)
7419
 
    lt_prog_compiler_pic=
7420
 
    ;;
7421
 
  *)
7422
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7423
 
    ;;
7424
 
esac
 
7896
 
 
7897
 
 
7898
 
 
7899
 
 
7900
 
7425
7901
 
7426
7902
#
7427
7903
# Check to make sure the static flag actually works.
7428
7904
#
7429
7905
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7430
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7431
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7432
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7906
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7907
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
7908
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7909
  $as_echo_n "(cached) " >&6
7434
7910
else
7435
 
  lt_prog_compiler_static_works=no
 
7911
  lt_cv_prog_compiler_static_works=no
7436
7912
   save_LDFLAGS="$LDFLAGS"
7437
7913
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7438
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7914
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7439
7915
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7440
7916
     # The linker can only warn and ignore the option if not recognized
7441
7917
     # So say no if there are warnings
7442
7918
     if test -s conftest.err; then
7443
7919
       # Append any errors to the config.log.
7444
7920
       cat conftest.err 1>&5
7445
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7921
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7446
7922
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7447
7923
       if diff conftest.exp conftest.er2 >/dev/null; then
7448
 
         lt_prog_compiler_static_works=yes
 
7924
         lt_cv_prog_compiler_static_works=yes
7449
7925
       fi
7450
7926
     else
7451
 
       lt_prog_compiler_static_works=yes
 
7927
       lt_cv_prog_compiler_static_works=yes
7452
7928
     fi
7453
7929
   fi
7454
 
   $rm conftest*
 
7930
   $RM -r conftest*
7455
7931
   LDFLAGS="$save_LDFLAGS"
7456
7932
 
7457
7933
fi
7458
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7459
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7934
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7935
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7460
7936
 
7461
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7937
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7462
7938
    :
7463
7939
else
7464
7940
    lt_prog_compiler_static=
7465
7941
fi
7466
7942
 
7467
7943
 
7468
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7469
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7470
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7472
 
else
7473
 
  lt_cv_prog_compiler_c_o=no
7474
 
   $rm -r conftest 2>/dev/null
7475
 
   mkdir conftest
7476
 
   cd conftest
7477
 
   mkdir out
7478
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7479
 
 
7480
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7481
 
   # Insert the option either (1) after the last *FLAGS variable, or
7482
 
   # (2) before a word containing "conftest.", or (3) at the end.
7483
 
   # Note that $ac_compile itself does not contain backslashes and begins
7484
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7485
 
   lt_compile=`echo "$ac_compile" | $SED \
7486
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7487
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7488
 
   -e 's:$: $lt_compiler_flag:'`
7489
 
   (eval echo "\"\$as_me:7489: $lt_compile\"" >&5)
7490
 
   (eval "$lt_compile" 2>out/conftest.err)
7491
 
   ac_status=$?
7492
 
   cat out/conftest.err >&5
7493
 
   echo "$as_me:7493: \$? = $ac_status" >&5
7494
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7495
 
   then
7496
 
     # The compiler can only warn and ignore the option if not recognized
7497
 
     # So say no if there are warnings
7498
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7499
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7500
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7501
 
       lt_cv_prog_compiler_c_o=yes
7502
 
     fi
7503
 
   fi
7504
 
   chmod u+w . 2>&5
7505
 
   $rm conftest*
7506
 
   # SGI C++ compiler will create directory out/ii_files/ for
7507
 
   # template instantiation
7508
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7509
 
   $rm out/* && rmdir out
7510
 
   cd ..
7511
 
   rmdir conftest
7512
 
   $rm conftest*
7513
 
 
7514
 
fi
7515
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7516
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
7944
 
 
7945
 
 
7946
 
 
7947
 
 
7948
 
 
7949
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7950
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7951
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7952
  $as_echo_n "(cached) " >&6
 
7953
else
 
7954
  lt_cv_prog_compiler_c_o=no
 
7955
   $RM -r conftest 2>/dev/null
 
7956
   mkdir conftest
 
7957
   cd conftest
 
7958
   mkdir out
 
7959
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7960
 
 
7961
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7962
   # Insert the option either (1) after the last *FLAGS variable, or
 
7963
   # (2) before a word containing "conftest.", or (3) at the end.
 
7964
   # Note that $ac_compile itself does not contain backslashes and begins
 
7965
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7966
   lt_compile=`echo "$ac_compile" | $SED \
 
7967
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7968
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7969
   -e 's:$: $lt_compiler_flag:'`
 
7970
   (eval echo "\"\$as_me:7970: $lt_compile\"" >&5)
 
7971
   (eval "$lt_compile" 2>out/conftest.err)
 
7972
   ac_status=$?
 
7973
   cat out/conftest.err >&5
 
7974
   echo "$as_me:7974: \$? = $ac_status" >&5
 
7975
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7976
   then
 
7977
     # The compiler can only warn and ignore the option if not recognized
 
7978
     # So say no if there are warnings
 
7979
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7980
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7981
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7982
       lt_cv_prog_compiler_c_o=yes
 
7983
     fi
 
7984
   fi
 
7985
   chmod u+w . 2>&5
 
7986
   $RM conftest*
 
7987
   # SGI C++ compiler will create directory out/ii_files/ for
 
7988
   # template instantiation
 
7989
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7990
   $RM out/* && rmdir out
 
7991
   cd ..
 
7992
   $RM -r conftest
 
7993
   $RM conftest*
 
7994
 
 
7995
fi
 
7996
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7997
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7998
 
 
7999
 
 
8000
 
 
8001
 
 
8002
 
 
8003
 
 
8004
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8005
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8006
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8007
  $as_echo_n "(cached) " >&6
 
8008
else
 
8009
  lt_cv_prog_compiler_c_o=no
 
8010
   $RM -r conftest 2>/dev/null
 
8011
   mkdir conftest
 
8012
   cd conftest
 
8013
   mkdir out
 
8014
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8015
 
 
8016
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8017
   # Insert the option either (1) after the last *FLAGS variable, or
 
8018
   # (2) before a word containing "conftest.", or (3) at the end.
 
8019
   # Note that $ac_compile itself does not contain backslashes and begins
 
8020
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8021
   lt_compile=`echo "$ac_compile" | $SED \
 
8022
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8023
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8024
   -e 's:$: $lt_compiler_flag:'`
 
8025
   (eval echo "\"\$as_me:8025: $lt_compile\"" >&5)
 
8026
   (eval "$lt_compile" 2>out/conftest.err)
 
8027
   ac_status=$?
 
8028
   cat out/conftest.err >&5
 
8029
   echo "$as_me:8029: \$? = $ac_status" >&5
 
8030
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8031
   then
 
8032
     # The compiler can only warn and ignore the option if not recognized
 
8033
     # So say no if there are warnings
 
8034
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8035
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8036
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8037
       lt_cv_prog_compiler_c_o=yes
 
8038
     fi
 
8039
   fi
 
8040
   chmod u+w . 2>&5
 
8041
   $RM conftest*
 
8042
   # SGI C++ compiler will create directory out/ii_files/ for
 
8043
   # template instantiation
 
8044
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8045
   $RM out/* && rmdir out
 
8046
   cd ..
 
8047
   $RM -r conftest
 
8048
   $RM conftest*
 
8049
 
 
8050
fi
 
8051
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8052
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8053
 
 
8054
 
7517
8055
 
7518
8056
 
7519
8057
hard_links="nottested"
7520
8058
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7521
8059
  # do not overwrite the value of need_locks provided by the user
7522
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7523
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
8060
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8061
$as_echo_n "checking if we can lock with hard links... " >&6; }
7524
8062
  hard_links=yes
7525
 
  $rm conftest*
 
8063
  $RM conftest*
7526
8064
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7527
8065
  touch conftest.a
7528
8066
  ln conftest.a conftest.b 2>&5 || hard_links=no
7529
8067
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7530
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7531
 
echo "${ECHO_T}$hard_links" >&6; }
 
8068
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8069
$as_echo "$hard_links" >&6; }
7532
8070
  if test "$hard_links" = no; then
7533
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7534
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8071
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8072
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7535
8073
    need_locks=warn
7536
8074
  fi
7537
8075
else
7538
8076
  need_locks=no
7539
8077
fi
7540
8078
 
7541
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7542
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
8079
 
 
8080
 
 
8081
 
 
8082
 
 
8083
 
 
8084
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8085
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7543
8086
 
7544
8087
  runpath_var=
7545
8088
  allow_undefined_flag=
7546
 
  enable_shared_with_static_runtimes=no
 
8089
  always_export_symbols=no
7547
8090
  archive_cmds=
7548
8091
  archive_expsym_cmds=
7549
 
  old_archive_From_new_cmds=
7550
 
  old_archive_from_expsyms_cmds=
 
8092
  compiler_needs_object=no
 
8093
  enable_shared_with_static_runtimes=no
7551
8094
  export_dynamic_flag_spec=
7552
 
  whole_archive_flag_spec=
7553
 
  thread_safe_flag_spec=
 
8095
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8096
  hardcode_automatic=no
 
8097
  hardcode_direct=no
 
8098
  hardcode_direct_absolute=no
7554
8099
  hardcode_libdir_flag_spec=
7555
8100
  hardcode_libdir_flag_spec_ld=
7556
8101
  hardcode_libdir_separator=
7557
 
  hardcode_direct=no
7558
8102
  hardcode_minus_L=no
7559
8103
  hardcode_shlibpath_var=unsupported
 
8104
  inherit_rpath=no
7560
8105
  link_all_deplibs=unknown
7561
 
  hardcode_automatic=no
7562
8106
  module_cmds=
7563
8107
  module_expsym_cmds=
7564
 
  always_export_symbols=no
7565
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8108
  old_archive_from_new_cmds=
 
8109
  old_archive_from_expsyms_cmds=
 
8110
  thread_safe_flag_spec=
 
8111
  whole_archive_flag_spec=
7566
8112
  # include_expsyms should be a list of space-separated symbols to be *always*
7567
8113
  # included in the symbol list
7568
8114
  include_expsyms=
7570
8116
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7571
8117
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7572
8118
  # as well as any symbol that contains `d'.
7573
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
8119
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7574
8120
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7575
8121
  # platforms (ab)use it in PIC code, but their linkers get confused if
7576
8122
  # the symbol is explicitly referenced.  Since portable code cannot
7577
8123
  # rely on this symbol name, it's probably fine to never include it in
7578
8124
  # preloaded symbol tables.
 
8125
  # Exclude shared library initialization/finalization symbols.
7579
8126
  extract_expsyms_cmds=
7580
 
  # Just being paranoid about ensuring that cc_basename is set.
7581
 
  for cc_temp in $compiler""; do
7582
 
  case $cc_temp in
7583
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7584
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7585
 
    \-*) ;;
7586
 
    *) break;;
7587
 
  esac
7588
 
done
7589
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7590
8127
 
7591
8128
  case $host_os in
7592
 
  cygwin* | mingw* | pw32*)
 
8129
  cygwin* | mingw* | pw32* | cegcc*)
7593
8130
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7594
8131
    # When not using gcc, we currently assume that we are using
7595
8132
    # Microsoft Visual C++.
7615
8152
    # are reset later if shared libraries are not supported. Putting them
7616
8153
    # here allows them to be overridden if necessary.
7617
8154
    runpath_var=LD_RUN_PATH
7618
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8155
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7619
8156
    export_dynamic_flag_spec='${wl}--export-dynamic'
7620
8157
    # ancient GNU ld didn't support --whole-archive et. al.
7621
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7622
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7623
 
      else
7624
 
        whole_archive_flag_spec=
 
8158
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8159
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8160
    else
 
8161
      whole_archive_flag_spec=
7625
8162
    fi
7626
8163
    supports_anon_versioning=no
7627
 
    case `$LD -v 2>/dev/null` in
 
8164
    case `$LD -v 2>&1` in
7628
8165
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7629
8166
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7630
8167
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7634
8171
 
7635
8172
    # See if GNU ld supports shared libraries.
7636
8173
    case $host_os in
7637
 
    aix3* | aix4* | aix5*)
 
8174
    aix[3-9]*)
7638
8175
      # On AIX/PPC, the GNU linker is very broken
7639
8176
      if test "$host_cpu" != ia64; then
7640
8177
        ld_shlibs=no
7641
 
        cat <<EOF 1>&2
 
8178
        cat <<_LT_EOF 1>&2
7642
8179
 
7643
8180
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7644
8181
*** to be unable to reliably create shared libraries on AIX.
7646
8183
*** really care for shared libraries, you may want to modify your PATH
7647
8184
*** so that a non-GNU linker is found, and then restart.
7648
8185
 
7649
 
EOF
 
8186
_LT_EOF
7650
8187
      fi
7651
8188
      ;;
7652
8189
 
7653
8190
    amigaos*)
7654
 
      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)'
7655
 
      hardcode_libdir_flag_spec='-L$libdir'
7656
 
      hardcode_minus_L=yes
7657
 
 
7658
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7659
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7660
 
      # to version 4, is to share data among multiple programs linked
7661
 
      # with the same dynamic library.  Since this doesn't match the
7662
 
      # behavior of shared libraries on other platforms, we can't use
7663
 
      # them.
7664
 
      ld_shlibs=no
 
8191
      case $host_cpu in
 
8192
      powerpc)
 
8193
            # see comment about AmigaOS4 .so support
 
8194
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8195
            archive_expsym_cmds=''
 
8196
        ;;
 
8197
      m68k)
 
8198
            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)'
 
8199
            hardcode_libdir_flag_spec='-L$libdir'
 
8200
            hardcode_minus_L=yes
 
8201
        ;;
 
8202
      esac
7665
8203
      ;;
7666
8204
 
7667
8205
    beos*)
7668
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8206
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7669
8207
        allow_undefined_flag=unsupported
7670
8208
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7671
8209
        # support --undefined.  This deserves some investigation.  FIXME
7675
8213
      fi
7676
8214
      ;;
7677
8215
 
7678
 
    cygwin* | mingw* | pw32*)
7679
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8216
    cygwin* | mingw* | pw32* | cegcc*)
 
8217
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7680
8218
      # as there is no search path for DLLs.
7681
8219
      hardcode_libdir_flag_spec='-L$libdir'
7682
8220
      allow_undefined_flag=unsupported
7683
8221
      always_export_symbols=no
7684
8222
      enable_shared_with_static_runtimes=yes
7685
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8223
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7686
8224
 
7687
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8225
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7688
8226
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7689
8227
        # If the export-symbols file already is a .def file (1st line
7690
8228
        # is EXPORTS), use it as is; otherwise, prepend...
7700
8238
      fi
7701
8239
      ;;
7702
8240
 
7703
 
    interix3*)
 
8241
    interix[3-9]*)
7704
8242
      hardcode_direct=no
7705
8243
      hardcode_shlibpath_var=no
7706
8244
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7715
8253
      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'
7716
8254
      ;;
7717
8255
 
7718
 
    linux*)
7719
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8256
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8257
      tmp_diet=no
 
8258
      if test "$host_os" = linux-dietlibc; then
 
8259
        case $cc_basename in
 
8260
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8261
        esac
 
8262
      fi
 
8263
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8264
         && test "$tmp_diet" = no
 
8265
      then
7720
8266
        tmp_addflag=
 
8267
        tmp_sharedflag='-shared'
7721
8268
        case $cc_basename,$host_cpu in
7722
 
        pgcc*)                          # Portland Group C compiler
7723
 
          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'
 
8269
        pgcc*)                          # Portland Group C compiler
 
8270
          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'
7724
8271
          tmp_addflag=' $pic_flag'
7725
8272
          ;;
7726
8273
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7727
 
          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'
 
8274
          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'
7728
8275
          tmp_addflag=' $pic_flag -Mnomain' ;;
7729
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8276
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7730
8277
          tmp_addflag=' -i_dynamic' ;;
7731
8278
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7732
8279
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7733
8280
        ifc* | ifort*)                  # Intel Fortran compiler
7734
8281
          tmp_addflag=' -nofor_main' ;;
7735
 
        esac
7736
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7737
 
 
7738
 
        if test $supports_anon_versioning = yes; then
7739
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7740
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7741
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7742
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7743
 
        fi
 
8282
        lf95*)                          # Lahey Fortran 8.1
 
8283
          whole_archive_flag_spec=
 
8284
          tmp_sharedflag='--shared' ;;
 
8285
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8286
          tmp_sharedflag='-qmkshrobj'
 
8287
          tmp_addflag= ;;
 
8288
        esac
 
8289
        case `$CC -V 2>&1 | sed 5q` in
 
8290
        *Sun\ C*)                       # Sun C 5.9
 
8291
          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'
 
8292
          compiler_needs_object=yes
 
8293
          tmp_sharedflag='-G' ;;
 
8294
        *Sun\ F*)                       # Sun Fortran 8.3
 
8295
          tmp_sharedflag='-G' ;;
 
8296
        esac
 
8297
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8298
 
 
8299
        if test "x$supports_anon_versioning" = xyes; then
 
8300
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8301
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8302
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8303
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8304
        fi
 
8305
 
 
8306
        case $cc_basename in
 
8307
        xlf*)
 
8308
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8309
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8310
          hardcode_libdir_flag_spec=
 
8311
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8312
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8313
          if test "x$supports_anon_versioning" = xyes; then
 
8314
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8315
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8316
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8317
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8318
          fi
 
8319
          ;;
 
8320
        esac
7744
8321
      else
7745
 
        ld_shlibs=no
 
8322
        ld_shlibs=no
7746
8323
      fi
7747
8324
      ;;
7748
8325
 
7749
8326
    netbsd*)
7750
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8327
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7751
8328
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7752
8329
        wlarc=
7753
8330
      else
7757
8334
      ;;
7758
8335
 
7759
8336
    solaris*)
7760
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8337
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7761
8338
        ld_shlibs=no
7762
 
        cat <<EOF 1>&2
 
8339
        cat <<_LT_EOF 1>&2
7763
8340
 
7764
8341
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7765
8342
*** create shared libraries on Solaris systems.  Therefore, libtool
7768
8345
*** your PATH or compiler configuration so that the native linker is
7769
8346
*** used, and then restart.
7770
8347
 
7771
 
EOF
7772
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8348
_LT_EOF
 
8349
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7773
8350
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7774
8351
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7775
8352
      else
7793
8370
_LT_EOF
7794
8371
        ;;
7795
8372
        *)
7796
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7797
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7798
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7799
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8373
          # For security reasons, it is highly recommended that you always
 
8374
          # use absolute paths for naming shared libraries, and exclude the
 
8375
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8376
          # requires that you compile everything twice, which is a pain.
 
8377
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8378
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8379
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8380
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7800
8381
          else
7801
8382
            ld_shlibs=no
7802
8383
          fi
7812
8393
      ;;
7813
8394
 
7814
8395
    *)
7815
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8396
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7816
8397
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7817
8398
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7818
8399
      else
7844
8425
      fi
7845
8426
      ;;
7846
8427
 
7847
 
    aix4* | aix5*)
 
8428
    aix[4-9]*)
7848
8429
      if test "$host_cpu" = ia64; then
7849
8430
        # On IA64, the linker does run time linking by default, so we don't
7850
8431
        # have to do anything special.
7854
8435
      else
7855
8436
        # If we're using GNU nm, then we don't want the "-C" option.
7856
8437
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
7857
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7858
 
          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'
 
8438
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8439
          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'
7859
8440
        else
7860
 
          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'
 
8441
          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'
7861
8442
        fi
7862
8443
        aix_use_runtimelinking=no
7863
8444
 
7864
8445
        # Test if we are trying to use run time linking or normal
7865
8446
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7866
8447
        # need to do runtime linking.
7867
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8448
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7868
8449
          for ld_flag in $LDFLAGS; do
7869
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7870
 
            aix_use_runtimelinking=yes
7871
 
            break
7872
 
          fi
 
8450
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8451
            aix_use_runtimelinking=yes
 
8452
            break
 
8453
          fi
7873
8454
          done
7874
8455
          ;;
7875
8456
        esac
7886
8467
 
7887
8468
      archive_cmds=''
7888
8469
      hardcode_direct=yes
 
8470
      hardcode_direct_absolute=yes
7889
8471
      hardcode_libdir_separator=':'
7890
8472
      link_all_deplibs=yes
 
8473
      file_list_spec='${wl}-f,'
7891
8474
 
7892
8475
      if test "$GCC" = yes; then
7893
8476
        case $host_os in aix4.[012]|aix4.[012].*)
7894
8477
        # We only want to do this on AIX 4.2 and lower, the check
7895
8478
        # below for broken collect2 doesn't work under 4.3+
7896
8479
          collect2name=`${CC} -print-prog-name=collect2`
7897
 
          if test -f "$collect2name" && \
7898
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8480
          if test -f "$collect2name" &&
 
8481
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7899
8482
          then
7900
 
          # We have reworked collect2
7901
 
          hardcode_direct=yes
 
8483
          # We have reworked collect2
 
8484
          :
7902
8485
          else
7903
 
          # We have old collect2
7904
 
          hardcode_direct=unsupported
7905
 
          # It fails to find uninstalled libraries when the uninstalled
7906
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
7907
 
          # to unsupported forces relinking
7908
 
          hardcode_minus_L=yes
7909
 
          hardcode_libdir_flag_spec='-L$libdir'
7910
 
          hardcode_libdir_separator=
 
8486
          # We have old collect2
 
8487
          hardcode_direct=unsupported
 
8488
          # It fails to find uninstalled libraries when the uninstalled
 
8489
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8490
          # to unsupported forces relinking
 
8491
          hardcode_minus_L=yes
 
8492
          hardcode_libdir_flag_spec='-L$libdir'
 
8493
          hardcode_libdir_separator=
7911
8494
          fi
7912
8495
          ;;
7913
8496
        esac
7918
8501
      else
7919
8502
        # not using gcc
7920
8503
        if test "$host_cpu" = ia64; then
7921
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7922
 
        # chokes on -Wl,-G. The following line is correct:
 
8504
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8505
        # chokes on -Wl,-G. The following line is correct:
7923
8506
          shared_flag='-G'
7924
8507
        else
7925
8508
          if test "$aix_use_runtimelinking" = yes; then
7930
8513
        fi
7931
8514
      fi
7932
8515
 
 
8516
      export_dynamic_flag_spec='${wl}-bexpall'
7933
8517
      # It seems that -bexpall does not export symbols beginning with
7934
8518
      # underscore (_), so it is better to generate a list of symbols to export.
7935
8519
      always_export_symbols=yes
7937
8521
        # Warning - without using the other runtime loading flags (-brtl),
7938
8522
        # -berok will link without error, but may produce a broken library.
7939
8523
        allow_undefined_flag='-berok'
7940
 
       # Determine the default libpath from the value encoded in an empty executable.
7941
 
       cat >conftest.$ac_ext <<_ACEOF
 
8524
        # Determine the default libpath from the value encoded in an
 
8525
        # empty executable.
 
8526
        cat >conftest.$ac_ext <<_ACEOF
7942
8527
/* confdefs.h.  */
7943
8528
_ACEOF
7944
8529
cat confdefs.h >>conftest.$ac_ext
7959
8544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7960
8545
  *) ac_try_echo=$ac_try;;
7961
8546
esac
7962
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8547
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8548
$as_echo "$ac_try_echo") >&5
7963
8549
  (eval "$ac_link") 2>conftest.er1
7964
8550
  ac_status=$?
7965
8551
  grep -v '^ *+' conftest.er1 >conftest.err
7966
8552
  rm -f conftest.er1
7967
8553
  cat conftest.err >&5
7968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8554
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969
8555
  (exit $ac_status); } && {
7970
8556
         test -z "$ac_c_werror_flag" ||
7971
8557
         test ! -s conftest.err
7972
 
       } && test -s conftest$ac_exeext &&
7973
 
       $as_test_x conftest$ac_exeext; then
 
8558
       } && test -s conftest$ac_exeext && {
 
8559
         test "$cross_compiling" = yes ||
 
8560
         $as_test_x conftest$ac_exeext
 
8561
       }; then
7974
8562
 
7975
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7976
 
}'`
 
8563
lt_aix_libpath_sed='
 
8564
    /Import File Strings/,/^$/ {
 
8565
        /^0/ {
 
8566
            s/^0  *\(.*\)$/\1/
 
8567
            p
 
8568
        }
 
8569
    }'
 
8570
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7977
8571
# Check for a 64-bit object if we didn't find anything.
7978
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7979
 
}'`; fi
 
8572
if test -z "$aix_libpath"; then
 
8573
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8574
fi
7980
8575
else
7981
 
  echo "$as_me: failed program was:" >&5
 
8576
  $as_echo "$as_me: failed program was:" >&5
7982
8577
sed 's/^/| /' conftest.$ac_ext >&5
7983
8578
 
7984
8579
 
7985
8580
fi
7986
8581
 
 
8582
rm -rf conftest.dSYM
7987
8583
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7988
8584
      conftest$ac_exeext conftest.$ac_ext
7989
8585
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7990
8586
 
7991
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7992
 
        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"
7993
 
       else
 
8587
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8588
        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"
 
8589
      else
7994
8590
        if test "$host_cpu" = ia64; then
7995
8591
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7996
8592
          allow_undefined_flag="-z nodefs"
7997
8593
          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"
7998
8594
        else
7999
 
         # Determine the default libpath from the value encoded in an empty executable.
 
8595
         # Determine the default libpath from the value encoded in an
 
8596
         # empty executable.
8000
8597
         cat >conftest.$ac_ext <<_ACEOF
8001
8598
/* confdefs.h.  */
8002
8599
_ACEOF
8018
8615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8019
8616
  *) ac_try_echo=$ac_try;;
8020
8617
esac
8021
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8619
$as_echo "$ac_try_echo") >&5
8022
8620
  (eval "$ac_link") 2>conftest.er1
8023
8621
  ac_status=$?
8024
8622
  grep -v '^ *+' conftest.er1 >conftest.err
8025
8623
  rm -f conftest.er1
8026
8624
  cat conftest.err >&5
8027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8625
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028
8626
  (exit $ac_status); } && {
8029
8627
         test -z "$ac_c_werror_flag" ||
8030
8628
         test ! -s conftest.err
8031
 
       } && test -s conftest$ac_exeext &&
8032
 
       $as_test_x conftest$ac_exeext; then
 
8629
       } && test -s conftest$ac_exeext && {
 
8630
         test "$cross_compiling" = yes ||
 
8631
         $as_test_x conftest$ac_exeext
 
8632
       }; then
8033
8633
 
8034
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8035
 
}'`
 
8634
lt_aix_libpath_sed='
 
8635
    /Import File Strings/,/^$/ {
 
8636
        /^0/ {
 
8637
            s/^0  *\(.*\)$/\1/
 
8638
            p
 
8639
        }
 
8640
    }'
 
8641
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8036
8642
# Check for a 64-bit object if we didn't find anything.
8037
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8038
 
}'`; fi
 
8643
if test -z "$aix_libpath"; then
 
8644
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8645
fi
8039
8646
else
8040
 
  echo "$as_me: failed program was:" >&5
 
8647
  $as_echo "$as_me: failed program was:" >&5
8041
8648
sed 's/^/| /' conftest.$ac_ext >&5
8042
8649
 
8043
8650
 
8044
8651
fi
8045
8652
 
 
8653
rm -rf conftest.dSYM
8046
8654
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8047
8655
      conftest$ac_exeext conftest.$ac_ext
8048
8656
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8062
8670
      ;;
8063
8671
 
8064
8672
    amigaos*)
8065
 
      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)'
8066
 
      hardcode_libdir_flag_spec='-L$libdir'
8067
 
      hardcode_minus_L=yes
8068
 
      # see comment about different semantics on the GNU ld section
8069
 
      ld_shlibs=no
 
8673
      case $host_cpu in
 
8674
      powerpc)
 
8675
            # see comment about AmigaOS4 .so support
 
8676
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8677
            archive_expsym_cmds=''
 
8678
        ;;
 
8679
      m68k)
 
8680
            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)'
 
8681
            hardcode_libdir_flag_spec='-L$libdir'
 
8682
            hardcode_minus_L=yes
 
8683
        ;;
 
8684
      esac
8070
8685
      ;;
8071
8686
 
8072
8687
    bsdi[45]*)
8073
8688
      export_dynamic_flag_spec=-rdynamic
8074
8689
      ;;
8075
8690
 
8076
 
    cygwin* | mingw* | pw32*)
 
8691
    cygwin* | mingw* | pw32* | cegcc*)
8077
8692
      # When not using gcc, we currently assume that we are using
8078
8693
      # Microsoft Visual C++.
8079
8694
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8085
8700
      # Tell ltmain to make .dll files, not .so files.
8086
8701
      shrext_cmds=".dll"
8087
8702
      # FIXME: Setting linknames here is a bad hack.
8088
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8703
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8089
8704
      # The linker will automatically build a .lib file if we build a DLL.
8090
 
      old_archive_From_new_cmds='true'
 
8705
      old_archive_from_new_cmds='true'
8091
8706
      # FIXME: Should let the user specify the lib program.
8092
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8707
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8093
8708
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8094
8709
      enable_shared_with_static_runtimes=yes
8095
8710
      ;;
8096
8711
 
8097
8712
    darwin* | rhapsody*)
8098
 
      case $host_os in
8099
 
        rhapsody* | darwin1.[012])
8100
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8101
 
         ;;
8102
 
       *) # Darwin 1.3 on
8103
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8104
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8105
 
         else
8106
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8107
 
             10.[012])
8108
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8109
 
               ;;
8110
 
             10.*)
8111
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8112
 
               ;;
8113
 
           esac
8114
 
         fi
8115
 
         ;;
8116
 
      esac
8117
 
      archive_cmds_need_lc=no
8118
 
      hardcode_direct=no
8119
 
      hardcode_automatic=yes
8120
 
      hardcode_shlibpath_var=unsupported
8121
 
      whole_archive_flag_spec=''
8122
 
      link_all_deplibs=yes
8123
 
    if test "$GCC" = yes ; then
8124
 
        output_verbose_link_cmd='echo'
8125
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8126
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8127
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8128
 
      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}'
8129
 
      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}'
8130
 
    else
8131
 
      case $cc_basename in
8132
 
        xlc*)
8133
 
         output_verbose_link_cmd='echo'
8134
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8135
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8136
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8137
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8138
 
          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}'
8139
 
          ;;
8140
 
       *)
8141
 
         ld_shlibs=no
8142
 
          ;;
8143
 
      esac
8144
 
    fi
 
8713
 
 
8714
 
 
8715
  archive_cmds_need_lc=no
 
8716
  hardcode_direct=no
 
8717
  hardcode_automatic=yes
 
8718
  hardcode_shlibpath_var=unsupported
 
8719
  whole_archive_flag_spec=''
 
8720
  link_all_deplibs=yes
 
8721
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8722
  case $cc_basename in
 
8723
     ifort*) _lt_dar_can_shared=yes ;;
 
8724
     *) _lt_dar_can_shared=$GCC ;;
 
8725
  esac
 
8726
  if test "$_lt_dar_can_shared" = "yes"; then
 
8727
    output_verbose_link_cmd=echo
 
8728
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8729
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8730
    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}"
 
8731
    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}"
 
8732
 
 
8733
  else
 
8734
  ld_shlibs=no
 
8735
  fi
 
8736
 
8145
8737
      ;;
8146
8738
 
8147
8739
    dgux*)
8174
8766
      ;;
8175
8767
 
8176
8768
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8177
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8769
    freebsd* | dragonfly*)
8178
8770
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8179
8771
      hardcode_libdir_flag_spec='-R$libdir'
8180
8772
      hardcode_direct=yes
8183
8775
 
8184
8776
    hpux9*)
8185
8777
      if test "$GCC" = yes; then
8186
 
        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'
 
8778
        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'
8187
8779
      else
8188
 
        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'
 
8780
        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'
8189
8781
      fi
8190
8782
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8191
8783
      hardcode_libdir_separator=:
8205
8797
      fi
8206
8798
      if test "$with_gnu_ld" = no; then
8207
8799
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8800
        hardcode_libdir_flag_spec_ld='+b $libdir'
8208
8801
        hardcode_libdir_separator=:
8209
 
 
8210
8802
        hardcode_direct=yes
 
8803
        hardcode_direct_absolute=yes
8211
8804
        export_dynamic_flag_spec='${wl}-E'
8212
 
 
8213
8805
        # hardcode_minus_L: Not really in the search PATH,
8214
8806
        # but as the default location of the library.
8215
8807
        hardcode_minus_L=yes
8223
8815
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8224
8816
          ;;
8225
8817
        ia64*)
8226
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8818
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8227
8819
          ;;
8228
8820
        *)
8229
8821
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8248
8840
 
8249
8841
        case $host_cpu in
8250
8842
        hppa*64*|ia64*)
8251
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8252
8843
          hardcode_direct=no
8253
8844
          hardcode_shlibpath_var=no
8254
8845
          ;;
8255
8846
        *)
8256
8847
          hardcode_direct=yes
 
8848
          hardcode_direct_absolute=yes
8257
8849
          export_dynamic_flag_spec='${wl}-E'
8258
8850
 
8259
8851
          # hardcode_minus_L: Not really in the search PATH,
8266
8858
 
8267
8859
    irix5* | irix6* | nonstopux*)
8268
8860
      if test "$GCC" = yes; then
8269
 
        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'
 
8861
        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'
 
8862
        # Try to use the -exported_symbol ld option, if it does not
 
8863
        # work, assume that -exports_file does not work either and
 
8864
        # implicitly export all symbols.
 
8865
        save_LDFLAGS="$LDFLAGS"
 
8866
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8867
        cat >conftest.$ac_ext <<_ACEOF
 
8868
int foo(void) {}
 
8869
_ACEOF
 
8870
rm -f conftest.$ac_objext conftest$ac_exeext
 
8871
if { (ac_try="$ac_link"
 
8872
case "(($ac_try" in
 
8873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8874
  *) ac_try_echo=$ac_try;;
 
8875
esac
 
8876
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8877
$as_echo "$ac_try_echo") >&5
 
8878
  (eval "$ac_link") 2>conftest.er1
 
8879
  ac_status=$?
 
8880
  grep -v '^ *+' conftest.er1 >conftest.err
 
8881
  rm -f conftest.er1
 
8882
  cat conftest.err >&5
 
8883
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8884
  (exit $ac_status); } && {
 
8885
         test -z "$ac_c_werror_flag" ||
 
8886
         test ! -s conftest.err
 
8887
       } && test -s conftest$ac_exeext && {
 
8888
         test "$cross_compiling" = yes ||
 
8889
         $as_test_x conftest$ac_exeext
 
8890
       }; then
 
8891
  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'
 
8892
 
 
8893
else
 
8894
  $as_echo "$as_me: failed program was:" >&5
 
8895
sed 's/^/| /' conftest.$ac_ext >&5
 
8896
 
 
8897
 
 
8898
fi
 
8899
 
 
8900
rm -rf conftest.dSYM
 
8901
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8902
      conftest$ac_exeext conftest.$ac_ext
 
8903
        LDFLAGS="$save_LDFLAGS"
8270
8904
      else
8271
 
        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'
8272
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8905
        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'
 
8906
        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'
8273
8907
      fi
 
8908
      archive_cmds_need_lc='no'
8274
8909
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8275
8910
      hardcode_libdir_separator=:
 
8911
      inherit_rpath=yes
8276
8912
      link_all_deplibs=yes
8277
8913
      ;;
8278
8914
 
8279
8915
    netbsd*)
8280
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8916
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8281
8917
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8282
8918
      else
8283
8919
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8295
8931
      hardcode_shlibpath_var=no
8296
8932
      ;;
8297
8933
 
 
8934
    *nto* | *qnx*)
 
8935
      ;;
 
8936
 
8298
8937
    openbsd*)
8299
 
      hardcode_direct=yes
8300
 
      hardcode_shlibpath_var=no
8301
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8302
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8303
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8304
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8305
 
        export_dynamic_flag_spec='${wl}-E'
 
8938
      if test -f /usr/libexec/ld.so; then
 
8939
        hardcode_direct=yes
 
8940
        hardcode_shlibpath_var=no
 
8941
        hardcode_direct_absolute=yes
 
8942
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8943
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8944
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8945
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8946
          export_dynamic_flag_spec='${wl}-E'
 
8947
        else
 
8948
          case $host_os in
 
8949
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8950
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8951
             hardcode_libdir_flag_spec='-R$libdir'
 
8952
             ;;
 
8953
           *)
 
8954
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8955
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8956
             ;;
 
8957
          esac
 
8958
        fi
8306
8959
      else
8307
 
       case $host_os in
8308
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8309
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8310
 
           hardcode_libdir_flag_spec='-R$libdir'
8311
 
           ;;
8312
 
         *)
8313
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8314
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8315
 
           ;;
8316
 
       esac
 
8960
        ld_shlibs=no
8317
8961
      fi
8318
8962
      ;;
8319
8963
 
8321
8965
      hardcode_libdir_flag_spec='-L$libdir'
8322
8966
      hardcode_minus_L=yes
8323
8967
      allow_undefined_flag=unsupported
8324
 
      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'
8325
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
8968
      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'
 
8969
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8326
8970
      ;;
8327
8971
 
8328
8972
    osf3*)
8329
8973
      if test "$GCC" = yes; then
8330
8974
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8331
 
        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'
 
8975
        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'
8332
8976
      else
8333
8977
        allow_undefined_flag=' -expect_unresolved \*'
8334
 
        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'
 
8978
        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'
8335
8979
      fi
 
8980
      archive_cmds_need_lc='no'
8336
8981
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8337
8982
      hardcode_libdir_separator=:
8338
8983
      ;;
8340
8985
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8341
8986
      if test "$GCC" = yes; then
8342
8987
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8343
 
        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'
 
8988
        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'
8344
8989
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8345
8990
      else
8346
8991
        allow_undefined_flag=' -expect_unresolved \*'
8347
 
        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'
8348
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8349
 
        $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'
 
8992
        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'
 
8993
        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~
 
8994
        $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'
8350
8995
 
8351
8996
        # Both c and cxx compiler support -rpath directly
8352
8997
        hardcode_libdir_flag_spec='-rpath $libdir'
8353
8998
      fi
 
8999
      archive_cmds_need_lc='no'
8354
9000
      hardcode_libdir_separator=:
8355
9001
      ;;
8356
9002
 
8357
9003
    solaris*)
8358
 
      no_undefined_flag=' -z text'
 
9004
      no_undefined_flag=' -z defs'
8359
9005
      if test "$GCC" = yes; then
8360
9006
        wlarc='${wl}'
8361
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8362
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8363
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9007
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9008
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9009
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8364
9010
      else
8365
 
        wlarc=''
8366
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8367
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8368
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9011
        case `$CC -V 2>&1` in
 
9012
        *"Compilers 5.0"*)
 
9013
          wlarc=''
 
9014
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9015
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9016
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9017
          ;;
 
9018
        *)
 
9019
          wlarc='${wl}'
 
9020
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9021
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9022
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9023
          ;;
 
9024
        esac
8369
9025
      fi
8370
9026
      hardcode_libdir_flag_spec='-R$libdir'
8371
9027
      hardcode_shlibpath_var=no
8372
9028
      case $host_os in
8373
9029
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8374
9030
      *)
8375
 
        # The compiler driver will combine linker options so we
8376
 
        # cannot just pass the convience library names through
8377
 
        # without $wl, iff we do not link with $LD.
8378
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
8379
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8380
 
        case $wlarc in
8381
 
        '')
8382
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8383
 
        *)
8384
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8385
 
        esac ;;
 
9031
        # The compiler driver will combine and reorder linker options,
 
9032
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9033
        # but is careful enough not to reorder.
 
9034
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9035
        if test "$GCC" = yes; then
 
9036
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9037
        else
 
9038
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9039
        fi
 
9040
        ;;
8386
9041
      esac
8387
9042
      link_all_deplibs=yes
8388
9043
      ;;
8439
9094
      fi
8440
9095
      ;;
8441
9096
 
8442
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9097
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8443
9098
      no_undefined_flag='${wl}-z,text'
8444
9099
      archive_cmds_need_lc=no
8445
9100
      hardcode_shlibpath_var=no
8465
9120
      allow_undefined_flag='${wl}-z,nodefs'
8466
9121
      archive_cmds_need_lc=no
8467
9122
      hardcode_shlibpath_var=no
8468
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9123
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8469
9124
      hardcode_libdir_separator=':'
8470
9125
      link_all_deplibs=yes
8471
9126
      export_dynamic_flag_spec='${wl}-Bexport'
8472
9127
      runpath_var='LD_RUN_PATH'
8473
9128
 
8474
9129
      if test "$GCC" = yes; then
8475
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8476
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9130
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9131
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8477
9132
      else
8478
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8479
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9133
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9134
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8480
9135
      fi
8481
9136
      ;;
8482
9137
 
8490
9145
      ld_shlibs=no
8491
9146
      ;;
8492
9147
    esac
 
9148
 
 
9149
    if test x$host_vendor = xsni; then
 
9150
      case $host in
 
9151
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9152
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9153
        ;;
 
9154
      esac
 
9155
    fi
8493
9156
  fi
8494
9157
 
8495
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8496
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
9158
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9159
$as_echo "$ld_shlibs" >&6; }
8497
9160
test "$ld_shlibs" = no && can_build_shared=no
8498
9161
 
 
9162
with_gnu_ld=$with_gnu_ld
 
9163
 
 
9164
 
 
9165
 
 
9166
 
 
9167
 
 
9168
 
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
 
 
9175
 
 
9176
 
 
9177
 
8499
9178
#
8500
9179
# Do we need to explicitly link libc?
8501
9180
#
8513
9192
      # Test whether the compiler implicitly links with -lc since on some
8514
9193
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8515
9194
      # to ld, don't add -lc before -lgcc.
8516
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8517
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8518
 
      $rm conftest*
8519
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9195
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9196
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9197
      $RM conftest*
 
9198
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8520
9199
 
8521
9200
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8522
9201
  (eval $ac_compile) 2>&5
8523
9202
  ac_status=$?
8524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9203
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525
9204
  (exit $ac_status); } 2>conftest.err; then
8526
9205
        soname=conftest
8527
9206
        lib=conftest
8536
9215
        libname=conftest
8537
9216
        lt_save_allow_undefined_flag=$allow_undefined_flag
8538
9217
        allow_undefined_flag=
8539
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8540
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9218
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9219
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8541
9220
  ac_status=$?
8542
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9221
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543
9222
  (exit $ac_status); }
8544
9223
        then
8545
9224
          archive_cmds_need_lc=no
8550
9229
      else
8551
9230
        cat conftest.err 1>&5
8552
9231
      fi
8553
 
      $rm conftest*
8554
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8555
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
9232
      $RM conftest*
 
9233
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9234
$as_echo "$archive_cmds_need_lc" >&6; }
8556
9235
      ;;
8557
9236
    esac
8558
9237
  fi
8559
9238
  ;;
8560
9239
esac
8561
9240
 
8562
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8563
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
9241
 
 
9242
 
 
9243
 
 
9244
 
 
9245
 
 
9246
 
 
9247
 
 
9248
 
 
9249
 
 
9250
 
 
9251
 
 
9252
 
 
9253
 
 
9254
 
 
9255
 
 
9256
 
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
 
9262
 
 
9263
 
 
9264
 
 
9265
 
 
9266
 
 
9267
 
 
9268
 
 
9269
 
 
9270
 
 
9271
 
 
9272
 
 
9273
 
 
9274
 
 
9275
 
 
9276
 
 
9277
 
 
9278
 
 
9279
 
 
9280
 
 
9281
 
 
9282
 
 
9283
 
 
9284
 
 
9285
 
 
9286
 
 
9287
 
 
9288
 
 
9289
 
 
9290
 
 
9291
 
 
9292
 
 
9293
 
 
9294
 
 
9295
 
 
9296
 
 
9297
 
 
9298
 
 
9299
 
 
9300
 
 
9301
 
 
9302
 
 
9303
 
 
9304
 
 
9305
 
 
9306
 
 
9307
 
 
9308
 
 
9309
 
 
9310
 
 
9311
 
 
9312
 
 
9313
 
 
9314
 
 
9315
 
 
9316
 
 
9317
 
 
9318
 
 
9319
 
 
9320
 
 
9321
 
 
9322
 
 
9323
 
 
9324
 
 
9325
 
 
9326
 
 
9327
 
 
9328
 
 
9329
 
 
9330
 
 
9331
 
 
9332
 
 
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
 
 
9338
 
 
9339
 
 
9340
 
 
9341
 
 
9342
 
 
9343
 
 
9344
 
 
9345
 
 
9346
 
 
9347
 
 
9348
 
 
9349
 
 
9350
 
 
9351
 
 
9352
 
 
9353
 
 
9354
 
 
9355
 
 
9356
 
 
9357
 
 
9358
 
 
9359
 
 
9360
 
 
9361
 
 
9362
 
 
9363
 
 
9364
 
 
9365
 
 
9366
 
 
9367
 
 
9368
 
 
9369
 
 
9370
 
 
9371
 
 
9372
 
 
9373
 
 
9374
 
 
9375
 
 
9376
 
 
9377
 
 
9378
 
 
9379
 
 
9380
 
 
9381
 
 
9382
 
 
9383
 
 
9384
 
 
9385
 
 
9386
 
 
9387
 
 
9388
 
 
9389
 
 
9390
 
 
9391
 
 
9392
 
 
9393
 
 
9394
 
 
9395
 
 
9396
 
 
9397
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9398
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9399
 
 
9400
if test "$GCC" = yes; then
 
9401
  case $host_os in
 
9402
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9403
    *) lt_awk_arg="/^libraries:/" ;;
 
9404
  esac
 
9405
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9406
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9407
    # if the path contains ";" then we assume it to be the separator
 
9408
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9409
    # assumed that no part of a normal pathname contains ";" but that should
 
9410
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9411
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9412
  else
 
9413
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9414
  fi
 
9415
  # Ok, now we have the path, separated by spaces, we can step through it
 
9416
  # and add multilib dir if necessary.
 
9417
  lt_tmp_lt_search_path_spec=
 
9418
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9419
  for lt_sys_path in $lt_search_path_spec; do
 
9420
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9421
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9422
    else
 
9423
      test -d "$lt_sys_path" && \
 
9424
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9425
    fi
 
9426
  done
 
9427
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9428
BEGIN {RS=" "; FS="/|\n";} {
 
9429
  lt_foo="";
 
9430
  lt_count=0;
 
9431
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9432
    if ($lt_i != "" && $lt_i != ".") {
 
9433
      if ($lt_i == "..") {
 
9434
        lt_count++;
 
9435
      } else {
 
9436
        if (lt_count == 0) {
 
9437
          lt_foo="/" $lt_i lt_foo;
 
9438
        } else {
 
9439
          lt_count--;
 
9440
        }
 
9441
      }
 
9442
    }
 
9443
  }
 
9444
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9445
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9446
}'`
 
9447
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9448
else
 
9449
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9450
fi
8564
9451
library_names_spec=
8565
9452
libname_spec='lib$name'
8566
9453
soname_spec=
8574
9461
version_type=none
8575
9462
dynamic_linker="$host_os ld.so"
8576
9463
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8577
 
if test "$GCC" = yes; then
8578
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8579
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8580
 
    # if the path contains ";" then we assume it to be the separator
8581
 
    # otherwise default to the standard path separator (i.e. ":") - it is
8582
 
    # assumed that no part of a normal pathname contains ";" but that should
8583
 
    # okay in the real world where ";" in dirpaths is itself problematic.
8584
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8585
 
  else
8586
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8587
 
  fi
8588
 
else
8589
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8590
 
fi
8591
9464
need_lib_prefix=unknown
8592
9465
hardcode_into_libs=no
8593
9466
 
8605
9478
  soname_spec='${libname}${release}${shared_ext}$major'
8606
9479
  ;;
8607
9480
 
8608
 
aix4* | aix5*)
 
9481
aix[4-9]*)
8609
9482
  version_type=linux
8610
9483
  need_lib_prefix=no
8611
9484
  need_version=no
8624
9497
      aix4 | aix4.[01] | aix4.[01].*)
8625
9498
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8626
9499
           echo ' yes '
8627
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9500
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8628
9501
        :
8629
9502
      else
8630
9503
        can_build_shared=no
8650
9523
  ;;
8651
9524
 
8652
9525
amigaos*)
8653
 
  library_names_spec='$libname.ixlibrary $libname.a'
8654
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8655
 
  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'
 
9526
  case $host_cpu in
 
9527
  powerpc)
 
9528
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9529
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9530
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9531
    ;;
 
9532
  m68k)
 
9533
    library_names_spec='$libname.ixlibrary $libname.a'
 
9534
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9535
    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'
 
9536
    ;;
 
9537
  esac
8656
9538
  ;;
8657
9539
 
8658
9540
beos*)
8675
9557
  # libtool to hard-code these into programs
8676
9558
  ;;
8677
9559
 
8678
 
cygwin* | mingw* | pw32*)
 
9560
cygwin* | mingw* | pw32* | cegcc*)
8679
9561
  version_type=windows
8680
9562
  shrext_cmds=".dll"
8681
9563
  need_version=no
8682
9564
  need_lib_prefix=no
8683
9565
 
8684
9566
  case $GCC,$host_os in
8685
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9567
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8686
9568
    library_names_spec='$libname.dll.a'
8687
9569
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8688
9570
    postinstall_cmds='base_file=`basename \${file}`~
8689
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9571
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8690
9572
      dldir=$destdir/`dirname \$dlpath`~
8691
9573
      test -d \$dldir || mkdir -p \$dldir~
8692
9574
      $install_prog $dir/$dlname \$dldir/$dlname~
8693
 
      chmod a+x \$dldir/$dlname'
 
9575
      chmod a+x \$dldir/$dlname~
 
9576
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9577
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9578
      fi'
8694
9579
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8695
9580
      dlpath=$dir/\$dldll~
8696
 
       $rm \$dlpath'
 
9581
       $RM \$dlpath'
8697
9582
    shlibpath_overrides_runpath=yes
8698
9583
 
8699
9584
    case $host_os in
8702
9587
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8703
9588
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8704
9589
      ;;
8705
 
    mingw*)
 
9590
    mingw* | cegcc*)
8706
9591
      # MinGW DLLs use traditional 'lib' prefix
8707
9592
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8708
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8709
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9593
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9594
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8710
9595
        # It is most probably a Windows format PATH printed by
8711
9596
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8712
9597
        # path with ; separators, and with drive letters. We can handle the
8713
9598
        # drive letters (cygwin fileutils understands them), so leave them,
8714
9599
        # especially as we might pass files found there to a mingw objdump,
8715
9600
        # which wouldn't understand a cygwinified path. Ahh.
8716
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9601
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8717
9602
      else
8718
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9603
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8719
9604
      fi
8720
9605
      ;;
8721
9606
    pw32*)
8739
9624
  version_type=darwin
8740
9625
  need_lib_prefix=no
8741
9626
  need_version=no
8742
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9627
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8743
9628
  soname_spec='${libname}${release}${major}$shared_ext'
8744
9629
  shlibpath_overrides_runpath=yes
8745
9630
  shlibpath_var=DYLD_LIBRARY_PATH
8746
9631
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8747
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8748
 
  if test "$GCC" = yes; then
8749
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8750
 
  else
8751
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8752
 
  fi
 
9632
 
 
9633
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8753
9634
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8754
9635
  ;;
8755
9636
 
8766
9647
  dynamic_linker=no
8767
9648
  ;;
8768
9649
 
8769
 
kfreebsd*-gnu)
8770
 
  version_type=linux
8771
 
  need_lib_prefix=no
8772
 
  need_version=no
8773
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8774
 
  soname_spec='${libname}${release}${shared_ext}$major'
8775
 
  shlibpath_var=LD_LIBRARY_PATH
8776
 
  shlibpath_overrides_runpath=no
8777
 
  hardcode_into_libs=yes
8778
 
  dynamic_linker='GNU ld.so'
8779
 
  ;;
8780
 
 
8781
9650
freebsd* | dragonfly*)
8782
9651
  # DragonFly does not have aout.  When/if they implement a new
8783
9652
  # versioning mechanism, adjust this.
8815
9684
    shlibpath_overrides_runpath=no
8816
9685
    hardcode_into_libs=yes
8817
9686
    ;;
8818
 
  freebsd*) # from 4.6 on
 
9687
  *) # from 4.6 on, and DragonFly
8819
9688
    shlibpath_overrides_runpath=yes
8820
9689
    hardcode_into_libs=yes
8821
9690
    ;;
8854
9723
    fi
8855
9724
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8856
9725
    ;;
8857
 
   hppa*64*)
8858
 
     shrext_cmds='.sl'
8859
 
     hardcode_into_libs=yes
8860
 
     dynamic_linker="$host_os dld.sl"
8861
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8862
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8863
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8864
 
     soname_spec='${libname}${release}${shared_ext}$major'
8865
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8866
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8867
 
     ;;
8868
 
   *)
 
9726
  hppa*64*)
 
9727
    shrext_cmds='.sl'
 
9728
    hardcode_into_libs=yes
 
9729
    dynamic_linker="$host_os dld.sl"
 
9730
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9731
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9732
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9733
    soname_spec='${libname}${release}${shared_ext}$major'
 
9734
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9735
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9736
    ;;
 
9737
  *)
8869
9738
    shrext_cmds='.sl'
8870
9739
    dynamic_linker="$host_os dld.sl"
8871
9740
    shlibpath_var=SHLIB_PATH
8878
9747
  postinstall_cmds='chmod 555 $lib'
8879
9748
  ;;
8880
9749
 
8881
 
interix3*)
 
9750
interix[3-9]*)
8882
9751
  version_type=linux
8883
9752
  need_lib_prefix=no
8884
9753
  need_version=no
8933
9802
  ;;
8934
9803
 
8935
9804
# This must be Linux ELF.
8936
 
linux*)
 
9805
linux* | k*bsd*-gnu)
8937
9806
  version_type=linux
8938
9807
  need_lib_prefix=no
8939
9808
  need_version=no
8942
9811
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8943
9812
  shlibpath_var=LD_LIBRARY_PATH
8944
9813
  shlibpath_overrides_runpath=no
 
9814
  # Some binutils ld are patched to set DT_RUNPATH
 
9815
  save_LDFLAGS=$LDFLAGS
 
9816
  save_libdir=$libdir
 
9817
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9818
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9819
  cat >conftest.$ac_ext <<_ACEOF
 
9820
/* confdefs.h.  */
 
9821
_ACEOF
 
9822
cat confdefs.h >>conftest.$ac_ext
 
9823
cat >>conftest.$ac_ext <<_ACEOF
 
9824
/* end confdefs.h.  */
 
9825
 
 
9826
int
 
9827
main ()
 
9828
{
 
9829
 
 
9830
  ;
 
9831
  return 0;
 
9832
}
 
9833
_ACEOF
 
9834
rm -f conftest.$ac_objext conftest$ac_exeext
 
9835
if { (ac_try="$ac_link"
 
9836
case "(($ac_try" in
 
9837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9838
  *) ac_try_echo=$ac_try;;
 
9839
esac
 
9840
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9841
$as_echo "$ac_try_echo") >&5
 
9842
  (eval "$ac_link") 2>conftest.er1
 
9843
  ac_status=$?
 
9844
  grep -v '^ *+' conftest.er1 >conftest.err
 
9845
  rm -f conftest.er1
 
9846
  cat conftest.err >&5
 
9847
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9848
  (exit $ac_status); } && {
 
9849
         test -z "$ac_c_werror_flag" ||
 
9850
         test ! -s conftest.err
 
9851
       } && test -s conftest$ac_exeext && {
 
9852
         test "$cross_compiling" = yes ||
 
9853
         $as_test_x conftest$ac_exeext
 
9854
       }; then
 
9855
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9856
  shlibpath_overrides_runpath=yes
 
9857
fi
 
9858
 
 
9859
else
 
9860
  $as_echo "$as_me: failed program was:" >&5
 
9861
sed 's/^/| /' conftest.$ac_ext >&5
 
9862
 
 
9863
 
 
9864
fi
 
9865
 
 
9866
rm -rf conftest.dSYM
 
9867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9868
      conftest$ac_exeext conftest.$ac_ext
 
9869
  LDFLAGS=$save_LDFLAGS
 
9870
  libdir=$save_libdir
 
9871
 
8945
9872
  # This implies no fast_install, which is unacceptable.
8946
9873
  # Some rework will be needed to allow for fast_install
8947
9874
  # before this can be enabled.
8948
9875
  hardcode_into_libs=yes
8949
9876
 
8950
 
  # find out which ABI we are using
8951
 
  libsuff=
8952
 
  case "$host_cpu" in
8953
 
  x86_64*|s390x*|powerpc64*)
8954
 
    echo '#line 8954 "configure"' > conftest.$ac_ext
8955
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8956
 
  (eval $ac_compile) 2>&5
8957
 
  ac_status=$?
8958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959
 
  (exit $ac_status); }; then
8960
 
      case `/usr/bin/file conftest.$ac_objext` in
8961
 
      *64-bit*)
8962
 
        libsuff=64
8963
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8964
 
        ;;
8965
 
      esac
8966
 
    fi
8967
 
    rm -rf conftest*
8968
 
    ;;
8969
 
  esac
8970
 
 
8971
9877
  # Append ld.so.conf contents to the search path
8972
9878
  if test -f /etc/ld.so.conf; then
8973
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8974
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9879
    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' ' '`
 
9880
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8975
9881
  fi
8976
9882
 
8977
9883
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8983
9889
  dynamic_linker='GNU/Linux ld.so'
8984
9890
  ;;
8985
9891
 
8986
 
knetbsd*-gnu)
8987
 
  version_type=linux
8988
 
  need_lib_prefix=no
8989
 
  need_version=no
8990
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8991
 
  soname_spec='${libname}${release}${shared_ext}$major'
8992
 
  shlibpath_var=LD_LIBRARY_PATH
8993
 
  shlibpath_overrides_runpath=no
8994
 
  hardcode_into_libs=yes
8995
 
  dynamic_linker='GNU ld.so'
8996
 
  ;;
8997
 
 
8998
9892
netbsd*)
8999
9893
  version_type=sunos
9000
9894
  need_lib_prefix=no
9001
9895
  need_version=no
9002
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9896
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9003
9897
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9004
9898
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9005
9899
    dynamic_linker='NetBSD (a.out) ld.so'
9020
9914
  shlibpath_overrides_runpath=yes
9021
9915
  ;;
9022
9916
 
9023
 
nto-qnx*)
9024
 
  version_type=linux
 
9917
*nto* | *qnx*)
 
9918
  version_type=qnx
9025
9919
  need_lib_prefix=no
9026
9920
  need_version=no
9027
9921
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9028
9922
  soname_spec='${libname}${release}${shared_ext}$major'
9029
9923
  shlibpath_var=LD_LIBRARY_PATH
9030
 
  shlibpath_overrides_runpath=yes
 
9924
  shlibpath_overrides_runpath=no
 
9925
  hardcode_into_libs=yes
 
9926
  dynamic_linker='ldqnx.so'
9031
9927
  ;;
9032
9928
 
9033
9929
openbsd*)
9036
9932
  need_lib_prefix=no
9037
9933
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9038
9934
  case $host_os in
9039
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9040
 
    *)                         need_version=no  ;;
 
9935
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
9936
    *)                          need_version=no  ;;
9041
9937
  esac
9042
9938
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9043
9939
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9044
9940
  shlibpath_var=LD_LIBRARY_PATH
9045
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9941
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9046
9942
    case $host_os in
9047
9943
      openbsd2.[89] | openbsd2.[89].*)
9048
9944
        shlibpath_overrides_runpath=no
9076
9972
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9077
9973
  ;;
9078
9974
 
 
9975
rdos*)
 
9976
  dynamic_linker=no
 
9977
  ;;
 
9978
 
9079
9979
solaris*)
9080
9980
  version_type=linux
9081
9981
  need_lib_prefix=no
9110
10010
    sni)
9111
10011
      shlibpath_overrides_runpath=no
9112
10012
      need_lib_prefix=no
9113
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9114
10013
      runpath_var=LD_RUN_PATH
9115
10014
      ;;
9116
10015
    siemens)
9141
10040
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9142
10041
  soname_spec='${libname}${release}${shared_ext}$major'
9143
10042
  shlibpath_var=LD_LIBRARY_PATH
 
10043
  shlibpath_overrides_runpath=yes
9144
10044
  hardcode_into_libs=yes
9145
10045
  if test "$with_gnu_ld" = yes; then
9146
10046
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9147
 
    shlibpath_overrides_runpath=no
9148
10047
  else
9149
10048
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9150
 
    shlibpath_overrides_runpath=yes
9151
10049
    case $host_os in
9152
10050
      sco3.2v5*)
9153
10051
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9157
10055
  sys_lib_dlsearch_path_spec='/usr/lib'
9158
10056
  ;;
9159
10057
 
 
10058
tpf*)
 
10059
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10060
  version_type=linux
 
10061
  need_lib_prefix=no
 
10062
  need_version=no
 
10063
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10064
  shlibpath_var=LD_LIBRARY_PATH
 
10065
  shlibpath_overrides_runpath=no
 
10066
  hardcode_into_libs=yes
 
10067
  ;;
 
10068
 
9160
10069
uts4*)
9161
10070
  version_type=linux
9162
10071
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9168
10077
  dynamic_linker=no
9169
10078
  ;;
9170
10079
esac
9171
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9172
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
10080
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10081
$as_echo "$dynamic_linker" >&6; }
9173
10082
test "$dynamic_linker" = no && can_build_shared=no
9174
10083
 
9175
10084
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9177
10086
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9178
10087
fi
9179
10088
 
9180
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9181
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
10089
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10090
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10091
fi
 
10092
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10093
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10094
fi
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
 
10115
 
 
10116
 
 
10117
 
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10183
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9182
10184
hardcode_action=
9183
 
if test -n "$hardcode_libdir_flag_spec" || \
9184
 
   test -n "$runpath_var" || \
 
10185
if test -n "$hardcode_libdir_flag_spec" ||
 
10186
   test -n "$runpath_var" ||
9185
10187
   test "X$hardcode_automatic" = "Xyes" ; then
9186
10188
 
9187
 
  # We can hardcode non-existant directories.
 
10189
  # We can hardcode non-existent directories.
9188
10190
  if test "$hardcode_direct" != no &&
9189
10191
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9190
10192
     # have to relink, otherwise we might link with an installed library
9191
10193
     # when we should be linking with a yet-to-be-installed one
9192
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10194
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9193
10195
     test "$hardcode_minus_L" != no; then
9194
10196
    # Linking always hardcodes the temporary library directory.
9195
10197
    hardcode_action=relink
9202
10204
  # directories.
9203
10205
  hardcode_action=unsupported
9204
10206
fi
9205
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9206
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
10207
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10208
$as_echo "$hardcode_action" >&6; }
9207
10209
 
9208
 
if test "$hardcode_action" = relink; then
 
10210
if test "$hardcode_action" = relink ||
 
10211
   test "$inherit_rpath" = yes; then
9209
10212
  # Fast installation is not supported
9210
10213
  enable_fast_install=no
9211
10214
elif test "$shlibpath_overrides_runpath" = yes ||
9214
10217
  enable_fast_install=needless
9215
10218
fi
9216
10219
 
9217
 
striplib=
9218
 
old_striplib=
9219
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9220
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9221
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9222
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9223
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9224
 
  { echo "$as_me:$LINENO: result: yes" >&5
9225
 
echo "${ECHO_T}yes" >&6; }
9226
 
else
9227
 
# FIXME - insert some real tests, host_os isn't really good enough
9228
 
  case $host_os in
9229
 
   darwin*)
9230
 
       if test -n "$STRIP" ; then
9231
 
         striplib="$STRIP -x"
9232
 
         { echo "$as_me:$LINENO: result: yes" >&5
9233
 
echo "${ECHO_T}yes" >&6; }
9234
 
       else
9235
 
  { echo "$as_me:$LINENO: result: no" >&5
9236
 
echo "${ECHO_T}no" >&6; }
9237
 
fi
9238
 
       ;;
9239
 
   *)
9240
 
  { echo "$as_me:$LINENO: result: no" >&5
9241
 
echo "${ECHO_T}no" >&6; }
9242
 
    ;;
9243
 
  esac
9244
 
fi
9245
 
 
9246
 
if test "x$enable_dlopen" != xyes; then
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
  if test "x$enable_dlopen" != xyes; then
9247
10226
  enable_dlopen=unknown
9248
10227
  enable_dlopen_self=unknown
9249
10228
  enable_dlopen_self_static=unknown
9258
10237
    lt_cv_dlopen_self=yes
9259
10238
    ;;
9260
10239
 
9261
 
  mingw* | pw32*)
 
10240
  mingw* | pw32* | cegcc*)
9262
10241
    lt_cv_dlopen="LoadLibrary"
9263
10242
    lt_cv_dlopen_libs=
9264
 
   ;;
 
10243
    ;;
9265
10244
 
9266
10245
  cygwin*)
9267
10246
    lt_cv_dlopen="dlopen"
9268
10247
    lt_cv_dlopen_libs=
9269
 
   ;;
 
10248
    ;;
9270
10249
 
9271
10250
  darwin*)
9272
10251
  # if libdl is installed we need to link against it
9273
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9274
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10252
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10253
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9275
10254
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10255
  $as_echo_n "(cached) " >&6
9277
10256
else
9278
10257
  ac_check_lib_save_LIBS=$LIBS
9279
10258
LIBS="-ldl  $LIBS"
9305
10284
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9306
10285
  *) ac_try_echo=$ac_try;;
9307
10286
esac
9308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10287
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10288
$as_echo "$ac_try_echo") >&5
9309
10289
  (eval "$ac_link") 2>conftest.er1
9310
10290
  ac_status=$?
9311
10291
  grep -v '^ *+' conftest.er1 >conftest.err
9312
10292
  rm -f conftest.er1
9313
10293
  cat conftest.err >&5
9314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10294
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315
10295
  (exit $ac_status); } && {
9316
10296
         test -z "$ac_c_werror_flag" ||
9317
10297
         test ! -s conftest.err
9318
 
       } && test -s conftest$ac_exeext &&
9319
 
       $as_test_x conftest$ac_exeext; then
 
10298
       } && test -s conftest$ac_exeext && {
 
10299
         test "$cross_compiling" = yes ||
 
10300
         $as_test_x conftest$ac_exeext
 
10301
       }; then
9320
10302
  ac_cv_lib_dl_dlopen=yes
9321
10303
else
9322
 
  echo "$as_me: failed program was:" >&5
 
10304
  $as_echo "$as_me: failed program was:" >&5
9323
10305
sed 's/^/| /' conftest.$ac_ext >&5
9324
10306
 
9325
10307
        ac_cv_lib_dl_dlopen=no
9326
10308
fi
9327
10309
 
 
10310
rm -rf conftest.dSYM
9328
10311
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9329
10312
      conftest$ac_exeext conftest.$ac_ext
9330
10313
LIBS=$ac_check_lib_save_LIBS
9331
10314
fi
9332
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9333
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9334
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10315
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10316
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10317
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9335
10318
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9336
10319
else
9337
10320
 
9341
10324
 
9342
10325
fi
9343
10326
 
9344
 
   ;;
 
10327
    ;;
9345
10328
 
9346
10329
  *)
9347
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9348
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
10330
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
10331
$as_echo_n "checking for shl_load... " >&6; }
9349
10332
if test "${ac_cv_func_shl_load+set}" = set; then
9350
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10333
  $as_echo_n "(cached) " >&6
9351
10334
else
9352
10335
  cat >conftest.$ac_ext <<_ACEOF
9353
10336
/* confdefs.h.  */
9400
10383
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9401
10384
  *) ac_try_echo=$ac_try;;
9402
10385
esac
9403
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10386
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10387
$as_echo "$ac_try_echo") >&5
9404
10388
  (eval "$ac_link") 2>conftest.er1
9405
10389
  ac_status=$?
9406
10390
  grep -v '^ *+' conftest.er1 >conftest.err
9407
10391
  rm -f conftest.er1
9408
10392
  cat conftest.err >&5
9409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10393
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410
10394
  (exit $ac_status); } && {
9411
10395
         test -z "$ac_c_werror_flag" ||
9412
10396
         test ! -s conftest.err
9413
 
       } && test -s conftest$ac_exeext &&
9414
 
       $as_test_x conftest$ac_exeext; then
 
10397
       } && test -s conftest$ac_exeext && {
 
10398
         test "$cross_compiling" = yes ||
 
10399
         $as_test_x conftest$ac_exeext
 
10400
       }; then
9415
10401
  ac_cv_func_shl_load=yes
9416
10402
else
9417
 
  echo "$as_me: failed program was:" >&5
 
10403
  $as_echo "$as_me: failed program was:" >&5
9418
10404
sed 's/^/| /' conftest.$ac_ext >&5
9419
10405
 
9420
10406
        ac_cv_func_shl_load=no
9421
10407
fi
9422
10408
 
 
10409
rm -rf conftest.dSYM
9423
10410
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9424
10411
      conftest$ac_exeext conftest.$ac_ext
9425
10412
fi
9426
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9427
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9428
 
if test $ac_cv_func_shl_load = yes; then
 
10413
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10414
$as_echo "$ac_cv_func_shl_load" >&6; }
 
10415
if test "x$ac_cv_func_shl_load" = x""yes; then
9429
10416
  lt_cv_dlopen="shl_load"
9430
10417
else
9431
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9432
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
10418
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10419
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9433
10420
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10421
  $as_echo_n "(cached) " >&6
9435
10422
else
9436
10423
  ac_check_lib_save_LIBS=$LIBS
9437
10424
LIBS="-ldld  $LIBS"
9463
10450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9464
10451
  *) ac_try_echo=$ac_try;;
9465
10452
esac
9466
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10453
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10454
$as_echo "$ac_try_echo") >&5
9467
10455
  (eval "$ac_link") 2>conftest.er1
9468
10456
  ac_status=$?
9469
10457
  grep -v '^ *+' conftest.er1 >conftest.err
9470
10458
  rm -f conftest.er1
9471
10459
  cat conftest.err >&5
9472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10460
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473
10461
  (exit $ac_status); } && {
9474
10462
         test -z "$ac_c_werror_flag" ||
9475
10463
         test ! -s conftest.err
9476
 
       } && test -s conftest$ac_exeext &&
9477
 
       $as_test_x conftest$ac_exeext; then
 
10464
       } && test -s conftest$ac_exeext && {
 
10465
         test "$cross_compiling" = yes ||
 
10466
         $as_test_x conftest$ac_exeext
 
10467
       }; then
9478
10468
  ac_cv_lib_dld_shl_load=yes
9479
10469
else
9480
 
  echo "$as_me: failed program was:" >&5
 
10470
  $as_echo "$as_me: failed program was:" >&5
9481
10471
sed 's/^/| /' conftest.$ac_ext >&5
9482
10472
 
9483
10473
        ac_cv_lib_dld_shl_load=no
9484
10474
fi
9485
10475
 
 
10476
rm -rf conftest.dSYM
9486
10477
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9487
10478
      conftest$ac_exeext conftest.$ac_ext
9488
10479
LIBS=$ac_check_lib_save_LIBS
9489
10480
fi
9490
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9491
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9492
 
if test $ac_cv_lib_dld_shl_load = yes; then
9493
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
10481
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10482
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10483
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10484
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9494
10485
else
9495
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9496
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
10486
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
10487
$as_echo_n "checking for dlopen... " >&6; }
9497
10488
if test "${ac_cv_func_dlopen+set}" = set; then
9498
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10489
  $as_echo_n "(cached) " >&6
9499
10490
else
9500
10491
  cat >conftest.$ac_ext <<_ACEOF
9501
10492
/* confdefs.h.  */
9548
10539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9549
10540
  *) ac_try_echo=$ac_try;;
9550
10541
esac
9551
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10542
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10543
$as_echo "$ac_try_echo") >&5
9552
10544
  (eval "$ac_link") 2>conftest.er1
9553
10545
  ac_status=$?
9554
10546
  grep -v '^ *+' conftest.er1 >conftest.err
9555
10547
  rm -f conftest.er1
9556
10548
  cat conftest.err >&5
9557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10549
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558
10550
  (exit $ac_status); } && {
9559
10551
         test -z "$ac_c_werror_flag" ||
9560
10552
         test ! -s conftest.err
9561
 
       } && test -s conftest$ac_exeext &&
9562
 
       $as_test_x conftest$ac_exeext; then
 
10553
       } && test -s conftest$ac_exeext && {
 
10554
         test "$cross_compiling" = yes ||
 
10555
         $as_test_x conftest$ac_exeext
 
10556
       }; then
9563
10557
  ac_cv_func_dlopen=yes
9564
10558
else
9565
 
  echo "$as_me: failed program was:" >&5
 
10559
  $as_echo "$as_me: failed program was:" >&5
9566
10560
sed 's/^/| /' conftest.$ac_ext >&5
9567
10561
 
9568
10562
        ac_cv_func_dlopen=no
9569
10563
fi
9570
10564
 
 
10565
rm -rf conftest.dSYM
9571
10566
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9572
10567
      conftest$ac_exeext conftest.$ac_ext
9573
10568
fi
9574
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9575
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9576
 
if test $ac_cv_func_dlopen = yes; then
 
10569
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10570
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10571
if test "x$ac_cv_func_dlopen" = x""yes; then
9577
10572
  lt_cv_dlopen="dlopen"
9578
10573
else
9579
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9580
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10574
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10575
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9581
10576
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10577
  $as_echo_n "(cached) " >&6
9583
10578
else
9584
10579
  ac_check_lib_save_LIBS=$LIBS
9585
10580
LIBS="-ldl  $LIBS"
9611
10606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9612
10607
  *) ac_try_echo=$ac_try;;
9613
10608
esac
9614
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10609
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10610
$as_echo "$ac_try_echo") >&5
9615
10611
  (eval "$ac_link") 2>conftest.er1
9616
10612
  ac_status=$?
9617
10613
  grep -v '^ *+' conftest.er1 >conftest.err
9618
10614
  rm -f conftest.er1
9619
10615
  cat conftest.err >&5
9620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10616
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621
10617
  (exit $ac_status); } && {
9622
10618
         test -z "$ac_c_werror_flag" ||
9623
10619
         test ! -s conftest.err
9624
 
       } && test -s conftest$ac_exeext &&
9625
 
       $as_test_x conftest$ac_exeext; then
 
10620
       } && test -s conftest$ac_exeext && {
 
10621
         test "$cross_compiling" = yes ||
 
10622
         $as_test_x conftest$ac_exeext
 
10623
       }; then
9626
10624
  ac_cv_lib_dl_dlopen=yes
9627
10625
else
9628
 
  echo "$as_me: failed program was:" >&5
 
10626
  $as_echo "$as_me: failed program was:" >&5
9629
10627
sed 's/^/| /' conftest.$ac_ext >&5
9630
10628
 
9631
10629
        ac_cv_lib_dl_dlopen=no
9632
10630
fi
9633
10631
 
 
10632
rm -rf conftest.dSYM
9634
10633
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9635
10634
      conftest$ac_exeext conftest.$ac_ext
9636
10635
LIBS=$ac_check_lib_save_LIBS
9637
10636
fi
9638
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9639
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9640
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10637
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10638
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10639
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9641
10640
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9642
10641
else
9643
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9644
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
10642
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10643
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9645
10644
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10645
  $as_echo_n "(cached) " >&6
9647
10646
else
9648
10647
  ac_check_lib_save_LIBS=$LIBS
9649
10648
LIBS="-lsvld  $LIBS"
9675
10674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9676
10675
  *) ac_try_echo=$ac_try;;
9677
10676
esac
9678
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10678
$as_echo "$ac_try_echo") >&5
9679
10679
  (eval "$ac_link") 2>conftest.er1
9680
10680
  ac_status=$?
9681
10681
  grep -v '^ *+' conftest.er1 >conftest.err
9682
10682
  rm -f conftest.er1
9683
10683
  cat conftest.err >&5
9684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685
10685
  (exit $ac_status); } && {
9686
10686
         test -z "$ac_c_werror_flag" ||
9687
10687
         test ! -s conftest.err
9688
 
       } && test -s conftest$ac_exeext &&
9689
 
       $as_test_x conftest$ac_exeext; then
 
10688
       } && test -s conftest$ac_exeext && {
 
10689
         test "$cross_compiling" = yes ||
 
10690
         $as_test_x conftest$ac_exeext
 
10691
       }; then
9690
10692
  ac_cv_lib_svld_dlopen=yes
9691
10693
else
9692
 
  echo "$as_me: failed program was:" >&5
 
10694
  $as_echo "$as_me: failed program was:" >&5
9693
10695
sed 's/^/| /' conftest.$ac_ext >&5
9694
10696
 
9695
10697
        ac_cv_lib_svld_dlopen=no
9696
10698
fi
9697
10699
 
 
10700
rm -rf conftest.dSYM
9698
10701
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9699
10702
      conftest$ac_exeext conftest.$ac_ext
9700
10703
LIBS=$ac_check_lib_save_LIBS
9701
10704
fi
9702
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9703
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9704
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
10705
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10706
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10707
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9705
10708
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9706
10709
else
9707
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9708
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
10710
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10711
$as_echo_n "checking for dld_link in -ldld... " >&6; }
9709
10712
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10713
  $as_echo_n "(cached) " >&6
9711
10714
else
9712
10715
  ac_check_lib_save_LIBS=$LIBS
9713
10716
LIBS="-ldld  $LIBS"
9739
10742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740
10743
  *) ac_try_echo=$ac_try;;
9741
10744
esac
9742
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10745
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10746
$as_echo "$ac_try_echo") >&5
9743
10747
  (eval "$ac_link") 2>conftest.er1
9744
10748
  ac_status=$?
9745
10749
  grep -v '^ *+' conftest.er1 >conftest.err
9746
10750
  rm -f conftest.er1
9747
10751
  cat conftest.err >&5
9748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10752
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749
10753
  (exit $ac_status); } && {
9750
10754
         test -z "$ac_c_werror_flag" ||
9751
10755
         test ! -s conftest.err
9752
 
       } && test -s conftest$ac_exeext &&
9753
 
       $as_test_x conftest$ac_exeext; then
 
10756
       } && test -s conftest$ac_exeext && {
 
10757
         test "$cross_compiling" = yes ||
 
10758
         $as_test_x conftest$ac_exeext
 
10759
       }; then
9754
10760
  ac_cv_lib_dld_dld_link=yes
9755
10761
else
9756
 
  echo "$as_me: failed program was:" >&5
 
10762
  $as_echo "$as_me: failed program was:" >&5
9757
10763
sed 's/^/| /' conftest.$ac_ext >&5
9758
10764
 
9759
10765
        ac_cv_lib_dld_dld_link=no
9760
10766
fi
9761
10767
 
 
10768
rm -rf conftest.dSYM
9762
10769
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9763
10770
      conftest$ac_exeext conftest.$ac_ext
9764
10771
LIBS=$ac_check_lib_save_LIBS
9765
10772
fi
9766
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9767
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9768
 
if test $ac_cv_lib_dld_dld_link = yes; then
9769
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10773
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10774
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10775
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10776
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9770
10777
fi
9771
10778
 
9772
10779
 
9804
10811
    save_LIBS="$LIBS"
9805
10812
    LIBS="$lt_cv_dlopen_libs $LIBS"
9806
10813
 
9807
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9808
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
10814
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10815
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
9809
10816
if test "${lt_cv_dlopen_self+set}" = set; then
9810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10817
  $as_echo_n "(cached) " >&6
9811
10818
else
9812
10819
          if test "$cross_compiling" = yes; then :
9813
10820
  lt_cv_dlopen_self=cross
9814
10821
else
9815
10822
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9816
10823
  lt_status=$lt_dlunknown
9817
 
  cat > conftest.$ac_ext <<EOF
9818
 
#line 9818 "configure"
 
10824
  cat > conftest.$ac_ext <<_LT_EOF
 
10825
#line 10825 "configure"
9819
10826
#include "confdefs.h"
9820
10827
 
9821
10828
#if HAVE_DLFCN_H
9856
10863
#  endif
9857
10864
#endif
9858
10865
 
9859
 
#ifdef __cplusplus
9860
 
extern "C" void exit (int);
9861
 
#endif
9862
 
 
9863
10866
void fnord() { int i=42;}
9864
10867
int main ()
9865
10868
{
9875
10878
  else
9876
10879
    puts (dlerror ());
9877
10880
 
9878
 
    exit (status);
 
10881
  return status;
9879
10882
}
9880
 
EOF
 
10883
_LT_EOF
9881
10884
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9882
10885
  (eval $ac_link) 2>&5
9883
10886
  ac_status=$?
9884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10887
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885
10888
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9886
10889
    (./conftest; exit; ) >&5 2>/dev/null
9887
10890
    lt_status=$?
9899
10902
 
9900
10903
 
9901
10904
fi
9902
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9903
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
10905
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10906
$as_echo "$lt_cv_dlopen_self" >&6; }
9904
10907
 
9905
10908
    if test "x$lt_cv_dlopen_self" = xyes; then
9906
10909
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9907
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9908
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
10910
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10911
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9909
10912
if test "${lt_cv_dlopen_self_static+set}" = set; then
9910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10913
  $as_echo_n "(cached) " >&6
9911
10914
else
9912
10915
          if test "$cross_compiling" = yes; then :
9913
10916
  lt_cv_dlopen_self_static=cross
9914
10917
else
9915
10918
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9916
10919
  lt_status=$lt_dlunknown
9917
 
  cat > conftest.$ac_ext <<EOF
9918
 
#line 9918 "configure"
 
10920
  cat > conftest.$ac_ext <<_LT_EOF
 
10921
#line 10921 "configure"
9919
10922
#include "confdefs.h"
9920
10923
 
9921
10924
#if HAVE_DLFCN_H
9956
10959
#  endif
9957
10960
#endif
9958
10961
 
9959
 
#ifdef __cplusplus
9960
 
extern "C" void exit (int);
9961
 
#endif
9962
 
 
9963
10962
void fnord() { int i=42;}
9964
10963
int main ()
9965
10964
{
9975
10974
  else
9976
10975
    puts (dlerror ());
9977
10976
 
9978
 
    exit (status);
 
10977
  return status;
9979
10978
}
9980
 
EOF
 
10979
_LT_EOF
9981
10980
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9982
10981
  (eval $ac_link) 2>&5
9983
10982
  ac_status=$?
9984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10983
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985
10984
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9986
10985
    (./conftest; exit; ) >&5 2>/dev/null
9987
10986
    lt_status=$?
9999
10998
 
10000
10999
 
10001
11000
fi
10002
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10003
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
11001
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11002
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10004
11003
    fi
10005
11004
 
10006
11005
    CPPFLAGS="$save_CPPFLAGS"
10021
11020
fi
10022
11021
 
10023
11022
 
10024
 
# Report which library types will actually be built
10025
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10026
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10027
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10028
 
echo "${ECHO_T}$can_build_shared" >&6; }
10029
 
 
10030
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10031
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10032
 
test "$can_build_shared" = "no" && enable_shared=no
10033
 
 
10034
 
# On AIX, shared libraries and static libraries use the same namespace, and
10035
 
# are all built from PIC.
10036
 
case $host_os in
10037
 
aix3*)
10038
 
  test "$enable_shared" = yes && enable_static=no
10039
 
  if test -n "$RANLIB"; then
10040
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10041
 
    postinstall_cmds='$RANLIB $lib'
10042
 
  fi
10043
 
  ;;
10044
 
 
10045
 
aix4* | aix5*)
10046
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10047
 
    test "$enable_shared" = yes && enable_static=no
10048
 
  fi
10049
 
    ;;
10050
 
esac
10051
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10052
 
echo "${ECHO_T}$enable_shared" >&6; }
10053
 
 
10054
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10055
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10056
 
# Make sure either enable_shared or enable_static is yes.
10057
 
test "$enable_shared" = yes || enable_static=yes
10058
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10059
 
echo "${ECHO_T}$enable_static" >&6; }
10060
 
 
10061
 
# The else clause should only fire when bootstrapping the
10062
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10063
 
# with your package, and you will get complaints that there are
10064
 
# no rules to generate ltmain.sh.
10065
 
if test -f "$ltmain"; then
10066
 
  # See if we are running on zsh, and set the options which allow our commands through
10067
 
  # without removal of \ escapes.
10068
 
  if test -n "${ZSH_VERSION+set}" ; then
10069
 
    setopt NO_GLOB_SUBST
10070
 
  fi
10071
 
  # Now quote all the things that may contain metacharacters while being
10072
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10073
 
  # variables and quote the copies for generation of the libtool script.
10074
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10075
 
    SED SHELL STRIP \
10076
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10077
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10078
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10079
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10080
 
    lt_cv_sys_global_symbol_to_c_name_address \
10081
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10082
 
    old_postinstall_cmds old_postuninstall_cmds \
10083
 
    compiler \
10084
 
    CC \
10085
 
    LD \
10086
 
    lt_prog_compiler_wl \
10087
 
    lt_prog_compiler_pic \
10088
 
    lt_prog_compiler_static \
10089
 
    lt_prog_compiler_no_builtin_flag \
10090
 
    export_dynamic_flag_spec \
10091
 
    thread_safe_flag_spec \
10092
 
    whole_archive_flag_spec \
10093
 
    enable_shared_with_static_runtimes \
10094
 
    old_archive_cmds \
10095
 
    old_archive_from_new_cmds \
10096
 
    predep_objects \
10097
 
    postdep_objects \
10098
 
    predeps \
10099
 
    postdeps \
10100
 
    compiler_lib_search_path \
10101
 
    archive_cmds \
10102
 
    archive_expsym_cmds \
10103
 
    postinstall_cmds \
10104
 
    postuninstall_cmds \
10105
 
    old_archive_from_expsyms_cmds \
10106
 
    allow_undefined_flag \
10107
 
    no_undefined_flag \
10108
 
    export_symbols_cmds \
10109
 
    hardcode_libdir_flag_spec \
10110
 
    hardcode_libdir_flag_spec_ld \
10111
 
    hardcode_libdir_separator \
10112
 
    hardcode_automatic \
10113
 
    module_cmds \
10114
 
    module_expsym_cmds \
10115
 
    lt_cv_prog_compiler_c_o \
10116
 
    exclude_expsyms \
10117
 
    include_expsyms; do
10118
 
 
10119
 
    case $var in
10120
 
    old_archive_cmds | \
10121
 
    old_archive_from_new_cmds | \
10122
 
    archive_cmds | \
10123
 
    archive_expsym_cmds | \
10124
 
    module_cmds | \
10125
 
    module_expsym_cmds | \
10126
 
    old_archive_from_expsyms_cmds | \
10127
 
    export_symbols_cmds | \
10128
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10129
 
    postinstall_cmds | postuninstall_cmds | \
10130
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10131
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10132
 
      # Double-quote double-evaled strings.
10133
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10134
 
      ;;
10135
 
    *)
10136
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10137
 
      ;;
10138
 
    esac
10139
 
  done
10140
 
 
10141
 
  case $lt_echo in
10142
 
  *'\$0 --fallback-echo"')
10143
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10144
 
    ;;
10145
 
  esac
10146
 
 
10147
 
cfgfile="${ofile}T"
10148
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10149
 
  $rm -f "$cfgfile"
10150
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10151
 
echo "$as_me: creating $ofile" >&6;}
10152
 
 
10153
 
  cat <<__EOF__ >> "$cfgfile"
10154
 
#! $SHELL
10155
 
 
10156
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10157
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10158
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10159
 
#
10160
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10161
 
# Free Software Foundation, Inc.
10162
 
#
10163
 
# This file is part of GNU Libtool:
10164
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10165
 
#
10166
 
# This program is free software; you can redistribute it and/or modify
10167
 
# it under the terms of the GNU General Public License as published by
10168
 
# the Free Software Foundation; either version 2 of the License, or
10169
 
# (at your option) any later version.
10170
 
#
10171
 
# This program is distributed in the hope that it will be useful, but
10172
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10173
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10174
 
# General Public License for more details.
10175
 
#
10176
 
# You should have received a copy of the GNU General Public License
10177
 
# along with this program; if not, write to the Free Software
10178
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10179
 
#
10180
 
# As a special exception to the GNU General Public License, if you
10181
 
# distribute this file as part of a program that contains a
10182
 
# configuration script generated by Autoconf, you may include it under
10183
 
# the same distribution terms that you use for the rest of that program.
10184
 
 
10185
 
# A sed program that does not truncate output.
10186
 
SED=$lt_SED
10187
 
 
10188
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10189
 
Xsed="$SED -e 1s/^X//"
10190
 
 
10191
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10192
 
# if CDPATH is set.
10193
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10194
 
 
10195
 
# The names of the tagged configurations supported by this script.
10196
 
available_tags=
10197
 
 
10198
 
# ### BEGIN LIBTOOL CONFIG
10199
 
 
10200
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10201
 
 
10202
 
# Shell to use when invoking shell scripts.
10203
 
SHELL=$lt_SHELL
10204
 
 
10205
 
# Whether or not to build shared libraries.
10206
 
build_libtool_libs=$enable_shared
10207
 
 
10208
 
# Whether or not to build static libraries.
10209
 
build_old_libs=$enable_static
10210
 
 
10211
 
# Whether or not to add -lc for building shared libraries.
10212
 
build_libtool_need_lc=$archive_cmds_need_lc
10213
 
 
10214
 
# Whether or not to disallow shared libs when runtime libs are static
10215
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10216
 
 
10217
 
# Whether or not to optimize for fast installation.
10218
 
fast_install=$enable_fast_install
10219
 
 
10220
 
# The host system.
10221
 
host_alias=$host_alias
10222
 
host=$host
10223
 
host_os=$host_os
10224
 
 
10225
 
# The build system.
10226
 
build_alias=$build_alias
10227
 
build=$build
10228
 
build_os=$build_os
10229
 
 
10230
 
# An echo program that does not interpret backslashes.
10231
 
echo=$lt_echo
10232
 
 
10233
 
# The archiver.
10234
 
AR=$lt_AR
10235
 
AR_FLAGS=$lt_AR_FLAGS
10236
 
 
10237
 
# A C compiler.
10238
 
LTCC=$lt_LTCC
10239
 
 
10240
 
# LTCC compiler flags.
10241
 
LTCFLAGS=$lt_LTCFLAGS
10242
 
 
10243
 
# A language-specific compiler.
10244
 
CC=$lt_compiler
10245
 
 
10246
 
# Is the compiler the GNU C compiler?
10247
 
with_gcc=$GCC
10248
 
 
10249
 
# An ERE matcher.
10250
 
EGREP=$lt_EGREP
10251
 
 
10252
 
# The linker used to build libraries.
10253
 
LD=$lt_LD
10254
 
 
10255
 
# Whether we need hard or soft links.
10256
 
LN_S=$lt_LN_S
10257
 
 
10258
 
# A BSD-compatible nm program.
10259
 
NM=$lt_NM
10260
 
 
10261
 
# A symbol stripping program
10262
 
STRIP=$lt_STRIP
10263
 
 
10264
 
# Used to examine libraries when file_magic_cmd begins "file"
10265
 
MAGIC_CMD=$MAGIC_CMD
10266
 
 
10267
 
# Used on cygwin: DLL creation program.
10268
 
DLLTOOL="$DLLTOOL"
10269
 
 
10270
 
# Used on cygwin: object dumper.
10271
 
OBJDUMP="$OBJDUMP"
10272
 
 
10273
 
# Used on cygwin: assembler.
10274
 
AS="$AS"
10275
 
 
10276
 
# The name of the directory that contains temporary libtool files.
10277
 
objdir=$objdir
10278
 
 
10279
 
# How to create reloadable object files.
10280
 
reload_flag=$lt_reload_flag
10281
 
reload_cmds=$lt_reload_cmds
10282
 
 
10283
 
# How to pass a linker flag through the compiler.
10284
 
wl=$lt_lt_prog_compiler_wl
10285
 
 
10286
 
# Object file suffix (normally "o").
10287
 
objext="$ac_objext"
10288
 
 
10289
 
# Old archive suffix (normally "a").
10290
 
libext="$libext"
10291
 
 
10292
 
# Shared library suffix (normally ".so").
10293
 
shrext_cmds='$shrext_cmds'
10294
 
 
10295
 
# Executable file suffix (normally "").
10296
 
exeext="$exeext"
10297
 
 
10298
 
# Additional compiler flags for building library objects.
10299
 
pic_flag=$lt_lt_prog_compiler_pic
10300
 
pic_mode=$pic_mode
10301
 
 
10302
 
# What is the maximum length of a command?
10303
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10304
 
 
10305
 
# Does compiler simultaneously support -c and -o options?
10306
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10307
 
 
10308
 
# Must we lock files when doing compilation?
10309
 
need_locks=$lt_need_locks
10310
 
 
10311
 
# Do we need the lib prefix for modules?
10312
 
need_lib_prefix=$need_lib_prefix
10313
 
 
10314
 
# Do we need a version for libraries?
10315
 
need_version=$need_version
10316
 
 
10317
 
# Whether dlopen is supported.
10318
 
dlopen_support=$enable_dlopen
10319
 
 
10320
 
# Whether dlopen of programs is supported.
10321
 
dlopen_self=$enable_dlopen_self
10322
 
 
10323
 
# Whether dlopen of statically linked programs is supported.
10324
 
dlopen_self_static=$enable_dlopen_self_static
10325
 
 
10326
 
# Compiler flag to prevent dynamic linking.
10327
 
link_static_flag=$lt_lt_prog_compiler_static
10328
 
 
10329
 
# Compiler flag to turn off builtin functions.
10330
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10331
 
 
10332
 
# Compiler flag to allow reflexive dlopens.
10333
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10334
 
 
10335
 
# Compiler flag to generate shared objects directly from archives.
10336
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10337
 
 
10338
 
# Compiler flag to generate thread-safe objects.
10339
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10340
 
 
10341
 
# Library versioning type.
10342
 
version_type=$version_type
10343
 
 
10344
 
# Format of library name prefix.
10345
 
libname_spec=$lt_libname_spec
10346
 
 
10347
 
# List of archive names.  First name is the real one, the rest are links.
10348
 
# The last name is the one that the linker finds with -lNAME.
10349
 
library_names_spec=$lt_library_names_spec
10350
 
 
10351
 
# The coded name of the library, if different from the real name.
10352
 
soname_spec=$lt_soname_spec
10353
 
 
10354
 
# Commands used to build and install an old-style archive.
10355
 
RANLIB=$lt_RANLIB
10356
 
old_archive_cmds=$lt_old_archive_cmds
10357
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10358
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10359
 
 
10360
 
# Create an old-style archive from a shared archive.
10361
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10362
 
 
10363
 
# Create a temporary old-style archive to link instead of a shared archive.
10364
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10365
 
 
10366
 
# Commands used to build and install a shared archive.
10367
 
archive_cmds=$lt_archive_cmds
10368
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10369
 
postinstall_cmds=$lt_postinstall_cmds
10370
 
postuninstall_cmds=$lt_postuninstall_cmds
10371
 
 
10372
 
# Commands used to build a loadable module (assumed same as above if empty)
10373
 
module_cmds=$lt_module_cmds
10374
 
module_expsym_cmds=$lt_module_expsym_cmds
10375
 
 
10376
 
# Commands to strip libraries.
10377
 
old_striplib=$lt_old_striplib
10378
 
striplib=$lt_striplib
10379
 
 
10380
 
# Dependencies to place before the objects being linked to create a
10381
 
# shared library.
10382
 
predep_objects=$lt_predep_objects
10383
 
 
10384
 
# Dependencies to place after the objects being linked to create a
10385
 
# shared library.
10386
 
postdep_objects=$lt_postdep_objects
10387
 
 
10388
 
# Dependencies to place before the objects being linked to create a
10389
 
# shared library.
10390
 
predeps=$lt_predeps
10391
 
 
10392
 
# Dependencies to place after the objects being linked to create a
10393
 
# shared library.
10394
 
postdeps=$lt_postdeps
10395
 
 
10396
 
# The library search path used internally by the compiler when linking
10397
 
# a shared library.
10398
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10399
 
 
10400
 
# Method to check whether dependent libraries are shared objects.
10401
 
deplibs_check_method=$lt_deplibs_check_method
10402
 
 
10403
 
# Command to use when deplibs_check_method == file_magic.
10404
 
file_magic_cmd=$lt_file_magic_cmd
10405
 
 
10406
 
# Flag that allows shared libraries with undefined symbols to be built.
10407
 
allow_undefined_flag=$lt_allow_undefined_flag
10408
 
 
10409
 
# Flag that forces no undefined symbols.
10410
 
no_undefined_flag=$lt_no_undefined_flag
10411
 
 
10412
 
# Commands used to finish a libtool library installation in a directory.
10413
 
finish_cmds=$lt_finish_cmds
10414
 
 
10415
 
# Same as above, but a single script fragment to be evaled but not shown.
10416
 
finish_eval=$lt_finish_eval
10417
 
 
10418
 
# Take the output of nm and produce a listing of raw symbols and C names.
10419
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10420
 
 
10421
 
# Transform the output of nm in a proper C declaration
10422
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10423
 
 
10424
 
# Transform the output of nm in a C name address pair
10425
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10426
 
 
10427
 
# This is the shared library runtime path variable.
10428
 
runpath_var=$runpath_var
10429
 
 
10430
 
# This is the shared library path variable.
10431
 
shlibpath_var=$shlibpath_var
10432
 
 
10433
 
# Is shlibpath searched before the hard-coded library search path?
10434
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10435
 
 
10436
 
# How to hardcode a shared library path into an executable.
10437
 
hardcode_action=$hardcode_action
10438
 
 
10439
 
# Whether we should hardcode library paths into libraries.
10440
 
hardcode_into_libs=$hardcode_into_libs
10441
 
 
10442
 
# Flag to hardcode \$libdir into a binary during linking.
10443
 
# This must work even if \$libdir does not exist.
10444
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10445
 
 
10446
 
# If ld is used when linking, flag to hardcode \$libdir into
10447
 
# a binary during linking. This must work even if \$libdir does
10448
 
# not exist.
10449
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10450
 
 
10451
 
# Whether we need a single -rpath flag with a separated argument.
10452
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10453
 
 
10454
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10455
 
# resulting binary.
10456
 
hardcode_direct=$hardcode_direct
10457
 
 
10458
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10459
 
# resulting binary.
10460
 
hardcode_minus_L=$hardcode_minus_L
10461
 
 
10462
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10463
 
# the resulting binary.
10464
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10465
 
 
10466
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10467
 
# and all subsequent libraries and executables linked against it.
10468
 
hardcode_automatic=$hardcode_automatic
10469
 
 
10470
 
# Variables whose values should be saved in libtool wrapper scripts and
10471
 
# restored at relink time.
10472
 
variables_saved_for_relink="$variables_saved_for_relink"
10473
 
 
10474
 
# Whether libtool must link a program against all its dependency libraries.
10475
 
link_all_deplibs=$link_all_deplibs
10476
 
 
10477
 
# Compile-time system search path for libraries
10478
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10479
 
 
10480
 
# Run-time system search path for libraries
10481
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10482
 
 
10483
 
# Fix the shell variable \$srcfile for the compiler.
10484
 
fix_srcfile_path="$fix_srcfile_path"
10485
 
 
10486
 
# Set to yes if exported symbols are required.
10487
 
always_export_symbols=$always_export_symbols
10488
 
 
10489
 
# The commands to list exported symbols.
10490
 
export_symbols_cmds=$lt_export_symbols_cmds
10491
 
 
10492
 
# The commands to extract the exported symbol list from a shared archive.
10493
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10494
 
 
10495
 
# Symbols that should not be listed in the preloaded symbols.
10496
 
exclude_expsyms=$lt_exclude_expsyms
10497
 
 
10498
 
# Symbols that must always be exported.
10499
 
include_expsyms=$lt_include_expsyms
10500
 
 
10501
 
# ### END LIBTOOL CONFIG
10502
 
 
10503
 
__EOF__
10504
 
 
10505
 
 
10506
 
  case $host_os in
10507
 
  aix3*)
10508
 
    cat <<\EOF >> "$cfgfile"
10509
 
 
10510
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10511
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10512
 
# vanish in a puff of smoke.
10513
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10514
 
  COLLECT_NAMES=
10515
 
  export COLLECT_NAMES
10516
 
fi
10517
 
EOF
10518
 
    ;;
10519
 
  esac
10520
 
 
10521
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10522
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10523
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10524
 
  # is reportedly fixed, but why not run on old versions too?
10525
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10526
 
 
10527
 
  mv -f "$cfgfile" "$ofile" || \
10528
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10529
 
  chmod +x "$ofile"
10530
 
 
10531
 
else
10532
 
  # If there is no Makefile yet, we rely on a make rule to execute
10533
 
  # `config.status --recheck' to rerun these tests and create the
10534
 
  # libtool script then.
10535
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10536
 
  if test -f "$ltmain_in"; then
10537
 
    test -f Makefile && make "$ltmain"
10538
 
  fi
10539
 
fi
10540
 
 
10541
 
 
10542
 
ac_ext=c
10543
 
ac_cpp='$CPP $CPPFLAGS'
10544
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10545
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10546
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10547
 
 
10548
 
CC="$lt_save_CC"
10549
 
 
10550
 
 
10551
 
# Check whether --with-tags was given.
10552
 
if test "${with_tags+set}" = set; then
10553
 
  withval=$with_tags; tagnames="$withval"
10554
 
fi
10555
 
 
10556
 
 
10557
 
if test -f "$ltmain" && test -n "$tagnames"; then
10558
 
  if test ! -f "${ofile}"; then
10559
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10560
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10561
 
  fi
10562
 
 
10563
 
  if test -z "$LTCC"; then
10564
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10565
 
    if test -z "$LTCC"; then
10566
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10567
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10568
 
    else
10569
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10570
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10571
 
    fi
10572
 
  fi
10573
 
  if test -z "$LTCFLAGS"; then
10574
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10575
 
  fi
10576
 
 
10577
 
  # Extract list of available tagged configurations in $ofile.
10578
 
  # Note that this assumes the entire list is on one line.
10579
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10580
 
 
10581
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10582
 
  for tagname in $tagnames; do
10583
 
    IFS="$lt_save_ifs"
10584
 
    # Check whether tagname contains only valid characters
10585
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10586
 
    "") ;;
10587
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10588
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10589
 
   { (exit 1); exit 1; }; }
10590
 
        ;;
10591
 
    esac
10592
 
 
10593
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10594
 
    then
10595
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10596
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10597
 
   { (exit 1); exit 1; }; }
10598
 
    fi
10599
 
 
10600
 
    # Update the list of available tags.
10601
 
    if test -n "$tagname"; then
10602
 
      echo appending configuration tag \"$tagname\" to $ofile
10603
 
 
10604
 
      case $tagname in
10605
 
      CXX)
10606
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10607
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10608
 
            (test "X$CXX" != "Xg++"))) ; then
10609
 
          ac_ext=cpp
10610
 
ac_cpp='$CXXCPP $CPPFLAGS'
10611
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10612
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10613
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10614
 
 
10615
 
 
10616
 
 
10617
 
 
10618
 
archive_cmds_need_lc_CXX=no
10619
 
allow_undefined_flag_CXX=
10620
 
always_export_symbols_CXX=no
10621
 
archive_expsym_cmds_CXX=
10622
 
export_dynamic_flag_spec_CXX=
10623
 
hardcode_direct_CXX=no
10624
 
hardcode_libdir_flag_spec_CXX=
10625
 
hardcode_libdir_flag_spec_ld_CXX=
10626
 
hardcode_libdir_separator_CXX=
10627
 
hardcode_minus_L_CXX=no
10628
 
hardcode_shlibpath_var_CXX=unsupported
10629
 
hardcode_automatic_CXX=no
10630
 
module_cmds_CXX=
10631
 
module_expsym_cmds_CXX=
10632
 
link_all_deplibs_CXX=unknown
10633
 
old_archive_cmds_CXX=$old_archive_cmds
10634
 
no_undefined_flag_CXX=
10635
 
whole_archive_flag_spec_CXX=
10636
 
enable_shared_with_static_runtimes_CXX=no
10637
 
 
10638
 
# Dependencies to place before and after the object being linked:
10639
 
predep_objects_CXX=
10640
 
postdep_objects_CXX=
10641
 
predeps_CXX=
10642
 
postdeps_CXX=
10643
 
compiler_lib_search_path_CXX=
10644
 
 
10645
 
# Source file extension for C++ test sources.
10646
 
ac_ext=cpp
10647
 
 
10648
 
# Object file extension for compiled C++ test sources.
10649
 
objext=o
10650
 
objext_CXX=$objext
10651
 
 
10652
 
# Code to be used in simple compile tests
10653
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10654
 
 
10655
 
# Code to be used in simple link tests
10656
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10657
 
 
10658
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10659
 
 
10660
 
# If no C compiler was specified, use CC.
10661
 
LTCC=${LTCC-"$CC"}
10662
 
 
10663
 
# If no C compiler flags were specified, use CFLAGS.
10664
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10665
 
 
10666
 
# Allow CC to be a program name with arguments.
10667
 
compiler=$CC
10668
 
 
10669
 
 
10670
 
# save warnings/boilerplate of simple test code
10671
 
ac_outfile=conftest.$ac_objext
10672
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10673
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10674
 
_lt_compiler_boilerplate=`cat conftest.err`
10675
 
$rm conftest*
10676
 
 
10677
 
ac_outfile=conftest.$ac_objext
10678
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10679
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10680
 
_lt_linker_boilerplate=`cat conftest.err`
10681
 
$rm conftest*
10682
 
 
10683
 
 
10684
 
# Allow CC to be a program name with arguments.
10685
 
lt_save_CC=$CC
10686
 
lt_save_LD=$LD
10687
 
lt_save_GCC=$GCC
10688
 
GCC=$GXX
10689
 
lt_save_with_gnu_ld=$with_gnu_ld
10690
 
lt_save_path_LD=$lt_cv_path_LD
10691
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10692
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10693
 
else
10694
 
  $as_unset lt_cv_prog_gnu_ld
10695
 
fi
10696
 
if test -n "${lt_cv_path_LDCXX+set}"; then
10697
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
10698
 
else
10699
 
  $as_unset lt_cv_path_LD
10700
 
fi
10701
 
test -z "${LDCXX+set}" || LD=$LDCXX
10702
 
CC=${CXX-"c++"}
10703
 
compiler=$CC
10704
 
compiler_CXX=$CC
10705
 
for cc_temp in $compiler""; do
10706
 
  case $cc_temp in
10707
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10708
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10709
 
    \-*) ;;
10710
 
    *) break;;
10711
 
  esac
10712
 
done
10713
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10714
 
 
10715
 
 
10716
 
# We don't want -fno-exception wen compiling C++ code, so set the
10717
 
# no_builtin_flag separately
10718
 
if test "$GXX" = yes; then
10719
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10720
 
else
10721
 
  lt_prog_compiler_no_builtin_flag_CXX=
10722
 
fi
10723
 
 
10724
 
if test "$GXX" = yes; then
10725
 
  # Set up default GNU C++ configuration
10726
 
 
10727
 
 
10728
 
# Check whether --with-gnu-ld was given.
10729
 
if test "${with_gnu_ld+set}" = set; then
10730
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10731
 
else
10732
 
  with_gnu_ld=no
10733
 
fi
10734
 
 
10735
 
ac_prog=ld
10736
 
if test "$GCC" = yes; then
10737
 
  # Check if gcc -print-prog-name=ld gives a path.
10738
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10739
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10740
 
  case $host in
10741
 
  *-*-mingw*)
10742
 
    # gcc leaves a trailing carriage return which upsets mingw
10743
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10744
 
  *)
10745
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10746
 
  esac
10747
 
  case $ac_prog in
10748
 
    # Accept absolute paths.
10749
 
    [\\/]* | ?:[\\/]*)
10750
 
      re_direlt='/[^/][^/]*/\.\./'
10751
 
      # Canonicalize the pathname of ld
10752
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10753
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10754
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10755
 
      done
10756
 
      test -z "$LD" && LD="$ac_prog"
10757
 
      ;;
10758
 
  "")
10759
 
    # If it fails, then pretend we aren't using GCC.
10760
 
    ac_prog=ld
10761
 
    ;;
10762
 
  *)
10763
 
    # If it is relative, then search for the first ld in PATH.
10764
 
    with_gnu_ld=unknown
10765
 
    ;;
10766
 
  esac
10767
 
elif test "$with_gnu_ld" = yes; then
10768
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
10769
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10770
 
else
10771
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10772
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10773
 
fi
10774
 
if test "${lt_cv_path_LD+set}" = set; then
10775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10776
 
else
10777
 
  if test -z "$LD"; then
10778
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10779
 
  for ac_dir in $PATH; do
10780
 
    IFS="$lt_save_ifs"
10781
 
    test -z "$ac_dir" && ac_dir=.
10782
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10783
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
10784
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
10785
 
      # but apparently some variants of GNU ld only accept -v.
10786
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
10787
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10788
 
      *GNU* | *'with BFD'*)
10789
 
        test "$with_gnu_ld" != no && break
10790
 
        ;;
10791
 
      *)
10792
 
        test "$with_gnu_ld" != yes && break
10793
 
        ;;
10794
 
      esac
10795
 
    fi
10796
 
  done
10797
 
  IFS="$lt_save_ifs"
10798
 
else
10799
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
10800
 
fi
10801
 
fi
10802
 
 
10803
 
LD="$lt_cv_path_LD"
10804
 
if test -n "$LD"; then
10805
 
  { echo "$as_me:$LINENO: result: $LD" >&5
10806
 
echo "${ECHO_T}$LD" >&6; }
10807
 
else
10808
 
  { echo "$as_me:$LINENO: result: no" >&5
10809
 
echo "${ECHO_T}no" >&6; }
10810
 
fi
10811
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10812
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10813
 
   { (exit 1); exit 1; }; }
10814
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10815
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10816
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10817
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10818
 
else
10819
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10820
 
case `$LD -v 2>&1 </dev/null` in
10821
 
*GNU* | *'with BFD'*)
10822
 
  lt_cv_prog_gnu_ld=yes
10823
 
  ;;
10824
 
*)
10825
 
  lt_cv_prog_gnu_ld=no
10826
 
  ;;
10827
 
esac
10828
 
fi
10829
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10830
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10831
 
with_gnu_ld=$lt_cv_prog_gnu_ld
10832
 
 
10833
 
 
10834
 
 
10835
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
10836
 
  # archiving commands below assume that GNU ld is being used.
10837
 
  if test "$with_gnu_ld" = yes; then
10838
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10839
 
    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'
10840
 
 
10841
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10842
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10843
 
 
10844
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10845
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10846
 
    #     investigate it a little bit more. (MM)
10847
 
    wlarc='${wl}'
10848
 
 
10849
 
    # ancient GNU ld didn't support --whole-archive et. al.
10850
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10851
 
        grep 'no-whole-archive' > /dev/null; then
10852
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10853
 
    else
10854
 
      whole_archive_flag_spec_CXX=
10855
 
    fi
10856
 
  else
10857
 
    with_gnu_ld=no
10858
 
    wlarc=
10859
 
 
10860
 
    # A generic and very simple default shared library creation
10861
 
    # command for GNU C++ for the case where it uses the native
10862
 
    # linker, instead of GNU ld.  If possible, this setting should
10863
 
    # overridden to take advantage of the native linker features on
10864
 
    # the platform it is being used on.
10865
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10866
 
  fi
10867
 
 
10868
 
  # Commands to make compiler produce verbose output that lists
10869
 
  # what "hidden" libraries, object files and flags are used when
10870
 
  # linking a shared library.
10871
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10872
 
 
10873
 
else
10874
 
  GXX=no
10875
 
  with_gnu_ld=no
10876
 
  wlarc=
10877
 
fi
10878
 
 
10879
 
# PORTME: fill in a description of your system's C++ link characteristics
10880
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10881
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10882
 
ld_shlibs_CXX=yes
10883
 
case $host_os in
10884
 
  aix3*)
10885
 
    # FIXME: insert proper C++ library support
10886
 
    ld_shlibs_CXX=no
10887
 
    ;;
10888
 
  aix4* | aix5*)
10889
 
    if test "$host_cpu" = ia64; then
10890
 
      # On IA64, the linker does run time linking by default, so we don't
10891
 
      # have to do anything special.
10892
 
      aix_use_runtimelinking=no
10893
 
      exp_sym_flag='-Bexport'
10894
 
      no_entry_flag=""
10895
 
    else
10896
 
      aix_use_runtimelinking=no
10897
 
 
10898
 
      # Test if we are trying to use run time linking or normal
10899
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10900
 
      # need to do runtime linking.
10901
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10902
 
        for ld_flag in $LDFLAGS; do
10903
 
          case $ld_flag in
10904
 
          *-brtl*)
10905
 
            aix_use_runtimelinking=yes
10906
 
            break
10907
 
            ;;
10908
 
          esac
10909
 
        done
10910
 
        ;;
10911
 
      esac
10912
 
 
10913
 
      exp_sym_flag='-bexport'
10914
 
      no_entry_flag='-bnoentry'
10915
 
    fi
10916
 
 
10917
 
    # When large executables or shared objects are built, AIX ld can
10918
 
    # have problems creating the table of contents.  If linking a library
10919
 
    # or program results in "error TOC overflow" add -mminimal-toc to
10920
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10921
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10922
 
 
10923
 
    archive_cmds_CXX=''
10924
 
    hardcode_direct_CXX=yes
10925
 
    hardcode_libdir_separator_CXX=':'
10926
 
    link_all_deplibs_CXX=yes
10927
 
 
10928
 
    if test "$GXX" = yes; then
10929
 
      case $host_os in aix4.[012]|aix4.[012].*)
10930
 
      # We only want to do this on AIX 4.2 and lower, the check
10931
 
      # below for broken collect2 doesn't work under 4.3+
10932
 
        collect2name=`${CC} -print-prog-name=collect2`
10933
 
        if test -f "$collect2name" && \
10934
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10935
 
        then
10936
 
          # We have reworked collect2
10937
 
          hardcode_direct_CXX=yes
10938
 
        else
10939
 
          # We have old collect2
10940
 
          hardcode_direct_CXX=unsupported
10941
 
          # It fails to find uninstalled libraries when the uninstalled
10942
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10943
 
          # to unsupported forces relinking
10944
 
          hardcode_minus_L_CXX=yes
10945
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10946
 
          hardcode_libdir_separator_CXX=
10947
 
        fi
10948
 
        ;;
10949
 
      esac
10950
 
      shared_flag='-shared'
10951
 
      if test "$aix_use_runtimelinking" = yes; then
10952
 
        shared_flag="$shared_flag "'${wl}-G'
10953
 
      fi
10954
 
    else
10955
 
      # not using gcc
10956
 
      if test "$host_cpu" = ia64; then
10957
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10958
 
        # chokes on -Wl,-G. The following line is correct:
10959
 
        shared_flag='-G'
10960
 
      else
10961
 
        if test "$aix_use_runtimelinking" = yes; then
10962
 
          shared_flag='${wl}-G'
10963
 
        else
10964
 
          shared_flag='${wl}-bM:SRE'
10965
 
        fi
10966
 
      fi
10967
 
    fi
10968
 
 
10969
 
    # It seems that -bexpall does not export symbols beginning with
10970
 
    # underscore (_), so it is better to generate a list of symbols to export.
10971
 
    always_export_symbols_CXX=yes
10972
 
    if test "$aix_use_runtimelinking" = yes; then
10973
 
      # Warning - without using the other runtime loading flags (-brtl),
10974
 
      # -berok will link without error, but may produce a broken library.
10975
 
      allow_undefined_flag_CXX='-berok'
10976
 
      # Determine the default libpath from the value encoded in an empty executable.
10977
 
      cat >conftest.$ac_ext <<_ACEOF
10978
 
/* confdefs.h.  */
10979
 
_ACEOF
10980
 
cat confdefs.h >>conftest.$ac_ext
10981
 
cat >>conftest.$ac_ext <<_ACEOF
10982
 
/* end confdefs.h.  */
10983
 
 
10984
 
int
10985
 
main ()
10986
 
{
10987
 
 
10988
 
  ;
10989
 
  return 0;
10990
 
}
10991
 
_ACEOF
10992
 
rm -f conftest.$ac_objext conftest$ac_exeext
10993
 
if { (ac_try="$ac_link"
10994
 
case "(($ac_try" in
10995
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10996
 
  *) ac_try_echo=$ac_try;;
10997
 
esac
10998
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10999
 
  (eval "$ac_link") 2>conftest.er1
11000
 
  ac_status=$?
11001
 
  grep -v '^ *+' conftest.er1 >conftest.err
11002
 
  rm -f conftest.er1
11003
 
  cat conftest.err >&5
11004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005
 
  (exit $ac_status); } && {
11006
 
         test -z "$ac_cxx_werror_flag" ||
11007
 
         test ! -s conftest.err
11008
 
       } && test -s conftest$ac_exeext &&
11009
 
       $as_test_x conftest$ac_exeext; then
11010
 
 
11011
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11012
 
}'`
11013
 
# Check for a 64-bit object if we didn't find anything.
11014
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11015
 
}'`; fi
11016
 
else
11017
 
  echo "$as_me: failed program was:" >&5
11018
 
sed 's/^/| /' conftest.$ac_ext >&5
11019
 
 
11020
 
 
11021
 
fi
11022
 
 
11023
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11024
 
      conftest$ac_exeext conftest.$ac_ext
11025
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11026
 
 
11027
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11028
 
 
11029
 
      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"
11030
 
     else
11031
 
      if test "$host_cpu" = ia64; then
11032
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11033
 
        allow_undefined_flag_CXX="-z nodefs"
11034
 
        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"
11035
 
      else
11036
 
        # Determine the default libpath from the value encoded in an empty executable.
11037
 
        cat >conftest.$ac_ext <<_ACEOF
11038
 
/* confdefs.h.  */
11039
 
_ACEOF
11040
 
cat confdefs.h >>conftest.$ac_ext
11041
 
cat >>conftest.$ac_ext <<_ACEOF
11042
 
/* end confdefs.h.  */
11043
 
 
11044
 
int
11045
 
main ()
11046
 
{
11047
 
 
11048
 
  ;
11049
 
  return 0;
11050
 
}
11051
 
_ACEOF
11052
 
rm -f conftest.$ac_objext conftest$ac_exeext
11053
 
if { (ac_try="$ac_link"
11054
 
case "(($ac_try" in
11055
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11056
 
  *) ac_try_echo=$ac_try;;
11057
 
esac
11058
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11059
 
  (eval "$ac_link") 2>conftest.er1
11060
 
  ac_status=$?
11061
 
  grep -v '^ *+' conftest.er1 >conftest.err
11062
 
  rm -f conftest.er1
11063
 
  cat conftest.err >&5
11064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065
 
  (exit $ac_status); } && {
11066
 
         test -z "$ac_cxx_werror_flag" ||
11067
 
         test ! -s conftest.err
11068
 
       } && test -s conftest$ac_exeext &&
11069
 
       $as_test_x conftest$ac_exeext; then
11070
 
 
11071
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11072
 
}'`
11073
 
# Check for a 64-bit object if we didn't find anything.
11074
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11075
 
}'`; fi
11076
 
else
11077
 
  echo "$as_me: failed program was:" >&5
11078
 
sed 's/^/| /' conftest.$ac_ext >&5
11079
 
 
11080
 
 
11081
 
fi
11082
 
 
11083
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11084
 
      conftest$ac_exeext conftest.$ac_ext
11085
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11086
 
 
11087
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11088
 
        # Warning - without using the other run time loading flags,
11089
 
        # -berok will link without error, but may produce a broken library.
11090
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11091
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11092
 
        # Exported symbols can be pulled into shared objects from archives
11093
 
        whole_archive_flag_spec_CXX='$convenience'
11094
 
        archive_cmds_need_lc_CXX=yes
11095
 
        # This is similar to how AIX traditionally builds its shared libraries.
11096
 
        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'
11097
 
      fi
11098
 
    fi
11099
 
    ;;
11100
 
 
11101
 
  beos*)
11102
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11103
 
      allow_undefined_flag_CXX=unsupported
11104
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11105
 
      # support --undefined.  This deserves some investigation.  FIXME
11106
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11107
 
    else
11108
 
      ld_shlibs_CXX=no
11109
 
    fi
11110
 
    ;;
11111
 
 
11112
 
  chorus*)
11113
 
    case $cc_basename in
11114
 
      *)
11115
 
        # FIXME: insert proper C++ library support
11116
 
        ld_shlibs_CXX=no
11117
 
        ;;
11118
 
    esac
11119
 
    ;;
11120
 
 
11121
 
  cygwin* | mingw* | pw32*)
11122
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11123
 
    # as there is no search path for DLLs.
11124
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11125
 
    allow_undefined_flag_CXX=unsupported
11126
 
    always_export_symbols_CXX=no
11127
 
    enable_shared_with_static_runtimes_CXX=yes
11128
 
 
11129
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11130
 
      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'
11131
 
      # If the export-symbols file already is a .def file (1st line
11132
 
      # is EXPORTS), use it as is; otherwise, prepend...
11133
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11134
 
        cp $export_symbols $output_objdir/$soname.def;
11135
 
      else
11136
 
        echo EXPORTS > $output_objdir/$soname.def;
11137
 
        cat $export_symbols >> $output_objdir/$soname.def;
11138
 
      fi~
11139
 
      $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'
11140
 
    else
11141
 
      ld_shlibs_CXX=no
11142
 
    fi
11143
 
  ;;
11144
 
      darwin* | rhapsody*)
11145
 
        case $host_os in
11146
 
        rhapsody* | darwin1.[012])
11147
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11148
 
         ;;
11149
 
       *) # Darwin 1.3 on
11150
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11151
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11152
 
         else
11153
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11154
 
             10.[012])
11155
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11156
 
               ;;
11157
 
             10.*)
11158
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11159
 
               ;;
11160
 
           esac
11161
 
         fi
11162
 
         ;;
11163
 
        esac
11164
 
      archive_cmds_need_lc_CXX=no
11165
 
      hardcode_direct_CXX=no
11166
 
      hardcode_automatic_CXX=yes
11167
 
      hardcode_shlibpath_var_CXX=unsupported
11168
 
      whole_archive_flag_spec_CXX=''
11169
 
      link_all_deplibs_CXX=yes
11170
 
 
11171
 
    if test "$GXX" = yes ; then
11172
 
      lt_int_apple_cc_single_mod=no
11173
 
      output_verbose_link_cmd='echo'
11174
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11175
 
       lt_int_apple_cc_single_mod=yes
11176
 
      fi
11177
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11178
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11179
 
      else
11180
 
          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'
11181
 
        fi
11182
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11183
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11184
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11185
 
            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}'
11186
 
          else
11187
 
            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}'
11188
 
          fi
11189
 
            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}'
11190
 
      else
11191
 
      case $cc_basename in
11192
 
        xlc*)
11193
 
         output_verbose_link_cmd='echo'
11194
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11195
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11196
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11197
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11198
 
          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}'
11199
 
          ;;
11200
 
       *)
11201
 
         ld_shlibs_CXX=no
11202
 
          ;;
11203
 
      esac
11204
 
      fi
11205
 
        ;;
11206
 
 
11207
 
  dgux*)
11208
 
    case $cc_basename in
11209
 
      ec++*)
11210
 
        # FIXME: insert proper C++ library support
11211
 
        ld_shlibs_CXX=no
11212
 
        ;;
11213
 
      ghcx*)
11214
 
        # Green Hills C++ Compiler
11215
 
        # FIXME: insert proper C++ library support
11216
 
        ld_shlibs_CXX=no
11217
 
        ;;
11218
 
      *)
11219
 
        # FIXME: insert proper C++ library support
11220
 
        ld_shlibs_CXX=no
11221
 
        ;;
11222
 
    esac
11223
 
    ;;
11224
 
  freebsd[12]*)
11225
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11226
 
    ld_shlibs_CXX=no
11227
 
    ;;
11228
 
  freebsd-elf*)
11229
 
    archive_cmds_need_lc_CXX=no
11230
 
    ;;
11231
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
11232
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11233
 
    # conventions
11234
 
    ld_shlibs_CXX=yes
11235
 
    ;;
11236
 
  gnu*)
11237
 
    ;;
11238
 
  hpux9*)
11239
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11240
 
    hardcode_libdir_separator_CXX=:
11241
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11242
 
    hardcode_direct_CXX=yes
11243
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11244
 
                                # but as the default
11245
 
                                # location of the library.
11246
 
 
11247
 
    case $cc_basename in
11248
 
    CC*)
11249
 
      # FIXME: insert proper C++ library support
11250
 
      ld_shlibs_CXX=no
11251
 
      ;;
11252
 
    aCC*)
11253
 
      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'
11254
 
      # Commands to make compiler produce verbose output that lists
11255
 
      # what "hidden" libraries, object files and flags are used when
11256
 
      # linking a shared library.
11257
 
      #
11258
 
      # There doesn't appear to be a way to prevent this compiler from
11259
 
      # explicitly linking system object files so we need to strip them
11260
 
      # from the output so that they don't get included in the library
11261
 
      # dependencies.
11262
 
      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'
11263
 
      ;;
11264
 
    *)
11265
 
      if test "$GXX" = yes; then
11266
 
        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'
11267
 
      else
11268
 
        # FIXME: insert proper C++ library support
11269
 
        ld_shlibs_CXX=no
11270
 
      fi
11271
 
      ;;
11272
 
    esac
11273
 
    ;;
11274
 
  hpux10*|hpux11*)
11275
 
    if test $with_gnu_ld = no; then
11276
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11277
 
      hardcode_libdir_separator_CXX=:
11278
 
 
11279
 
      case $host_cpu in
11280
 
      hppa*64*|ia64*)
11281
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11282
 
        ;;
11283
 
      *)
11284
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11285
 
        ;;
11286
 
      esac
11287
 
    fi
11288
 
    case $host_cpu in
11289
 
    hppa*64*|ia64*)
11290
 
      hardcode_direct_CXX=no
11291
 
      hardcode_shlibpath_var_CXX=no
11292
 
      ;;
11293
 
    *)
11294
 
      hardcode_direct_CXX=yes
11295
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11296
 
                                              # but as the default
11297
 
                                              # location of the library.
11298
 
      ;;
11299
 
    esac
11300
 
 
11301
 
    case $cc_basename in
11302
 
      CC*)
11303
 
        # FIXME: insert proper C++ library support
11304
 
        ld_shlibs_CXX=no
11305
 
        ;;
11306
 
      aCC*)
11307
 
        case $host_cpu in
11308
 
        hppa*64*)
11309
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11310
 
          ;;
11311
 
        ia64*)
11312
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11313
 
          ;;
11314
 
        *)
11315
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11316
 
          ;;
11317
 
        esac
11318
 
        # Commands to make compiler produce verbose output that lists
11319
 
        # what "hidden" libraries, object files and flags are used when
11320
 
        # linking a shared library.
11321
 
        #
11322
 
        # There doesn't appear to be a way to prevent this compiler from
11323
 
        # explicitly linking system object files so we need to strip them
11324
 
        # from the output so that they don't get included in the library
11325
 
        # dependencies.
11326
 
        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'
11327
 
        ;;
11328
 
      *)
11329
 
        if test "$GXX" = yes; then
11330
 
          if test $with_gnu_ld = no; then
11331
 
            case $host_cpu in
11332
 
            hppa*64*)
11333
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11334
 
              ;;
11335
 
            ia64*)
11336
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11337
 
              ;;
11338
 
            *)
11339
 
              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'
11340
 
              ;;
11341
 
            esac
11342
 
          fi
11343
 
        else
11344
 
          # FIXME: insert proper C++ library support
11345
 
          ld_shlibs_CXX=no
11346
 
        fi
11347
 
        ;;
11348
 
    esac
11349
 
    ;;
11350
 
  interix3*)
11351
 
    hardcode_direct_CXX=no
11352
 
    hardcode_shlibpath_var_CXX=no
11353
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11354
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11355
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11356
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11357
 
    # default) and relocated if they conflict, which is a slow very memory
11358
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11359
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11360
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11361
 
    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'
11362
 
    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'
11363
 
    ;;
11364
 
  irix5* | irix6*)
11365
 
    case $cc_basename in
11366
 
      CC*)
11367
 
        # SGI C++
11368
 
        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'
11369
 
 
11370
 
        # Archives containing C++ object files must be created using
11371
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11372
 
        # necessary to make sure instantiated templates are included
11373
 
        # in the archive.
11374
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11375
 
        ;;
11376
 
      *)
11377
 
        if test "$GXX" = yes; then
11378
 
          if test "$with_gnu_ld" = no; then
11379
 
            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'
11380
 
          else
11381
 
            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'
11382
 
          fi
11383
 
        fi
11384
 
        link_all_deplibs_CXX=yes
11385
 
        ;;
11386
 
    esac
11387
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11388
 
    hardcode_libdir_separator_CXX=:
11389
 
    ;;
11390
 
  linux*)
11391
 
    case $cc_basename in
11392
 
      KCC*)
11393
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11394
 
 
11395
 
        # KCC will only create a shared library if the output file
11396
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11397
 
        # to its proper name (with version) after linking.
11398
 
        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'
11399
 
        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'
11400
 
        # Commands to make compiler produce verbose output that lists
11401
 
        # what "hidden" libraries, object files and flags are used when
11402
 
        # linking a shared library.
11403
 
        #
11404
 
        # There doesn't appear to be a way to prevent this compiler from
11405
 
        # explicitly linking system object files so we need to strip them
11406
 
        # from the output so that they don't get included in the library
11407
 
        # dependencies.
11408
 
        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'
11409
 
 
11410
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11411
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11412
 
 
11413
 
        # Archives containing C++ object files must be created using
11414
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11415
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11416
 
        ;;
11417
 
      icpc*)
11418
 
        # Intel C++
11419
 
        with_gnu_ld=yes
11420
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11421
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11422
 
        # earlier do not add the objects themselves.
11423
 
        case `$CC -V 2>&1` in
11424
 
        *"Version 7."*)
11425
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11426
 
          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'
11427
 
          ;;
11428
 
        *)  # Version 8.0 or newer
11429
 
          tmp_idyn=
11430
 
          case $host_cpu in
11431
 
            ia64*) tmp_idyn=' -i_dynamic';;
11432
 
          esac
11433
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11434
 
          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'
11435
 
          ;;
11436
 
        esac
11437
 
        archive_cmds_need_lc_CXX=no
11438
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11439
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11440
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11441
 
        ;;
11442
 
      pgCC*)
11443
 
        # Portland Group C++ compiler
11444
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11445
 
        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'
11446
 
 
11447
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11448
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11449
 
        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'
11450
 
        ;;
11451
 
      cxx*)
11452
 
        # Compaq C++
11453
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11454
 
        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'
11455
 
 
11456
 
        runpath_var=LD_RUN_PATH
11457
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11458
 
        hardcode_libdir_separator_CXX=:
11459
 
 
11460
 
        # Commands to make compiler produce verbose output that lists
11461
 
        # what "hidden" libraries, object files and flags are used when
11462
 
        # linking a shared library.
11463
 
        #
11464
 
        # There doesn't appear to be a way to prevent this compiler from
11465
 
        # explicitly linking system object files so we need to strip them
11466
 
        # from the output so that they don't get included in the library
11467
 
        # dependencies.
11468
 
        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'
11469
 
        ;;
11470
 
    esac
11471
 
    ;;
11472
 
  lynxos*)
11473
 
    # FIXME: insert proper C++ library support
11474
 
    ld_shlibs_CXX=no
11475
 
    ;;
11476
 
  m88k*)
11477
 
    # FIXME: insert proper C++ library support
11478
 
    ld_shlibs_CXX=no
11479
 
    ;;
11480
 
  mvs*)
11481
 
    case $cc_basename in
11482
 
      cxx*)
11483
 
        # FIXME: insert proper C++ library support
11484
 
        ld_shlibs_CXX=no
11485
 
        ;;
11486
 
      *)
11487
 
        # FIXME: insert proper C++ library support
11488
 
        ld_shlibs_CXX=no
11489
 
        ;;
11490
 
    esac
11491
 
    ;;
11492
 
  netbsd*)
11493
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11494
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11495
 
      wlarc=
11496
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11497
 
      hardcode_direct_CXX=yes
11498
 
      hardcode_shlibpath_var_CXX=no
11499
 
    fi
11500
 
    # Workaround some broken pre-1.5 toolchains
11501
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11502
 
    ;;
11503
 
  openbsd2*)
11504
 
    # C++ shared libraries are fairly broken
11505
 
    ld_shlibs_CXX=no
11506
 
    ;;
11507
 
  openbsd*)
11508
 
    hardcode_direct_CXX=yes
11509
 
    hardcode_shlibpath_var_CXX=no
11510
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11511
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11512
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11513
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11514
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11515
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11516
 
    fi
11517
 
    output_verbose_link_cmd='echo'
11518
 
    ;;
11519
 
  osf3*)
11520
 
    case $cc_basename in
11521
 
      KCC*)
11522
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11523
 
 
11524
 
        # KCC will only create a shared library if the output file
11525
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11526
 
        # to its proper name (with version) after linking.
11527
 
        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'
11528
 
 
11529
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11530
 
        hardcode_libdir_separator_CXX=:
11531
 
 
11532
 
        # Archives containing C++ object files must be created using
11533
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11534
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11535
 
 
11536
 
        ;;
11537
 
      RCC*)
11538
 
        # Rational C++ 2.4.1
11539
 
        # FIXME: insert proper C++ library support
11540
 
        ld_shlibs_CXX=no
11541
 
        ;;
11542
 
      cxx*)
11543
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11544
 
        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'
11545
 
 
11546
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11547
 
        hardcode_libdir_separator_CXX=:
11548
 
 
11549
 
        # Commands to make compiler produce verbose output that lists
11550
 
        # what "hidden" libraries, object files and flags are used when
11551
 
        # linking a shared library.
11552
 
        #
11553
 
        # There doesn't appear to be a way to prevent this compiler from
11554
 
        # explicitly linking system object files so we need to strip them
11555
 
        # from the output so that they don't get included in the library
11556
 
        # dependencies.
11557
 
        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'
11558
 
        ;;
11559
 
      *)
11560
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11561
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11562
 
          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'
11563
 
 
11564
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11565
 
          hardcode_libdir_separator_CXX=:
11566
 
 
11567
 
          # Commands to make compiler produce verbose output that lists
11568
 
          # what "hidden" libraries, object files and flags are used when
11569
 
          # linking a shared library.
11570
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11571
 
 
11572
 
        else
11573
 
          # FIXME: insert proper C++ library support
11574
 
          ld_shlibs_CXX=no
11575
 
        fi
11576
 
        ;;
11577
 
    esac
11578
 
    ;;
11579
 
  osf4* | osf5*)
11580
 
    case $cc_basename in
11581
 
      KCC*)
11582
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11583
 
 
11584
 
        # KCC will only create a shared library if the output file
11585
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11586
 
        # to its proper name (with version) after linking.
11587
 
        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'
11588
 
 
11589
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11590
 
        hardcode_libdir_separator_CXX=:
11591
 
 
11592
 
        # Archives containing C++ object files must be created using
11593
 
        # the KAI C++ compiler.
11594
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11595
 
        ;;
11596
 
      RCC*)
11597
 
        # Rational C++ 2.4.1
11598
 
        # FIXME: insert proper C++ library support
11599
 
        ld_shlibs_CXX=no
11600
 
        ;;
11601
 
      cxx*)
11602
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11603
 
        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'
11604
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11605
 
          echo "-hidden">> $lib.exp~
11606
 
          $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~
11607
 
          $rm $lib.exp'
11608
 
 
11609
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11610
 
        hardcode_libdir_separator_CXX=:
11611
 
 
11612
 
        # Commands to make compiler produce verbose output that lists
11613
 
        # what "hidden" libraries, object files and flags are used when
11614
 
        # linking a shared library.
11615
 
        #
11616
 
        # There doesn't appear to be a way to prevent this compiler from
11617
 
        # explicitly linking system object files so we need to strip them
11618
 
        # from the output so that they don't get included in the library
11619
 
        # dependencies.
11620
 
        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'
11621
 
        ;;
11622
 
      *)
11623
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11624
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11625
 
         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'
11626
 
 
11627
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11628
 
          hardcode_libdir_separator_CXX=:
11629
 
 
11630
 
          # Commands to make compiler produce verbose output that lists
11631
 
          # what "hidden" libraries, object files and flags are used when
11632
 
          # linking a shared library.
11633
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11634
 
 
11635
 
        else
11636
 
          # FIXME: insert proper C++ library support
11637
 
          ld_shlibs_CXX=no
11638
 
        fi
11639
 
        ;;
11640
 
    esac
11641
 
    ;;
11642
 
  psos*)
11643
 
    # FIXME: insert proper C++ library support
11644
 
    ld_shlibs_CXX=no
11645
 
    ;;
11646
 
  sunos4*)
11647
 
    case $cc_basename in
11648
 
      CC*)
11649
 
        # Sun C++ 4.x
11650
 
        # FIXME: insert proper C++ library support
11651
 
        ld_shlibs_CXX=no
11652
 
        ;;
11653
 
      lcc*)
11654
 
        # Lucid
11655
 
        # FIXME: insert proper C++ library support
11656
 
        ld_shlibs_CXX=no
11657
 
        ;;
11658
 
      *)
11659
 
        # FIXME: insert proper C++ library support
11660
 
        ld_shlibs_CXX=no
11661
 
        ;;
11662
 
    esac
11663
 
    ;;
11664
 
  solaris*)
11665
 
    case $cc_basename in
11666
 
      CC*)
11667
 
        # Sun C++ 4.2, 5.x and Centerline C++
11668
 
        archive_cmds_need_lc_CXX=yes
11669
 
        no_undefined_flag_CXX=' -zdefs'
11670
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11671
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11672
 
        $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'
11673
 
 
11674
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11675
 
        hardcode_shlibpath_var_CXX=no
11676
 
        case $host_os in
11677
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11678
 
          *)
11679
 
            # The C++ compiler is used as linker so we must use $wl
11680
 
            # flag to pass the commands to the underlying system
11681
 
            # linker. We must also pass each convience library through
11682
 
            # to the system linker between allextract/defaultextract.
11683
 
            # The C++ compiler will combine linker options so we
11684
 
            # cannot just pass the convience library names through
11685
 
            # without $wl.
11686
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11687
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11688
 
            ;;
11689
 
        esac
11690
 
        link_all_deplibs_CXX=yes
11691
 
 
11692
 
        output_verbose_link_cmd='echo'
11693
 
 
11694
 
        # Archives containing C++ object files must be created using
11695
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11696
 
        # necessary to make sure instantiated templates are included
11697
 
        # in the archive.
11698
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11699
 
        ;;
11700
 
      gcx*)
11701
 
        # Green Hills C++ Compiler
11702
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11703
 
 
11704
 
        # The C++ compiler must be used to create the archive.
11705
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11706
 
        ;;
11707
 
      *)
11708
 
        # GNU C++ compiler with Solaris linker
11709
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11710
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11711
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
11712
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11713
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11714
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11715
 
 
11716
 
            # Commands to make compiler produce verbose output that lists
11717
 
            # what "hidden" libraries, object files and flags are used when
11718
 
            # linking a shared library.
11719
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11720
 
          else
11721
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
11722
 
            # platform.
11723
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11724
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11725
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11726
 
 
11727
 
            # Commands to make compiler produce verbose output that lists
11728
 
            # what "hidden" libraries, object files and flags are used when
11729
 
            # linking a shared library.
11730
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11731
 
          fi
11732
 
 
11733
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11734
 
        fi
11735
 
        ;;
11736
 
    esac
11737
 
    ;;
11738
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11739
 
    no_undefined_flag_CXX='${wl}-z,text'
11740
 
    archive_cmds_need_lc_CXX=no
11741
 
    hardcode_shlibpath_var_CXX=no
11742
 
    runpath_var='LD_RUN_PATH'
11743
 
 
11744
 
    case $cc_basename in
11745
 
      CC*)
11746
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11747
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11748
 
        ;;
11749
 
      *)
11750
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11751
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11752
 
        ;;
11753
 
    esac
11754
 
    ;;
11755
 
  sysv5* | sco3.2v5* | sco5v6*)
11756
 
    # Note: We can NOT use -z defs as we might desire, because we do not
11757
 
    # link with -lc, and that would cause any symbols used from libc to
11758
 
    # always be unresolved, which means just about no library would
11759
 
    # ever link correctly.  If we're not using GNU ld we use -z text
11760
 
    # though, which does catch some bad symbols but isn't as heavy-handed
11761
 
    # as -z defs.
11762
 
    # For security reasons, it is highly recommended that you always
11763
 
    # use absolute paths for naming shared libraries, and exclude the
11764
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
11765
 
    # requires that you compile everything twice, which is a pain.
11766
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
11767
 
    # non-empty value in the environment.  Most likely only useful for
11768
 
    # creating official distributions of packages.
11769
 
    # This is a hack until libtool officially supports absolute path
11770
 
    # names for shared libraries.
11771
 
    no_undefined_flag_CXX='${wl}-z,text'
11772
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
11773
 
    archive_cmds_need_lc_CXX=no
11774
 
    hardcode_shlibpath_var_CXX=no
11775
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11776
 
    hardcode_libdir_separator_CXX=':'
11777
 
    link_all_deplibs_CXX=yes
11778
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
11779
 
    runpath_var='LD_RUN_PATH'
11780
 
 
11781
 
    case $cc_basename in
11782
 
      CC*)
11783
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11784
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11785
 
        ;;
11786
 
      *)
11787
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11788
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11789
 
        ;;
11790
 
    esac
11791
 
    ;;
11792
 
  tandem*)
11793
 
    case $cc_basename in
11794
 
      NCC*)
11795
 
        # NonStop-UX NCC 3.20
11796
 
        # FIXME: insert proper C++ library support
11797
 
        ld_shlibs_CXX=no
11798
 
        ;;
11799
 
      *)
11800
 
        # FIXME: insert proper C++ library support
11801
 
        ld_shlibs_CXX=no
11802
 
        ;;
11803
 
    esac
11804
 
    ;;
11805
 
  vxworks*)
11806
 
    # FIXME: insert proper C++ library support
11807
 
    ld_shlibs_CXX=no
11808
 
    ;;
11809
 
  *)
11810
 
    # FIXME: insert proper C++ library support
11811
 
    ld_shlibs_CXX=no
11812
 
    ;;
11813
 
esac
11814
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11815
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11816
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
11817
 
 
11818
 
GCC_CXX="$GXX"
11819
 
LD_CXX="$LD"
11820
 
 
11821
 
 
11822
 
cat > conftest.$ac_ext <<EOF
11823
 
class Foo
11824
 
{
11825
 
public:
11826
 
  Foo (void) { a = 0; }
11827
 
private:
11828
 
  int a;
11829
 
};
11830
 
EOF
11831
 
 
11832
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11833
 
  (eval $ac_compile) 2>&5
11834
 
  ac_status=$?
11835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836
 
  (exit $ac_status); }; then
11837
 
  # Parse the compiler output and extract the necessary
11838
 
  # objects, libraries and library flags.
11839
 
 
11840
 
  # Sentinel used to keep track of whether or not we are before
11841
 
  # the conftest object file.
11842
 
  pre_test_object_deps_done=no
11843
 
 
11844
 
  # The `*' in the case matches for architectures that use `case' in
11845
 
  # $output_verbose_cmd can trigger glob expansion during the loop
11846
 
  # eval without this substitution.
11847
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11848
 
 
11849
 
  for p in `eval $output_verbose_link_cmd`; do
11850
 
    case $p in
11851
 
 
11852
 
    -L* | -R* | -l*)
11853
 
       # Some compilers place space between "-{L,R}" and the path.
11854
 
       # Remove the space.
11855
 
       if test $p = "-L" \
11856
 
          || test $p = "-R"; then
11857
 
         prev=$p
11858
 
         continue
11859
 
       else
11860
 
         prev=
11861
 
       fi
11862
 
 
11863
 
       if test "$pre_test_object_deps_done" = no; then
11864
 
         case $p in
11865
 
         -L* | -R*)
11866
 
           # Internal compiler library paths should come after those
11867
 
           # provided the user.  The postdeps already come after the
11868
 
           # user supplied libs so there is no need to process them.
11869
 
           if test -z "$compiler_lib_search_path_CXX"; then
11870
 
             compiler_lib_search_path_CXX="${prev}${p}"
11871
 
           else
11872
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
11873
 
           fi
11874
 
           ;;
11875
 
         # The "-l" case would never come before the object being
11876
 
         # linked, so don't bother handling this case.
11877
 
         esac
11878
 
       else
11879
 
         if test -z "$postdeps_CXX"; then
11880
 
           postdeps_CXX="${prev}${p}"
11881
 
         else
11882
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11883
 
         fi
11884
 
       fi
11885
 
       ;;
11886
 
 
11887
 
    *.$objext)
11888
 
       # This assumes that the test object file only shows up
11889
 
       # once in the compiler output.
11890
 
       if test "$p" = "conftest.$objext"; then
11891
 
         pre_test_object_deps_done=yes
11892
 
         continue
11893
 
       fi
11894
 
 
11895
 
       if test "$pre_test_object_deps_done" = no; then
11896
 
         if test -z "$predep_objects_CXX"; then
11897
 
           predep_objects_CXX="$p"
11898
 
         else
11899
 
           predep_objects_CXX="$predep_objects_CXX $p"
11900
 
         fi
11901
 
       else
11902
 
         if test -z "$postdep_objects_CXX"; then
11903
 
           postdep_objects_CXX="$p"
11904
 
         else
11905
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
11906
 
         fi
11907
 
       fi
11908
 
       ;;
11909
 
 
11910
 
    *) ;; # Ignore the rest.
11911
 
 
11912
 
    esac
11913
 
  done
11914
 
 
11915
 
  # Clean up.
11916
 
  rm -f a.out a.exe
11917
 
else
11918
 
  echo "libtool.m4: error: problem compiling CXX test program"
11919
 
fi
11920
 
 
11921
 
$rm -f confest.$objext
11922
 
 
11923
 
# PORTME: override above test on systems where it is broken
11924
 
case $host_os in
11925
 
interix3*)
11926
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11927
 
  # hack all around it, let's just trust "g++" to DTRT.
11928
 
  predep_objects_CXX=
11929
 
  postdep_objects_CXX=
11930
 
  postdeps_CXX=
11931
 
  ;;
11932
 
 
11933
 
solaris*)
11934
 
  case $cc_basename in
11935
 
  CC*)
11936
 
    # Adding this requires a known-good setup of shared libraries for
11937
 
    # Sun compiler versions before 5.6, else PIC objects from an old
11938
 
    # archive will be linked into the output, leading to subtle bugs.
11939
 
    postdeps_CXX='-lCstd -lCrun'
11940
 
    ;;
11941
 
  esac
11942
 
  ;;
11943
 
esac
11944
 
 
11945
 
 
11946
 
case " $postdeps_CXX " in
11947
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11948
 
esac
11949
 
 
11950
 
lt_prog_compiler_wl_CXX=
11951
 
lt_prog_compiler_pic_CXX=
11952
 
lt_prog_compiler_static_CXX=
11953
 
 
11954
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11955
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11956
 
 
11957
 
  # C++ specific cases for pic, static, wl, etc.
11958
 
  if test "$GXX" = yes; then
11959
 
    lt_prog_compiler_wl_CXX='-Wl,'
11960
 
    lt_prog_compiler_static_CXX='-static'
11961
 
 
11962
 
    case $host_os in
11963
 
    aix*)
11964
 
      # All AIX code is PIC.
11965
 
      if test "$host_cpu" = ia64; then
11966
 
        # AIX 5 now supports IA64 processor
11967
 
        lt_prog_compiler_static_CXX='-Bstatic'
11968
 
      fi
11969
 
      ;;
11970
 
    amigaos*)
11971
 
      # FIXME: we need at least 68020 code to build shared libraries, but
11972
 
      # adding the `-m68020' flag to GCC prevents building anything better,
11973
 
      # like `-m68040'.
11974
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11975
 
      ;;
11976
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11977
 
      # PIC is the default for these OSes.
11978
 
      ;;
11979
 
    mingw* | os2* | pw32*)
11980
 
      # This hack is so that the source file can tell whether it is being
11981
 
      # built for inclusion in a dll (and should export symbols for example).
11982
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11983
 
      ;;
11984
 
    darwin* | rhapsody*)
11985
 
      # PIC is the default on this platform
11986
 
      # Common symbols not allowed in MH_DYLIB files
11987
 
      lt_prog_compiler_pic_CXX='-fno-common'
11988
 
      ;;
11989
 
    *djgpp*)
11990
 
      # DJGPP does not support shared libraries at all
11991
 
      lt_prog_compiler_pic_CXX=
11992
 
      ;;
11993
 
    interix3*)
11994
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11995
 
      # Instead, we relocate shared libraries at runtime.
11996
 
      ;;
11997
 
    sysv4*MP*)
11998
 
      if test -d /usr/nec; then
11999
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12000
 
      fi
12001
 
      ;;
12002
 
    hpux*)
12003
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12004
 
      # not for PA HP-UX.
12005
 
      case $host_cpu in
12006
 
      hppa*64*|ia64*)
12007
 
        ;;
12008
 
      *)
12009
 
        lt_prog_compiler_pic_CXX='-fPIC'
12010
 
        ;;
12011
 
      esac
12012
 
      ;;
12013
 
    *)
12014
 
      lt_prog_compiler_pic_CXX='-fPIC'
12015
 
      ;;
12016
 
    esac
12017
 
  else
12018
 
    case $host_os in
12019
 
      aix4* | aix5*)
12020
 
        # All AIX code is PIC.
12021
 
        if test "$host_cpu" = ia64; then
12022
 
          # AIX 5 now supports IA64 processor
12023
 
          lt_prog_compiler_static_CXX='-Bstatic'
12024
 
        else
12025
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12026
 
        fi
12027
 
        ;;
12028
 
      chorus*)
12029
 
        case $cc_basename in
12030
 
        cxch68*)
12031
 
          # Green Hills C++ Compiler
12032
 
          # _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"
12033
 
          ;;
12034
 
        esac
12035
 
        ;;
12036
 
       darwin*)
12037
 
         # PIC is the default on this platform
12038
 
         # Common symbols not allowed in MH_DYLIB files
12039
 
         case $cc_basename in
12040
 
           xlc*)
12041
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12042
 
           lt_prog_compiler_wl_CXX='-Wl,'
12043
 
           ;;
12044
 
         esac
12045
 
       ;;
12046
 
      dgux*)
12047
 
        case $cc_basename in
12048
 
          ec++*)
12049
 
            lt_prog_compiler_pic_CXX='-KPIC'
12050
 
            ;;
12051
 
          ghcx*)
12052
 
            # Green Hills C++ Compiler
12053
 
            lt_prog_compiler_pic_CXX='-pic'
12054
 
            ;;
12055
 
          *)
12056
 
            ;;
12057
 
        esac
12058
 
        ;;
12059
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
12060
 
        # FreeBSD uses GNU C++
12061
 
        ;;
12062
 
      hpux9* | hpux10* | hpux11*)
12063
 
        case $cc_basename in
12064
 
          CC*)
12065
 
            lt_prog_compiler_wl_CXX='-Wl,'
12066
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12067
 
            if test "$host_cpu" != ia64; then
12068
 
              lt_prog_compiler_pic_CXX='+Z'
12069
 
            fi
12070
 
            ;;
12071
 
          aCC*)
12072
 
            lt_prog_compiler_wl_CXX='-Wl,'
12073
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12074
 
            case $host_cpu in
12075
 
            hppa*64*|ia64*)
12076
 
              # +Z the default
12077
 
              ;;
12078
 
            *)
12079
 
              lt_prog_compiler_pic_CXX='+Z'
12080
 
              ;;
12081
 
            esac
12082
 
            ;;
12083
 
          *)
12084
 
            ;;
12085
 
        esac
12086
 
        ;;
12087
 
      interix*)
12088
 
        # This is c89, which is MS Visual C++ (no shared libs)
12089
 
        # Anyone wants to do a port?
12090
 
        ;;
12091
 
      irix5* | irix6* | nonstopux*)
12092
 
        case $cc_basename in
12093
 
          CC*)
12094
 
            lt_prog_compiler_wl_CXX='-Wl,'
12095
 
            lt_prog_compiler_static_CXX='-non_shared'
12096
 
            # CC pic flag -KPIC is the default.
12097
 
            ;;
12098
 
          *)
12099
 
            ;;
12100
 
        esac
12101
 
        ;;
12102
 
      linux*)
12103
 
        case $cc_basename in
12104
 
          KCC*)
12105
 
            # KAI C++ Compiler
12106
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12107
 
            lt_prog_compiler_pic_CXX='-fPIC'
12108
 
            ;;
12109
 
          icpc* | ecpc*)
12110
 
            # Intel C++
12111
 
            lt_prog_compiler_wl_CXX='-Wl,'
12112
 
            lt_prog_compiler_pic_CXX='-KPIC'
12113
 
            lt_prog_compiler_static_CXX='-static'
12114
 
            ;;
12115
 
          pgCC*)
12116
 
            # Portland Group C++ compiler.
12117
 
            lt_prog_compiler_wl_CXX='-Wl,'
12118
 
            lt_prog_compiler_pic_CXX='-fpic'
12119
 
            lt_prog_compiler_static_CXX='-Bstatic'
12120
 
            ;;
12121
 
          cxx*)
12122
 
            # Compaq C++
12123
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12124
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12125
 
            lt_prog_compiler_pic_CXX=
12126
 
            lt_prog_compiler_static_CXX='-non_shared'
12127
 
            ;;
12128
 
          *)
12129
 
            ;;
12130
 
        esac
12131
 
        ;;
12132
 
      lynxos*)
12133
 
        ;;
12134
 
      m88k*)
12135
 
        ;;
12136
 
      mvs*)
12137
 
        case $cc_basename in
12138
 
          cxx*)
12139
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12140
 
            ;;
12141
 
          *)
12142
 
            ;;
12143
 
        esac
12144
 
        ;;
12145
 
      netbsd*)
12146
 
        ;;
12147
 
      osf3* | osf4* | osf5*)
12148
 
        case $cc_basename in
12149
 
          KCC*)
12150
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12151
 
            ;;
12152
 
          RCC*)
12153
 
            # Rational C++ 2.4.1
12154
 
            lt_prog_compiler_pic_CXX='-pic'
12155
 
            ;;
12156
 
          cxx*)
12157
 
            # Digital/Compaq C++
12158
 
            lt_prog_compiler_wl_CXX='-Wl,'
12159
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12160
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12161
 
            lt_prog_compiler_pic_CXX=
12162
 
            lt_prog_compiler_static_CXX='-non_shared'
12163
 
            ;;
12164
 
          *)
12165
 
            ;;
12166
 
        esac
12167
 
        ;;
12168
 
      psos*)
12169
 
        ;;
12170
 
      solaris*)
12171
 
        case $cc_basename in
12172
 
          CC*)
12173
 
            # Sun C++ 4.2, 5.x and Centerline C++
12174
 
            lt_prog_compiler_pic_CXX='-KPIC'
12175
 
            lt_prog_compiler_static_CXX='-Bstatic'
12176
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12177
 
            ;;
12178
 
          gcx*)
12179
 
            # Green Hills C++ Compiler
12180
 
            lt_prog_compiler_pic_CXX='-PIC'
12181
 
            ;;
12182
 
          *)
12183
 
            ;;
12184
 
        esac
12185
 
        ;;
12186
 
      sunos4*)
12187
 
        case $cc_basename in
12188
 
          CC*)
12189
 
            # Sun C++ 4.x
12190
 
            lt_prog_compiler_pic_CXX='-pic'
12191
 
            lt_prog_compiler_static_CXX='-Bstatic'
12192
 
            ;;
12193
 
          lcc*)
12194
 
            # Lucid
12195
 
            lt_prog_compiler_pic_CXX='-pic'
12196
 
            ;;
12197
 
          *)
12198
 
            ;;
12199
 
        esac
12200
 
        ;;
12201
 
      tandem*)
12202
 
        case $cc_basename in
12203
 
          NCC*)
12204
 
            # NonStop-UX NCC 3.20
12205
 
            lt_prog_compiler_pic_CXX='-KPIC'
12206
 
            ;;
12207
 
          *)
12208
 
            ;;
12209
 
        esac
12210
 
        ;;
12211
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12212
 
        case $cc_basename in
12213
 
          CC*)
12214
 
            lt_prog_compiler_wl_CXX='-Wl,'
12215
 
            lt_prog_compiler_pic_CXX='-KPIC'
12216
 
            lt_prog_compiler_static_CXX='-Bstatic'
12217
 
            ;;
12218
 
        esac
12219
 
        ;;
12220
 
      vxworks*)
12221
 
        ;;
12222
 
      *)
12223
 
        lt_prog_compiler_can_build_shared_CXX=no
12224
 
        ;;
12225
 
    esac
12226
 
  fi
12227
 
 
12228
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12229
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12230
 
 
12231
 
#
12232
 
# Check to make sure the PIC flag actually works.
12233
 
#
12234
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12235
 
 
12236
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12237
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12238
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12239
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12240
 
else
12241
 
  lt_prog_compiler_pic_works_CXX=no
12242
 
  ac_outfile=conftest.$ac_objext
12243
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12244
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12245
 
   # Insert the option either (1) after the last *FLAGS variable, or
12246
 
   # (2) before a word containing "conftest.", or (3) at the end.
12247
 
   # Note that $ac_compile itself does not contain backslashes and begins
12248
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12249
 
   # The option is referenced via a variable to avoid confusing sed.
12250
 
   lt_compile=`echo "$ac_compile" | $SED \
12251
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12252
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12253
 
   -e 's:$: $lt_compiler_flag:'`
12254
 
   (eval echo "\"\$as_me:12254: $lt_compile\"" >&5)
12255
 
   (eval "$lt_compile" 2>conftest.err)
12256
 
   ac_status=$?
12257
 
   cat conftest.err >&5
12258
 
   echo "$as_me:12258: \$? = $ac_status" >&5
12259
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12260
 
     # The compiler can only warn and ignore the option if not recognized
12261
 
     # So say no if there are warnings other than the usual output.
12262
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12263
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12264
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12265
 
       lt_prog_compiler_pic_works_CXX=yes
12266
 
     fi
12267
 
   fi
12268
 
   $rm conftest*
12269
 
 
12270
 
fi
12271
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12272
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12273
 
 
12274
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12275
 
    case $lt_prog_compiler_pic_CXX in
12276
 
     "" | " "*) ;;
12277
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12278
 
     esac
12279
 
else
12280
 
    lt_prog_compiler_pic_CXX=
12281
 
     lt_prog_compiler_can_build_shared_CXX=no
12282
 
fi
12283
 
 
12284
 
fi
12285
 
case $host_os in
12286
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12287
 
  *djgpp*)
12288
 
    lt_prog_compiler_pic_CXX=
12289
 
    ;;
12290
 
  *)
12291
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12292
 
    ;;
12293
 
esac
12294
 
 
12295
 
#
12296
 
# Check to make sure the static flag actually works.
12297
 
#
12298
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12299
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12300
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12301
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12303
 
else
12304
 
  lt_prog_compiler_static_works_CXX=no
12305
 
   save_LDFLAGS="$LDFLAGS"
12306
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12307
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
12308
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12309
 
     # The linker can only warn and ignore the option if not recognized
12310
 
     # So say no if there are warnings
12311
 
     if test -s conftest.err; then
12312
 
       # Append any errors to the config.log.
12313
 
       cat conftest.err 1>&5
12314
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12315
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12316
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12317
 
         lt_prog_compiler_static_works_CXX=yes
12318
 
       fi
12319
 
     else
12320
 
       lt_prog_compiler_static_works_CXX=yes
12321
 
     fi
12322
 
   fi
12323
 
   $rm conftest*
12324
 
   LDFLAGS="$save_LDFLAGS"
12325
 
 
12326
 
fi
12327
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12328
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12329
 
 
12330
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12331
 
    :
12332
 
else
12333
 
    lt_prog_compiler_static_CXX=
12334
 
fi
12335
 
 
12336
 
 
12337
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12338
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12339
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12340
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12341
 
else
12342
 
  lt_cv_prog_compiler_c_o_CXX=no
12343
 
   $rm -r conftest 2>/dev/null
12344
 
   mkdir conftest
12345
 
   cd conftest
12346
 
   mkdir out
12347
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12348
 
 
12349
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12350
 
   # Insert the option either (1) after the last *FLAGS variable, or
12351
 
   # (2) before a word containing "conftest.", or (3) at the end.
12352
 
   # Note that $ac_compile itself does not contain backslashes and begins
12353
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12354
 
   lt_compile=`echo "$ac_compile" | $SED \
12355
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12356
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12357
 
   -e 's:$: $lt_compiler_flag:'`
12358
 
   (eval echo "\"\$as_me:12358: $lt_compile\"" >&5)
12359
 
   (eval "$lt_compile" 2>out/conftest.err)
12360
 
   ac_status=$?
12361
 
   cat out/conftest.err >&5
12362
 
   echo "$as_me:12362: \$? = $ac_status" >&5
12363
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12364
 
   then
12365
 
     # The compiler can only warn and ignore the option if not recognized
12366
 
     # So say no if there are warnings
12367
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12368
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12369
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12370
 
       lt_cv_prog_compiler_c_o_CXX=yes
12371
 
     fi
12372
 
   fi
12373
 
   chmod u+w . 2>&5
12374
 
   $rm conftest*
12375
 
   # SGI C++ compiler will create directory out/ii_files/ for
12376
 
   # template instantiation
12377
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12378
 
   $rm out/* && rmdir out
12379
 
   cd ..
12380
 
   rmdir conftest
12381
 
   $rm conftest*
12382
 
 
12383
 
fi
12384
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12385
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12386
 
 
12387
 
 
12388
 
hard_links="nottested"
12389
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12390
 
  # do not overwrite the value of need_locks provided by the user
12391
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12392
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12393
 
  hard_links=yes
12394
 
  $rm conftest*
12395
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12396
 
  touch conftest.a
12397
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12398
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12399
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12400
 
echo "${ECHO_T}$hard_links" >&6; }
12401
 
  if test "$hard_links" = no; then
12402
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12403
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12404
 
    need_locks=warn
12405
 
  fi
12406
 
else
12407
 
  need_locks=no
12408
 
fi
12409
 
 
12410
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12411
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12412
 
 
12413
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12414
 
  case $host_os in
12415
 
  aix4* | aix5*)
12416
 
    # If we're using GNU nm, then we don't want the "-C" option.
12417
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12418
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12419
 
      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'
12420
 
    else
12421
 
      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'
12422
 
    fi
12423
 
    ;;
12424
 
  pw32*)
12425
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12426
 
  ;;
12427
 
  cygwin* | mingw*)
12428
 
    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'
12429
 
  ;;
12430
 
  *)
12431
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12432
 
  ;;
12433
 
  esac
12434
 
 
12435
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12436
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12437
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12438
 
 
12439
 
#
12440
 
# Do we need to explicitly link libc?
12441
 
#
12442
 
case "x$archive_cmds_need_lc_CXX" in
12443
 
x|xyes)
12444
 
  # Assume -lc should be added
12445
 
  archive_cmds_need_lc_CXX=yes
12446
 
 
12447
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12448
 
    case $archive_cmds_CXX in
12449
 
    *'~'*)
12450
 
      # FIXME: we may have to deal with multi-command sequences.
12451
 
      ;;
12452
 
    '$CC '*)
12453
 
      # Test whether the compiler implicitly links with -lc since on some
12454
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12455
 
      # to ld, don't add -lc before -lgcc.
12456
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12457
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12458
 
      $rm conftest*
12459
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12460
 
 
12461
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12462
 
  (eval $ac_compile) 2>&5
12463
 
  ac_status=$?
12464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465
 
  (exit $ac_status); } 2>conftest.err; then
12466
 
        soname=conftest
12467
 
        lib=conftest
12468
 
        libobjs=conftest.$ac_objext
12469
 
        deplibs=
12470
 
        wl=$lt_prog_compiler_wl_CXX
12471
 
        pic_flag=$lt_prog_compiler_pic_CXX
12472
 
        compiler_flags=-v
12473
 
        linker_flags=-v
12474
 
        verstring=
12475
 
        output_objdir=.
12476
 
        libname=conftest
12477
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12478
 
        allow_undefined_flag_CXX=
12479
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12480
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12481
 
  ac_status=$?
12482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483
 
  (exit $ac_status); }
12484
 
        then
12485
 
          archive_cmds_need_lc_CXX=no
12486
 
        else
12487
 
          archive_cmds_need_lc_CXX=yes
12488
 
        fi
12489
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12490
 
      else
12491
 
        cat conftest.err 1>&5
12492
 
      fi
12493
 
      $rm conftest*
12494
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12495
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12496
 
      ;;
12497
 
    esac
12498
 
  fi
12499
 
  ;;
12500
 
esac
12501
 
 
12502
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12503
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12504
 
library_names_spec=
12505
 
libname_spec='lib$name'
12506
 
soname_spec=
12507
 
shrext_cmds=".so"
12508
 
postinstall_cmds=
12509
 
postuninstall_cmds=
12510
 
finish_cmds=
12511
 
finish_eval=
12512
 
shlibpath_var=
12513
 
shlibpath_overrides_runpath=unknown
12514
 
version_type=none
12515
 
dynamic_linker="$host_os ld.so"
12516
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12517
 
if test "$GCC" = yes; then
12518
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12519
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12520
 
    # if the path contains ";" then we assume it to be the separator
12521
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12522
 
    # assumed that no part of a normal pathname contains ";" but that should
12523
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12524
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12525
 
  else
12526
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12527
 
  fi
12528
 
else
12529
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12530
 
fi
12531
 
need_lib_prefix=unknown
12532
 
hardcode_into_libs=no
12533
 
 
12534
 
# when you set need_version to no, make sure it does not cause -set_version
12535
 
# flags to be left without arguments
12536
 
need_version=unknown
12537
 
 
12538
 
case $host_os in
12539
 
aix3*)
12540
 
  version_type=linux
12541
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12542
 
  shlibpath_var=LIBPATH
12543
 
 
12544
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12545
 
  soname_spec='${libname}${release}${shared_ext}$major'
12546
 
  ;;
12547
 
 
12548
 
aix4* | aix5*)
12549
 
  version_type=linux
12550
 
  need_lib_prefix=no
12551
 
  need_version=no
12552
 
  hardcode_into_libs=yes
12553
 
  if test "$host_cpu" = ia64; then
12554
 
    # AIX 5 supports IA64
12555
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12556
 
    shlibpath_var=LD_LIBRARY_PATH
12557
 
  else
12558
 
    # With GCC up to 2.95.x, collect2 would create an import file
12559
 
    # for dependence libraries.  The import file would start with
12560
 
    # the line `#! .'.  This would cause the generated library to
12561
 
    # depend on `.', always an invalid library.  This was fixed in
12562
 
    # development snapshots of GCC prior to 3.0.
12563
 
    case $host_os in
12564
 
      aix4 | aix4.[01] | aix4.[01].*)
12565
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12566
 
           echo ' yes '
12567
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12568
 
        :
12569
 
      else
12570
 
        can_build_shared=no
12571
 
      fi
12572
 
      ;;
12573
 
    esac
12574
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12575
 
    # soname into executable. Probably we can add versioning support to
12576
 
    # collect2, so additional links can be useful in future.
12577
 
    if test "$aix_use_runtimelinking" = yes; then
12578
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12579
 
      # instead of lib<name>.a to let people know that these are not
12580
 
      # typical AIX shared libraries.
12581
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12582
 
    else
12583
 
      # We preserve .a as extension for shared libraries through AIX4.2
12584
 
      # and later when we are not doing run time linking.
12585
 
      library_names_spec='${libname}${release}.a $libname.a'
12586
 
      soname_spec='${libname}${release}${shared_ext}$major'
12587
 
    fi
12588
 
    shlibpath_var=LIBPATH
12589
 
  fi
12590
 
  ;;
12591
 
 
12592
 
amigaos*)
12593
 
  library_names_spec='$libname.ixlibrary $libname.a'
12594
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12595
 
  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'
12596
 
  ;;
12597
 
 
12598
 
beos*)
12599
 
  library_names_spec='${libname}${shared_ext}'
12600
 
  dynamic_linker="$host_os ld.so"
12601
 
  shlibpath_var=LIBRARY_PATH
12602
 
  ;;
12603
 
 
12604
 
bsdi[45]*)
12605
 
  version_type=linux
12606
 
  need_version=no
12607
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12608
 
  soname_spec='${libname}${release}${shared_ext}$major'
12609
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12610
 
  shlibpath_var=LD_LIBRARY_PATH
12611
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12612
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12613
 
  # the default ld.so.conf also contains /usr/contrib/lib and
12614
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12615
 
  # libtool to hard-code these into programs
12616
 
  ;;
12617
 
 
12618
 
cygwin* | mingw* | pw32*)
12619
 
  version_type=windows
12620
 
  shrext_cmds=".dll"
12621
 
  need_version=no
12622
 
  need_lib_prefix=no
12623
 
 
12624
 
  case $GCC,$host_os in
12625
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
12626
 
    library_names_spec='$libname.dll.a'
12627
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12628
 
    postinstall_cmds='base_file=`basename \${file}`~
12629
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12630
 
      dldir=$destdir/`dirname \$dlpath`~
12631
 
      test -d \$dldir || mkdir -p \$dldir~
12632
 
      $install_prog $dir/$dlname \$dldir/$dlname~
12633
 
      chmod a+x \$dldir/$dlname'
12634
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12635
 
      dlpath=$dir/\$dldll~
12636
 
       $rm \$dlpath'
12637
 
    shlibpath_overrides_runpath=yes
12638
 
 
12639
 
    case $host_os in
12640
 
    cygwin*)
12641
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12642
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12643
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12644
 
      ;;
12645
 
    mingw*)
12646
 
      # MinGW DLLs use traditional 'lib' prefix
12647
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12648
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12649
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12650
 
        # It is most probably a Windows format PATH printed by
12651
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12652
 
        # path with ; separators, and with drive letters. We can handle the
12653
 
        # drive letters (cygwin fileutils understands them), so leave them,
12654
 
        # especially as we might pass files found there to a mingw objdump,
12655
 
        # which wouldn't understand a cygwinified path. Ahh.
12656
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12657
 
      else
12658
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12659
 
      fi
12660
 
      ;;
12661
 
    pw32*)
12662
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12663
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12664
 
      ;;
12665
 
    esac
12666
 
    ;;
12667
 
 
12668
 
  *)
12669
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12670
 
    ;;
12671
 
  esac
12672
 
  dynamic_linker='Win32 ld.exe'
12673
 
  # FIXME: first we should search . and the directory the executable is in
12674
 
  shlibpath_var=PATH
12675
 
  ;;
12676
 
 
12677
 
darwin* | rhapsody*)
12678
 
  dynamic_linker="$host_os dyld"
12679
 
  version_type=darwin
12680
 
  need_lib_prefix=no
12681
 
  need_version=no
12682
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12683
 
  soname_spec='${libname}${release}${major}$shared_ext'
12684
 
  shlibpath_overrides_runpath=yes
12685
 
  shlibpath_var=DYLD_LIBRARY_PATH
12686
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12687
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12688
 
  if test "$GCC" = yes; then
12689
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12690
 
  else
12691
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12692
 
  fi
12693
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12694
 
  ;;
12695
 
 
12696
 
dgux*)
12697
 
  version_type=linux
12698
 
  need_lib_prefix=no
12699
 
  need_version=no
12700
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12701
 
  soname_spec='${libname}${release}${shared_ext}$major'
12702
 
  shlibpath_var=LD_LIBRARY_PATH
12703
 
  ;;
12704
 
 
12705
 
freebsd1*)
12706
 
  dynamic_linker=no
12707
 
  ;;
12708
 
 
12709
 
kfreebsd*-gnu)
12710
 
  version_type=linux
12711
 
  need_lib_prefix=no
12712
 
  need_version=no
12713
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12714
 
  soname_spec='${libname}${release}${shared_ext}$major'
12715
 
  shlibpath_var=LD_LIBRARY_PATH
12716
 
  shlibpath_overrides_runpath=no
12717
 
  hardcode_into_libs=yes
12718
 
  dynamic_linker='GNU ld.so'
12719
 
  ;;
12720
 
 
12721
 
freebsd* | dragonfly*)
12722
 
  # DragonFly does not have aout.  When/if they implement a new
12723
 
  # versioning mechanism, adjust this.
12724
 
  if test -x /usr/bin/objformat; then
12725
 
    objformat=`/usr/bin/objformat`
12726
 
  else
12727
 
    case $host_os in
12728
 
    freebsd[123]*) objformat=aout ;;
12729
 
    *) objformat=elf ;;
12730
 
    esac
12731
 
  fi
12732
 
  version_type=freebsd-$objformat
12733
 
  case $version_type in
12734
 
    freebsd-elf*)
12735
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12736
 
      need_version=no
12737
 
      need_lib_prefix=no
12738
 
      ;;
12739
 
    freebsd-*)
12740
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12741
 
      need_version=yes
12742
 
      ;;
12743
 
  esac
12744
 
  shlibpath_var=LD_LIBRARY_PATH
12745
 
  case $host_os in
12746
 
  freebsd2*)
12747
 
    shlibpath_overrides_runpath=yes
12748
 
    ;;
12749
 
  freebsd3.[01]* | freebsdelf3.[01]*)
12750
 
    shlibpath_overrides_runpath=yes
12751
 
    hardcode_into_libs=yes
12752
 
    ;;
12753
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12754
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12755
 
    shlibpath_overrides_runpath=no
12756
 
    hardcode_into_libs=yes
12757
 
    ;;
12758
 
  freebsd*) # from 4.6 on
12759
 
    shlibpath_overrides_runpath=yes
12760
 
    hardcode_into_libs=yes
12761
 
    ;;
12762
 
  esac
12763
 
  ;;
12764
 
 
12765
 
gnu*)
12766
 
  version_type=linux
12767
 
  need_lib_prefix=no
12768
 
  need_version=no
12769
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12770
 
  soname_spec='${libname}${release}${shared_ext}$major'
12771
 
  shlibpath_var=LD_LIBRARY_PATH
12772
 
  hardcode_into_libs=yes
12773
 
  ;;
12774
 
 
12775
 
hpux9* | hpux10* | hpux11*)
12776
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
12777
 
  # link against other versions.
12778
 
  version_type=sunos
12779
 
  need_lib_prefix=no
12780
 
  need_version=no
12781
 
  case $host_cpu in
12782
 
  ia64*)
12783
 
    shrext_cmds='.so'
12784
 
    hardcode_into_libs=yes
12785
 
    dynamic_linker="$host_os dld.so"
12786
 
    shlibpath_var=LD_LIBRARY_PATH
12787
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12788
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12789
 
    soname_spec='${libname}${release}${shared_ext}$major'
12790
 
    if test "X$HPUX_IA64_MODE" = X32; then
12791
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12792
 
    else
12793
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12794
 
    fi
12795
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12796
 
    ;;
12797
 
   hppa*64*)
12798
 
     shrext_cmds='.sl'
12799
 
     hardcode_into_libs=yes
12800
 
     dynamic_linker="$host_os dld.sl"
12801
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12802
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12803
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12804
 
     soname_spec='${libname}${release}${shared_ext}$major'
12805
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12806
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12807
 
     ;;
12808
 
   *)
12809
 
    shrext_cmds='.sl'
12810
 
    dynamic_linker="$host_os dld.sl"
12811
 
    shlibpath_var=SHLIB_PATH
12812
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12813
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12814
 
    soname_spec='${libname}${release}${shared_ext}$major'
12815
 
    ;;
12816
 
  esac
12817
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
12818
 
  postinstall_cmds='chmod 555 $lib'
12819
 
  ;;
12820
 
 
12821
 
interix3*)
12822
 
  version_type=linux
12823
 
  need_lib_prefix=no
12824
 
  need_version=no
12825
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12826
 
  soname_spec='${libname}${release}${shared_ext}$major'
12827
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12828
 
  shlibpath_var=LD_LIBRARY_PATH
12829
 
  shlibpath_overrides_runpath=no
12830
 
  hardcode_into_libs=yes
12831
 
  ;;
12832
 
 
12833
 
irix5* | irix6* | nonstopux*)
12834
 
  case $host_os in
12835
 
    nonstopux*) version_type=nonstopux ;;
12836
 
    *)
12837
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
12838
 
                version_type=linux
12839
 
        else
12840
 
                version_type=irix
12841
 
        fi ;;
12842
 
  esac
12843
 
  need_lib_prefix=no
12844
 
  need_version=no
12845
 
  soname_spec='${libname}${release}${shared_ext}$major'
12846
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12847
 
  case $host_os in
12848
 
  irix5* | nonstopux*)
12849
 
    libsuff= shlibsuff=
12850
 
    ;;
12851
 
  *)
12852
 
    case $LD in # libtool.m4 will add one of these switches to LD
12853
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12854
 
      libsuff= shlibsuff= libmagic=32-bit;;
12855
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12856
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
12857
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12858
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12859
 
    *) libsuff= shlibsuff= libmagic=never-match;;
12860
 
    esac
12861
 
    ;;
12862
 
  esac
12863
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12864
 
  shlibpath_overrides_runpath=no
12865
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12866
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12867
 
  hardcode_into_libs=yes
12868
 
  ;;
12869
 
 
12870
 
# No shared lib support for Linux oldld, aout, or coff.
12871
 
linux*oldld* | linux*aout* | linux*coff*)
12872
 
  dynamic_linker=no
12873
 
  ;;
12874
 
 
12875
 
# This must be Linux ELF.
12876
 
linux*)
12877
 
  version_type=linux
12878
 
  need_lib_prefix=no
12879
 
  need_version=no
12880
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12881
 
  soname_spec='${libname}${release}${shared_ext}$major'
12882
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12883
 
  shlibpath_var=LD_LIBRARY_PATH
12884
 
  shlibpath_overrides_runpath=no
12885
 
  # This implies no fast_install, which is unacceptable.
12886
 
  # Some rework will be needed to allow for fast_install
12887
 
  # before this can be enabled.
12888
 
  hardcode_into_libs=yes
12889
 
 
12890
 
  # find out which ABI we are using
12891
 
  libsuff=
12892
 
  case "$host_cpu" in
12893
 
  x86_64*|s390x*|powerpc64*)
12894
 
    echo '#line 12894 "configure"' > conftest.$ac_ext
12895
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896
 
  (eval $ac_compile) 2>&5
12897
 
  ac_status=$?
12898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899
 
  (exit $ac_status); }; then
12900
 
      case `/usr/bin/file conftest.$ac_objext` in
12901
 
      *64-bit*)
12902
 
        libsuff=64
12903
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12904
 
        ;;
12905
 
      esac
12906
 
    fi
12907
 
    rm -rf conftest*
12908
 
    ;;
12909
 
  esac
12910
 
 
12911
 
  # Append ld.so.conf contents to the search path
12912
 
  if test -f /etc/ld.so.conf; then
12913
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12914
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12915
 
  fi
12916
 
 
12917
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12918
 
  # powerpc, because MkLinux only supported shared libraries with the
12919
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
12920
 
  # most powerpc-linux boxes support dynamic linking these days and
12921
 
  # people can always --disable-shared, the test was removed, and we
12922
 
  # assume the GNU/Linux dynamic linker is in use.
12923
 
  dynamic_linker='GNU/Linux ld.so'
12924
 
  ;;
12925
 
 
12926
 
knetbsd*-gnu)
12927
 
  version_type=linux
12928
 
  need_lib_prefix=no
12929
 
  need_version=no
12930
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12931
 
  soname_spec='${libname}${release}${shared_ext}$major'
12932
 
  shlibpath_var=LD_LIBRARY_PATH
12933
 
  shlibpath_overrides_runpath=no
12934
 
  hardcode_into_libs=yes
12935
 
  dynamic_linker='GNU ld.so'
12936
 
  ;;
12937
 
 
12938
 
netbsd*)
12939
 
  version_type=sunos
12940
 
  need_lib_prefix=no
12941
 
  need_version=no
12942
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12943
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12944
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12945
 
    dynamic_linker='NetBSD (a.out) ld.so'
12946
 
  else
12947
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12948
 
    soname_spec='${libname}${release}${shared_ext}$major'
12949
 
    dynamic_linker='NetBSD ld.elf_so'
12950
 
  fi
12951
 
  shlibpath_var=LD_LIBRARY_PATH
12952
 
  shlibpath_overrides_runpath=yes
12953
 
  hardcode_into_libs=yes
12954
 
  ;;
12955
 
 
12956
 
newsos6)
12957
 
  version_type=linux
12958
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12959
 
  shlibpath_var=LD_LIBRARY_PATH
12960
 
  shlibpath_overrides_runpath=yes
12961
 
  ;;
12962
 
 
12963
 
nto-qnx*)
12964
 
  version_type=linux
12965
 
  need_lib_prefix=no
12966
 
  need_version=no
12967
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12968
 
  soname_spec='${libname}${release}${shared_ext}$major'
12969
 
  shlibpath_var=LD_LIBRARY_PATH
12970
 
  shlibpath_overrides_runpath=yes
12971
 
  ;;
12972
 
 
12973
 
openbsd*)
12974
 
  version_type=sunos
12975
 
  sys_lib_dlsearch_path_spec="/usr/lib"
12976
 
  need_lib_prefix=no
12977
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12978
 
  case $host_os in
12979
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12980
 
    *)                         need_version=no  ;;
12981
 
  esac
12982
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12983
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12984
 
  shlibpath_var=LD_LIBRARY_PATH
12985
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12986
 
    case $host_os in
12987
 
      openbsd2.[89] | openbsd2.[89].*)
12988
 
        shlibpath_overrides_runpath=no
12989
 
        ;;
12990
 
      *)
12991
 
        shlibpath_overrides_runpath=yes
12992
 
        ;;
12993
 
      esac
12994
 
  else
12995
 
    shlibpath_overrides_runpath=yes
12996
 
  fi
12997
 
  ;;
12998
 
 
12999
 
os2*)
13000
 
  libname_spec='$name'
13001
 
  shrext_cmds=".dll"
13002
 
  need_lib_prefix=no
13003
 
  library_names_spec='$libname${shared_ext} $libname.a'
13004
 
  dynamic_linker='OS/2 ld.exe'
13005
 
  shlibpath_var=LIBPATH
13006
 
  ;;
13007
 
 
13008
 
osf3* | osf4* | osf5*)
13009
 
  version_type=osf
13010
 
  need_lib_prefix=no
13011
 
  need_version=no
13012
 
  soname_spec='${libname}${release}${shared_ext}$major'
13013
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13014
 
  shlibpath_var=LD_LIBRARY_PATH
13015
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13016
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13017
 
  ;;
13018
 
 
13019
 
solaris*)
13020
 
  version_type=linux
13021
 
  need_lib_prefix=no
13022
 
  need_version=no
13023
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13024
 
  soname_spec='${libname}${release}${shared_ext}$major'
13025
 
  shlibpath_var=LD_LIBRARY_PATH
13026
 
  shlibpath_overrides_runpath=yes
13027
 
  hardcode_into_libs=yes
13028
 
  # ldd complains unless libraries are executable
13029
 
  postinstall_cmds='chmod +x $lib'
13030
 
  ;;
13031
 
 
13032
 
sunos4*)
13033
 
  version_type=sunos
13034
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13035
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13036
 
  shlibpath_var=LD_LIBRARY_PATH
13037
 
  shlibpath_overrides_runpath=yes
13038
 
  if test "$with_gnu_ld" = yes; then
13039
 
    need_lib_prefix=no
13040
 
  fi
13041
 
  need_version=yes
13042
 
  ;;
13043
 
 
13044
 
sysv4 | sysv4.3*)
13045
 
  version_type=linux
13046
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13047
 
  soname_spec='${libname}${release}${shared_ext}$major'
13048
 
  shlibpath_var=LD_LIBRARY_PATH
13049
 
  case $host_vendor in
13050
 
    sni)
13051
 
      shlibpath_overrides_runpath=no
13052
 
      need_lib_prefix=no
13053
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13054
 
      runpath_var=LD_RUN_PATH
13055
 
      ;;
13056
 
    siemens)
13057
 
      need_lib_prefix=no
13058
 
      ;;
13059
 
    motorola)
13060
 
      need_lib_prefix=no
13061
 
      need_version=no
13062
 
      shlibpath_overrides_runpath=no
13063
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13064
 
      ;;
13065
 
  esac
13066
 
  ;;
13067
 
 
13068
 
sysv4*MP*)
13069
 
  if test -d /usr/nec ;then
13070
 
    version_type=linux
13071
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13072
 
    soname_spec='$libname${shared_ext}.$major'
13073
 
    shlibpath_var=LD_LIBRARY_PATH
13074
 
  fi
13075
 
  ;;
13076
 
 
13077
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13078
 
  version_type=freebsd-elf
13079
 
  need_lib_prefix=no
13080
 
  need_version=no
13081
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13082
 
  soname_spec='${libname}${release}${shared_ext}$major'
13083
 
  shlibpath_var=LD_LIBRARY_PATH
13084
 
  hardcode_into_libs=yes
13085
 
  if test "$with_gnu_ld" = yes; then
13086
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13087
 
    shlibpath_overrides_runpath=no
13088
 
  else
13089
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13090
 
    shlibpath_overrides_runpath=yes
13091
 
    case $host_os in
13092
 
      sco3.2v5*)
13093
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13094
 
        ;;
13095
 
    esac
13096
 
  fi
13097
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13098
 
  ;;
13099
 
 
13100
 
uts4*)
13101
 
  version_type=linux
13102
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13103
 
  soname_spec='${libname}${release}${shared_ext}$major'
13104
 
  shlibpath_var=LD_LIBRARY_PATH
13105
 
  ;;
13106
 
 
13107
 
*)
13108
 
  dynamic_linker=no
13109
 
  ;;
13110
 
esac
13111
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13112
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13113
 
test "$dynamic_linker" = no && can_build_shared=no
13114
 
 
13115
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13116
 
if test "$GCC" = yes; then
13117
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13118
 
fi
13119
 
 
13120
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13121
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13122
 
hardcode_action_CXX=
13123
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13124
 
   test -n "$runpath_var_CXX" || \
13125
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13126
 
 
13127
 
  # We can hardcode non-existant directories.
13128
 
  if test "$hardcode_direct_CXX" != no &&
13129
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13130
 
     # have to relink, otherwise we might link with an installed library
13131
 
     # when we should be linking with a yet-to-be-installed one
13132
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13133
 
     test "$hardcode_minus_L_CXX" != no; then
13134
 
    # Linking always hardcodes the temporary library directory.
13135
 
    hardcode_action_CXX=relink
13136
 
  else
13137
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13138
 
    hardcode_action_CXX=immediate
13139
 
  fi
13140
 
else
13141
 
  # We cannot hardcode anything, or else we can only hardcode existing
13142
 
  # directories.
13143
 
  hardcode_action_CXX=unsupported
13144
 
fi
13145
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13146
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13147
 
 
13148
 
if test "$hardcode_action_CXX" = relink; then
13149
 
  # Fast installation is not supported
13150
 
  enable_fast_install=no
13151
 
elif test "$shlibpath_overrides_runpath" = yes ||
13152
 
     test "$enable_shared" = no; then
13153
 
  # Fast installation is not necessary
13154
 
  enable_fast_install=needless
13155
 
fi
13156
 
 
13157
 
 
13158
 
# The else clause should only fire when bootstrapping the
13159
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13160
 
# with your package, and you will get complaints that there are
13161
 
# no rules to generate ltmain.sh.
13162
 
if test -f "$ltmain"; then
13163
 
  # See if we are running on zsh, and set the options which allow our commands through
13164
 
  # without removal of \ escapes.
13165
 
  if test -n "${ZSH_VERSION+set}" ; then
13166
 
    setopt NO_GLOB_SUBST
13167
 
  fi
13168
 
  # Now quote all the things that may contain metacharacters while being
13169
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13170
 
  # variables and quote the copies for generation of the libtool script.
13171
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13172
 
    SED SHELL STRIP \
13173
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13174
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13175
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13176
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13177
 
    lt_cv_sys_global_symbol_to_c_name_address \
13178
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13179
 
    old_postinstall_cmds old_postuninstall_cmds \
13180
 
    compiler_CXX \
13181
 
    CC_CXX \
13182
 
    LD_CXX \
13183
 
    lt_prog_compiler_wl_CXX \
13184
 
    lt_prog_compiler_pic_CXX \
13185
 
    lt_prog_compiler_static_CXX \
13186
 
    lt_prog_compiler_no_builtin_flag_CXX \
13187
 
    export_dynamic_flag_spec_CXX \
13188
 
    thread_safe_flag_spec_CXX \
13189
 
    whole_archive_flag_spec_CXX \
13190
 
    enable_shared_with_static_runtimes_CXX \
13191
 
    old_archive_cmds_CXX \
13192
 
    old_archive_from_new_cmds_CXX \
13193
 
    predep_objects_CXX \
13194
 
    postdep_objects_CXX \
13195
 
    predeps_CXX \
13196
 
    postdeps_CXX \
13197
 
    compiler_lib_search_path_CXX \
13198
 
    archive_cmds_CXX \
13199
 
    archive_expsym_cmds_CXX \
13200
 
    postinstall_cmds_CXX \
13201
 
    postuninstall_cmds_CXX \
13202
 
    old_archive_from_expsyms_cmds_CXX \
13203
 
    allow_undefined_flag_CXX \
13204
 
    no_undefined_flag_CXX \
13205
 
    export_symbols_cmds_CXX \
13206
 
    hardcode_libdir_flag_spec_CXX \
13207
 
    hardcode_libdir_flag_spec_ld_CXX \
13208
 
    hardcode_libdir_separator_CXX \
13209
 
    hardcode_automatic_CXX \
13210
 
    module_cmds_CXX \
13211
 
    module_expsym_cmds_CXX \
13212
 
    lt_cv_prog_compiler_c_o_CXX \
13213
 
    exclude_expsyms_CXX \
13214
 
    include_expsyms_CXX; do
13215
 
 
13216
 
    case $var in
13217
 
    old_archive_cmds_CXX | \
13218
 
    old_archive_from_new_cmds_CXX | \
13219
 
    archive_cmds_CXX | \
13220
 
    archive_expsym_cmds_CXX | \
13221
 
    module_cmds_CXX | \
13222
 
    module_expsym_cmds_CXX | \
13223
 
    old_archive_from_expsyms_cmds_CXX | \
13224
 
    export_symbols_cmds_CXX | \
13225
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13226
 
    postinstall_cmds | postuninstall_cmds | \
13227
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13228
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13229
 
      # Double-quote double-evaled strings.
13230
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13231
 
      ;;
13232
 
    *)
13233
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13234
 
      ;;
13235
 
    esac
13236
 
  done
13237
 
 
13238
 
  case $lt_echo in
13239
 
  *'\$0 --fallback-echo"')
13240
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13241
 
    ;;
13242
 
  esac
13243
 
 
13244
 
cfgfile="$ofile"
13245
 
 
13246
 
  cat <<__EOF__ >> "$cfgfile"
13247
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13248
 
 
13249
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13250
 
 
13251
 
# Shell to use when invoking shell scripts.
13252
 
SHELL=$lt_SHELL
13253
 
 
13254
 
# Whether or not to build shared libraries.
13255
 
build_libtool_libs=$enable_shared
13256
 
 
13257
 
# Whether or not to build static libraries.
13258
 
build_old_libs=$enable_static
13259
 
 
13260
 
# Whether or not to add -lc for building shared libraries.
13261
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13262
 
 
13263
 
# Whether or not to disallow shared libs when runtime libs are static
13264
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13265
 
 
13266
 
# Whether or not to optimize for fast installation.
13267
 
fast_install=$enable_fast_install
13268
 
 
13269
 
# The host system.
13270
 
host_alias=$host_alias
13271
 
host=$host
13272
 
host_os=$host_os
13273
 
 
13274
 
# The build system.
13275
 
build_alias=$build_alias
13276
 
build=$build
13277
 
build_os=$build_os
13278
 
 
13279
 
# An echo program that does not interpret backslashes.
13280
 
echo=$lt_echo
13281
 
 
13282
 
# The archiver.
13283
 
AR=$lt_AR
13284
 
AR_FLAGS=$lt_AR_FLAGS
13285
 
 
13286
 
# A C compiler.
13287
 
LTCC=$lt_LTCC
13288
 
 
13289
 
# LTCC compiler flags.
13290
 
LTCFLAGS=$lt_LTCFLAGS
13291
 
 
13292
 
# A language-specific compiler.
13293
 
CC=$lt_compiler_CXX
13294
 
 
13295
 
# Is the compiler the GNU C compiler?
13296
 
with_gcc=$GCC_CXX
13297
 
 
13298
 
# An ERE matcher.
13299
 
EGREP=$lt_EGREP
13300
 
 
13301
 
# The linker used to build libraries.
13302
 
LD=$lt_LD_CXX
13303
 
 
13304
 
# Whether we need hard or soft links.
13305
 
LN_S=$lt_LN_S
13306
 
 
13307
 
# A BSD-compatible nm program.
13308
 
NM=$lt_NM
13309
 
 
13310
 
# A symbol stripping program
13311
 
STRIP=$lt_STRIP
13312
 
 
13313
 
# Used to examine libraries when file_magic_cmd begins "file"
13314
 
MAGIC_CMD=$MAGIC_CMD
13315
 
 
13316
 
# Used on cygwin: DLL creation program.
13317
 
DLLTOOL="$DLLTOOL"
13318
 
 
13319
 
# Used on cygwin: object dumper.
13320
 
OBJDUMP="$OBJDUMP"
13321
 
 
13322
 
# Used on cygwin: assembler.
13323
 
AS="$AS"
13324
 
 
13325
 
# The name of the directory that contains temporary libtool files.
13326
 
objdir=$objdir
13327
 
 
13328
 
# How to create reloadable object files.
13329
 
reload_flag=$lt_reload_flag
13330
 
reload_cmds=$lt_reload_cmds
13331
 
 
13332
 
# How to pass a linker flag through the compiler.
13333
 
wl=$lt_lt_prog_compiler_wl_CXX
13334
 
 
13335
 
# Object file suffix (normally "o").
13336
 
objext="$ac_objext"
13337
 
 
13338
 
# Old archive suffix (normally "a").
13339
 
libext="$libext"
13340
 
 
13341
 
# Shared library suffix (normally ".so").
13342
 
shrext_cmds='$shrext_cmds'
13343
 
 
13344
 
# Executable file suffix (normally "").
13345
 
exeext="$exeext"
13346
 
 
13347
 
# Additional compiler flags for building library objects.
13348
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13349
 
pic_mode=$pic_mode
13350
 
 
13351
 
# What is the maximum length of a command?
13352
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13353
 
 
13354
 
# Does compiler simultaneously support -c and -o options?
13355
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13356
 
 
13357
 
# Must we lock files when doing compilation?
13358
 
need_locks=$lt_need_locks
13359
 
 
13360
 
# Do we need the lib prefix for modules?
13361
 
need_lib_prefix=$need_lib_prefix
13362
 
 
13363
 
# Do we need a version for libraries?
13364
 
need_version=$need_version
13365
 
 
13366
 
# Whether dlopen is supported.
13367
 
dlopen_support=$enable_dlopen
13368
 
 
13369
 
# Whether dlopen of programs is supported.
13370
 
dlopen_self=$enable_dlopen_self
13371
 
 
13372
 
# Whether dlopen of statically linked programs is supported.
13373
 
dlopen_self_static=$enable_dlopen_self_static
13374
 
 
13375
 
# Compiler flag to prevent dynamic linking.
13376
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13377
 
 
13378
 
# Compiler flag to turn off builtin functions.
13379
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13380
 
 
13381
 
# Compiler flag to allow reflexive dlopens.
13382
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13383
 
 
13384
 
# Compiler flag to generate shared objects directly from archives.
13385
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13386
 
 
13387
 
# Compiler flag to generate thread-safe objects.
13388
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13389
 
 
13390
 
# Library versioning type.
13391
 
version_type=$version_type
13392
 
 
13393
 
# Format of library name prefix.
13394
 
libname_spec=$lt_libname_spec
13395
 
 
13396
 
# List of archive names.  First name is the real one, the rest are links.
13397
 
# The last name is the one that the linker finds with -lNAME.
13398
 
library_names_spec=$lt_library_names_spec
13399
 
 
13400
 
# The coded name of the library, if different from the real name.
13401
 
soname_spec=$lt_soname_spec
13402
 
 
13403
 
# Commands used to build and install an old-style archive.
13404
 
RANLIB=$lt_RANLIB
13405
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13406
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13407
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13408
 
 
13409
 
# Create an old-style archive from a shared archive.
13410
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13411
 
 
13412
 
# Create a temporary old-style archive to link instead of a shared archive.
13413
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13414
 
 
13415
 
# Commands used to build and install a shared archive.
13416
 
archive_cmds=$lt_archive_cmds_CXX
13417
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13418
 
postinstall_cmds=$lt_postinstall_cmds
13419
 
postuninstall_cmds=$lt_postuninstall_cmds
13420
 
 
13421
 
# Commands used to build a loadable module (assumed same as above if empty)
13422
 
module_cmds=$lt_module_cmds_CXX
13423
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13424
 
 
13425
 
# Commands to strip libraries.
13426
 
old_striplib=$lt_old_striplib
13427
 
striplib=$lt_striplib
13428
 
 
13429
 
# Dependencies to place before the objects being linked to create a
13430
 
# shared library.
13431
 
predep_objects=$lt_predep_objects_CXX
13432
 
 
13433
 
# Dependencies to place after the objects being linked to create a
13434
 
# shared library.
13435
 
postdep_objects=$lt_postdep_objects_CXX
13436
 
 
13437
 
# Dependencies to place before the objects being linked to create a
13438
 
# shared library.
13439
 
predeps=$lt_predeps_CXX
13440
 
 
13441
 
# Dependencies to place after the objects being linked to create a
13442
 
# shared library.
13443
 
postdeps=$lt_postdeps_CXX
13444
 
 
13445
 
# The library search path used internally by the compiler when linking
13446
 
# a shared library.
13447
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13448
 
 
13449
 
# Method to check whether dependent libraries are shared objects.
13450
 
deplibs_check_method=$lt_deplibs_check_method
13451
 
 
13452
 
# Command to use when deplibs_check_method == file_magic.
13453
 
file_magic_cmd=$lt_file_magic_cmd
13454
 
 
13455
 
# Flag that allows shared libraries with undefined symbols to be built.
13456
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13457
 
 
13458
 
# Flag that forces no undefined symbols.
13459
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13460
 
 
13461
 
# Commands used to finish a libtool library installation in a directory.
13462
 
finish_cmds=$lt_finish_cmds
13463
 
 
13464
 
# Same as above, but a single script fragment to be evaled but not shown.
13465
 
finish_eval=$lt_finish_eval
13466
 
 
13467
 
# Take the output of nm and produce a listing of raw symbols and C names.
13468
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13469
 
 
13470
 
# Transform the output of nm in a proper C declaration
13471
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13472
 
 
13473
 
# Transform the output of nm in a C name address pair
13474
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13475
 
 
13476
 
# This is the shared library runtime path variable.
13477
 
runpath_var=$runpath_var
13478
 
 
13479
 
# This is the shared library path variable.
13480
 
shlibpath_var=$shlibpath_var
13481
 
 
13482
 
# Is shlibpath searched before the hard-coded library search path?
13483
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13484
 
 
13485
 
# How to hardcode a shared library path into an executable.
13486
 
hardcode_action=$hardcode_action_CXX
13487
 
 
13488
 
# Whether we should hardcode library paths into libraries.
13489
 
hardcode_into_libs=$hardcode_into_libs
13490
 
 
13491
 
# Flag to hardcode \$libdir into a binary during linking.
13492
 
# This must work even if \$libdir does not exist.
13493
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13494
 
 
13495
 
# If ld is used when linking, flag to hardcode \$libdir into
13496
 
# a binary during linking. This must work even if \$libdir does
13497
 
# not exist.
13498
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13499
 
 
13500
 
# Whether we need a single -rpath flag with a separated argument.
13501
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13502
 
 
13503
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13504
 
# resulting binary.
13505
 
hardcode_direct=$hardcode_direct_CXX
13506
 
 
13507
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13508
 
# resulting binary.
13509
 
hardcode_minus_L=$hardcode_minus_L_CXX
13510
 
 
13511
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13512
 
# the resulting binary.
13513
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13514
 
 
13515
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13516
 
# and all subsequent libraries and executables linked against it.
13517
 
hardcode_automatic=$hardcode_automatic_CXX
13518
 
 
13519
 
# Variables whose values should be saved in libtool wrapper scripts and
13520
 
# restored at relink time.
13521
 
variables_saved_for_relink="$variables_saved_for_relink"
13522
 
 
13523
 
# Whether libtool must link a program against all its dependency libraries.
13524
 
link_all_deplibs=$link_all_deplibs_CXX
13525
 
 
13526
 
# Compile-time system search path for libraries
13527
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13528
 
 
13529
 
# Run-time system search path for libraries
13530
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13531
 
 
13532
 
# Fix the shell variable \$srcfile for the compiler.
13533
 
fix_srcfile_path="$fix_srcfile_path_CXX"
13534
 
 
13535
 
# Set to yes if exported symbols are required.
13536
 
always_export_symbols=$always_export_symbols_CXX
13537
 
 
13538
 
# The commands to list exported symbols.
13539
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13540
 
 
13541
 
# The commands to extract the exported symbol list from a shared archive.
13542
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13543
 
 
13544
 
# Symbols that should not be listed in the preloaded symbols.
13545
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13546
 
 
13547
 
# Symbols that must always be exported.
13548
 
include_expsyms=$lt_include_expsyms_CXX
13549
 
 
13550
 
# ### END LIBTOOL TAG CONFIG: $tagname
13551
 
 
13552
 
__EOF__
13553
 
 
13554
 
 
13555
 
else
13556
 
  # If there is no Makefile yet, we rely on a make rule to execute
13557
 
  # `config.status --recheck' to rerun these tests and create the
13558
 
  # libtool script then.
13559
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13560
 
  if test -f "$ltmain_in"; then
13561
 
    test -f Makefile && make "$ltmain"
13562
 
  fi
13563
 
fi
13564
 
 
13565
 
 
13566
 
ac_ext=c
13567
 
ac_cpp='$CPP $CPPFLAGS'
13568
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13569
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13570
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13571
 
 
13572
 
CC=$lt_save_CC
13573
 
LDCXX=$LD
13574
 
LD=$lt_save_LD
13575
 
GCC=$lt_save_GCC
13576
 
with_gnu_ldcxx=$with_gnu_ld
13577
 
with_gnu_ld=$lt_save_with_gnu_ld
13578
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13579
 
lt_cv_path_LD=$lt_save_path_LD
13580
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13581
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13582
 
 
13583
 
        else
13584
 
          tagname=""
13585
 
        fi
13586
 
        ;;
13587
 
 
13588
 
      F77)
13589
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
13590
 
 
13591
 
ac_ext=f
13592
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13593
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13594
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13595
 
 
13596
 
 
13597
 
archive_cmds_need_lc_F77=no
13598
 
allow_undefined_flag_F77=
13599
 
always_export_symbols_F77=no
13600
 
archive_expsym_cmds_F77=
13601
 
export_dynamic_flag_spec_F77=
13602
 
hardcode_direct_F77=no
13603
 
hardcode_libdir_flag_spec_F77=
13604
 
hardcode_libdir_flag_spec_ld_F77=
13605
 
hardcode_libdir_separator_F77=
13606
 
hardcode_minus_L_F77=no
13607
 
hardcode_automatic_F77=no
13608
 
module_cmds_F77=
13609
 
module_expsym_cmds_F77=
13610
 
link_all_deplibs_F77=unknown
13611
 
old_archive_cmds_F77=$old_archive_cmds
13612
 
no_undefined_flag_F77=
13613
 
whole_archive_flag_spec_F77=
13614
 
enable_shared_with_static_runtimes_F77=no
13615
 
 
13616
 
# Source file extension for f77 test sources.
13617
 
ac_ext=f
13618
 
 
13619
 
# Object file extension for compiled f77 test sources.
13620
 
objext=o
13621
 
objext_F77=$objext
13622
 
 
13623
 
# Code to be used in simple compile tests
13624
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
13625
 
 
13626
 
# Code to be used in simple link tests
13627
 
lt_simple_link_test_code="      program t\n      end\n"
13628
 
 
13629
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13630
 
 
13631
 
# If no C compiler was specified, use CC.
13632
 
LTCC=${LTCC-"$CC"}
13633
 
 
13634
 
# If no C compiler flags were specified, use CFLAGS.
13635
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13636
 
 
13637
 
# Allow CC to be a program name with arguments.
13638
 
compiler=$CC
13639
 
 
13640
 
 
13641
 
# save warnings/boilerplate of simple test code
13642
 
ac_outfile=conftest.$ac_objext
13643
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13644
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13645
 
_lt_compiler_boilerplate=`cat conftest.err`
13646
 
$rm conftest*
13647
 
 
13648
 
ac_outfile=conftest.$ac_objext
13649
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13650
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13651
 
_lt_linker_boilerplate=`cat conftest.err`
13652
 
$rm conftest*
13653
 
 
13654
 
 
13655
 
# Allow CC to be a program name with arguments.
13656
 
lt_save_CC="$CC"
13657
 
CC=${F77-"f77"}
13658
 
compiler=$CC
13659
 
compiler_F77=$CC
13660
 
for cc_temp in $compiler""; do
13661
 
  case $cc_temp in
13662
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13663
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13664
 
    \-*) ;;
13665
 
    *) break;;
13666
 
  esac
13667
 
done
13668
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13669
 
 
13670
 
 
13671
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13672
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13673
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13674
 
echo "${ECHO_T}$can_build_shared" >&6; }
13675
 
 
13676
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13677
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13678
 
test "$can_build_shared" = "no" && enable_shared=no
13679
 
 
13680
 
# On AIX, shared libraries and static libraries use the same namespace, and
13681
 
# are all built from PIC.
13682
 
case $host_os in
13683
 
aix3*)
13684
 
  test "$enable_shared" = yes && enable_static=no
13685
 
  if test -n "$RANLIB"; then
13686
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
13687
 
    postinstall_cmds='$RANLIB $lib'
13688
 
  fi
13689
 
  ;;
13690
 
aix4* | aix5*)
13691
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13692
 
    test "$enable_shared" = yes && enable_static=no
13693
 
  fi
13694
 
  ;;
13695
 
esac
13696
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13697
 
echo "${ECHO_T}$enable_shared" >&6; }
13698
 
 
13699
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13700
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13701
 
# Make sure either enable_shared or enable_static is yes.
13702
 
test "$enable_shared" = yes || enable_static=yes
13703
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
13704
 
echo "${ECHO_T}$enable_static" >&6; }
13705
 
 
13706
 
GCC_F77="$G77"
13707
 
LD_F77="$LD"
13708
 
 
13709
 
lt_prog_compiler_wl_F77=
13710
 
lt_prog_compiler_pic_F77=
13711
 
lt_prog_compiler_static_F77=
13712
 
 
13713
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13714
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13715
 
 
13716
 
  if test "$GCC" = yes; then
13717
 
    lt_prog_compiler_wl_F77='-Wl,'
13718
 
    lt_prog_compiler_static_F77='-static'
13719
 
 
13720
 
    case $host_os in
13721
 
      aix*)
13722
 
      # All AIX code is PIC.
13723
 
      if test "$host_cpu" = ia64; then
13724
 
        # AIX 5 now supports IA64 processor
13725
 
        lt_prog_compiler_static_F77='-Bstatic'
13726
 
      fi
13727
 
      ;;
13728
 
 
13729
 
    amigaos*)
13730
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13731
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13732
 
      # like `-m68040'.
13733
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13734
 
      ;;
13735
 
 
13736
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13737
 
      # PIC is the default for these OSes.
13738
 
      ;;
13739
 
 
13740
 
    mingw* | pw32* | os2*)
13741
 
      # This hack is so that the source file can tell whether it is being
13742
 
      # built for inclusion in a dll (and should export symbols for example).
13743
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13744
 
      ;;
13745
 
 
13746
 
    darwin* | rhapsody*)
13747
 
      # PIC is the default on this platform
13748
 
      # Common symbols not allowed in MH_DYLIB files
13749
 
      lt_prog_compiler_pic_F77='-fno-common'
13750
 
      ;;
13751
 
 
13752
 
    interix3*)
13753
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13754
 
      # Instead, we relocate shared libraries at runtime.
13755
 
      ;;
13756
 
 
13757
 
    msdosdjgpp*)
13758
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13759
 
      # on systems that don't support them.
13760
 
      lt_prog_compiler_can_build_shared_F77=no
13761
 
      enable_shared=no
13762
 
      ;;
13763
 
 
13764
 
    sysv4*MP*)
13765
 
      if test -d /usr/nec; then
13766
 
        lt_prog_compiler_pic_F77=-Kconform_pic
13767
 
      fi
13768
 
      ;;
13769
 
 
13770
 
    hpux*)
13771
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13772
 
      # not for PA HP-UX.
13773
 
      case $host_cpu in
13774
 
      hppa*64*|ia64*)
13775
 
        # +Z the default
13776
 
        ;;
13777
 
      *)
13778
 
        lt_prog_compiler_pic_F77='-fPIC'
13779
 
        ;;
13780
 
      esac
13781
 
      ;;
13782
 
 
13783
 
    *)
13784
 
      lt_prog_compiler_pic_F77='-fPIC'
13785
 
      ;;
13786
 
    esac
13787
 
  else
13788
 
    # PORTME Check for flag to pass linker flags through the system compiler.
13789
 
    case $host_os in
13790
 
    aix*)
13791
 
      lt_prog_compiler_wl_F77='-Wl,'
13792
 
      if test "$host_cpu" = ia64; then
13793
 
        # AIX 5 now supports IA64 processor
13794
 
        lt_prog_compiler_static_F77='-Bstatic'
13795
 
      else
13796
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13797
 
      fi
13798
 
      ;;
13799
 
      darwin*)
13800
 
        # PIC is the default on this platform
13801
 
        # Common symbols not allowed in MH_DYLIB files
13802
 
       case $cc_basename in
13803
 
         xlc*)
13804
 
         lt_prog_compiler_pic_F77='-qnocommon'
13805
 
         lt_prog_compiler_wl_F77='-Wl,'
13806
 
         ;;
13807
 
       esac
13808
 
       ;;
13809
 
 
13810
 
    mingw* | pw32* | os2*)
13811
 
      # This hack is so that the source file can tell whether it is being
13812
 
      # built for inclusion in a dll (and should export symbols for example).
13813
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13814
 
      ;;
13815
 
 
13816
 
    hpux9* | hpux10* | hpux11*)
13817
 
      lt_prog_compiler_wl_F77='-Wl,'
13818
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13819
 
      # not for PA HP-UX.
13820
 
      case $host_cpu in
13821
 
      hppa*64*|ia64*)
13822
 
        # +Z the default
13823
 
        ;;
13824
 
      *)
13825
 
        lt_prog_compiler_pic_F77='+Z'
13826
 
        ;;
13827
 
      esac
13828
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
13829
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13830
 
      ;;
13831
 
 
13832
 
    irix5* | irix6* | nonstopux*)
13833
 
      lt_prog_compiler_wl_F77='-Wl,'
13834
 
      # PIC (with -KPIC) is the default.
13835
 
      lt_prog_compiler_static_F77='-non_shared'
13836
 
      ;;
13837
 
 
13838
 
    newsos6)
13839
 
      lt_prog_compiler_pic_F77='-KPIC'
13840
 
      lt_prog_compiler_static_F77='-Bstatic'
13841
 
      ;;
13842
 
 
13843
 
    linux*)
13844
 
      case $cc_basename in
13845
 
      icc* | ecc*)
13846
 
        lt_prog_compiler_wl_F77='-Wl,'
13847
 
        lt_prog_compiler_pic_F77='-KPIC'
13848
 
        lt_prog_compiler_static_F77='-static'
13849
 
        ;;
13850
 
      pgcc* | pgf77* | pgf90* | pgf95*)
13851
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
13852
 
        # which looks to be a dead project)
13853
 
        lt_prog_compiler_wl_F77='-Wl,'
13854
 
        lt_prog_compiler_pic_F77='-fpic'
13855
 
        lt_prog_compiler_static_F77='-Bstatic'
13856
 
        ;;
13857
 
      ccc*)
13858
 
        lt_prog_compiler_wl_F77='-Wl,'
13859
 
        # All Alpha code is PIC.
13860
 
        lt_prog_compiler_static_F77='-non_shared'
13861
 
        ;;
13862
 
      esac
13863
 
      ;;
13864
 
 
13865
 
    osf3* | osf4* | osf5*)
13866
 
      lt_prog_compiler_wl_F77='-Wl,'
13867
 
      # All OSF/1 code is PIC.
13868
 
      lt_prog_compiler_static_F77='-non_shared'
13869
 
      ;;
13870
 
 
13871
 
    solaris*)
13872
 
      lt_prog_compiler_pic_F77='-KPIC'
13873
 
      lt_prog_compiler_static_F77='-Bstatic'
13874
 
      case $cc_basename in
13875
 
      f77* | f90* | f95*)
13876
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
13877
 
      *)
13878
 
        lt_prog_compiler_wl_F77='-Wl,';;
13879
 
      esac
13880
 
      ;;
13881
 
 
13882
 
    sunos4*)
13883
 
      lt_prog_compiler_wl_F77='-Qoption ld '
13884
 
      lt_prog_compiler_pic_F77='-PIC'
13885
 
      lt_prog_compiler_static_F77='-Bstatic'
13886
 
      ;;
13887
 
 
13888
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
13889
 
      lt_prog_compiler_wl_F77='-Wl,'
13890
 
      lt_prog_compiler_pic_F77='-KPIC'
13891
 
      lt_prog_compiler_static_F77='-Bstatic'
13892
 
      ;;
13893
 
 
13894
 
    sysv4*MP*)
13895
 
      if test -d /usr/nec ;then
13896
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
13897
 
        lt_prog_compiler_static_F77='-Bstatic'
13898
 
      fi
13899
 
      ;;
13900
 
 
13901
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13902
 
      lt_prog_compiler_wl_F77='-Wl,'
13903
 
      lt_prog_compiler_pic_F77='-KPIC'
13904
 
      lt_prog_compiler_static_F77='-Bstatic'
13905
 
      ;;
13906
 
 
13907
 
    unicos*)
13908
 
      lt_prog_compiler_wl_F77='-Wl,'
13909
 
      lt_prog_compiler_can_build_shared_F77=no
13910
 
      ;;
13911
 
 
13912
 
    uts4*)
13913
 
      lt_prog_compiler_pic_F77='-pic'
13914
 
      lt_prog_compiler_static_F77='-Bstatic'
13915
 
      ;;
13916
 
 
13917
 
    *)
13918
 
      lt_prog_compiler_can_build_shared_F77=no
13919
 
      ;;
13920
 
    esac
13921
 
  fi
13922
 
 
13923
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13924
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13925
 
 
13926
 
#
13927
 
# Check to make sure the PIC flag actually works.
13928
 
#
13929
 
if test -n "$lt_prog_compiler_pic_F77"; then
13930
 
 
13931
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13932
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13933
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13935
 
else
13936
 
  lt_prog_compiler_pic_works_F77=no
13937
 
  ac_outfile=conftest.$ac_objext
13938
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13939
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13940
 
   # Insert the option either (1) after the last *FLAGS variable, or
13941
 
   # (2) before a word containing "conftest.", or (3) at the end.
13942
 
   # Note that $ac_compile itself does not contain backslashes and begins
13943
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13944
 
   # The option is referenced via a variable to avoid confusing sed.
13945
 
   lt_compile=`echo "$ac_compile" | $SED \
13946
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13947
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13948
 
   -e 's:$: $lt_compiler_flag:'`
13949
 
   (eval echo "\"\$as_me:13949: $lt_compile\"" >&5)
13950
 
   (eval "$lt_compile" 2>conftest.err)
13951
 
   ac_status=$?
13952
 
   cat conftest.err >&5
13953
 
   echo "$as_me:13953: \$? = $ac_status" >&5
13954
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13955
 
     # The compiler can only warn and ignore the option if not recognized
13956
 
     # So say no if there are warnings other than the usual output.
13957
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13958
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13959
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13960
 
       lt_prog_compiler_pic_works_F77=yes
13961
 
     fi
13962
 
   fi
13963
 
   $rm conftest*
13964
 
 
13965
 
fi
13966
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13967
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13968
 
 
13969
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13970
 
    case $lt_prog_compiler_pic_F77 in
13971
 
     "" | " "*) ;;
13972
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13973
 
     esac
13974
 
else
13975
 
    lt_prog_compiler_pic_F77=
13976
 
     lt_prog_compiler_can_build_shared_F77=no
13977
 
fi
13978
 
 
13979
 
fi
13980
 
case $host_os in
13981
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13982
 
  *djgpp*)
13983
 
    lt_prog_compiler_pic_F77=
13984
 
    ;;
13985
 
  *)
13986
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13987
 
    ;;
13988
 
esac
13989
 
 
13990
 
#
13991
 
# Check to make sure the static flag actually works.
13992
 
#
13993
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13994
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13995
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13996
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13998
 
else
13999
 
  lt_prog_compiler_static_works_F77=no
14000
 
   save_LDFLAGS="$LDFLAGS"
14001
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14002
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
14003
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14004
 
     # The linker can only warn and ignore the option if not recognized
14005
 
     # So say no if there are warnings
14006
 
     if test -s conftest.err; then
14007
 
       # Append any errors to the config.log.
14008
 
       cat conftest.err 1>&5
14009
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14010
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14011
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14012
 
         lt_prog_compiler_static_works_F77=yes
14013
 
       fi
14014
 
     else
14015
 
       lt_prog_compiler_static_works_F77=yes
14016
 
     fi
14017
 
   fi
14018
 
   $rm conftest*
14019
 
   LDFLAGS="$save_LDFLAGS"
14020
 
 
14021
 
fi
14022
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14023
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14024
 
 
14025
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14026
 
    :
14027
 
else
14028
 
    lt_prog_compiler_static_F77=
14029
 
fi
14030
 
 
14031
 
 
14032
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14033
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14034
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14036
 
else
14037
 
  lt_cv_prog_compiler_c_o_F77=no
14038
 
   $rm -r conftest 2>/dev/null
14039
 
   mkdir conftest
14040
 
   cd conftest
14041
 
   mkdir out
14042
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14043
 
 
14044
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14045
 
   # Insert the option either (1) after the last *FLAGS variable, or
14046
 
   # (2) before a word containing "conftest.", or (3) at the end.
14047
 
   # Note that $ac_compile itself does not contain backslashes and begins
14048
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14049
 
   lt_compile=`echo "$ac_compile" | $SED \
14050
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14051
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14052
 
   -e 's:$: $lt_compiler_flag:'`
14053
 
   (eval echo "\"\$as_me:14053: $lt_compile\"" >&5)
14054
 
   (eval "$lt_compile" 2>out/conftest.err)
14055
 
   ac_status=$?
14056
 
   cat out/conftest.err >&5
14057
 
   echo "$as_me:14057: \$? = $ac_status" >&5
14058
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14059
 
   then
14060
 
     # The compiler can only warn and ignore the option if not recognized
14061
 
     # So say no if there are warnings
14062
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14063
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14064
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14065
 
       lt_cv_prog_compiler_c_o_F77=yes
14066
 
     fi
14067
 
   fi
14068
 
   chmod u+w . 2>&5
14069
 
   $rm conftest*
14070
 
   # SGI C++ compiler will create directory out/ii_files/ for
14071
 
   # template instantiation
14072
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14073
 
   $rm out/* && rmdir out
14074
 
   cd ..
14075
 
   rmdir conftest
14076
 
   $rm conftest*
14077
 
 
14078
 
fi
14079
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14080
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14081
 
 
14082
 
 
14083
 
hard_links="nottested"
14084
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14085
 
  # do not overwrite the value of need_locks provided by the user
14086
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14087
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14088
 
  hard_links=yes
14089
 
  $rm conftest*
14090
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14091
 
  touch conftest.a
14092
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14093
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14094
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14095
 
echo "${ECHO_T}$hard_links" >&6; }
14096
 
  if test "$hard_links" = no; then
14097
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14098
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14099
 
    need_locks=warn
14100
 
  fi
14101
 
else
14102
 
  need_locks=no
14103
 
fi
14104
 
 
14105
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14106
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14107
 
 
14108
 
  runpath_var=
14109
 
  allow_undefined_flag_F77=
14110
 
  enable_shared_with_static_runtimes_F77=no
14111
 
  archive_cmds_F77=
14112
 
  archive_expsym_cmds_F77=
14113
 
  old_archive_From_new_cmds_F77=
14114
 
  old_archive_from_expsyms_cmds_F77=
14115
 
  export_dynamic_flag_spec_F77=
14116
 
  whole_archive_flag_spec_F77=
14117
 
  thread_safe_flag_spec_F77=
14118
 
  hardcode_libdir_flag_spec_F77=
14119
 
  hardcode_libdir_flag_spec_ld_F77=
14120
 
  hardcode_libdir_separator_F77=
14121
 
  hardcode_direct_F77=no
14122
 
  hardcode_minus_L_F77=no
14123
 
  hardcode_shlibpath_var_F77=unsupported
14124
 
  link_all_deplibs_F77=unknown
14125
 
  hardcode_automatic_F77=no
14126
 
  module_cmds_F77=
14127
 
  module_expsym_cmds_F77=
14128
 
  always_export_symbols_F77=no
14129
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14130
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14131
 
  # included in the symbol list
14132
 
  include_expsyms_F77=
14133
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14134
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14135
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14136
 
  # as well as any symbol that contains `d'.
14137
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14138
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14139
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14140
 
  # the symbol is explicitly referenced.  Since portable code cannot
14141
 
  # rely on this symbol name, it's probably fine to never include it in
14142
 
  # preloaded symbol tables.
14143
 
  extract_expsyms_cmds=
14144
 
  # Just being paranoid about ensuring that cc_basename is set.
14145
 
  for cc_temp in $compiler""; do
14146
 
  case $cc_temp in
14147
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14148
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14149
 
    \-*) ;;
14150
 
    *) break;;
14151
 
  esac
14152
 
done
14153
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14154
 
 
14155
 
  case $host_os in
14156
 
  cygwin* | mingw* | pw32*)
14157
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14158
 
    # When not using gcc, we currently assume that we are using
14159
 
    # Microsoft Visual C++.
14160
 
    if test "$GCC" != yes; then
14161
 
      with_gnu_ld=no
14162
 
    fi
14163
 
    ;;
14164
 
  interix*)
14165
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14166
 
    with_gnu_ld=yes
14167
 
    ;;
14168
 
  openbsd*)
14169
 
    with_gnu_ld=no
14170
 
    ;;
14171
 
  esac
14172
 
 
14173
 
  ld_shlibs_F77=yes
14174
 
  if test "$with_gnu_ld" = yes; then
14175
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14176
 
    wlarc='${wl}'
14177
 
 
14178
 
    # Set some defaults for GNU ld with shared library support. These
14179
 
    # are reset later if shared libraries are not supported. Putting them
14180
 
    # here allows them to be overridden if necessary.
14181
 
    runpath_var=LD_RUN_PATH
14182
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14183
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14184
 
    # ancient GNU ld didn't support --whole-archive et. al.
14185
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14186
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14187
 
      else
14188
 
        whole_archive_flag_spec_F77=
14189
 
    fi
14190
 
    supports_anon_versioning=no
14191
 
    case `$LD -v 2>/dev/null` in
14192
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14193
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14194
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14195
 
      *\ 2.11.*) ;; # other 2.11 versions
14196
 
      *) supports_anon_versioning=yes ;;
14197
 
    esac
14198
 
 
14199
 
    # See if GNU ld supports shared libraries.
14200
 
    case $host_os in
14201
 
    aix3* | aix4* | aix5*)
14202
 
      # On AIX/PPC, the GNU linker is very broken
14203
 
      if test "$host_cpu" != ia64; then
14204
 
        ld_shlibs_F77=no
14205
 
        cat <<EOF 1>&2
14206
 
 
14207
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14208
 
*** to be unable to reliably create shared libraries on AIX.
14209
 
*** Therefore, libtool is disabling shared libraries support.  If you
14210
 
*** really care for shared libraries, you may want to modify your PATH
14211
 
*** so that a non-GNU linker is found, and then restart.
14212
 
 
14213
 
EOF
14214
 
      fi
14215
 
      ;;
14216
 
 
14217
 
    amigaos*)
14218
 
      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)'
14219
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14220
 
      hardcode_minus_L_F77=yes
14221
 
 
14222
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14223
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14224
 
      # to version 4, is to share data among multiple programs linked
14225
 
      # with the same dynamic library.  Since this doesn't match the
14226
 
      # behavior of shared libraries on other platforms, we can't use
14227
 
      # them.
14228
 
      ld_shlibs_F77=no
14229
 
      ;;
14230
 
 
14231
 
    beos*)
14232
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14233
 
        allow_undefined_flag_F77=unsupported
14234
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14235
 
        # support --undefined.  This deserves some investigation.  FIXME
14236
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14237
 
      else
14238
 
        ld_shlibs_F77=no
14239
 
      fi
14240
 
      ;;
14241
 
 
14242
 
    cygwin* | mingw* | pw32*)
14243
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14244
 
      # as there is no search path for DLLs.
14245
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14246
 
      allow_undefined_flag_F77=unsupported
14247
 
      always_export_symbols_F77=no
14248
 
      enable_shared_with_static_runtimes_F77=yes
14249
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14250
 
 
14251
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14252
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14253
 
        # If the export-symbols file already is a .def file (1st line
14254
 
        # is EXPORTS), use it as is; otherwise, prepend...
14255
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14256
 
          cp $export_symbols $output_objdir/$soname.def;
14257
 
        else
14258
 
          echo EXPORTS > $output_objdir/$soname.def;
14259
 
          cat $export_symbols >> $output_objdir/$soname.def;
14260
 
        fi~
14261
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14262
 
      else
14263
 
        ld_shlibs_F77=no
14264
 
      fi
14265
 
      ;;
14266
 
 
14267
 
    interix3*)
14268
 
      hardcode_direct_F77=no
14269
 
      hardcode_shlibpath_var_F77=no
14270
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14271
 
      export_dynamic_flag_spec_F77='${wl}-E'
14272
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14273
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14274
 
      # default) and relocated if they conflict, which is a slow very memory
14275
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14276
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14277
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14278
 
      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'
14279
 
      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'
14280
 
      ;;
14281
 
 
14282
 
    linux*)
14283
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14284
 
        tmp_addflag=
14285
 
        case $cc_basename,$host_cpu in
14286
 
        pgcc*)                          # Portland Group C compiler
14287
 
          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'
14288
 
          tmp_addflag=' $pic_flag'
14289
 
          ;;
14290
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14291
 
          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'
14292
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14293
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14294
 
          tmp_addflag=' -i_dynamic' ;;
14295
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14296
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14297
 
        ifc* | ifort*)                  # Intel Fortran compiler
14298
 
          tmp_addflag=' -nofor_main' ;;
14299
 
        esac
14300
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14301
 
 
14302
 
        if test $supports_anon_versioning = yes; then
14303
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14304
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14305
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14306
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14307
 
        fi
14308
 
      else
14309
 
        ld_shlibs_F77=no
14310
 
      fi
14311
 
      ;;
14312
 
 
14313
 
    netbsd*)
14314
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14315
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14316
 
        wlarc=
14317
 
      else
14318
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14319
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14320
 
      fi
14321
 
      ;;
14322
 
 
14323
 
    solaris*)
14324
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14325
 
        ld_shlibs_F77=no
14326
 
        cat <<EOF 1>&2
14327
 
 
14328
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14329
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14330
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14331
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14332
 
*** your PATH or compiler configuration so that the native linker is
14333
 
*** used, and then restart.
14334
 
 
14335
 
EOF
14336
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14337
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14338
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14339
 
      else
14340
 
        ld_shlibs_F77=no
14341
 
      fi
14342
 
      ;;
14343
 
 
14344
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14345
 
      case `$LD -v 2>&1` in
14346
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14347
 
        ld_shlibs_F77=no
14348
 
        cat <<_LT_EOF 1>&2
14349
 
 
14350
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14351
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14352
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14353
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14354
 
*** your PATH or compiler configuration so that the native linker is
14355
 
*** used, and then restart.
14356
 
 
14357
 
_LT_EOF
14358
 
        ;;
14359
 
        *)
14360
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14361
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14362
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14363
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14364
 
          else
14365
 
            ld_shlibs_F77=no
14366
 
          fi
14367
 
        ;;
14368
 
      esac
14369
 
      ;;
14370
 
 
14371
 
    sunos4*)
14372
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14373
 
      wlarc=
14374
 
      hardcode_direct_F77=yes
14375
 
      hardcode_shlibpath_var_F77=no
14376
 
      ;;
14377
 
 
14378
 
    *)
14379
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14380
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14381
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14382
 
      else
14383
 
        ld_shlibs_F77=no
14384
 
      fi
14385
 
      ;;
14386
 
    esac
14387
 
 
14388
 
    if test "$ld_shlibs_F77" = no; then
14389
 
      runpath_var=
14390
 
      hardcode_libdir_flag_spec_F77=
14391
 
      export_dynamic_flag_spec_F77=
14392
 
      whole_archive_flag_spec_F77=
14393
 
    fi
14394
 
  else
14395
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14396
 
    case $host_os in
14397
 
    aix3*)
14398
 
      allow_undefined_flag_F77=unsupported
14399
 
      always_export_symbols_F77=yes
14400
 
      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'
14401
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14402
 
      # are no directories specified by -L.
14403
 
      hardcode_minus_L_F77=yes
14404
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14405
 
        # Neither direct hardcoding nor static linking is supported with a
14406
 
        # broken collect2.
14407
 
        hardcode_direct_F77=unsupported
14408
 
      fi
14409
 
      ;;
14410
 
 
14411
 
    aix4* | aix5*)
14412
 
      if test "$host_cpu" = ia64; then
14413
 
        # On IA64, the linker does run time linking by default, so we don't
14414
 
        # have to do anything special.
14415
 
        aix_use_runtimelinking=no
14416
 
        exp_sym_flag='-Bexport'
14417
 
        no_entry_flag=""
14418
 
      else
14419
 
        # If we're using GNU nm, then we don't want the "-C" option.
14420
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14421
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14422
 
          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'
14423
 
        else
14424
 
          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'
14425
 
        fi
14426
 
        aix_use_runtimelinking=no
14427
 
 
14428
 
        # Test if we are trying to use run time linking or normal
14429
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14430
 
        # need to do runtime linking.
14431
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14432
 
          for ld_flag in $LDFLAGS; do
14433
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14434
 
            aix_use_runtimelinking=yes
14435
 
            break
14436
 
          fi
14437
 
          done
14438
 
          ;;
14439
 
        esac
14440
 
 
14441
 
        exp_sym_flag='-bexport'
14442
 
        no_entry_flag='-bnoentry'
14443
 
      fi
14444
 
 
14445
 
      # When large executables or shared objects are built, AIX ld can
14446
 
      # have problems creating the table of contents.  If linking a library
14447
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14448
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14449
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14450
 
 
14451
 
      archive_cmds_F77=''
14452
 
      hardcode_direct_F77=yes
14453
 
      hardcode_libdir_separator_F77=':'
14454
 
      link_all_deplibs_F77=yes
14455
 
 
14456
 
      if test "$GCC" = yes; then
14457
 
        case $host_os in aix4.[012]|aix4.[012].*)
14458
 
        # We only want to do this on AIX 4.2 and lower, the check
14459
 
        # below for broken collect2 doesn't work under 4.3+
14460
 
          collect2name=`${CC} -print-prog-name=collect2`
14461
 
          if test -f "$collect2name" && \
14462
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14463
 
          then
14464
 
          # We have reworked collect2
14465
 
          hardcode_direct_F77=yes
14466
 
          else
14467
 
          # We have old collect2
14468
 
          hardcode_direct_F77=unsupported
14469
 
          # It fails to find uninstalled libraries when the uninstalled
14470
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14471
 
          # to unsupported forces relinking
14472
 
          hardcode_minus_L_F77=yes
14473
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14474
 
          hardcode_libdir_separator_F77=
14475
 
          fi
14476
 
          ;;
14477
 
        esac
14478
 
        shared_flag='-shared'
14479
 
        if test "$aix_use_runtimelinking" = yes; then
14480
 
          shared_flag="$shared_flag "'${wl}-G'
14481
 
        fi
14482
 
      else
14483
 
        # not using gcc
14484
 
        if test "$host_cpu" = ia64; then
14485
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14486
 
        # chokes on -Wl,-G. The following line is correct:
14487
 
          shared_flag='-G'
14488
 
        else
14489
 
          if test "$aix_use_runtimelinking" = yes; then
14490
 
            shared_flag='${wl}-G'
14491
 
          else
14492
 
            shared_flag='${wl}-bM:SRE'
14493
 
          fi
14494
 
        fi
14495
 
      fi
14496
 
 
14497
 
      # It seems that -bexpall does not export symbols beginning with
14498
 
      # underscore (_), so it is better to generate a list of symbols to export.
14499
 
      always_export_symbols_F77=yes
14500
 
      if test "$aix_use_runtimelinking" = yes; then
14501
 
        # Warning - without using the other runtime loading flags (-brtl),
14502
 
        # -berok will link without error, but may produce a broken library.
14503
 
        allow_undefined_flag_F77='-berok'
14504
 
       # Determine the default libpath from the value encoded in an empty executable.
14505
 
       cat >conftest.$ac_ext <<_ACEOF
14506
 
      program main
14507
 
 
14508
 
      end
14509
 
_ACEOF
14510
 
rm -f conftest.$ac_objext conftest$ac_exeext
14511
 
if { (ac_try="$ac_link"
14512
 
case "(($ac_try" in
14513
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14514
 
  *) ac_try_echo=$ac_try;;
14515
 
esac
14516
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14517
 
  (eval "$ac_link") 2>conftest.er1
14518
 
  ac_status=$?
14519
 
  grep -v '^ *+' conftest.er1 >conftest.err
14520
 
  rm -f conftest.er1
14521
 
  cat conftest.err >&5
14522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523
 
  (exit $ac_status); } && {
14524
 
         test -z "$ac_f77_werror_flag" ||
14525
 
         test ! -s conftest.err
14526
 
       } && test -s conftest$ac_exeext &&
14527
 
       $as_test_x conftest$ac_exeext; then
14528
 
 
14529
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14530
 
}'`
14531
 
# Check for a 64-bit object if we didn't find anything.
14532
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14533
 
}'`; fi
14534
 
else
14535
 
  echo "$as_me: failed program was:" >&5
14536
 
sed 's/^/| /' conftest.$ac_ext >&5
14537
 
 
14538
 
 
14539
 
fi
14540
 
 
14541
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14542
 
      conftest$ac_exeext conftest.$ac_ext
14543
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14544
 
 
14545
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14546
 
        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"
14547
 
       else
14548
 
        if test "$host_cpu" = ia64; then
14549
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14550
 
          allow_undefined_flag_F77="-z nodefs"
14551
 
          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"
14552
 
        else
14553
 
         # Determine the default libpath from the value encoded in an empty executable.
14554
 
         cat >conftest.$ac_ext <<_ACEOF
14555
 
      program main
14556
 
 
14557
 
      end
14558
 
_ACEOF
14559
 
rm -f conftest.$ac_objext conftest$ac_exeext
14560
 
if { (ac_try="$ac_link"
14561
 
case "(($ac_try" in
14562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14563
 
  *) ac_try_echo=$ac_try;;
14564
 
esac
14565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566
 
  (eval "$ac_link") 2>conftest.er1
14567
 
  ac_status=$?
14568
 
  grep -v '^ *+' conftest.er1 >conftest.err
14569
 
  rm -f conftest.er1
14570
 
  cat conftest.err >&5
14571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572
 
  (exit $ac_status); } && {
14573
 
         test -z "$ac_f77_werror_flag" ||
14574
 
         test ! -s conftest.err
14575
 
       } && test -s conftest$ac_exeext &&
14576
 
       $as_test_x conftest$ac_exeext; then
14577
 
 
14578
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14579
 
}'`
14580
 
# Check for a 64-bit object if we didn't find anything.
14581
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14582
 
}'`; fi
14583
 
else
14584
 
  echo "$as_me: failed program was:" >&5
14585
 
sed 's/^/| /' conftest.$ac_ext >&5
14586
 
 
14587
 
 
14588
 
fi
14589
 
 
14590
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14591
 
      conftest$ac_exeext conftest.$ac_ext
14592
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14593
 
 
14594
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14595
 
          # Warning - without using the other run time loading flags,
14596
 
          # -berok will link without error, but may produce a broken library.
14597
 
          no_undefined_flag_F77=' ${wl}-bernotok'
14598
 
          allow_undefined_flag_F77=' ${wl}-berok'
14599
 
          # Exported symbols can be pulled into shared objects from archives
14600
 
          whole_archive_flag_spec_F77='$convenience'
14601
 
          archive_cmds_need_lc_F77=yes
14602
 
          # This is similar to how AIX traditionally builds its shared libraries.
14603
 
          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'
14604
 
        fi
14605
 
      fi
14606
 
      ;;
14607
 
 
14608
 
    amigaos*)
14609
 
      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)'
14610
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14611
 
      hardcode_minus_L_F77=yes
14612
 
      # see comment about different semantics on the GNU ld section
14613
 
      ld_shlibs_F77=no
14614
 
      ;;
14615
 
 
14616
 
    bsdi[45]*)
14617
 
      export_dynamic_flag_spec_F77=-rdynamic
14618
 
      ;;
14619
 
 
14620
 
    cygwin* | mingw* | pw32*)
14621
 
      # When not using gcc, we currently assume that we are using
14622
 
      # Microsoft Visual C++.
14623
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14624
 
      # no search path for DLLs.
14625
 
      hardcode_libdir_flag_spec_F77=' '
14626
 
      allow_undefined_flag_F77=unsupported
14627
 
      # Tell ltmain to make .lib files, not .a files.
14628
 
      libext=lib
14629
 
      # Tell ltmain to make .dll files, not .so files.
14630
 
      shrext_cmds=".dll"
14631
 
      # FIXME: Setting linknames here is a bad hack.
14632
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14633
 
      # The linker will automatically build a .lib file if we build a DLL.
14634
 
      old_archive_From_new_cmds_F77='true'
14635
 
      # FIXME: Should let the user specify the lib program.
14636
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14637
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14638
 
      enable_shared_with_static_runtimes_F77=yes
14639
 
      ;;
14640
 
 
14641
 
    darwin* | rhapsody*)
14642
 
      case $host_os in
14643
 
        rhapsody* | darwin1.[012])
14644
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14645
 
         ;;
14646
 
       *) # Darwin 1.3 on
14647
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14648
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14649
 
         else
14650
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
14651
 
             10.[012])
14652
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14653
 
               ;;
14654
 
             10.*)
14655
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14656
 
               ;;
14657
 
           esac
14658
 
         fi
14659
 
         ;;
14660
 
      esac
14661
 
      archive_cmds_need_lc_F77=no
14662
 
      hardcode_direct_F77=no
14663
 
      hardcode_automatic_F77=yes
14664
 
      hardcode_shlibpath_var_F77=unsupported
14665
 
      whole_archive_flag_spec_F77=''
14666
 
      link_all_deplibs_F77=yes
14667
 
    if test "$GCC" = yes ; then
14668
 
        output_verbose_link_cmd='echo'
14669
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14670
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14671
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14672
 
      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}'
14673
 
      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}'
14674
 
    else
14675
 
      case $cc_basename in
14676
 
        xlc*)
14677
 
         output_verbose_link_cmd='echo'
14678
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14679
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14680
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14681
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14682
 
          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}'
14683
 
          ;;
14684
 
       *)
14685
 
         ld_shlibs_F77=no
14686
 
          ;;
14687
 
      esac
14688
 
    fi
14689
 
      ;;
14690
 
 
14691
 
    dgux*)
14692
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14693
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14694
 
      hardcode_shlibpath_var_F77=no
14695
 
      ;;
14696
 
 
14697
 
    freebsd1*)
14698
 
      ld_shlibs_F77=no
14699
 
      ;;
14700
 
 
14701
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14702
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
14703
 
    # does not break anything, and helps significantly (at the cost of a little
14704
 
    # extra space).
14705
 
    freebsd2.2*)
14706
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14707
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14708
 
      hardcode_direct_F77=yes
14709
 
      hardcode_shlibpath_var_F77=no
14710
 
      ;;
14711
 
 
14712
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14713
 
    freebsd2*)
14714
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14715
 
      hardcode_direct_F77=yes
14716
 
      hardcode_minus_L_F77=yes
14717
 
      hardcode_shlibpath_var_F77=no
14718
 
      ;;
14719
 
 
14720
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14721
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
14722
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14723
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14724
 
      hardcode_direct_F77=yes
14725
 
      hardcode_shlibpath_var_F77=no
14726
 
      ;;
14727
 
 
14728
 
    hpux9*)
14729
 
      if test "$GCC" = yes; then
14730
 
        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'
14731
 
      else
14732
 
        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'
14733
 
      fi
14734
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14735
 
      hardcode_libdir_separator_F77=:
14736
 
      hardcode_direct_F77=yes
14737
 
 
14738
 
      # hardcode_minus_L: Not really in the search PATH,
14739
 
      # but as the default location of the library.
14740
 
      hardcode_minus_L_F77=yes
14741
 
      export_dynamic_flag_spec_F77='${wl}-E'
14742
 
      ;;
14743
 
 
14744
 
    hpux10*)
14745
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14746
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14747
 
      else
14748
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14749
 
      fi
14750
 
      if test "$with_gnu_ld" = no; then
14751
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14752
 
        hardcode_libdir_separator_F77=:
14753
 
 
14754
 
        hardcode_direct_F77=yes
14755
 
        export_dynamic_flag_spec_F77='${wl}-E'
14756
 
 
14757
 
        # hardcode_minus_L: Not really in the search PATH,
14758
 
        # but as the default location of the library.
14759
 
        hardcode_minus_L_F77=yes
14760
 
      fi
14761
 
      ;;
14762
 
 
14763
 
    hpux11*)
14764
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14765
 
        case $host_cpu in
14766
 
        hppa*64*)
14767
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14768
 
          ;;
14769
 
        ia64*)
14770
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14771
 
          ;;
14772
 
        *)
14773
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14774
 
          ;;
14775
 
        esac
14776
 
      else
14777
 
        case $host_cpu in
14778
 
        hppa*64*)
14779
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14780
 
          ;;
14781
 
        ia64*)
14782
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14783
 
          ;;
14784
 
        *)
14785
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14786
 
          ;;
14787
 
        esac
14788
 
      fi
14789
 
      if test "$with_gnu_ld" = no; then
14790
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14791
 
        hardcode_libdir_separator_F77=:
14792
 
 
14793
 
        case $host_cpu in
14794
 
        hppa*64*|ia64*)
14795
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14796
 
          hardcode_direct_F77=no
14797
 
          hardcode_shlibpath_var_F77=no
14798
 
          ;;
14799
 
        *)
14800
 
          hardcode_direct_F77=yes
14801
 
          export_dynamic_flag_spec_F77='${wl}-E'
14802
 
 
14803
 
          # hardcode_minus_L: Not really in the search PATH,
14804
 
          # but as the default location of the library.
14805
 
          hardcode_minus_L_F77=yes
14806
 
          ;;
14807
 
        esac
14808
 
      fi
14809
 
      ;;
14810
 
 
14811
 
    irix5* | irix6* | nonstopux*)
14812
 
      if test "$GCC" = yes; then
14813
 
        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'
14814
 
      else
14815
 
        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'
14816
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
14817
 
      fi
14818
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14819
 
      hardcode_libdir_separator_F77=:
14820
 
      link_all_deplibs_F77=yes
14821
 
      ;;
14822
 
 
14823
 
    netbsd*)
14824
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14825
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14826
 
      else
14827
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14828
 
      fi
14829
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14830
 
      hardcode_direct_F77=yes
14831
 
      hardcode_shlibpath_var_F77=no
14832
 
      ;;
14833
 
 
14834
 
    newsos6)
14835
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14836
 
      hardcode_direct_F77=yes
14837
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14838
 
      hardcode_libdir_separator_F77=:
14839
 
      hardcode_shlibpath_var_F77=no
14840
 
      ;;
14841
 
 
14842
 
    openbsd*)
14843
 
      hardcode_direct_F77=yes
14844
 
      hardcode_shlibpath_var_F77=no
14845
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14846
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14847
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14848
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14849
 
        export_dynamic_flag_spec_F77='${wl}-E'
14850
 
      else
14851
 
       case $host_os in
14852
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14853
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14854
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14855
 
           ;;
14856
 
         *)
14857
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14858
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14859
 
           ;;
14860
 
       esac
14861
 
      fi
14862
 
      ;;
14863
 
 
14864
 
    os2*)
14865
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14866
 
      hardcode_minus_L_F77=yes
14867
 
      allow_undefined_flag_F77=unsupported
14868
 
      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'
14869
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14870
 
      ;;
14871
 
 
14872
 
    osf3*)
14873
 
      if test "$GCC" = yes; then
14874
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14875
 
        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'
14876
 
      else
14877
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
14878
 
        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'
14879
 
      fi
14880
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14881
 
      hardcode_libdir_separator_F77=:
14882
 
      ;;
14883
 
 
14884
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
14885
 
      if test "$GCC" = yes; then
14886
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14887
 
        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'
14888
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14889
 
      else
14890
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
14891
 
        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'
14892
 
        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~
14893
 
        $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'
14894
 
 
14895
 
        # Both c and cxx compiler support -rpath directly
14896
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14897
 
      fi
14898
 
      hardcode_libdir_separator_F77=:
14899
 
      ;;
14900
 
 
14901
 
    solaris*)
14902
 
      no_undefined_flag_F77=' -z text'
14903
 
      if test "$GCC" = yes; then
14904
 
        wlarc='${wl}'
14905
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14906
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14907
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14908
 
      else
14909
 
        wlarc=''
14910
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14911
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14912
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14913
 
      fi
14914
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14915
 
      hardcode_shlibpath_var_F77=no
14916
 
      case $host_os in
14917
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14918
 
      *)
14919
 
        # The compiler driver will combine linker options so we
14920
 
        # cannot just pass the convience library names through
14921
 
        # without $wl, iff we do not link with $LD.
14922
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
14923
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14924
 
        case $wlarc in
14925
 
        '')
14926
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14927
 
        *)
14928
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14929
 
        esac ;;
14930
 
      esac
14931
 
      link_all_deplibs_F77=yes
14932
 
      ;;
14933
 
 
14934
 
    sunos4*)
14935
 
      if test "x$host_vendor" = xsequent; then
14936
 
        # Use $CC to link under sequent, because it throws in some extra .o
14937
 
        # files that make .init and .fini sections work.
14938
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14939
 
      else
14940
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14941
 
      fi
14942
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14943
 
      hardcode_direct_F77=yes
14944
 
      hardcode_minus_L_F77=yes
14945
 
      hardcode_shlibpath_var_F77=no
14946
 
      ;;
14947
 
 
14948
 
    sysv4)
14949
 
      case $host_vendor in
14950
 
        sni)
14951
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14952
 
          hardcode_direct_F77=yes # is this really true???
14953
 
        ;;
14954
 
        siemens)
14955
 
          ## LD is ld it makes a PLAMLIB
14956
 
          ## CC just makes a GrossModule.
14957
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14958
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
14959
 
          hardcode_direct_F77=no
14960
 
        ;;
14961
 
        motorola)
14962
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14963
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
14964
 
        ;;
14965
 
      esac
14966
 
      runpath_var='LD_RUN_PATH'
14967
 
      hardcode_shlibpath_var_F77=no
14968
 
      ;;
14969
 
 
14970
 
    sysv4.3*)
14971
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14972
 
      hardcode_shlibpath_var_F77=no
14973
 
      export_dynamic_flag_spec_F77='-Bexport'
14974
 
      ;;
14975
 
 
14976
 
    sysv4*MP*)
14977
 
      if test -d /usr/nec; then
14978
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14979
 
        hardcode_shlibpath_var_F77=no
14980
 
        runpath_var=LD_RUN_PATH
14981
 
        hardcode_runpath_var=yes
14982
 
        ld_shlibs_F77=yes
14983
 
      fi
14984
 
      ;;
14985
 
 
14986
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14987
 
      no_undefined_flag_F77='${wl}-z,text'
14988
 
      archive_cmds_need_lc_F77=no
14989
 
      hardcode_shlibpath_var_F77=no
14990
 
      runpath_var='LD_RUN_PATH'
14991
 
 
14992
 
      if test "$GCC" = yes; then
14993
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14994
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14995
 
      else
14996
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14997
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14998
 
      fi
14999
 
      ;;
15000
 
 
15001
 
    sysv5* | sco3.2v5* | sco5v6*)
15002
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15003
 
      # link with -lc, and that would cause any symbols used from libc to
15004
 
      # always be unresolved, which means just about no library would
15005
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15006
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15007
 
      # as -z defs.
15008
 
      no_undefined_flag_F77='${wl}-z,text'
15009
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15010
 
      archive_cmds_need_lc_F77=no
15011
 
      hardcode_shlibpath_var_F77=no
15012
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15013
 
      hardcode_libdir_separator_F77=':'
15014
 
      link_all_deplibs_F77=yes
15015
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15016
 
      runpath_var='LD_RUN_PATH'
15017
 
 
15018
 
      if test "$GCC" = yes; then
15019
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15020
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15021
 
      else
15022
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15023
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15024
 
      fi
15025
 
      ;;
15026
 
 
15027
 
    uts4*)
15028
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15029
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15030
 
      hardcode_shlibpath_var_F77=no
15031
 
      ;;
15032
 
 
15033
 
    *)
15034
 
      ld_shlibs_F77=no
15035
 
      ;;
15036
 
    esac
15037
 
  fi
15038
 
 
15039
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15040
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15041
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15042
 
 
15043
 
#
15044
 
# Do we need to explicitly link libc?
15045
 
#
15046
 
case "x$archive_cmds_need_lc_F77" in
15047
 
x|xyes)
15048
 
  # Assume -lc should be added
15049
 
  archive_cmds_need_lc_F77=yes
15050
 
 
15051
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15052
 
    case $archive_cmds_F77 in
15053
 
    *'~'*)
15054
 
      # FIXME: we may have to deal with multi-command sequences.
15055
 
      ;;
15056
 
    '$CC '*)
15057
 
      # Test whether the compiler implicitly links with -lc since on some
15058
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15059
 
      # to ld, don't add -lc before -lgcc.
15060
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15061
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15062
 
      $rm conftest*
15063
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15064
 
 
15065
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15066
 
  (eval $ac_compile) 2>&5
15067
 
  ac_status=$?
15068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069
 
  (exit $ac_status); } 2>conftest.err; then
15070
 
        soname=conftest
15071
 
        lib=conftest
15072
 
        libobjs=conftest.$ac_objext
15073
 
        deplibs=
15074
 
        wl=$lt_prog_compiler_wl_F77
15075
 
        pic_flag=$lt_prog_compiler_pic_F77
15076
 
        compiler_flags=-v
15077
 
        linker_flags=-v
15078
 
        verstring=
15079
 
        output_objdir=.
15080
 
        libname=conftest
15081
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15082
 
        allow_undefined_flag_F77=
15083
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15084
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15085
 
  ac_status=$?
15086
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087
 
  (exit $ac_status); }
15088
 
        then
15089
 
          archive_cmds_need_lc_F77=no
15090
 
        else
15091
 
          archive_cmds_need_lc_F77=yes
15092
 
        fi
15093
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15094
 
      else
15095
 
        cat conftest.err 1>&5
15096
 
      fi
15097
 
      $rm conftest*
15098
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15099
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15100
 
      ;;
15101
 
    esac
15102
 
  fi
15103
 
  ;;
15104
 
esac
15105
 
 
15106
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15107
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15108
 
library_names_spec=
15109
 
libname_spec='lib$name'
15110
 
soname_spec=
15111
 
shrext_cmds=".so"
15112
 
postinstall_cmds=
15113
 
postuninstall_cmds=
15114
 
finish_cmds=
15115
 
finish_eval=
15116
 
shlibpath_var=
15117
 
shlibpath_overrides_runpath=unknown
15118
 
version_type=none
15119
 
dynamic_linker="$host_os ld.so"
15120
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15121
 
if test "$GCC" = yes; then
15122
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15123
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15124
 
    # if the path contains ";" then we assume it to be the separator
15125
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15126
 
    # assumed that no part of a normal pathname contains ";" but that should
15127
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15128
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15129
 
  else
15130
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15131
 
  fi
15132
 
else
15133
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15134
 
fi
15135
 
need_lib_prefix=unknown
15136
 
hardcode_into_libs=no
15137
 
 
15138
 
# when you set need_version to no, make sure it does not cause -set_version
15139
 
# flags to be left without arguments
15140
 
need_version=unknown
15141
 
 
15142
 
case $host_os in
15143
 
aix3*)
15144
 
  version_type=linux
15145
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15146
 
  shlibpath_var=LIBPATH
15147
 
 
15148
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15149
 
  soname_spec='${libname}${release}${shared_ext}$major'
15150
 
  ;;
15151
 
 
15152
 
aix4* | aix5*)
15153
 
  version_type=linux
15154
 
  need_lib_prefix=no
15155
 
  need_version=no
15156
 
  hardcode_into_libs=yes
15157
 
  if test "$host_cpu" = ia64; then
15158
 
    # AIX 5 supports IA64
15159
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15160
 
    shlibpath_var=LD_LIBRARY_PATH
15161
 
  else
15162
 
    # With GCC up to 2.95.x, collect2 would create an import file
15163
 
    # for dependence libraries.  The import file would start with
15164
 
    # the line `#! .'.  This would cause the generated library to
15165
 
    # depend on `.', always an invalid library.  This was fixed in
15166
 
    # development snapshots of GCC prior to 3.0.
15167
 
    case $host_os in
15168
 
      aix4 | aix4.[01] | aix4.[01].*)
15169
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15170
 
           echo ' yes '
15171
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15172
 
        :
15173
 
      else
15174
 
        can_build_shared=no
15175
 
      fi
15176
 
      ;;
15177
 
    esac
15178
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15179
 
    # soname into executable. Probably we can add versioning support to
15180
 
    # collect2, so additional links can be useful in future.
15181
 
    if test "$aix_use_runtimelinking" = yes; then
15182
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15183
 
      # instead of lib<name>.a to let people know that these are not
15184
 
      # typical AIX shared libraries.
15185
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15186
 
    else
15187
 
      # We preserve .a as extension for shared libraries through AIX4.2
15188
 
      # and later when we are not doing run time linking.
15189
 
      library_names_spec='${libname}${release}.a $libname.a'
15190
 
      soname_spec='${libname}${release}${shared_ext}$major'
15191
 
    fi
15192
 
    shlibpath_var=LIBPATH
15193
 
  fi
15194
 
  ;;
15195
 
 
15196
 
amigaos*)
15197
 
  library_names_spec='$libname.ixlibrary $libname.a'
15198
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15199
 
  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'
15200
 
  ;;
15201
 
 
15202
 
beos*)
15203
 
  library_names_spec='${libname}${shared_ext}'
15204
 
  dynamic_linker="$host_os ld.so"
15205
 
  shlibpath_var=LIBRARY_PATH
15206
 
  ;;
15207
 
 
15208
 
bsdi[45]*)
15209
 
  version_type=linux
15210
 
  need_version=no
15211
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212
 
  soname_spec='${libname}${release}${shared_ext}$major'
15213
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15214
 
  shlibpath_var=LD_LIBRARY_PATH
15215
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15216
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15217
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15218
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15219
 
  # libtool to hard-code these into programs
15220
 
  ;;
15221
 
 
15222
 
cygwin* | mingw* | pw32*)
15223
 
  version_type=windows
15224
 
  shrext_cmds=".dll"
15225
 
  need_version=no
15226
 
  need_lib_prefix=no
15227
 
 
15228
 
  case $GCC,$host_os in
15229
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15230
 
    library_names_spec='$libname.dll.a'
15231
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15232
 
    postinstall_cmds='base_file=`basename \${file}`~
15233
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15234
 
      dldir=$destdir/`dirname \$dlpath`~
15235
 
      test -d \$dldir || mkdir -p \$dldir~
15236
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15237
 
      chmod a+x \$dldir/$dlname'
15238
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15239
 
      dlpath=$dir/\$dldll~
15240
 
       $rm \$dlpath'
15241
 
    shlibpath_overrides_runpath=yes
15242
 
 
15243
 
    case $host_os in
15244
 
    cygwin*)
15245
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15246
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15247
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15248
 
      ;;
15249
 
    mingw*)
15250
 
      # MinGW DLLs use traditional 'lib' prefix
15251
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15252
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15253
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15254
 
        # It is most probably a Windows format PATH printed by
15255
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15256
 
        # path with ; separators, and with drive letters. We can handle the
15257
 
        # drive letters (cygwin fileutils understands them), so leave them,
15258
 
        # especially as we might pass files found there to a mingw objdump,
15259
 
        # which wouldn't understand a cygwinified path. Ahh.
15260
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15261
 
      else
15262
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15263
 
      fi
15264
 
      ;;
15265
 
    pw32*)
15266
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15267
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15268
 
      ;;
15269
 
    esac
15270
 
    ;;
15271
 
 
15272
 
  *)
15273
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15274
 
    ;;
15275
 
  esac
15276
 
  dynamic_linker='Win32 ld.exe'
15277
 
  # FIXME: first we should search . and the directory the executable is in
15278
 
  shlibpath_var=PATH
15279
 
  ;;
15280
 
 
15281
 
darwin* | rhapsody*)
15282
 
  dynamic_linker="$host_os dyld"
15283
 
  version_type=darwin
15284
 
  need_lib_prefix=no
15285
 
  need_version=no
15286
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15287
 
  soname_spec='${libname}${release}${major}$shared_ext'
15288
 
  shlibpath_overrides_runpath=yes
15289
 
  shlibpath_var=DYLD_LIBRARY_PATH
15290
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15291
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15292
 
  if test "$GCC" = yes; then
15293
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15294
 
  else
15295
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15296
 
  fi
15297
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15298
 
  ;;
15299
 
 
15300
 
dgux*)
15301
 
  version_type=linux
15302
 
  need_lib_prefix=no
15303
 
  need_version=no
15304
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15305
 
  soname_spec='${libname}${release}${shared_ext}$major'
15306
 
  shlibpath_var=LD_LIBRARY_PATH
15307
 
  ;;
15308
 
 
15309
 
freebsd1*)
15310
 
  dynamic_linker=no
15311
 
  ;;
15312
 
 
15313
 
kfreebsd*-gnu)
15314
 
  version_type=linux
15315
 
  need_lib_prefix=no
15316
 
  need_version=no
15317
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15318
 
  soname_spec='${libname}${release}${shared_ext}$major'
15319
 
  shlibpath_var=LD_LIBRARY_PATH
15320
 
  shlibpath_overrides_runpath=no
15321
 
  hardcode_into_libs=yes
15322
 
  dynamic_linker='GNU ld.so'
15323
 
  ;;
15324
 
 
15325
 
freebsd* | dragonfly*)
15326
 
  # DragonFly does not have aout.  When/if they implement a new
15327
 
  # versioning mechanism, adjust this.
15328
 
  if test -x /usr/bin/objformat; then
15329
 
    objformat=`/usr/bin/objformat`
15330
 
  else
15331
 
    case $host_os in
15332
 
    freebsd[123]*) objformat=aout ;;
15333
 
    *) objformat=elf ;;
15334
 
    esac
15335
 
  fi
15336
 
  version_type=freebsd-$objformat
15337
 
  case $version_type in
15338
 
    freebsd-elf*)
15339
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15340
 
      need_version=no
15341
 
      need_lib_prefix=no
15342
 
      ;;
15343
 
    freebsd-*)
15344
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15345
 
      need_version=yes
15346
 
      ;;
15347
 
  esac
15348
 
  shlibpath_var=LD_LIBRARY_PATH
15349
 
  case $host_os in
15350
 
  freebsd2*)
15351
 
    shlibpath_overrides_runpath=yes
15352
 
    ;;
15353
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15354
 
    shlibpath_overrides_runpath=yes
15355
 
    hardcode_into_libs=yes
15356
 
    ;;
15357
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15358
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15359
 
    shlibpath_overrides_runpath=no
15360
 
    hardcode_into_libs=yes
15361
 
    ;;
15362
 
  freebsd*) # from 4.6 on
15363
 
    shlibpath_overrides_runpath=yes
15364
 
    hardcode_into_libs=yes
15365
 
    ;;
15366
 
  esac
15367
 
  ;;
15368
 
 
15369
 
gnu*)
15370
 
  version_type=linux
15371
 
  need_lib_prefix=no
15372
 
  need_version=no
15373
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15374
 
  soname_spec='${libname}${release}${shared_ext}$major'
15375
 
  shlibpath_var=LD_LIBRARY_PATH
15376
 
  hardcode_into_libs=yes
15377
 
  ;;
15378
 
 
15379
 
hpux9* | hpux10* | hpux11*)
15380
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15381
 
  # link against other versions.
15382
 
  version_type=sunos
15383
 
  need_lib_prefix=no
15384
 
  need_version=no
15385
 
  case $host_cpu in
15386
 
  ia64*)
15387
 
    shrext_cmds='.so'
15388
 
    hardcode_into_libs=yes
15389
 
    dynamic_linker="$host_os dld.so"
15390
 
    shlibpath_var=LD_LIBRARY_PATH
15391
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15392
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15393
 
    soname_spec='${libname}${release}${shared_ext}$major'
15394
 
    if test "X$HPUX_IA64_MODE" = X32; then
15395
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15396
 
    else
15397
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15398
 
    fi
15399
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15400
 
    ;;
15401
 
   hppa*64*)
15402
 
     shrext_cmds='.sl'
15403
 
     hardcode_into_libs=yes
15404
 
     dynamic_linker="$host_os dld.sl"
15405
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15406
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15407
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15408
 
     soname_spec='${libname}${release}${shared_ext}$major'
15409
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15410
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15411
 
     ;;
15412
 
   *)
15413
 
    shrext_cmds='.sl'
15414
 
    dynamic_linker="$host_os dld.sl"
15415
 
    shlibpath_var=SHLIB_PATH
15416
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15417
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15418
 
    soname_spec='${libname}${release}${shared_ext}$major'
15419
 
    ;;
15420
 
  esac
15421
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15422
 
  postinstall_cmds='chmod 555 $lib'
15423
 
  ;;
15424
 
 
15425
 
interix3*)
15426
 
  version_type=linux
15427
 
  need_lib_prefix=no
15428
 
  need_version=no
15429
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15430
 
  soname_spec='${libname}${release}${shared_ext}$major'
15431
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15432
 
  shlibpath_var=LD_LIBRARY_PATH
15433
 
  shlibpath_overrides_runpath=no
15434
 
  hardcode_into_libs=yes
15435
 
  ;;
15436
 
 
15437
 
irix5* | irix6* | nonstopux*)
15438
 
  case $host_os in
15439
 
    nonstopux*) version_type=nonstopux ;;
15440
 
    *)
15441
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15442
 
                version_type=linux
15443
 
        else
15444
 
                version_type=irix
15445
 
        fi ;;
15446
 
  esac
15447
 
  need_lib_prefix=no
15448
 
  need_version=no
15449
 
  soname_spec='${libname}${release}${shared_ext}$major'
15450
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15451
 
  case $host_os in
15452
 
  irix5* | nonstopux*)
15453
 
    libsuff= shlibsuff=
15454
 
    ;;
15455
 
  *)
15456
 
    case $LD in # libtool.m4 will add one of these switches to LD
15457
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15458
 
      libsuff= shlibsuff= libmagic=32-bit;;
15459
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15460
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15461
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15462
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15463
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15464
 
    esac
15465
 
    ;;
15466
 
  esac
15467
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15468
 
  shlibpath_overrides_runpath=no
15469
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15470
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15471
 
  hardcode_into_libs=yes
15472
 
  ;;
15473
 
 
15474
 
# No shared lib support for Linux oldld, aout, or coff.
15475
 
linux*oldld* | linux*aout* | linux*coff*)
15476
 
  dynamic_linker=no
15477
 
  ;;
15478
 
 
15479
 
# This must be Linux ELF.
15480
 
linux*)
15481
 
  version_type=linux
15482
 
  need_lib_prefix=no
15483
 
  need_version=no
15484
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15485
 
  soname_spec='${libname}${release}${shared_ext}$major'
15486
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15487
 
  shlibpath_var=LD_LIBRARY_PATH
15488
 
  shlibpath_overrides_runpath=no
15489
 
  # This implies no fast_install, which is unacceptable.
15490
 
  # Some rework will be needed to allow for fast_install
15491
 
  # before this can be enabled.
15492
 
  hardcode_into_libs=yes
15493
 
 
15494
 
  # find out which ABI we are using
15495
 
  libsuff=
15496
 
  case "$host_cpu" in
15497
 
  x86_64*|s390x*|powerpc64*)
15498
 
    echo '#line 15498 "configure"' > conftest.$ac_ext
15499
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15500
 
  (eval $ac_compile) 2>&5
15501
 
  ac_status=$?
15502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503
 
  (exit $ac_status); }; then
15504
 
      case `/usr/bin/file conftest.$ac_objext` in
15505
 
      *64-bit*)
15506
 
        libsuff=64
15507
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15508
 
        ;;
15509
 
      esac
15510
 
    fi
15511
 
    rm -rf conftest*
15512
 
    ;;
15513
 
  esac
15514
 
 
15515
 
  # Append ld.so.conf contents to the search path
15516
 
  if test -f /etc/ld.so.conf; then
15517
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15518
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15519
 
  fi
15520
 
 
15521
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15522
 
  # powerpc, because MkLinux only supported shared libraries with the
15523
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15524
 
  # most powerpc-linux boxes support dynamic linking these days and
15525
 
  # people can always --disable-shared, the test was removed, and we
15526
 
  # assume the GNU/Linux dynamic linker is in use.
15527
 
  dynamic_linker='GNU/Linux ld.so'
15528
 
  ;;
15529
 
 
15530
 
knetbsd*-gnu)
15531
 
  version_type=linux
15532
 
  need_lib_prefix=no
15533
 
  need_version=no
15534
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15535
 
  soname_spec='${libname}${release}${shared_ext}$major'
15536
 
  shlibpath_var=LD_LIBRARY_PATH
15537
 
  shlibpath_overrides_runpath=no
15538
 
  hardcode_into_libs=yes
15539
 
  dynamic_linker='GNU ld.so'
15540
 
  ;;
15541
 
 
15542
 
netbsd*)
15543
 
  version_type=sunos
15544
 
  need_lib_prefix=no
15545
 
  need_version=no
15546
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15547
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15548
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15549
 
    dynamic_linker='NetBSD (a.out) ld.so'
15550
 
  else
15551
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15552
 
    soname_spec='${libname}${release}${shared_ext}$major'
15553
 
    dynamic_linker='NetBSD ld.elf_so'
15554
 
  fi
15555
 
  shlibpath_var=LD_LIBRARY_PATH
15556
 
  shlibpath_overrides_runpath=yes
15557
 
  hardcode_into_libs=yes
15558
 
  ;;
15559
 
 
15560
 
newsos6)
15561
 
  version_type=linux
15562
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15563
 
  shlibpath_var=LD_LIBRARY_PATH
15564
 
  shlibpath_overrides_runpath=yes
15565
 
  ;;
15566
 
 
15567
 
nto-qnx*)
15568
 
  version_type=linux
15569
 
  need_lib_prefix=no
15570
 
  need_version=no
15571
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15572
 
  soname_spec='${libname}${release}${shared_ext}$major'
15573
 
  shlibpath_var=LD_LIBRARY_PATH
15574
 
  shlibpath_overrides_runpath=yes
15575
 
  ;;
15576
 
 
15577
 
openbsd*)
15578
 
  version_type=sunos
15579
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15580
 
  need_lib_prefix=no
15581
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15582
 
  case $host_os in
15583
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15584
 
    *)                         need_version=no  ;;
15585
 
  esac
15586
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15587
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15588
 
  shlibpath_var=LD_LIBRARY_PATH
15589
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15590
 
    case $host_os in
15591
 
      openbsd2.[89] | openbsd2.[89].*)
15592
 
        shlibpath_overrides_runpath=no
15593
 
        ;;
15594
 
      *)
15595
 
        shlibpath_overrides_runpath=yes
15596
 
        ;;
15597
 
      esac
15598
 
  else
15599
 
    shlibpath_overrides_runpath=yes
15600
 
  fi
15601
 
  ;;
15602
 
 
15603
 
os2*)
15604
 
  libname_spec='$name'
15605
 
  shrext_cmds=".dll"
15606
 
  need_lib_prefix=no
15607
 
  library_names_spec='$libname${shared_ext} $libname.a'
15608
 
  dynamic_linker='OS/2 ld.exe'
15609
 
  shlibpath_var=LIBPATH
15610
 
  ;;
15611
 
 
15612
 
osf3* | osf4* | osf5*)
15613
 
  version_type=osf
15614
 
  need_lib_prefix=no
15615
 
  need_version=no
15616
 
  soname_spec='${libname}${release}${shared_ext}$major'
15617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15618
 
  shlibpath_var=LD_LIBRARY_PATH
15619
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15620
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15621
 
  ;;
15622
 
 
15623
 
solaris*)
15624
 
  version_type=linux
15625
 
  need_lib_prefix=no
15626
 
  need_version=no
15627
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15628
 
  soname_spec='${libname}${release}${shared_ext}$major'
15629
 
  shlibpath_var=LD_LIBRARY_PATH
15630
 
  shlibpath_overrides_runpath=yes
15631
 
  hardcode_into_libs=yes
15632
 
  # ldd complains unless libraries are executable
15633
 
  postinstall_cmds='chmod +x $lib'
15634
 
  ;;
15635
 
 
15636
 
sunos4*)
15637
 
  version_type=sunos
15638
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15639
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15640
 
  shlibpath_var=LD_LIBRARY_PATH
15641
 
  shlibpath_overrides_runpath=yes
15642
 
  if test "$with_gnu_ld" = yes; then
15643
 
    need_lib_prefix=no
15644
 
  fi
15645
 
  need_version=yes
15646
 
  ;;
15647
 
 
15648
 
sysv4 | sysv4.3*)
15649
 
  version_type=linux
15650
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15651
 
  soname_spec='${libname}${release}${shared_ext}$major'
15652
 
  shlibpath_var=LD_LIBRARY_PATH
15653
 
  case $host_vendor in
15654
 
    sni)
15655
 
      shlibpath_overrides_runpath=no
15656
 
      need_lib_prefix=no
15657
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15658
 
      runpath_var=LD_RUN_PATH
15659
 
      ;;
15660
 
    siemens)
15661
 
      need_lib_prefix=no
15662
 
      ;;
15663
 
    motorola)
15664
 
      need_lib_prefix=no
15665
 
      need_version=no
15666
 
      shlibpath_overrides_runpath=no
15667
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15668
 
      ;;
15669
 
  esac
15670
 
  ;;
15671
 
 
15672
 
sysv4*MP*)
15673
 
  if test -d /usr/nec ;then
15674
 
    version_type=linux
15675
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15676
 
    soname_spec='$libname${shared_ext}.$major'
15677
 
    shlibpath_var=LD_LIBRARY_PATH
15678
 
  fi
15679
 
  ;;
15680
 
 
15681
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15682
 
  version_type=freebsd-elf
15683
 
  need_lib_prefix=no
15684
 
  need_version=no
15685
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15686
 
  soname_spec='${libname}${release}${shared_ext}$major'
15687
 
  shlibpath_var=LD_LIBRARY_PATH
15688
 
  hardcode_into_libs=yes
15689
 
  if test "$with_gnu_ld" = yes; then
15690
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15691
 
    shlibpath_overrides_runpath=no
15692
 
  else
15693
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15694
 
    shlibpath_overrides_runpath=yes
15695
 
    case $host_os in
15696
 
      sco3.2v5*)
15697
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15698
 
        ;;
15699
 
    esac
15700
 
  fi
15701
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15702
 
  ;;
15703
 
 
15704
 
uts4*)
15705
 
  version_type=linux
15706
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15707
 
  soname_spec='${libname}${release}${shared_ext}$major'
15708
 
  shlibpath_var=LD_LIBRARY_PATH
15709
 
  ;;
15710
 
 
15711
 
*)
15712
 
  dynamic_linker=no
15713
 
  ;;
15714
 
esac
15715
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15716
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15717
 
test "$dynamic_linker" = no && can_build_shared=no
15718
 
 
15719
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15720
 
if test "$GCC" = yes; then
15721
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15722
 
fi
15723
 
 
15724
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15725
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15726
 
hardcode_action_F77=
15727
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
15728
 
   test -n "$runpath_var_F77" || \
15729
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15730
 
 
15731
 
  # We can hardcode non-existant directories.
15732
 
  if test "$hardcode_direct_F77" != no &&
15733
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15734
 
     # have to relink, otherwise we might link with an installed library
15735
 
     # when we should be linking with a yet-to-be-installed one
15736
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15737
 
     test "$hardcode_minus_L_F77" != no; then
15738
 
    # Linking always hardcodes the temporary library directory.
15739
 
    hardcode_action_F77=relink
15740
 
  else
15741
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15742
 
    hardcode_action_F77=immediate
15743
 
  fi
15744
 
else
15745
 
  # We cannot hardcode anything, or else we can only hardcode existing
15746
 
  # directories.
15747
 
  hardcode_action_F77=unsupported
15748
 
fi
15749
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15750
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15751
 
 
15752
 
if test "$hardcode_action_F77" = relink; then
15753
 
  # Fast installation is not supported
15754
 
  enable_fast_install=no
15755
 
elif test "$shlibpath_overrides_runpath" = yes ||
15756
 
     test "$enable_shared" = no; then
15757
 
  # Fast installation is not necessary
15758
 
  enable_fast_install=needless
15759
 
fi
15760
 
 
15761
 
 
15762
 
# The else clause should only fire when bootstrapping the
15763
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15764
 
# with your package, and you will get complaints that there are
15765
 
# no rules to generate ltmain.sh.
15766
 
if test -f "$ltmain"; then
15767
 
  # See if we are running on zsh, and set the options which allow our commands through
15768
 
  # without removal of \ escapes.
15769
 
  if test -n "${ZSH_VERSION+set}" ; then
15770
 
    setopt NO_GLOB_SUBST
15771
 
  fi
15772
 
  # Now quote all the things that may contain metacharacters while being
15773
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15774
 
  # variables and quote the copies for generation of the libtool script.
15775
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15776
 
    SED SHELL STRIP \
15777
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15778
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15779
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15780
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15781
 
    lt_cv_sys_global_symbol_to_c_name_address \
15782
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15783
 
    old_postinstall_cmds old_postuninstall_cmds \
15784
 
    compiler_F77 \
15785
 
    CC_F77 \
15786
 
    LD_F77 \
15787
 
    lt_prog_compiler_wl_F77 \
15788
 
    lt_prog_compiler_pic_F77 \
15789
 
    lt_prog_compiler_static_F77 \
15790
 
    lt_prog_compiler_no_builtin_flag_F77 \
15791
 
    export_dynamic_flag_spec_F77 \
15792
 
    thread_safe_flag_spec_F77 \
15793
 
    whole_archive_flag_spec_F77 \
15794
 
    enable_shared_with_static_runtimes_F77 \
15795
 
    old_archive_cmds_F77 \
15796
 
    old_archive_from_new_cmds_F77 \
15797
 
    predep_objects_F77 \
15798
 
    postdep_objects_F77 \
15799
 
    predeps_F77 \
15800
 
    postdeps_F77 \
15801
 
    compiler_lib_search_path_F77 \
15802
 
    archive_cmds_F77 \
15803
 
    archive_expsym_cmds_F77 \
15804
 
    postinstall_cmds_F77 \
15805
 
    postuninstall_cmds_F77 \
15806
 
    old_archive_from_expsyms_cmds_F77 \
15807
 
    allow_undefined_flag_F77 \
15808
 
    no_undefined_flag_F77 \
15809
 
    export_symbols_cmds_F77 \
15810
 
    hardcode_libdir_flag_spec_F77 \
15811
 
    hardcode_libdir_flag_spec_ld_F77 \
15812
 
    hardcode_libdir_separator_F77 \
15813
 
    hardcode_automatic_F77 \
15814
 
    module_cmds_F77 \
15815
 
    module_expsym_cmds_F77 \
15816
 
    lt_cv_prog_compiler_c_o_F77 \
15817
 
    exclude_expsyms_F77 \
15818
 
    include_expsyms_F77; do
15819
 
 
15820
 
    case $var in
15821
 
    old_archive_cmds_F77 | \
15822
 
    old_archive_from_new_cmds_F77 | \
15823
 
    archive_cmds_F77 | \
15824
 
    archive_expsym_cmds_F77 | \
15825
 
    module_cmds_F77 | \
15826
 
    module_expsym_cmds_F77 | \
15827
 
    old_archive_from_expsyms_cmds_F77 | \
15828
 
    export_symbols_cmds_F77 | \
15829
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15830
 
    postinstall_cmds | postuninstall_cmds | \
15831
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15832
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15833
 
      # Double-quote double-evaled strings.
15834
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15835
 
      ;;
15836
 
    *)
15837
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15838
 
      ;;
15839
 
    esac
15840
 
  done
15841
 
 
15842
 
  case $lt_echo in
15843
 
  *'\$0 --fallback-echo"')
15844
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15845
 
    ;;
15846
 
  esac
15847
 
 
15848
 
cfgfile="$ofile"
15849
 
 
15850
 
  cat <<__EOF__ >> "$cfgfile"
15851
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15852
 
 
15853
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15854
 
 
15855
 
# Shell to use when invoking shell scripts.
15856
 
SHELL=$lt_SHELL
15857
 
 
15858
 
# Whether or not to build shared libraries.
15859
 
build_libtool_libs=$enable_shared
15860
 
 
15861
 
# Whether or not to build static libraries.
15862
 
build_old_libs=$enable_static
15863
 
 
15864
 
# Whether or not to add -lc for building shared libraries.
15865
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
15866
 
 
15867
 
# Whether or not to disallow shared libs when runtime libs are static
15868
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15869
 
 
15870
 
# Whether or not to optimize for fast installation.
15871
 
fast_install=$enable_fast_install
15872
 
 
15873
 
# The host system.
15874
 
host_alias=$host_alias
15875
 
host=$host
15876
 
host_os=$host_os
15877
 
 
15878
 
# The build system.
15879
 
build_alias=$build_alias
15880
 
build=$build
15881
 
build_os=$build_os
15882
 
 
15883
 
# An echo program that does not interpret backslashes.
15884
 
echo=$lt_echo
15885
 
 
15886
 
# The archiver.
15887
 
AR=$lt_AR
15888
 
AR_FLAGS=$lt_AR_FLAGS
15889
 
 
15890
 
# A C compiler.
15891
 
LTCC=$lt_LTCC
15892
 
 
15893
 
# LTCC compiler flags.
15894
 
LTCFLAGS=$lt_LTCFLAGS
15895
 
 
15896
 
# A language-specific compiler.
15897
 
CC=$lt_compiler_F77
15898
 
 
15899
 
# Is the compiler the GNU C compiler?
15900
 
with_gcc=$GCC_F77
15901
 
 
15902
 
# An ERE matcher.
15903
 
EGREP=$lt_EGREP
15904
 
 
15905
 
# The linker used to build libraries.
15906
 
LD=$lt_LD_F77
15907
 
 
15908
 
# Whether we need hard or soft links.
15909
 
LN_S=$lt_LN_S
15910
 
 
15911
 
# A BSD-compatible nm program.
15912
 
NM=$lt_NM
15913
 
 
15914
 
# A symbol stripping program
15915
 
STRIP=$lt_STRIP
15916
 
 
15917
 
# Used to examine libraries when file_magic_cmd begins "file"
15918
 
MAGIC_CMD=$MAGIC_CMD
15919
 
 
15920
 
# Used on cygwin: DLL creation program.
15921
 
DLLTOOL="$DLLTOOL"
15922
 
 
15923
 
# Used on cygwin: object dumper.
15924
 
OBJDUMP="$OBJDUMP"
15925
 
 
15926
 
# Used on cygwin: assembler.
15927
 
AS="$AS"
15928
 
 
15929
 
# The name of the directory that contains temporary libtool files.
15930
 
objdir=$objdir
15931
 
 
15932
 
# How to create reloadable object files.
15933
 
reload_flag=$lt_reload_flag
15934
 
reload_cmds=$lt_reload_cmds
15935
 
 
15936
 
# How to pass a linker flag through the compiler.
15937
 
wl=$lt_lt_prog_compiler_wl_F77
15938
 
 
15939
 
# Object file suffix (normally "o").
15940
 
objext="$ac_objext"
15941
 
 
15942
 
# Old archive suffix (normally "a").
15943
 
libext="$libext"
15944
 
 
15945
 
# Shared library suffix (normally ".so").
15946
 
shrext_cmds='$shrext_cmds'
15947
 
 
15948
 
# Executable file suffix (normally "").
15949
 
exeext="$exeext"
15950
 
 
15951
 
# Additional compiler flags for building library objects.
15952
 
pic_flag=$lt_lt_prog_compiler_pic_F77
15953
 
pic_mode=$pic_mode
15954
 
 
15955
 
# What is the maximum length of a command?
15956
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15957
 
 
15958
 
# Does compiler simultaneously support -c and -o options?
15959
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15960
 
 
15961
 
# Must we lock files when doing compilation?
15962
 
need_locks=$lt_need_locks
15963
 
 
15964
 
# Do we need the lib prefix for modules?
15965
 
need_lib_prefix=$need_lib_prefix
15966
 
 
15967
 
# Do we need a version for libraries?
15968
 
need_version=$need_version
15969
 
 
15970
 
# Whether dlopen is supported.
15971
 
dlopen_support=$enable_dlopen
15972
 
 
15973
 
# Whether dlopen of programs is supported.
15974
 
dlopen_self=$enable_dlopen_self
15975
 
 
15976
 
# Whether dlopen of statically linked programs is supported.
15977
 
dlopen_self_static=$enable_dlopen_self_static
15978
 
 
15979
 
# Compiler flag to prevent dynamic linking.
15980
 
link_static_flag=$lt_lt_prog_compiler_static_F77
15981
 
 
15982
 
# Compiler flag to turn off builtin functions.
15983
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15984
 
 
15985
 
# Compiler flag to allow reflexive dlopens.
15986
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15987
 
 
15988
 
# Compiler flag to generate shared objects directly from archives.
15989
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15990
 
 
15991
 
# Compiler flag to generate thread-safe objects.
15992
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15993
 
 
15994
 
# Library versioning type.
15995
 
version_type=$version_type
15996
 
 
15997
 
# Format of library name prefix.
15998
 
libname_spec=$lt_libname_spec
15999
 
 
16000
 
# List of archive names.  First name is the real one, the rest are links.
16001
 
# The last name is the one that the linker finds with -lNAME.
16002
 
library_names_spec=$lt_library_names_spec
16003
 
 
16004
 
# The coded name of the library, if different from the real name.
16005
 
soname_spec=$lt_soname_spec
16006
 
 
16007
 
# Commands used to build and install an old-style archive.
16008
 
RANLIB=$lt_RANLIB
16009
 
old_archive_cmds=$lt_old_archive_cmds_F77
16010
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16011
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16012
 
 
16013
 
# Create an old-style archive from a shared archive.
16014
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16015
 
 
16016
 
# Create a temporary old-style archive to link instead of a shared archive.
16017
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16018
 
 
16019
 
# Commands used to build and install a shared archive.
16020
 
archive_cmds=$lt_archive_cmds_F77
16021
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16022
 
postinstall_cmds=$lt_postinstall_cmds
16023
 
postuninstall_cmds=$lt_postuninstall_cmds
16024
 
 
16025
 
# Commands used to build a loadable module (assumed same as above if empty)
16026
 
module_cmds=$lt_module_cmds_F77
16027
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16028
 
 
16029
 
# Commands to strip libraries.
16030
 
old_striplib=$lt_old_striplib
16031
 
striplib=$lt_striplib
16032
 
 
16033
 
# Dependencies to place before the objects being linked to create a
16034
 
# shared library.
16035
 
predep_objects=$lt_predep_objects_F77
16036
 
 
16037
 
# Dependencies to place after the objects being linked to create a
16038
 
# shared library.
16039
 
postdep_objects=$lt_postdep_objects_F77
16040
 
 
16041
 
# Dependencies to place before the objects being linked to create a
16042
 
# shared library.
16043
 
predeps=$lt_predeps_F77
16044
 
 
16045
 
# Dependencies to place after the objects being linked to create a
16046
 
# shared library.
16047
 
postdeps=$lt_postdeps_F77
16048
 
 
16049
 
# The library search path used internally by the compiler when linking
16050
 
# a shared library.
16051
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16052
 
 
16053
 
# Method to check whether dependent libraries are shared objects.
16054
 
deplibs_check_method=$lt_deplibs_check_method
16055
 
 
16056
 
# Command to use when deplibs_check_method == file_magic.
16057
 
file_magic_cmd=$lt_file_magic_cmd
16058
 
 
16059
 
# Flag that allows shared libraries with undefined symbols to be built.
16060
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16061
 
 
16062
 
# Flag that forces no undefined symbols.
16063
 
no_undefined_flag=$lt_no_undefined_flag_F77
16064
 
 
16065
 
# Commands used to finish a libtool library installation in a directory.
16066
 
finish_cmds=$lt_finish_cmds
16067
 
 
16068
 
# Same as above, but a single script fragment to be evaled but not shown.
16069
 
finish_eval=$lt_finish_eval
16070
 
 
16071
 
# Take the output of nm and produce a listing of raw symbols and C names.
16072
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16073
 
 
16074
 
# Transform the output of nm in a proper C declaration
16075
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16076
 
 
16077
 
# Transform the output of nm in a C name address pair
16078
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16079
 
 
16080
 
# This is the shared library runtime path variable.
16081
 
runpath_var=$runpath_var
16082
 
 
16083
 
# This is the shared library path variable.
16084
 
shlibpath_var=$shlibpath_var
16085
 
 
16086
 
# Is shlibpath searched before the hard-coded library search path?
16087
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16088
 
 
16089
 
# How to hardcode a shared library path into an executable.
16090
 
hardcode_action=$hardcode_action_F77
16091
 
 
16092
 
# Whether we should hardcode library paths into libraries.
16093
 
hardcode_into_libs=$hardcode_into_libs
16094
 
 
16095
 
# Flag to hardcode \$libdir into a binary during linking.
16096
 
# This must work even if \$libdir does not exist.
16097
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16098
 
 
16099
 
# If ld is used when linking, flag to hardcode \$libdir into
16100
 
# a binary during linking. This must work even if \$libdir does
16101
 
# not exist.
16102
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16103
 
 
16104
 
# Whether we need a single -rpath flag with a separated argument.
16105
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16106
 
 
16107
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16108
 
# resulting binary.
16109
 
hardcode_direct=$hardcode_direct_F77
16110
 
 
16111
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16112
 
# resulting binary.
16113
 
hardcode_minus_L=$hardcode_minus_L_F77
16114
 
 
16115
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16116
 
# the resulting binary.
16117
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16118
 
 
16119
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16120
 
# and all subsequent libraries and executables linked against it.
16121
 
hardcode_automatic=$hardcode_automatic_F77
16122
 
 
16123
 
# Variables whose values should be saved in libtool wrapper scripts and
16124
 
# restored at relink time.
16125
 
variables_saved_for_relink="$variables_saved_for_relink"
16126
 
 
16127
 
# Whether libtool must link a program against all its dependency libraries.
16128
 
link_all_deplibs=$link_all_deplibs_F77
16129
 
 
16130
 
# Compile-time system search path for libraries
16131
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16132
 
 
16133
 
# Run-time system search path for libraries
16134
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16135
 
 
16136
 
# Fix the shell variable \$srcfile for the compiler.
16137
 
fix_srcfile_path="$fix_srcfile_path_F77"
16138
 
 
16139
 
# Set to yes if exported symbols are required.
16140
 
always_export_symbols=$always_export_symbols_F77
16141
 
 
16142
 
# The commands to list exported symbols.
16143
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16144
 
 
16145
 
# The commands to extract the exported symbol list from a shared archive.
16146
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16147
 
 
16148
 
# Symbols that should not be listed in the preloaded symbols.
16149
 
exclude_expsyms=$lt_exclude_expsyms_F77
16150
 
 
16151
 
# Symbols that must always be exported.
16152
 
include_expsyms=$lt_include_expsyms_F77
16153
 
 
16154
 
# ### END LIBTOOL TAG CONFIG: $tagname
16155
 
 
16156
 
__EOF__
16157
 
 
16158
 
 
16159
 
else
16160
 
  # If there is no Makefile yet, we rely on a make rule to execute
16161
 
  # `config.status --recheck' to rerun these tests and create the
16162
 
  # libtool script then.
16163
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16164
 
  if test -f "$ltmain_in"; then
16165
 
    test -f Makefile && make "$ltmain"
16166
 
  fi
16167
 
fi
16168
 
 
16169
 
 
16170
 
ac_ext=c
16171
 
ac_cpp='$CPP $CPPFLAGS'
16172
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16173
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16174
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16175
 
 
16176
 
CC="$lt_save_CC"
16177
 
 
16178
 
        else
16179
 
          tagname=""
16180
 
        fi
16181
 
        ;;
16182
 
 
16183
 
      GCJ)
16184
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16185
 
 
16186
 
 
16187
 
# Source file extension for Java test sources.
16188
 
ac_ext=java
16189
 
 
16190
 
# Object file extension for compiled Java test sources.
16191
 
objext=o
16192
 
objext_GCJ=$objext
16193
 
 
16194
 
# Code to be used in simple compile tests
16195
 
lt_simple_compile_test_code="class foo {}\n"
16196
 
 
16197
 
# Code to be used in simple link tests
16198
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16199
 
 
16200
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16201
 
 
16202
 
# If no C compiler was specified, use CC.
16203
 
LTCC=${LTCC-"$CC"}
16204
 
 
16205
 
# If no C compiler flags were specified, use CFLAGS.
16206
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16207
 
 
16208
 
# Allow CC to be a program name with arguments.
16209
 
compiler=$CC
16210
 
 
16211
 
 
16212
 
# save warnings/boilerplate of simple test code
16213
 
ac_outfile=conftest.$ac_objext
16214
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16215
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16216
 
_lt_compiler_boilerplate=`cat conftest.err`
16217
 
$rm conftest*
16218
 
 
16219
 
ac_outfile=conftest.$ac_objext
16220
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16221
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16222
 
_lt_linker_boilerplate=`cat conftest.err`
16223
 
$rm conftest*
16224
 
 
16225
 
 
16226
 
# Allow CC to be a program name with arguments.
16227
 
lt_save_CC="$CC"
16228
 
CC=${GCJ-"gcj"}
16229
 
compiler=$CC
16230
 
compiler_GCJ=$CC
16231
 
for cc_temp in $compiler""; do
16232
 
  case $cc_temp in
16233
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16234
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16235
 
    \-*) ;;
16236
 
    *) break;;
16237
 
  esac
16238
 
done
16239
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16240
 
 
16241
 
 
16242
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16243
 
archive_cmds_need_lc_GCJ=no
16244
 
 
16245
 
old_archive_cmds_GCJ=$old_archive_cmds
16246
 
 
16247
 
 
16248
 
lt_prog_compiler_no_builtin_flag_GCJ=
16249
 
 
16250
 
if test "$GCC" = yes; then
16251
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16252
 
 
16253
 
 
16254
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16255
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16256
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16258
 
else
16259
 
  lt_cv_prog_compiler_rtti_exceptions=no
16260
 
  ac_outfile=conftest.$ac_objext
16261
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16262
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16263
 
   # Insert the option either (1) after the last *FLAGS variable, or
16264
 
   # (2) before a word containing "conftest.", or (3) at the end.
16265
 
   # Note that $ac_compile itself does not contain backslashes and begins
16266
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16267
 
   # The option is referenced via a variable to avoid confusing sed.
16268
 
   lt_compile=`echo "$ac_compile" | $SED \
16269
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16270
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16271
 
   -e 's:$: $lt_compiler_flag:'`
16272
 
   (eval echo "\"\$as_me:16272: $lt_compile\"" >&5)
16273
 
   (eval "$lt_compile" 2>conftest.err)
16274
 
   ac_status=$?
16275
 
   cat conftest.err >&5
16276
 
   echo "$as_me:16276: \$? = $ac_status" >&5
16277
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16278
 
     # The compiler can only warn and ignore the option if not recognized
16279
 
     # So say no if there are warnings other than the usual output.
16280
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16281
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16282
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16283
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16284
 
     fi
16285
 
   fi
16286
 
   $rm conftest*
16287
 
 
16288
 
fi
16289
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16290
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16291
 
 
16292
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16293
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16294
 
else
16295
 
    :
16296
 
fi
16297
 
 
16298
 
fi
16299
 
 
16300
 
lt_prog_compiler_wl_GCJ=
16301
 
lt_prog_compiler_pic_GCJ=
16302
 
lt_prog_compiler_static_GCJ=
16303
 
 
16304
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16305
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16306
 
 
16307
 
  if test "$GCC" = yes; then
16308
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16309
 
    lt_prog_compiler_static_GCJ='-static'
16310
 
 
16311
 
    case $host_os in
16312
 
      aix*)
16313
 
      # All AIX code is PIC.
16314
 
      if test "$host_cpu" = ia64; then
16315
 
        # AIX 5 now supports IA64 processor
16316
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16317
 
      fi
16318
 
      ;;
16319
 
 
16320
 
    amigaos*)
16321
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16322
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16323
 
      # like `-m68040'.
16324
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16325
 
      ;;
16326
 
 
16327
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16328
 
      # PIC is the default for these OSes.
16329
 
      ;;
16330
 
 
16331
 
    mingw* | pw32* | os2*)
16332
 
      # This hack is so that the source file can tell whether it is being
16333
 
      # built for inclusion in a dll (and should export symbols for example).
16334
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16335
 
      ;;
16336
 
 
16337
 
    darwin* | rhapsody*)
16338
 
      # PIC is the default on this platform
16339
 
      # Common symbols not allowed in MH_DYLIB files
16340
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16341
 
      ;;
16342
 
 
16343
 
    interix3*)
16344
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16345
 
      # Instead, we relocate shared libraries at runtime.
16346
 
      ;;
16347
 
 
16348
 
    msdosdjgpp*)
16349
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16350
 
      # on systems that don't support them.
16351
 
      lt_prog_compiler_can_build_shared_GCJ=no
16352
 
      enable_shared=no
16353
 
      ;;
16354
 
 
16355
 
    sysv4*MP*)
16356
 
      if test -d /usr/nec; then
16357
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16358
 
      fi
16359
 
      ;;
16360
 
 
16361
 
    hpux*)
16362
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16363
 
      # not for PA HP-UX.
16364
 
      case $host_cpu in
16365
 
      hppa*64*|ia64*)
16366
 
        # +Z the default
16367
 
        ;;
16368
 
      *)
16369
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16370
 
        ;;
16371
 
      esac
16372
 
      ;;
16373
 
 
16374
 
    *)
16375
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16376
 
      ;;
16377
 
    esac
16378
 
  else
16379
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16380
 
    case $host_os in
16381
 
    aix*)
16382
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16383
 
      if test "$host_cpu" = ia64; then
16384
 
        # AIX 5 now supports IA64 processor
16385
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16386
 
      else
16387
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16388
 
      fi
16389
 
      ;;
16390
 
      darwin*)
16391
 
        # PIC is the default on this platform
16392
 
        # Common symbols not allowed in MH_DYLIB files
16393
 
       case $cc_basename in
16394
 
         xlc*)
16395
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16396
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16397
 
         ;;
16398
 
       esac
16399
 
       ;;
16400
 
 
16401
 
    mingw* | pw32* | os2*)
16402
 
      # This hack is so that the source file can tell whether it is being
16403
 
      # built for inclusion in a dll (and should export symbols for example).
16404
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16405
 
      ;;
16406
 
 
16407
 
    hpux9* | hpux10* | hpux11*)
16408
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16409
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16410
 
      # not for PA HP-UX.
16411
 
      case $host_cpu in
16412
 
      hppa*64*|ia64*)
16413
 
        # +Z the default
16414
 
        ;;
16415
 
      *)
16416
 
        lt_prog_compiler_pic_GCJ='+Z'
16417
 
        ;;
16418
 
      esac
16419
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16420
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16421
 
      ;;
16422
 
 
16423
 
    irix5* | irix6* | nonstopux*)
16424
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16425
 
      # PIC (with -KPIC) is the default.
16426
 
      lt_prog_compiler_static_GCJ='-non_shared'
16427
 
      ;;
16428
 
 
16429
 
    newsos6)
16430
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16431
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16432
 
      ;;
16433
 
 
16434
 
    linux*)
16435
 
      case $cc_basename in
16436
 
      icc* | ecc*)
16437
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16438
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16439
 
        lt_prog_compiler_static_GCJ='-static'
16440
 
        ;;
16441
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16442
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16443
 
        # which looks to be a dead project)
16444
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16445
 
        lt_prog_compiler_pic_GCJ='-fpic'
16446
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16447
 
        ;;
16448
 
      ccc*)
16449
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16450
 
        # All Alpha code is PIC.
16451
 
        lt_prog_compiler_static_GCJ='-non_shared'
16452
 
        ;;
16453
 
      esac
16454
 
      ;;
16455
 
 
16456
 
    osf3* | osf4* | osf5*)
16457
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16458
 
      # All OSF/1 code is PIC.
16459
 
      lt_prog_compiler_static_GCJ='-non_shared'
16460
 
      ;;
16461
 
 
16462
 
    solaris*)
16463
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16464
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16465
 
      case $cc_basename in
16466
 
      f77* | f90* | f95*)
16467
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16468
 
      *)
16469
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16470
 
      esac
16471
 
      ;;
16472
 
 
16473
 
    sunos4*)
16474
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16475
 
      lt_prog_compiler_pic_GCJ='-PIC'
16476
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16477
 
      ;;
16478
 
 
16479
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16480
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16481
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16482
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16483
 
      ;;
16484
 
 
16485
 
    sysv4*MP*)
16486
 
      if test -d /usr/nec ;then
16487
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16488
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16489
 
      fi
16490
 
      ;;
16491
 
 
16492
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16493
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16494
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16495
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16496
 
      ;;
16497
 
 
16498
 
    unicos*)
16499
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16500
 
      lt_prog_compiler_can_build_shared_GCJ=no
16501
 
      ;;
16502
 
 
16503
 
    uts4*)
16504
 
      lt_prog_compiler_pic_GCJ='-pic'
16505
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16506
 
      ;;
16507
 
 
16508
 
    *)
16509
 
      lt_prog_compiler_can_build_shared_GCJ=no
16510
 
      ;;
16511
 
    esac
16512
 
  fi
16513
 
 
16514
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16515
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16516
 
 
16517
 
#
16518
 
# Check to make sure the PIC flag actually works.
16519
 
#
16520
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16521
 
 
16522
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16523
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16524
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16526
 
else
16527
 
  lt_prog_compiler_pic_works_GCJ=no
16528
 
  ac_outfile=conftest.$ac_objext
16529
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16530
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16531
 
   # Insert the option either (1) after the last *FLAGS variable, or
16532
 
   # (2) before a word containing "conftest.", or (3) at the end.
16533
 
   # Note that $ac_compile itself does not contain backslashes and begins
16534
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16535
 
   # The option is referenced via a variable to avoid confusing sed.
16536
 
   lt_compile=`echo "$ac_compile" | $SED \
16537
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16538
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16539
 
   -e 's:$: $lt_compiler_flag:'`
16540
 
   (eval echo "\"\$as_me:16540: $lt_compile\"" >&5)
16541
 
   (eval "$lt_compile" 2>conftest.err)
16542
 
   ac_status=$?
16543
 
   cat conftest.err >&5
16544
 
   echo "$as_me:16544: \$? = $ac_status" >&5
16545
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16546
 
     # The compiler can only warn and ignore the option if not recognized
16547
 
     # So say no if there are warnings other than the usual output.
16548
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16549
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16550
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16551
 
       lt_prog_compiler_pic_works_GCJ=yes
16552
 
     fi
16553
 
   fi
16554
 
   $rm conftest*
16555
 
 
16556
 
fi
16557
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16558
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16559
 
 
16560
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16561
 
    case $lt_prog_compiler_pic_GCJ in
16562
 
     "" | " "*) ;;
16563
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16564
 
     esac
16565
 
else
16566
 
    lt_prog_compiler_pic_GCJ=
16567
 
     lt_prog_compiler_can_build_shared_GCJ=no
16568
 
fi
16569
 
 
16570
 
fi
16571
 
case $host_os in
16572
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16573
 
  *djgpp*)
16574
 
    lt_prog_compiler_pic_GCJ=
16575
 
    ;;
16576
 
  *)
16577
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16578
 
    ;;
16579
 
esac
16580
 
 
16581
 
#
16582
 
# Check to make sure the static flag actually works.
16583
 
#
16584
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16585
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16586
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16587
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16589
 
else
16590
 
  lt_prog_compiler_static_works_GCJ=no
16591
 
   save_LDFLAGS="$LDFLAGS"
16592
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16593
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
16594
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16595
 
     # The linker can only warn and ignore the option if not recognized
16596
 
     # So say no if there are warnings
16597
 
     if test -s conftest.err; then
16598
 
       # Append any errors to the config.log.
16599
 
       cat conftest.err 1>&5
16600
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16601
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16602
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16603
 
         lt_prog_compiler_static_works_GCJ=yes
16604
 
       fi
16605
 
     else
16606
 
       lt_prog_compiler_static_works_GCJ=yes
16607
 
     fi
16608
 
   fi
16609
 
   $rm conftest*
16610
 
   LDFLAGS="$save_LDFLAGS"
16611
 
 
16612
 
fi
16613
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16614
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16615
 
 
16616
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16617
 
    :
16618
 
else
16619
 
    lt_prog_compiler_static_GCJ=
16620
 
fi
16621
 
 
16622
 
 
16623
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16624
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16625
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16626
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16627
 
else
16628
 
  lt_cv_prog_compiler_c_o_GCJ=no
16629
 
   $rm -r conftest 2>/dev/null
16630
 
   mkdir conftest
16631
 
   cd conftest
16632
 
   mkdir out
16633
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16634
 
 
16635
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16636
 
   # Insert the option either (1) after the last *FLAGS variable, or
16637
 
   # (2) before a word containing "conftest.", or (3) at the end.
16638
 
   # Note that $ac_compile itself does not contain backslashes and begins
16639
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16640
 
   lt_compile=`echo "$ac_compile" | $SED \
16641
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16642
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16643
 
   -e 's:$: $lt_compiler_flag:'`
16644
 
   (eval echo "\"\$as_me:16644: $lt_compile\"" >&5)
16645
 
   (eval "$lt_compile" 2>out/conftest.err)
16646
 
   ac_status=$?
16647
 
   cat out/conftest.err >&5
16648
 
   echo "$as_me:16648: \$? = $ac_status" >&5
16649
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16650
 
   then
16651
 
     # The compiler can only warn and ignore the option if not recognized
16652
 
     # So say no if there are warnings
16653
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16654
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16655
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16656
 
       lt_cv_prog_compiler_c_o_GCJ=yes
16657
 
     fi
16658
 
   fi
16659
 
   chmod u+w . 2>&5
16660
 
   $rm conftest*
16661
 
   # SGI C++ compiler will create directory out/ii_files/ for
16662
 
   # template instantiation
16663
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16664
 
   $rm out/* && rmdir out
16665
 
   cd ..
16666
 
   rmdir conftest
16667
 
   $rm conftest*
16668
 
 
16669
 
fi
16670
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16671
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16672
 
 
16673
 
 
16674
 
hard_links="nottested"
16675
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16676
 
  # do not overwrite the value of need_locks provided by the user
16677
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16678
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16679
 
  hard_links=yes
16680
 
  $rm conftest*
16681
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16682
 
  touch conftest.a
16683
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16684
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16685
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16686
 
echo "${ECHO_T}$hard_links" >&6; }
16687
 
  if test "$hard_links" = no; then
16688
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16689
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16690
 
    need_locks=warn
16691
 
  fi
16692
 
else
16693
 
  need_locks=no
16694
 
fi
16695
 
 
16696
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16697
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16698
 
 
16699
 
  runpath_var=
16700
 
  allow_undefined_flag_GCJ=
16701
 
  enable_shared_with_static_runtimes_GCJ=no
16702
 
  archive_cmds_GCJ=
16703
 
  archive_expsym_cmds_GCJ=
16704
 
  old_archive_From_new_cmds_GCJ=
16705
 
  old_archive_from_expsyms_cmds_GCJ=
16706
 
  export_dynamic_flag_spec_GCJ=
16707
 
  whole_archive_flag_spec_GCJ=
16708
 
  thread_safe_flag_spec_GCJ=
16709
 
  hardcode_libdir_flag_spec_GCJ=
16710
 
  hardcode_libdir_flag_spec_ld_GCJ=
16711
 
  hardcode_libdir_separator_GCJ=
16712
 
  hardcode_direct_GCJ=no
16713
 
  hardcode_minus_L_GCJ=no
16714
 
  hardcode_shlibpath_var_GCJ=unsupported
16715
 
  link_all_deplibs_GCJ=unknown
16716
 
  hardcode_automatic_GCJ=no
16717
 
  module_cmds_GCJ=
16718
 
  module_expsym_cmds_GCJ=
16719
 
  always_export_symbols_GCJ=no
16720
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16721
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16722
 
  # included in the symbol list
16723
 
  include_expsyms_GCJ=
16724
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16725
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16726
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16727
 
  # as well as any symbol that contains `d'.
16728
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16729
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16730
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16731
 
  # the symbol is explicitly referenced.  Since portable code cannot
16732
 
  # rely on this symbol name, it's probably fine to never include it in
16733
 
  # preloaded symbol tables.
16734
 
  extract_expsyms_cmds=
16735
 
  # Just being paranoid about ensuring that cc_basename is set.
16736
 
  for cc_temp in $compiler""; do
16737
 
  case $cc_temp in
16738
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16739
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16740
 
    \-*) ;;
16741
 
    *) break;;
16742
 
  esac
16743
 
done
16744
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16745
 
 
16746
 
  case $host_os in
16747
 
  cygwin* | mingw* | pw32*)
16748
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16749
 
    # When not using gcc, we currently assume that we are using
16750
 
    # Microsoft Visual C++.
16751
 
    if test "$GCC" != yes; then
16752
 
      with_gnu_ld=no
16753
 
    fi
16754
 
    ;;
16755
 
  interix*)
16756
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16757
 
    with_gnu_ld=yes
16758
 
    ;;
16759
 
  openbsd*)
16760
 
    with_gnu_ld=no
16761
 
    ;;
16762
 
  esac
16763
 
 
16764
 
  ld_shlibs_GCJ=yes
16765
 
  if test "$with_gnu_ld" = yes; then
16766
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16767
 
    wlarc='${wl}'
16768
 
 
16769
 
    # Set some defaults for GNU ld with shared library support. These
16770
 
    # are reset later if shared libraries are not supported. Putting them
16771
 
    # here allows them to be overridden if necessary.
16772
 
    runpath_var=LD_RUN_PATH
16773
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16774
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16775
 
    # ancient GNU ld didn't support --whole-archive et. al.
16776
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16777
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16778
 
      else
16779
 
        whole_archive_flag_spec_GCJ=
16780
 
    fi
16781
 
    supports_anon_versioning=no
16782
 
    case `$LD -v 2>/dev/null` in
16783
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16784
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16785
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16786
 
      *\ 2.11.*) ;; # other 2.11 versions
16787
 
      *) supports_anon_versioning=yes ;;
16788
 
    esac
16789
 
 
16790
 
    # See if GNU ld supports shared libraries.
16791
 
    case $host_os in
16792
 
    aix3* | aix4* | aix5*)
16793
 
      # On AIX/PPC, the GNU linker is very broken
16794
 
      if test "$host_cpu" != ia64; then
16795
 
        ld_shlibs_GCJ=no
16796
 
        cat <<EOF 1>&2
16797
 
 
16798
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16799
 
*** to be unable to reliably create shared libraries on AIX.
16800
 
*** Therefore, libtool is disabling shared libraries support.  If you
16801
 
*** really care for shared libraries, you may want to modify your PATH
16802
 
*** so that a non-GNU linker is found, and then restart.
16803
 
 
16804
 
EOF
16805
 
      fi
16806
 
      ;;
16807
 
 
16808
 
    amigaos*)
16809
 
      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)'
16810
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16811
 
      hardcode_minus_L_GCJ=yes
16812
 
 
16813
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16814
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16815
 
      # to version 4, is to share data among multiple programs linked
16816
 
      # with the same dynamic library.  Since this doesn't match the
16817
 
      # behavior of shared libraries on other platforms, we can't use
16818
 
      # them.
16819
 
      ld_shlibs_GCJ=no
16820
 
      ;;
16821
 
 
16822
 
    beos*)
16823
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16824
 
        allow_undefined_flag_GCJ=unsupported
16825
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16826
 
        # support --undefined.  This deserves some investigation.  FIXME
16827
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16828
 
      else
16829
 
        ld_shlibs_GCJ=no
16830
 
      fi
16831
 
      ;;
16832
 
 
16833
 
    cygwin* | mingw* | pw32*)
16834
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16835
 
      # as there is no search path for DLLs.
16836
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16837
 
      allow_undefined_flag_GCJ=unsupported
16838
 
      always_export_symbols_GCJ=no
16839
 
      enable_shared_with_static_runtimes_GCJ=yes
16840
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16841
 
 
16842
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16843
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16844
 
        # If the export-symbols file already is a .def file (1st line
16845
 
        # is EXPORTS), use it as is; otherwise, prepend...
16846
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16847
 
          cp $export_symbols $output_objdir/$soname.def;
16848
 
        else
16849
 
          echo EXPORTS > $output_objdir/$soname.def;
16850
 
          cat $export_symbols >> $output_objdir/$soname.def;
16851
 
        fi~
16852
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16853
 
      else
16854
 
        ld_shlibs_GCJ=no
16855
 
      fi
16856
 
      ;;
16857
 
 
16858
 
    interix3*)
16859
 
      hardcode_direct_GCJ=no
16860
 
      hardcode_shlibpath_var_GCJ=no
16861
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16862
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
16863
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16864
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16865
 
      # default) and relocated if they conflict, which is a slow very memory
16866
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16867
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16868
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16869
 
      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'
16870
 
      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'
16871
 
      ;;
16872
 
 
16873
 
    linux*)
16874
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16875
 
        tmp_addflag=
16876
 
        case $cc_basename,$host_cpu in
16877
 
        pgcc*)                          # Portland Group C compiler
16878
 
          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'
16879
 
          tmp_addflag=' $pic_flag'
16880
 
          ;;
16881
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16882
 
          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'
16883
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16884
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16885
 
          tmp_addflag=' -i_dynamic' ;;
16886
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16887
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16888
 
        ifc* | ifort*)                  # Intel Fortran compiler
16889
 
          tmp_addflag=' -nofor_main' ;;
16890
 
        esac
16891
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16892
 
 
16893
 
        if test $supports_anon_versioning = yes; then
16894
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16895
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16896
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16897
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16898
 
        fi
16899
 
      else
16900
 
        ld_shlibs_GCJ=no
16901
 
      fi
16902
 
      ;;
16903
 
 
16904
 
    netbsd*)
16905
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16906
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16907
 
        wlarc=
16908
 
      else
16909
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16910
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16911
 
      fi
16912
 
      ;;
16913
 
 
16914
 
    solaris*)
16915
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16916
 
        ld_shlibs_GCJ=no
16917
 
        cat <<EOF 1>&2
16918
 
 
16919
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16920
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16921
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16922
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16923
 
*** your PATH or compiler configuration so that the native linker is
16924
 
*** used, and then restart.
16925
 
 
16926
 
EOF
16927
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16928
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16929
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16930
 
      else
16931
 
        ld_shlibs_GCJ=no
16932
 
      fi
16933
 
      ;;
16934
 
 
16935
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16936
 
      case `$LD -v 2>&1` in
16937
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16938
 
        ld_shlibs_GCJ=no
16939
 
        cat <<_LT_EOF 1>&2
16940
 
 
16941
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16942
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16943
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16944
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16945
 
*** your PATH or compiler configuration so that the native linker is
16946
 
*** used, and then restart.
16947
 
 
16948
 
_LT_EOF
16949
 
        ;;
16950
 
        *)
16951
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16952
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16953
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16954
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16955
 
          else
16956
 
            ld_shlibs_GCJ=no
16957
 
          fi
16958
 
        ;;
16959
 
      esac
16960
 
      ;;
16961
 
 
16962
 
    sunos4*)
16963
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16964
 
      wlarc=
16965
 
      hardcode_direct_GCJ=yes
16966
 
      hardcode_shlibpath_var_GCJ=no
16967
 
      ;;
16968
 
 
16969
 
    *)
16970
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16971
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16972
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16973
 
      else
16974
 
        ld_shlibs_GCJ=no
16975
 
      fi
16976
 
      ;;
16977
 
    esac
16978
 
 
16979
 
    if test "$ld_shlibs_GCJ" = no; then
16980
 
      runpath_var=
16981
 
      hardcode_libdir_flag_spec_GCJ=
16982
 
      export_dynamic_flag_spec_GCJ=
16983
 
      whole_archive_flag_spec_GCJ=
16984
 
    fi
16985
 
  else
16986
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16987
 
    case $host_os in
16988
 
    aix3*)
16989
 
      allow_undefined_flag_GCJ=unsupported
16990
 
      always_export_symbols_GCJ=yes
16991
 
      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'
16992
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16993
 
      # are no directories specified by -L.
16994
 
      hardcode_minus_L_GCJ=yes
16995
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16996
 
        # Neither direct hardcoding nor static linking is supported with a
16997
 
        # broken collect2.
16998
 
        hardcode_direct_GCJ=unsupported
16999
 
      fi
17000
 
      ;;
17001
 
 
17002
 
    aix4* | aix5*)
17003
 
      if test "$host_cpu" = ia64; then
17004
 
        # On IA64, the linker does run time linking by default, so we don't
17005
 
        # have to do anything special.
17006
 
        aix_use_runtimelinking=no
17007
 
        exp_sym_flag='-Bexport'
17008
 
        no_entry_flag=""
17009
 
      else
17010
 
        # If we're using GNU nm, then we don't want the "-C" option.
17011
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17012
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17013
 
          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'
17014
 
        else
17015
 
          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'
17016
 
        fi
17017
 
        aix_use_runtimelinking=no
17018
 
 
17019
 
        # Test if we are trying to use run time linking or normal
17020
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17021
 
        # need to do runtime linking.
17022
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17023
 
          for ld_flag in $LDFLAGS; do
17024
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17025
 
            aix_use_runtimelinking=yes
17026
 
            break
17027
 
          fi
17028
 
          done
17029
 
          ;;
17030
 
        esac
17031
 
 
17032
 
        exp_sym_flag='-bexport'
17033
 
        no_entry_flag='-bnoentry'
17034
 
      fi
17035
 
 
17036
 
      # When large executables or shared objects are built, AIX ld can
17037
 
      # have problems creating the table of contents.  If linking a library
17038
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17039
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17040
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17041
 
 
17042
 
      archive_cmds_GCJ=''
17043
 
      hardcode_direct_GCJ=yes
17044
 
      hardcode_libdir_separator_GCJ=':'
17045
 
      link_all_deplibs_GCJ=yes
17046
 
 
17047
 
      if test "$GCC" = yes; then
17048
 
        case $host_os in aix4.[012]|aix4.[012].*)
17049
 
        # We only want to do this on AIX 4.2 and lower, the check
17050
 
        # below for broken collect2 doesn't work under 4.3+
17051
 
          collect2name=`${CC} -print-prog-name=collect2`
17052
 
          if test -f "$collect2name" && \
17053
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17054
 
          then
17055
 
          # We have reworked collect2
17056
 
          hardcode_direct_GCJ=yes
17057
 
          else
17058
 
          # We have old collect2
17059
 
          hardcode_direct_GCJ=unsupported
17060
 
          # It fails to find uninstalled libraries when the uninstalled
17061
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17062
 
          # to unsupported forces relinking
17063
 
          hardcode_minus_L_GCJ=yes
17064
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17065
 
          hardcode_libdir_separator_GCJ=
17066
 
          fi
17067
 
          ;;
17068
 
        esac
17069
 
        shared_flag='-shared'
17070
 
        if test "$aix_use_runtimelinking" = yes; then
17071
 
          shared_flag="$shared_flag "'${wl}-G'
17072
 
        fi
17073
 
      else
17074
 
        # not using gcc
17075
 
        if test "$host_cpu" = ia64; then
17076
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17077
 
        # chokes on -Wl,-G. The following line is correct:
17078
 
          shared_flag='-G'
17079
 
        else
17080
 
          if test "$aix_use_runtimelinking" = yes; then
17081
 
            shared_flag='${wl}-G'
17082
 
          else
17083
 
            shared_flag='${wl}-bM:SRE'
17084
 
          fi
17085
 
        fi
17086
 
      fi
17087
 
 
17088
 
      # It seems that -bexpall does not export symbols beginning with
17089
 
      # underscore (_), so it is better to generate a list of symbols to export.
17090
 
      always_export_symbols_GCJ=yes
17091
 
      if test "$aix_use_runtimelinking" = yes; then
17092
 
        # Warning - without using the other runtime loading flags (-brtl),
17093
 
        # -berok will link without error, but may produce a broken library.
17094
 
        allow_undefined_flag_GCJ='-berok'
17095
 
       # Determine the default libpath from the value encoded in an empty executable.
17096
 
       cat >conftest.$ac_ext <<_ACEOF
17097
 
/* confdefs.h.  */
17098
 
_ACEOF
17099
 
cat confdefs.h >>conftest.$ac_ext
17100
 
cat >>conftest.$ac_ext <<_ACEOF
17101
 
/* end confdefs.h.  */
17102
 
 
17103
 
int
17104
 
main ()
17105
 
{
17106
 
 
17107
 
  ;
17108
 
  return 0;
17109
 
}
17110
 
_ACEOF
17111
 
rm -f conftest.$ac_objext conftest$ac_exeext
17112
 
if { (ac_try="$ac_link"
17113
 
case "(($ac_try" in
17114
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115
 
  *) ac_try_echo=$ac_try;;
17116
 
esac
17117
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118
 
  (eval "$ac_link") 2>conftest.er1
17119
 
  ac_status=$?
17120
 
  grep -v '^ *+' conftest.er1 >conftest.err
17121
 
  rm -f conftest.er1
17122
 
  cat conftest.err >&5
17123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124
 
  (exit $ac_status); } && {
17125
 
         test -z "$ac_c_werror_flag" ||
17126
 
         test ! -s conftest.err
17127
 
       } && test -s conftest$ac_exeext &&
17128
 
       $as_test_x conftest$ac_exeext; then
17129
 
 
17130
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17131
 
}'`
17132
 
# Check for a 64-bit object if we didn't find anything.
17133
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17134
 
}'`; fi
17135
 
else
17136
 
  echo "$as_me: failed program was:" >&5
17137
 
sed 's/^/| /' conftest.$ac_ext >&5
17138
 
 
17139
 
 
17140
 
fi
17141
 
 
17142
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17143
 
      conftest$ac_exeext conftest.$ac_ext
17144
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17145
 
 
17146
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17147
 
        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"
17148
 
       else
17149
 
        if test "$host_cpu" = ia64; then
17150
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17151
 
          allow_undefined_flag_GCJ="-z nodefs"
17152
 
          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"
17153
 
        else
17154
 
         # Determine the default libpath from the value encoded in an empty executable.
17155
 
         cat >conftest.$ac_ext <<_ACEOF
17156
 
/* confdefs.h.  */
17157
 
_ACEOF
17158
 
cat confdefs.h >>conftest.$ac_ext
17159
 
cat >>conftest.$ac_ext <<_ACEOF
17160
 
/* end confdefs.h.  */
17161
 
 
17162
 
int
17163
 
main ()
17164
 
{
17165
 
 
17166
 
  ;
17167
 
  return 0;
17168
 
}
17169
 
_ACEOF
17170
 
rm -f conftest.$ac_objext conftest$ac_exeext
17171
 
if { (ac_try="$ac_link"
17172
 
case "(($ac_try" in
17173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17174
 
  *) ac_try_echo=$ac_try;;
17175
 
esac
17176
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17177
 
  (eval "$ac_link") 2>conftest.er1
17178
 
  ac_status=$?
17179
 
  grep -v '^ *+' conftest.er1 >conftest.err
17180
 
  rm -f conftest.er1
17181
 
  cat conftest.err >&5
17182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183
 
  (exit $ac_status); } && {
17184
 
         test -z "$ac_c_werror_flag" ||
17185
 
         test ! -s conftest.err
17186
 
       } && test -s conftest$ac_exeext &&
17187
 
       $as_test_x conftest$ac_exeext; then
17188
 
 
17189
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17190
 
}'`
17191
 
# Check for a 64-bit object if we didn't find anything.
17192
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17193
 
}'`; fi
17194
 
else
17195
 
  echo "$as_me: failed program was:" >&5
17196
 
sed 's/^/| /' conftest.$ac_ext >&5
17197
 
 
17198
 
 
17199
 
fi
17200
 
 
17201
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17202
 
      conftest$ac_exeext conftest.$ac_ext
17203
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17204
 
 
17205
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17206
 
          # Warning - without using the other run time loading flags,
17207
 
          # -berok will link without error, but may produce a broken library.
17208
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17209
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17210
 
          # Exported symbols can be pulled into shared objects from archives
17211
 
          whole_archive_flag_spec_GCJ='$convenience'
17212
 
          archive_cmds_need_lc_GCJ=yes
17213
 
          # This is similar to how AIX traditionally builds its shared libraries.
17214
 
          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'
17215
 
        fi
17216
 
      fi
17217
 
      ;;
17218
 
 
17219
 
    amigaos*)
17220
 
      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)'
17221
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17222
 
      hardcode_minus_L_GCJ=yes
17223
 
      # see comment about different semantics on the GNU ld section
17224
 
      ld_shlibs_GCJ=no
17225
 
      ;;
17226
 
 
17227
 
    bsdi[45]*)
17228
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17229
 
      ;;
17230
 
 
17231
 
    cygwin* | mingw* | pw32*)
17232
 
      # When not using gcc, we currently assume that we are using
17233
 
      # Microsoft Visual C++.
17234
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17235
 
      # no search path for DLLs.
17236
 
      hardcode_libdir_flag_spec_GCJ=' '
17237
 
      allow_undefined_flag_GCJ=unsupported
17238
 
      # Tell ltmain to make .lib files, not .a files.
17239
 
      libext=lib
17240
 
      # Tell ltmain to make .dll files, not .so files.
17241
 
      shrext_cmds=".dll"
17242
 
      # FIXME: Setting linknames here is a bad hack.
17243
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17244
 
      # The linker will automatically build a .lib file if we build a DLL.
17245
 
      old_archive_From_new_cmds_GCJ='true'
17246
 
      # FIXME: Should let the user specify the lib program.
17247
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17248
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17249
 
      enable_shared_with_static_runtimes_GCJ=yes
17250
 
      ;;
17251
 
 
17252
 
    darwin* | rhapsody*)
17253
 
      case $host_os in
17254
 
        rhapsody* | darwin1.[012])
17255
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17256
 
         ;;
17257
 
       *) # Darwin 1.3 on
17258
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17259
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17260
 
         else
17261
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17262
 
             10.[012])
17263
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17264
 
               ;;
17265
 
             10.*)
17266
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17267
 
               ;;
17268
 
           esac
17269
 
         fi
17270
 
         ;;
17271
 
      esac
17272
 
      archive_cmds_need_lc_GCJ=no
17273
 
      hardcode_direct_GCJ=no
17274
 
      hardcode_automatic_GCJ=yes
17275
 
      hardcode_shlibpath_var_GCJ=unsupported
17276
 
      whole_archive_flag_spec_GCJ=''
17277
 
      link_all_deplibs_GCJ=yes
17278
 
    if test "$GCC" = yes ; then
17279
 
        output_verbose_link_cmd='echo'
17280
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17281
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17282
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17283
 
      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}'
17284
 
      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}'
17285
 
    else
17286
 
      case $cc_basename in
17287
 
        xlc*)
17288
 
         output_verbose_link_cmd='echo'
17289
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17290
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17291
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17292
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17293
 
          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}'
17294
 
          ;;
17295
 
       *)
17296
 
         ld_shlibs_GCJ=no
17297
 
          ;;
17298
 
      esac
17299
 
    fi
17300
 
      ;;
17301
 
 
17302
 
    dgux*)
17303
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17304
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17305
 
      hardcode_shlibpath_var_GCJ=no
17306
 
      ;;
17307
 
 
17308
 
    freebsd1*)
17309
 
      ld_shlibs_GCJ=no
17310
 
      ;;
17311
 
 
17312
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17313
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17314
 
    # does not break anything, and helps significantly (at the cost of a little
17315
 
    # extra space).
17316
 
    freebsd2.2*)
17317
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17318
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17319
 
      hardcode_direct_GCJ=yes
17320
 
      hardcode_shlibpath_var_GCJ=no
17321
 
      ;;
17322
 
 
17323
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17324
 
    freebsd2*)
17325
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17326
 
      hardcode_direct_GCJ=yes
17327
 
      hardcode_minus_L_GCJ=yes
17328
 
      hardcode_shlibpath_var_GCJ=no
17329
 
      ;;
17330
 
 
17331
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17332
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
17333
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17334
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17335
 
      hardcode_direct_GCJ=yes
17336
 
      hardcode_shlibpath_var_GCJ=no
17337
 
      ;;
17338
 
 
17339
 
    hpux9*)
17340
 
      if test "$GCC" = yes; then
17341
 
        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'
17342
 
      else
17343
 
        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'
17344
 
      fi
17345
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17346
 
      hardcode_libdir_separator_GCJ=:
17347
 
      hardcode_direct_GCJ=yes
17348
 
 
17349
 
      # hardcode_minus_L: Not really in the search PATH,
17350
 
      # but as the default location of the library.
17351
 
      hardcode_minus_L_GCJ=yes
17352
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17353
 
      ;;
17354
 
 
17355
 
    hpux10*)
17356
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17357
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17358
 
      else
17359
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17360
 
      fi
17361
 
      if test "$with_gnu_ld" = no; then
17362
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17363
 
        hardcode_libdir_separator_GCJ=:
17364
 
 
17365
 
        hardcode_direct_GCJ=yes
17366
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17367
 
 
17368
 
        # hardcode_minus_L: Not really in the search PATH,
17369
 
        # but as the default location of the library.
17370
 
        hardcode_minus_L_GCJ=yes
17371
 
      fi
17372
 
      ;;
17373
 
 
17374
 
    hpux11*)
17375
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17376
 
        case $host_cpu in
17377
 
        hppa*64*)
17378
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17379
 
          ;;
17380
 
        ia64*)
17381
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17382
 
          ;;
17383
 
        *)
17384
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17385
 
          ;;
17386
 
        esac
17387
 
      else
17388
 
        case $host_cpu in
17389
 
        hppa*64*)
17390
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17391
 
          ;;
17392
 
        ia64*)
17393
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17394
 
          ;;
17395
 
        *)
17396
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17397
 
          ;;
17398
 
        esac
17399
 
      fi
17400
 
      if test "$with_gnu_ld" = no; then
17401
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17402
 
        hardcode_libdir_separator_GCJ=:
17403
 
 
17404
 
        case $host_cpu in
17405
 
        hppa*64*|ia64*)
17406
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17407
 
          hardcode_direct_GCJ=no
17408
 
          hardcode_shlibpath_var_GCJ=no
17409
 
          ;;
17410
 
        *)
17411
 
          hardcode_direct_GCJ=yes
17412
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17413
 
 
17414
 
          # hardcode_minus_L: Not really in the search PATH,
17415
 
          # but as the default location of the library.
17416
 
          hardcode_minus_L_GCJ=yes
17417
 
          ;;
17418
 
        esac
17419
 
      fi
17420
 
      ;;
17421
 
 
17422
 
    irix5* | irix6* | nonstopux*)
17423
 
      if test "$GCC" = yes; then
17424
 
        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'
17425
 
      else
17426
 
        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'
17427
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17428
 
      fi
17429
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17430
 
      hardcode_libdir_separator_GCJ=:
17431
 
      link_all_deplibs_GCJ=yes
17432
 
      ;;
17433
 
 
17434
 
    netbsd*)
17435
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17436
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17437
 
      else
17438
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17439
 
      fi
17440
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17441
 
      hardcode_direct_GCJ=yes
17442
 
      hardcode_shlibpath_var_GCJ=no
17443
 
      ;;
17444
 
 
17445
 
    newsos6)
17446
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17447
 
      hardcode_direct_GCJ=yes
17448
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17449
 
      hardcode_libdir_separator_GCJ=:
17450
 
      hardcode_shlibpath_var_GCJ=no
17451
 
      ;;
17452
 
 
17453
 
    openbsd*)
17454
 
      hardcode_direct_GCJ=yes
17455
 
      hardcode_shlibpath_var_GCJ=no
17456
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17457
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17458
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17459
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17460
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17461
 
      else
17462
 
       case $host_os in
17463
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17464
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17465
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17466
 
           ;;
17467
 
         *)
17468
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17469
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17470
 
           ;;
17471
 
       esac
17472
 
      fi
17473
 
      ;;
17474
 
 
17475
 
    os2*)
17476
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17477
 
      hardcode_minus_L_GCJ=yes
17478
 
      allow_undefined_flag_GCJ=unsupported
17479
 
      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'
17480
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17481
 
      ;;
17482
 
 
17483
 
    osf3*)
17484
 
      if test "$GCC" = yes; then
17485
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17486
 
        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'
17487
 
      else
17488
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17489
 
        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'
17490
 
      fi
17491
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17492
 
      hardcode_libdir_separator_GCJ=:
17493
 
      ;;
17494
 
 
17495
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17496
 
      if test "$GCC" = yes; then
17497
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17498
 
        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'
17499
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17500
 
      else
17501
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17502
 
        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'
17503
 
        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~
17504
 
        $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'
17505
 
 
17506
 
        # Both c and cxx compiler support -rpath directly
17507
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17508
 
      fi
17509
 
      hardcode_libdir_separator_GCJ=:
17510
 
      ;;
17511
 
 
17512
 
    solaris*)
17513
 
      no_undefined_flag_GCJ=' -z text'
17514
 
      if test "$GCC" = yes; then
17515
 
        wlarc='${wl}'
17516
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17517
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17518
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17519
 
      else
17520
 
        wlarc=''
17521
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17522
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17523
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17524
 
      fi
17525
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17526
 
      hardcode_shlibpath_var_GCJ=no
17527
 
      case $host_os in
17528
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17529
 
      *)
17530
 
        # The compiler driver will combine linker options so we
17531
 
        # cannot just pass the convience library names through
17532
 
        # without $wl, iff we do not link with $LD.
17533
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
17534
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17535
 
        case $wlarc in
17536
 
        '')
17537
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17538
 
        *)
17539
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17540
 
        esac ;;
17541
 
      esac
17542
 
      link_all_deplibs_GCJ=yes
17543
 
      ;;
17544
 
 
17545
 
    sunos4*)
17546
 
      if test "x$host_vendor" = xsequent; then
17547
 
        # Use $CC to link under sequent, because it throws in some extra .o
17548
 
        # files that make .init and .fini sections work.
17549
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17550
 
      else
17551
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17552
 
      fi
17553
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17554
 
      hardcode_direct_GCJ=yes
17555
 
      hardcode_minus_L_GCJ=yes
17556
 
      hardcode_shlibpath_var_GCJ=no
17557
 
      ;;
17558
 
 
17559
 
    sysv4)
17560
 
      case $host_vendor in
17561
 
        sni)
17562
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17563
 
          hardcode_direct_GCJ=yes # is this really true???
17564
 
        ;;
17565
 
        siemens)
17566
 
          ## LD is ld it makes a PLAMLIB
17567
 
          ## CC just makes a GrossModule.
17568
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17569
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17570
 
          hardcode_direct_GCJ=no
17571
 
        ;;
17572
 
        motorola)
17573
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17574
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17575
 
        ;;
17576
 
      esac
17577
 
      runpath_var='LD_RUN_PATH'
17578
 
      hardcode_shlibpath_var_GCJ=no
17579
 
      ;;
17580
 
 
17581
 
    sysv4.3*)
17582
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17583
 
      hardcode_shlibpath_var_GCJ=no
17584
 
      export_dynamic_flag_spec_GCJ='-Bexport'
17585
 
      ;;
17586
 
 
17587
 
    sysv4*MP*)
17588
 
      if test -d /usr/nec; then
17589
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17590
 
        hardcode_shlibpath_var_GCJ=no
17591
 
        runpath_var=LD_RUN_PATH
17592
 
        hardcode_runpath_var=yes
17593
 
        ld_shlibs_GCJ=yes
17594
 
      fi
17595
 
      ;;
17596
 
 
17597
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17598
 
      no_undefined_flag_GCJ='${wl}-z,text'
17599
 
      archive_cmds_need_lc_GCJ=no
17600
 
      hardcode_shlibpath_var_GCJ=no
17601
 
      runpath_var='LD_RUN_PATH'
17602
 
 
17603
 
      if test "$GCC" = yes; then
17604
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17605
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17606
 
      else
17607
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17608
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17609
 
      fi
17610
 
      ;;
17611
 
 
17612
 
    sysv5* | sco3.2v5* | sco5v6*)
17613
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17614
 
      # link with -lc, and that would cause any symbols used from libc to
17615
 
      # always be unresolved, which means just about no library would
17616
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17617
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17618
 
      # as -z defs.
17619
 
      no_undefined_flag_GCJ='${wl}-z,text'
17620
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
17621
 
      archive_cmds_need_lc_GCJ=no
17622
 
      hardcode_shlibpath_var_GCJ=no
17623
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17624
 
      hardcode_libdir_separator_GCJ=':'
17625
 
      link_all_deplibs_GCJ=yes
17626
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17627
 
      runpath_var='LD_RUN_PATH'
17628
 
 
17629
 
      if test "$GCC" = yes; then
17630
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17631
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17632
 
      else
17633
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17634
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17635
 
      fi
17636
 
      ;;
17637
 
 
17638
 
    uts4*)
17639
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17640
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17641
 
      hardcode_shlibpath_var_GCJ=no
17642
 
      ;;
17643
 
 
17644
 
    *)
17645
 
      ld_shlibs_GCJ=no
17646
 
      ;;
17647
 
    esac
17648
 
  fi
17649
 
 
17650
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17651
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17652
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17653
 
 
17654
 
#
17655
 
# Do we need to explicitly link libc?
17656
 
#
17657
 
case "x$archive_cmds_need_lc_GCJ" in
17658
 
x|xyes)
17659
 
  # Assume -lc should be added
17660
 
  archive_cmds_need_lc_GCJ=yes
17661
 
 
17662
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17663
 
    case $archive_cmds_GCJ in
17664
 
    *'~'*)
17665
 
      # FIXME: we may have to deal with multi-command sequences.
17666
 
      ;;
17667
 
    '$CC '*)
17668
 
      # Test whether the compiler implicitly links with -lc since on some
17669
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17670
 
      # to ld, don't add -lc before -lgcc.
17671
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17672
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17673
 
      $rm conftest*
17674
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17675
 
 
17676
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677
 
  (eval $ac_compile) 2>&5
17678
 
  ac_status=$?
17679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680
 
  (exit $ac_status); } 2>conftest.err; then
17681
 
        soname=conftest
17682
 
        lib=conftest
17683
 
        libobjs=conftest.$ac_objext
17684
 
        deplibs=
17685
 
        wl=$lt_prog_compiler_wl_GCJ
17686
 
        pic_flag=$lt_prog_compiler_pic_GCJ
17687
 
        compiler_flags=-v
17688
 
        linker_flags=-v
17689
 
        verstring=
17690
 
        output_objdir=.
17691
 
        libname=conftest
17692
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17693
 
        allow_undefined_flag_GCJ=
17694
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17695
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17696
 
  ac_status=$?
17697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698
 
  (exit $ac_status); }
17699
 
        then
17700
 
          archive_cmds_need_lc_GCJ=no
17701
 
        else
17702
 
          archive_cmds_need_lc_GCJ=yes
17703
 
        fi
17704
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17705
 
      else
17706
 
        cat conftest.err 1>&5
17707
 
      fi
17708
 
      $rm conftest*
17709
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17710
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17711
 
      ;;
17712
 
    esac
17713
 
  fi
17714
 
  ;;
17715
 
esac
17716
 
 
17717
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17718
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17719
 
library_names_spec=
17720
 
libname_spec='lib$name'
17721
 
soname_spec=
17722
 
shrext_cmds=".so"
17723
 
postinstall_cmds=
17724
 
postuninstall_cmds=
17725
 
finish_cmds=
17726
 
finish_eval=
17727
 
shlibpath_var=
17728
 
shlibpath_overrides_runpath=unknown
17729
 
version_type=none
17730
 
dynamic_linker="$host_os ld.so"
17731
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17732
 
if test "$GCC" = yes; then
17733
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17734
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17735
 
    # if the path contains ";" then we assume it to be the separator
17736
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17737
 
    # assumed that no part of a normal pathname contains ";" but that should
17738
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17739
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17740
 
  else
17741
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17742
 
  fi
17743
 
else
17744
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17745
 
fi
17746
 
need_lib_prefix=unknown
17747
 
hardcode_into_libs=no
17748
 
 
17749
 
# when you set need_version to no, make sure it does not cause -set_version
17750
 
# flags to be left without arguments
17751
 
need_version=unknown
17752
 
 
17753
 
case $host_os in
17754
 
aix3*)
17755
 
  version_type=linux
17756
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17757
 
  shlibpath_var=LIBPATH
17758
 
 
17759
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17760
 
  soname_spec='${libname}${release}${shared_ext}$major'
17761
 
  ;;
17762
 
 
17763
 
aix4* | aix5*)
17764
 
  version_type=linux
17765
 
  need_lib_prefix=no
17766
 
  need_version=no
17767
 
  hardcode_into_libs=yes
17768
 
  if test "$host_cpu" = ia64; then
17769
 
    # AIX 5 supports IA64
17770
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17771
 
    shlibpath_var=LD_LIBRARY_PATH
17772
 
  else
17773
 
    # With GCC up to 2.95.x, collect2 would create an import file
17774
 
    # for dependence libraries.  The import file would start with
17775
 
    # the line `#! .'.  This would cause the generated library to
17776
 
    # depend on `.', always an invalid library.  This was fixed in
17777
 
    # development snapshots of GCC prior to 3.0.
17778
 
    case $host_os in
17779
 
      aix4 | aix4.[01] | aix4.[01].*)
17780
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17781
 
           echo ' yes '
17782
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17783
 
        :
17784
 
      else
17785
 
        can_build_shared=no
17786
 
      fi
17787
 
      ;;
17788
 
    esac
17789
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17790
 
    # soname into executable. Probably we can add versioning support to
17791
 
    # collect2, so additional links can be useful in future.
17792
 
    if test "$aix_use_runtimelinking" = yes; then
17793
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17794
 
      # instead of lib<name>.a to let people know that these are not
17795
 
      # typical AIX shared libraries.
17796
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17797
 
    else
17798
 
      # We preserve .a as extension for shared libraries through AIX4.2
17799
 
      # and later when we are not doing run time linking.
17800
 
      library_names_spec='${libname}${release}.a $libname.a'
17801
 
      soname_spec='${libname}${release}${shared_ext}$major'
17802
 
    fi
17803
 
    shlibpath_var=LIBPATH
17804
 
  fi
17805
 
  ;;
17806
 
 
17807
 
amigaos*)
17808
 
  library_names_spec='$libname.ixlibrary $libname.a'
17809
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17810
 
  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'
17811
 
  ;;
17812
 
 
17813
 
beos*)
17814
 
  library_names_spec='${libname}${shared_ext}'
17815
 
  dynamic_linker="$host_os ld.so"
17816
 
  shlibpath_var=LIBRARY_PATH
17817
 
  ;;
17818
 
 
17819
 
bsdi[45]*)
17820
 
  version_type=linux
17821
 
  need_version=no
17822
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17823
 
  soname_spec='${libname}${release}${shared_ext}$major'
17824
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17825
 
  shlibpath_var=LD_LIBRARY_PATH
17826
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17827
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17828
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17829
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17830
 
  # libtool to hard-code these into programs
17831
 
  ;;
17832
 
 
17833
 
cygwin* | mingw* | pw32*)
17834
 
  version_type=windows
17835
 
  shrext_cmds=".dll"
17836
 
  need_version=no
17837
 
  need_lib_prefix=no
17838
 
 
17839
 
  case $GCC,$host_os in
17840
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17841
 
    library_names_spec='$libname.dll.a'
17842
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17843
 
    postinstall_cmds='base_file=`basename \${file}`~
17844
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17845
 
      dldir=$destdir/`dirname \$dlpath`~
17846
 
      test -d \$dldir || mkdir -p \$dldir~
17847
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17848
 
      chmod a+x \$dldir/$dlname'
17849
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17850
 
      dlpath=$dir/\$dldll~
17851
 
       $rm \$dlpath'
17852
 
    shlibpath_overrides_runpath=yes
17853
 
 
17854
 
    case $host_os in
17855
 
    cygwin*)
17856
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17857
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17858
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17859
 
      ;;
17860
 
    mingw*)
17861
 
      # MinGW DLLs use traditional 'lib' prefix
17862
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17863
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17864
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17865
 
        # It is most probably a Windows format PATH printed by
17866
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17867
 
        # path with ; separators, and with drive letters. We can handle the
17868
 
        # drive letters (cygwin fileutils understands them), so leave them,
17869
 
        # especially as we might pass files found there to a mingw objdump,
17870
 
        # which wouldn't understand a cygwinified path. Ahh.
17871
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17872
 
      else
17873
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17874
 
      fi
17875
 
      ;;
17876
 
    pw32*)
17877
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17878
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17879
 
      ;;
17880
 
    esac
17881
 
    ;;
17882
 
 
17883
 
  *)
17884
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17885
 
    ;;
17886
 
  esac
17887
 
  dynamic_linker='Win32 ld.exe'
17888
 
  # FIXME: first we should search . and the directory the executable is in
17889
 
  shlibpath_var=PATH
17890
 
  ;;
17891
 
 
17892
 
darwin* | rhapsody*)
17893
 
  dynamic_linker="$host_os dyld"
17894
 
  version_type=darwin
17895
 
  need_lib_prefix=no
17896
 
  need_version=no
17897
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17898
 
  soname_spec='${libname}${release}${major}$shared_ext'
17899
 
  shlibpath_overrides_runpath=yes
17900
 
  shlibpath_var=DYLD_LIBRARY_PATH
17901
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17902
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17903
 
  if test "$GCC" = yes; then
17904
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17905
 
  else
17906
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17907
 
  fi
17908
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17909
 
  ;;
17910
 
 
17911
 
dgux*)
17912
 
  version_type=linux
17913
 
  need_lib_prefix=no
17914
 
  need_version=no
17915
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17916
 
  soname_spec='${libname}${release}${shared_ext}$major'
17917
 
  shlibpath_var=LD_LIBRARY_PATH
17918
 
  ;;
17919
 
 
17920
 
freebsd1*)
17921
 
  dynamic_linker=no
17922
 
  ;;
17923
 
 
17924
 
kfreebsd*-gnu)
17925
 
  version_type=linux
17926
 
  need_lib_prefix=no
17927
 
  need_version=no
17928
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17929
 
  soname_spec='${libname}${release}${shared_ext}$major'
17930
 
  shlibpath_var=LD_LIBRARY_PATH
17931
 
  shlibpath_overrides_runpath=no
17932
 
  hardcode_into_libs=yes
17933
 
  dynamic_linker='GNU ld.so'
17934
 
  ;;
17935
 
 
17936
 
freebsd* | dragonfly*)
17937
 
  # DragonFly does not have aout.  When/if they implement a new
17938
 
  # versioning mechanism, adjust this.
17939
 
  if test -x /usr/bin/objformat; then
17940
 
    objformat=`/usr/bin/objformat`
17941
 
  else
17942
 
    case $host_os in
17943
 
    freebsd[123]*) objformat=aout ;;
17944
 
    *) objformat=elf ;;
17945
 
    esac
17946
 
  fi
17947
 
  version_type=freebsd-$objformat
17948
 
  case $version_type in
17949
 
    freebsd-elf*)
17950
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17951
 
      need_version=no
17952
 
      need_lib_prefix=no
17953
 
      ;;
17954
 
    freebsd-*)
17955
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17956
 
      need_version=yes
17957
 
      ;;
17958
 
  esac
17959
 
  shlibpath_var=LD_LIBRARY_PATH
17960
 
  case $host_os in
17961
 
  freebsd2*)
17962
 
    shlibpath_overrides_runpath=yes
17963
 
    ;;
17964
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17965
 
    shlibpath_overrides_runpath=yes
17966
 
    hardcode_into_libs=yes
17967
 
    ;;
17968
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17969
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17970
 
    shlibpath_overrides_runpath=no
17971
 
    hardcode_into_libs=yes
17972
 
    ;;
17973
 
  freebsd*) # from 4.6 on
17974
 
    shlibpath_overrides_runpath=yes
17975
 
    hardcode_into_libs=yes
17976
 
    ;;
17977
 
  esac
17978
 
  ;;
17979
 
 
17980
 
gnu*)
17981
 
  version_type=linux
17982
 
  need_lib_prefix=no
17983
 
  need_version=no
17984
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17985
 
  soname_spec='${libname}${release}${shared_ext}$major'
17986
 
  shlibpath_var=LD_LIBRARY_PATH
17987
 
  hardcode_into_libs=yes
17988
 
  ;;
17989
 
 
17990
 
hpux9* | hpux10* | hpux11*)
17991
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17992
 
  # link against other versions.
17993
 
  version_type=sunos
17994
 
  need_lib_prefix=no
17995
 
  need_version=no
17996
 
  case $host_cpu in
17997
 
  ia64*)
17998
 
    shrext_cmds='.so'
17999
 
    hardcode_into_libs=yes
18000
 
    dynamic_linker="$host_os dld.so"
18001
 
    shlibpath_var=LD_LIBRARY_PATH
18002
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18003
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18004
 
    soname_spec='${libname}${release}${shared_ext}$major'
18005
 
    if test "X$HPUX_IA64_MODE" = X32; then
18006
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18007
 
    else
18008
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18009
 
    fi
18010
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18011
 
    ;;
18012
 
   hppa*64*)
18013
 
     shrext_cmds='.sl'
18014
 
     hardcode_into_libs=yes
18015
 
     dynamic_linker="$host_os dld.sl"
18016
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18017
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18018
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18019
 
     soname_spec='${libname}${release}${shared_ext}$major'
18020
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18021
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18022
 
     ;;
18023
 
   *)
18024
 
    shrext_cmds='.sl'
18025
 
    dynamic_linker="$host_os dld.sl"
18026
 
    shlibpath_var=SHLIB_PATH
18027
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18028
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18029
 
    soname_spec='${libname}${release}${shared_ext}$major'
18030
 
    ;;
18031
 
  esac
18032
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18033
 
  postinstall_cmds='chmod 555 $lib'
18034
 
  ;;
18035
 
 
18036
 
interix3*)
18037
 
  version_type=linux
18038
 
  need_lib_prefix=no
18039
 
  need_version=no
18040
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18041
 
  soname_spec='${libname}${release}${shared_ext}$major'
18042
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18043
 
  shlibpath_var=LD_LIBRARY_PATH
18044
 
  shlibpath_overrides_runpath=no
18045
 
  hardcode_into_libs=yes
18046
 
  ;;
18047
 
 
18048
 
irix5* | irix6* | nonstopux*)
18049
 
  case $host_os in
18050
 
    nonstopux*) version_type=nonstopux ;;
18051
 
    *)
18052
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18053
 
                version_type=linux
18054
 
        else
18055
 
                version_type=irix
18056
 
        fi ;;
18057
 
  esac
18058
 
  need_lib_prefix=no
18059
 
  need_version=no
18060
 
  soname_spec='${libname}${release}${shared_ext}$major'
18061
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18062
 
  case $host_os in
18063
 
  irix5* | nonstopux*)
18064
 
    libsuff= shlibsuff=
18065
 
    ;;
18066
 
  *)
18067
 
    case $LD in # libtool.m4 will add one of these switches to LD
18068
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18069
 
      libsuff= shlibsuff= libmagic=32-bit;;
18070
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18071
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18072
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18073
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18074
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18075
 
    esac
18076
 
    ;;
18077
 
  esac
18078
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18079
 
  shlibpath_overrides_runpath=no
18080
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18081
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18082
 
  hardcode_into_libs=yes
18083
 
  ;;
18084
 
 
18085
 
# No shared lib support for Linux oldld, aout, or coff.
18086
 
linux*oldld* | linux*aout* | linux*coff*)
18087
 
  dynamic_linker=no
18088
 
  ;;
18089
 
 
18090
 
# This must be Linux ELF.
18091
 
linux*)
18092
 
  version_type=linux
18093
 
  need_lib_prefix=no
18094
 
  need_version=no
18095
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18096
 
  soname_spec='${libname}${release}${shared_ext}$major'
18097
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18098
 
  shlibpath_var=LD_LIBRARY_PATH
18099
 
  shlibpath_overrides_runpath=no
18100
 
  # This implies no fast_install, which is unacceptable.
18101
 
  # Some rework will be needed to allow for fast_install
18102
 
  # before this can be enabled.
18103
 
  hardcode_into_libs=yes
18104
 
 
18105
 
  # find out which ABI we are using
18106
 
  libsuff=
18107
 
  case "$host_cpu" in
18108
 
  x86_64*|s390x*|powerpc64*)
18109
 
    echo '#line 18109 "configure"' > conftest.$ac_ext
18110
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111
 
  (eval $ac_compile) 2>&5
18112
 
  ac_status=$?
18113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114
 
  (exit $ac_status); }; then
18115
 
      case `/usr/bin/file conftest.$ac_objext` in
18116
 
      *64-bit*)
18117
 
        libsuff=64
18118
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18119
 
        ;;
18120
 
      esac
18121
 
    fi
18122
 
    rm -rf conftest*
18123
 
    ;;
18124
 
  esac
18125
 
 
18126
 
  # Append ld.so.conf contents to the search path
18127
 
  if test -f /etc/ld.so.conf; then
18128
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18129
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18130
 
  fi
18131
 
 
18132
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18133
 
  # powerpc, because MkLinux only supported shared libraries with the
18134
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18135
 
  # most powerpc-linux boxes support dynamic linking these days and
18136
 
  # people can always --disable-shared, the test was removed, and we
18137
 
  # assume the GNU/Linux dynamic linker is in use.
18138
 
  dynamic_linker='GNU/Linux ld.so'
18139
 
  ;;
18140
 
 
18141
 
knetbsd*-gnu)
18142
 
  version_type=linux
18143
 
  need_lib_prefix=no
18144
 
  need_version=no
18145
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18146
 
  soname_spec='${libname}${release}${shared_ext}$major'
18147
 
  shlibpath_var=LD_LIBRARY_PATH
18148
 
  shlibpath_overrides_runpath=no
18149
 
  hardcode_into_libs=yes
18150
 
  dynamic_linker='GNU ld.so'
18151
 
  ;;
18152
 
 
18153
 
netbsd*)
18154
 
  version_type=sunos
18155
 
  need_lib_prefix=no
18156
 
  need_version=no
18157
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18158
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18159
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18160
 
    dynamic_linker='NetBSD (a.out) ld.so'
18161
 
  else
18162
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18163
 
    soname_spec='${libname}${release}${shared_ext}$major'
18164
 
    dynamic_linker='NetBSD ld.elf_so'
18165
 
  fi
18166
 
  shlibpath_var=LD_LIBRARY_PATH
18167
 
  shlibpath_overrides_runpath=yes
18168
 
  hardcode_into_libs=yes
18169
 
  ;;
18170
 
 
18171
 
newsos6)
18172
 
  version_type=linux
18173
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18174
 
  shlibpath_var=LD_LIBRARY_PATH
18175
 
  shlibpath_overrides_runpath=yes
18176
 
  ;;
18177
 
 
18178
 
nto-qnx*)
18179
 
  version_type=linux
18180
 
  need_lib_prefix=no
18181
 
  need_version=no
18182
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18183
 
  soname_spec='${libname}${release}${shared_ext}$major'
18184
 
  shlibpath_var=LD_LIBRARY_PATH
18185
 
  shlibpath_overrides_runpath=yes
18186
 
  ;;
18187
 
 
18188
 
openbsd*)
18189
 
  version_type=sunos
18190
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18191
 
  need_lib_prefix=no
18192
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18193
 
  case $host_os in
18194
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18195
 
    *)                         need_version=no  ;;
18196
 
  esac
18197
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18198
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18199
 
  shlibpath_var=LD_LIBRARY_PATH
18200
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18201
 
    case $host_os in
18202
 
      openbsd2.[89] | openbsd2.[89].*)
18203
 
        shlibpath_overrides_runpath=no
18204
 
        ;;
18205
 
      *)
18206
 
        shlibpath_overrides_runpath=yes
18207
 
        ;;
18208
 
      esac
18209
 
  else
18210
 
    shlibpath_overrides_runpath=yes
18211
 
  fi
18212
 
  ;;
18213
 
 
18214
 
os2*)
18215
 
  libname_spec='$name'
18216
 
  shrext_cmds=".dll"
18217
 
  need_lib_prefix=no
18218
 
  library_names_spec='$libname${shared_ext} $libname.a'
18219
 
  dynamic_linker='OS/2 ld.exe'
18220
 
  shlibpath_var=LIBPATH
18221
 
  ;;
18222
 
 
18223
 
osf3* | osf4* | osf5*)
18224
 
  version_type=osf
18225
 
  need_lib_prefix=no
18226
 
  need_version=no
18227
 
  soname_spec='${libname}${release}${shared_ext}$major'
18228
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18229
 
  shlibpath_var=LD_LIBRARY_PATH
18230
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18231
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18232
 
  ;;
18233
 
 
18234
 
solaris*)
18235
 
  version_type=linux
18236
 
  need_lib_prefix=no
18237
 
  need_version=no
18238
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18239
 
  soname_spec='${libname}${release}${shared_ext}$major'
18240
 
  shlibpath_var=LD_LIBRARY_PATH
18241
 
  shlibpath_overrides_runpath=yes
18242
 
  hardcode_into_libs=yes
18243
 
  # ldd complains unless libraries are executable
18244
 
  postinstall_cmds='chmod +x $lib'
18245
 
  ;;
18246
 
 
18247
 
sunos4*)
18248
 
  version_type=sunos
18249
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18250
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18251
 
  shlibpath_var=LD_LIBRARY_PATH
18252
 
  shlibpath_overrides_runpath=yes
18253
 
  if test "$with_gnu_ld" = yes; then
18254
 
    need_lib_prefix=no
18255
 
  fi
18256
 
  need_version=yes
18257
 
  ;;
18258
 
 
18259
 
sysv4 | sysv4.3*)
18260
 
  version_type=linux
18261
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18262
 
  soname_spec='${libname}${release}${shared_ext}$major'
18263
 
  shlibpath_var=LD_LIBRARY_PATH
18264
 
  case $host_vendor in
18265
 
    sni)
18266
 
      shlibpath_overrides_runpath=no
18267
 
      need_lib_prefix=no
18268
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18269
 
      runpath_var=LD_RUN_PATH
18270
 
      ;;
18271
 
    siemens)
18272
 
      need_lib_prefix=no
18273
 
      ;;
18274
 
    motorola)
18275
 
      need_lib_prefix=no
18276
 
      need_version=no
18277
 
      shlibpath_overrides_runpath=no
18278
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18279
 
      ;;
18280
 
  esac
18281
 
  ;;
18282
 
 
18283
 
sysv4*MP*)
18284
 
  if test -d /usr/nec ;then
18285
 
    version_type=linux
18286
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18287
 
    soname_spec='$libname${shared_ext}.$major'
18288
 
    shlibpath_var=LD_LIBRARY_PATH
18289
 
  fi
18290
 
  ;;
18291
 
 
18292
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18293
 
  version_type=freebsd-elf
18294
 
  need_lib_prefix=no
18295
 
  need_version=no
18296
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18297
 
  soname_spec='${libname}${release}${shared_ext}$major'
18298
 
  shlibpath_var=LD_LIBRARY_PATH
18299
 
  hardcode_into_libs=yes
18300
 
  if test "$with_gnu_ld" = yes; then
18301
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18302
 
    shlibpath_overrides_runpath=no
18303
 
  else
18304
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18305
 
    shlibpath_overrides_runpath=yes
18306
 
    case $host_os in
18307
 
      sco3.2v5*)
18308
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18309
 
        ;;
18310
 
    esac
18311
 
  fi
18312
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18313
 
  ;;
18314
 
 
18315
 
uts4*)
18316
 
  version_type=linux
18317
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18318
 
  soname_spec='${libname}${release}${shared_ext}$major'
18319
 
  shlibpath_var=LD_LIBRARY_PATH
18320
 
  ;;
18321
 
 
18322
 
*)
18323
 
  dynamic_linker=no
18324
 
  ;;
18325
 
esac
18326
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18327
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18328
 
test "$dynamic_linker" = no && can_build_shared=no
18329
 
 
18330
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18331
 
if test "$GCC" = yes; then
18332
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18333
 
fi
18334
 
 
18335
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18336
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18337
 
hardcode_action_GCJ=
18338
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18339
 
   test -n "$runpath_var_GCJ" || \
18340
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18341
 
 
18342
 
  # We can hardcode non-existant directories.
18343
 
  if test "$hardcode_direct_GCJ" != no &&
18344
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18345
 
     # have to relink, otherwise we might link with an installed library
18346
 
     # when we should be linking with a yet-to-be-installed one
18347
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18348
 
     test "$hardcode_minus_L_GCJ" != no; then
18349
 
    # Linking always hardcodes the temporary library directory.
18350
 
    hardcode_action_GCJ=relink
18351
 
  else
18352
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18353
 
    hardcode_action_GCJ=immediate
18354
 
  fi
18355
 
else
18356
 
  # We cannot hardcode anything, or else we can only hardcode existing
18357
 
  # directories.
18358
 
  hardcode_action_GCJ=unsupported
18359
 
fi
18360
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18361
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18362
 
 
18363
 
if test "$hardcode_action_GCJ" = relink; then
18364
 
  # Fast installation is not supported
18365
 
  enable_fast_install=no
18366
 
elif test "$shlibpath_overrides_runpath" = yes ||
18367
 
     test "$enable_shared" = no; then
18368
 
  # Fast installation is not necessary
18369
 
  enable_fast_install=needless
18370
 
fi
18371
 
 
18372
 
 
18373
 
# The else clause should only fire when bootstrapping the
18374
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18375
 
# with your package, and you will get complaints that there are
18376
 
# no rules to generate ltmain.sh.
18377
 
if test -f "$ltmain"; then
18378
 
  # See if we are running on zsh, and set the options which allow our commands through
18379
 
  # without removal of \ escapes.
18380
 
  if test -n "${ZSH_VERSION+set}" ; then
18381
 
    setopt NO_GLOB_SUBST
18382
 
  fi
18383
 
  # Now quote all the things that may contain metacharacters while being
18384
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18385
 
  # variables and quote the copies for generation of the libtool script.
18386
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18387
 
    SED SHELL STRIP \
18388
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18389
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18390
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18391
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18392
 
    lt_cv_sys_global_symbol_to_c_name_address \
18393
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18394
 
    old_postinstall_cmds old_postuninstall_cmds \
18395
 
    compiler_GCJ \
18396
 
    CC_GCJ \
18397
 
    LD_GCJ \
18398
 
    lt_prog_compiler_wl_GCJ \
18399
 
    lt_prog_compiler_pic_GCJ \
18400
 
    lt_prog_compiler_static_GCJ \
18401
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18402
 
    export_dynamic_flag_spec_GCJ \
18403
 
    thread_safe_flag_spec_GCJ \
18404
 
    whole_archive_flag_spec_GCJ \
18405
 
    enable_shared_with_static_runtimes_GCJ \
18406
 
    old_archive_cmds_GCJ \
18407
 
    old_archive_from_new_cmds_GCJ \
18408
 
    predep_objects_GCJ \
18409
 
    postdep_objects_GCJ \
18410
 
    predeps_GCJ \
18411
 
    postdeps_GCJ \
18412
 
    compiler_lib_search_path_GCJ \
18413
 
    archive_cmds_GCJ \
18414
 
    archive_expsym_cmds_GCJ \
18415
 
    postinstall_cmds_GCJ \
18416
 
    postuninstall_cmds_GCJ \
18417
 
    old_archive_from_expsyms_cmds_GCJ \
18418
 
    allow_undefined_flag_GCJ \
18419
 
    no_undefined_flag_GCJ \
18420
 
    export_symbols_cmds_GCJ \
18421
 
    hardcode_libdir_flag_spec_GCJ \
18422
 
    hardcode_libdir_flag_spec_ld_GCJ \
18423
 
    hardcode_libdir_separator_GCJ \
18424
 
    hardcode_automatic_GCJ \
18425
 
    module_cmds_GCJ \
18426
 
    module_expsym_cmds_GCJ \
18427
 
    lt_cv_prog_compiler_c_o_GCJ \
18428
 
    exclude_expsyms_GCJ \
18429
 
    include_expsyms_GCJ; do
18430
 
 
18431
 
    case $var in
18432
 
    old_archive_cmds_GCJ | \
18433
 
    old_archive_from_new_cmds_GCJ | \
18434
 
    archive_cmds_GCJ | \
18435
 
    archive_expsym_cmds_GCJ | \
18436
 
    module_cmds_GCJ | \
18437
 
    module_expsym_cmds_GCJ | \
18438
 
    old_archive_from_expsyms_cmds_GCJ | \
18439
 
    export_symbols_cmds_GCJ | \
18440
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18441
 
    postinstall_cmds | postuninstall_cmds | \
18442
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18443
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18444
 
      # Double-quote double-evaled strings.
18445
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18446
 
      ;;
18447
 
    *)
18448
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18449
 
      ;;
18450
 
    esac
18451
 
  done
18452
 
 
18453
 
  case $lt_echo in
18454
 
  *'\$0 --fallback-echo"')
18455
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18456
 
    ;;
18457
 
  esac
18458
 
 
18459
 
cfgfile="$ofile"
18460
 
 
18461
 
  cat <<__EOF__ >> "$cfgfile"
18462
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18463
 
 
18464
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18465
 
 
18466
 
# Shell to use when invoking shell scripts.
18467
 
SHELL=$lt_SHELL
18468
 
 
18469
 
# Whether or not to build shared libraries.
18470
 
build_libtool_libs=$enable_shared
18471
 
 
18472
 
# Whether or not to build static libraries.
18473
 
build_old_libs=$enable_static
18474
 
 
18475
 
# Whether or not to add -lc for building shared libraries.
18476
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18477
 
 
18478
 
# Whether or not to disallow shared libs when runtime libs are static
18479
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18480
 
 
18481
 
# Whether or not to optimize for fast installation.
18482
 
fast_install=$enable_fast_install
18483
 
 
18484
 
# The host system.
18485
 
host_alias=$host_alias
18486
 
host=$host
18487
 
host_os=$host_os
18488
 
 
18489
 
# The build system.
18490
 
build_alias=$build_alias
18491
 
build=$build
18492
 
build_os=$build_os
18493
 
 
18494
 
# An echo program that does not interpret backslashes.
18495
 
echo=$lt_echo
18496
 
 
18497
 
# The archiver.
18498
 
AR=$lt_AR
18499
 
AR_FLAGS=$lt_AR_FLAGS
18500
 
 
18501
 
# A C compiler.
18502
 
LTCC=$lt_LTCC
18503
 
 
18504
 
# LTCC compiler flags.
18505
 
LTCFLAGS=$lt_LTCFLAGS
18506
 
 
18507
 
# A language-specific compiler.
18508
 
CC=$lt_compiler_GCJ
18509
 
 
18510
 
# Is the compiler the GNU C compiler?
18511
 
with_gcc=$GCC_GCJ
18512
 
 
18513
 
# An ERE matcher.
18514
 
EGREP=$lt_EGREP
18515
 
 
18516
 
# The linker used to build libraries.
18517
 
LD=$lt_LD_GCJ
18518
 
 
18519
 
# Whether we need hard or soft links.
18520
 
LN_S=$lt_LN_S
18521
 
 
18522
 
# A BSD-compatible nm program.
18523
 
NM=$lt_NM
18524
 
 
18525
 
# A symbol stripping program
18526
 
STRIP=$lt_STRIP
18527
 
 
18528
 
# Used to examine libraries when file_magic_cmd begins "file"
18529
 
MAGIC_CMD=$MAGIC_CMD
18530
 
 
18531
 
# Used on cygwin: DLL creation program.
18532
 
DLLTOOL="$DLLTOOL"
18533
 
 
18534
 
# Used on cygwin: object dumper.
18535
 
OBJDUMP="$OBJDUMP"
18536
 
 
18537
 
# Used on cygwin: assembler.
18538
 
AS="$AS"
18539
 
 
18540
 
# The name of the directory that contains temporary libtool files.
18541
 
objdir=$objdir
18542
 
 
18543
 
# How to create reloadable object files.
18544
 
reload_flag=$lt_reload_flag
18545
 
reload_cmds=$lt_reload_cmds
18546
 
 
18547
 
# How to pass a linker flag through the compiler.
18548
 
wl=$lt_lt_prog_compiler_wl_GCJ
18549
 
 
18550
 
# Object file suffix (normally "o").
18551
 
objext="$ac_objext"
18552
 
 
18553
 
# Old archive suffix (normally "a").
18554
 
libext="$libext"
18555
 
 
18556
 
# Shared library suffix (normally ".so").
18557
 
shrext_cmds='$shrext_cmds'
18558
 
 
18559
 
# Executable file suffix (normally "").
18560
 
exeext="$exeext"
18561
 
 
18562
 
# Additional compiler flags for building library objects.
18563
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18564
 
pic_mode=$pic_mode
18565
 
 
18566
 
# What is the maximum length of a command?
18567
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18568
 
 
18569
 
# Does compiler simultaneously support -c and -o options?
18570
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18571
 
 
18572
 
# Must we lock files when doing compilation?
18573
 
need_locks=$lt_need_locks
18574
 
 
18575
 
# Do we need the lib prefix for modules?
18576
 
need_lib_prefix=$need_lib_prefix
18577
 
 
18578
 
# Do we need a version for libraries?
18579
 
need_version=$need_version
18580
 
 
18581
 
# Whether dlopen is supported.
18582
 
dlopen_support=$enable_dlopen
18583
 
 
18584
 
# Whether dlopen of programs is supported.
18585
 
dlopen_self=$enable_dlopen_self
18586
 
 
18587
 
# Whether dlopen of statically linked programs is supported.
18588
 
dlopen_self_static=$enable_dlopen_self_static
18589
 
 
18590
 
# Compiler flag to prevent dynamic linking.
18591
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18592
 
 
18593
 
# Compiler flag to turn off builtin functions.
18594
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18595
 
 
18596
 
# Compiler flag to allow reflexive dlopens.
18597
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18598
 
 
18599
 
# Compiler flag to generate shared objects directly from archives.
18600
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18601
 
 
18602
 
# Compiler flag to generate thread-safe objects.
18603
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18604
 
 
18605
 
# Library versioning type.
18606
 
version_type=$version_type
18607
 
 
18608
 
# Format of library name prefix.
18609
 
libname_spec=$lt_libname_spec
18610
 
 
18611
 
# List of archive names.  First name is the real one, the rest are links.
18612
 
# The last name is the one that the linker finds with -lNAME.
18613
 
library_names_spec=$lt_library_names_spec
18614
 
 
18615
 
# The coded name of the library, if different from the real name.
18616
 
soname_spec=$lt_soname_spec
18617
 
 
18618
 
# Commands used to build and install an old-style archive.
18619
 
RANLIB=$lt_RANLIB
18620
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
18621
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18622
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18623
 
 
18624
 
# Create an old-style archive from a shared archive.
18625
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18626
 
 
18627
 
# Create a temporary old-style archive to link instead of a shared archive.
18628
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18629
 
 
18630
 
# Commands used to build and install a shared archive.
18631
 
archive_cmds=$lt_archive_cmds_GCJ
18632
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18633
 
postinstall_cmds=$lt_postinstall_cmds
18634
 
postuninstall_cmds=$lt_postuninstall_cmds
18635
 
 
18636
 
# Commands used to build a loadable module (assumed same as above if empty)
18637
 
module_cmds=$lt_module_cmds_GCJ
18638
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18639
 
 
18640
 
# Commands to strip libraries.
18641
 
old_striplib=$lt_old_striplib
18642
 
striplib=$lt_striplib
18643
 
 
18644
 
# Dependencies to place before the objects being linked to create a
18645
 
# shared library.
18646
 
predep_objects=$lt_predep_objects_GCJ
18647
 
 
18648
 
# Dependencies to place after the objects being linked to create a
18649
 
# shared library.
18650
 
postdep_objects=$lt_postdep_objects_GCJ
18651
 
 
18652
 
# Dependencies to place before the objects being linked to create a
18653
 
# shared library.
18654
 
predeps=$lt_predeps_GCJ
18655
 
 
18656
 
# Dependencies to place after the objects being linked to create a
18657
 
# shared library.
18658
 
postdeps=$lt_postdeps_GCJ
18659
 
 
18660
 
# The library search path used internally by the compiler when linking
18661
 
# a shared library.
18662
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18663
 
 
18664
 
# Method to check whether dependent libraries are shared objects.
18665
 
deplibs_check_method=$lt_deplibs_check_method
18666
 
 
18667
 
# Command to use when deplibs_check_method == file_magic.
18668
 
file_magic_cmd=$lt_file_magic_cmd
18669
 
 
18670
 
# Flag that allows shared libraries with undefined symbols to be built.
18671
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18672
 
 
18673
 
# Flag that forces no undefined symbols.
18674
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
18675
 
 
18676
 
# Commands used to finish a libtool library installation in a directory.
18677
 
finish_cmds=$lt_finish_cmds
18678
 
 
18679
 
# Same as above, but a single script fragment to be evaled but not shown.
18680
 
finish_eval=$lt_finish_eval
18681
 
 
18682
 
# Take the output of nm and produce a listing of raw symbols and C names.
18683
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18684
 
 
18685
 
# Transform the output of nm in a proper C declaration
18686
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18687
 
 
18688
 
# Transform the output of nm in a C name address pair
18689
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18690
 
 
18691
 
# This is the shared library runtime path variable.
18692
 
runpath_var=$runpath_var
18693
 
 
18694
 
# This is the shared library path variable.
18695
 
shlibpath_var=$shlibpath_var
18696
 
 
18697
 
# Is shlibpath searched before the hard-coded library search path?
18698
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18699
 
 
18700
 
# How to hardcode a shared library path into an executable.
18701
 
hardcode_action=$hardcode_action_GCJ
18702
 
 
18703
 
# Whether we should hardcode library paths into libraries.
18704
 
hardcode_into_libs=$hardcode_into_libs
18705
 
 
18706
 
# Flag to hardcode \$libdir into a binary during linking.
18707
 
# This must work even if \$libdir does not exist.
18708
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18709
 
 
18710
 
# If ld is used when linking, flag to hardcode \$libdir into
18711
 
# a binary during linking. This must work even if \$libdir does
18712
 
# not exist.
18713
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18714
 
 
18715
 
# Whether we need a single -rpath flag with a separated argument.
18716
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18717
 
 
18718
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18719
 
# resulting binary.
18720
 
hardcode_direct=$hardcode_direct_GCJ
18721
 
 
18722
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18723
 
# resulting binary.
18724
 
hardcode_minus_L=$hardcode_minus_L_GCJ
18725
 
 
18726
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18727
 
# the resulting binary.
18728
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18729
 
 
18730
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18731
 
# and all subsequent libraries and executables linked against it.
18732
 
hardcode_automatic=$hardcode_automatic_GCJ
18733
 
 
18734
 
# Variables whose values should be saved in libtool wrapper scripts and
18735
 
# restored at relink time.
18736
 
variables_saved_for_relink="$variables_saved_for_relink"
18737
 
 
18738
 
# Whether libtool must link a program against all its dependency libraries.
18739
 
link_all_deplibs=$link_all_deplibs_GCJ
18740
 
 
18741
 
# Compile-time system search path for libraries
18742
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18743
 
 
18744
 
# Run-time system search path for libraries
18745
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18746
 
 
18747
 
# Fix the shell variable \$srcfile for the compiler.
18748
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
18749
 
 
18750
 
# Set to yes if exported symbols are required.
18751
 
always_export_symbols=$always_export_symbols_GCJ
18752
 
 
18753
 
# The commands to list exported symbols.
18754
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18755
 
 
18756
 
# The commands to extract the exported symbol list from a shared archive.
18757
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18758
 
 
18759
 
# Symbols that should not be listed in the preloaded symbols.
18760
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
18761
 
 
18762
 
# Symbols that must always be exported.
18763
 
include_expsyms=$lt_include_expsyms_GCJ
18764
 
 
18765
 
# ### END LIBTOOL TAG CONFIG: $tagname
18766
 
 
18767
 
__EOF__
18768
 
 
18769
 
 
18770
 
else
18771
 
  # If there is no Makefile yet, we rely on a make rule to execute
18772
 
  # `config.status --recheck' to rerun these tests and create the
18773
 
  # libtool script then.
18774
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18775
 
  if test -f "$ltmain_in"; then
18776
 
    test -f Makefile && make "$ltmain"
18777
 
  fi
18778
 
fi
18779
 
 
18780
 
 
18781
 
ac_ext=c
18782
 
ac_cpp='$CPP $CPPFLAGS'
18783
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18784
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18785
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18786
 
 
18787
 
CC="$lt_save_CC"
18788
 
 
18789
 
        else
18790
 
          tagname=""
18791
 
        fi
18792
 
        ;;
18793
 
 
18794
 
      RC)
18795
 
 
18796
 
 
18797
 
# Source file extension for RC test sources.
18798
 
ac_ext=rc
18799
 
 
18800
 
# Object file extension for compiled RC test sources.
18801
 
objext=o
18802
 
objext_RC=$objext
18803
 
 
18804
 
# Code to be used in simple compile tests
18805
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18806
 
 
18807
 
# Code to be used in simple link tests
18808
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
18809
 
 
18810
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18811
 
 
18812
 
# If no C compiler was specified, use CC.
18813
 
LTCC=${LTCC-"$CC"}
18814
 
 
18815
 
# If no C compiler flags were specified, use CFLAGS.
18816
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18817
 
 
18818
 
# Allow CC to be a program name with arguments.
18819
 
compiler=$CC
18820
 
 
18821
 
 
18822
 
# save warnings/boilerplate of simple test code
18823
 
ac_outfile=conftest.$ac_objext
18824
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18825
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18826
 
_lt_compiler_boilerplate=`cat conftest.err`
18827
 
$rm conftest*
18828
 
 
18829
 
ac_outfile=conftest.$ac_objext
18830
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
18831
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18832
 
_lt_linker_boilerplate=`cat conftest.err`
18833
 
$rm conftest*
18834
 
 
18835
 
 
18836
 
# Allow CC to be a program name with arguments.
18837
 
lt_save_CC="$CC"
18838
 
CC=${RC-"windres"}
18839
 
compiler=$CC
18840
 
compiler_RC=$CC
18841
 
for cc_temp in $compiler""; do
18842
 
  case $cc_temp in
18843
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18844
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18845
 
    \-*) ;;
18846
 
    *) break;;
18847
 
  esac
18848
 
done
18849
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18850
 
 
18851
 
lt_cv_prog_compiler_c_o_RC=yes
18852
 
 
18853
 
# The else clause should only fire when bootstrapping the
18854
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18855
 
# with your package, and you will get complaints that there are
18856
 
# no rules to generate ltmain.sh.
18857
 
if test -f "$ltmain"; then
18858
 
  # See if we are running on zsh, and set the options which allow our commands through
18859
 
  # without removal of \ escapes.
18860
 
  if test -n "${ZSH_VERSION+set}" ; then
18861
 
    setopt NO_GLOB_SUBST
18862
 
  fi
18863
 
  # Now quote all the things that may contain metacharacters while being
18864
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18865
 
  # variables and quote the copies for generation of the libtool script.
18866
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18867
 
    SED SHELL STRIP \
18868
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18869
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18870
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18871
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18872
 
    lt_cv_sys_global_symbol_to_c_name_address \
18873
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18874
 
    old_postinstall_cmds old_postuninstall_cmds \
18875
 
    compiler_RC \
18876
 
    CC_RC \
18877
 
    LD_RC \
18878
 
    lt_prog_compiler_wl_RC \
18879
 
    lt_prog_compiler_pic_RC \
18880
 
    lt_prog_compiler_static_RC \
18881
 
    lt_prog_compiler_no_builtin_flag_RC \
18882
 
    export_dynamic_flag_spec_RC \
18883
 
    thread_safe_flag_spec_RC \
18884
 
    whole_archive_flag_spec_RC \
18885
 
    enable_shared_with_static_runtimes_RC \
18886
 
    old_archive_cmds_RC \
18887
 
    old_archive_from_new_cmds_RC \
18888
 
    predep_objects_RC \
18889
 
    postdep_objects_RC \
18890
 
    predeps_RC \
18891
 
    postdeps_RC \
18892
 
    compiler_lib_search_path_RC \
18893
 
    archive_cmds_RC \
18894
 
    archive_expsym_cmds_RC \
18895
 
    postinstall_cmds_RC \
18896
 
    postuninstall_cmds_RC \
18897
 
    old_archive_from_expsyms_cmds_RC \
18898
 
    allow_undefined_flag_RC \
18899
 
    no_undefined_flag_RC \
18900
 
    export_symbols_cmds_RC \
18901
 
    hardcode_libdir_flag_spec_RC \
18902
 
    hardcode_libdir_flag_spec_ld_RC \
18903
 
    hardcode_libdir_separator_RC \
18904
 
    hardcode_automatic_RC \
18905
 
    module_cmds_RC \
18906
 
    module_expsym_cmds_RC \
18907
 
    lt_cv_prog_compiler_c_o_RC \
18908
 
    exclude_expsyms_RC \
18909
 
    include_expsyms_RC; do
18910
 
 
18911
 
    case $var in
18912
 
    old_archive_cmds_RC | \
18913
 
    old_archive_from_new_cmds_RC | \
18914
 
    archive_cmds_RC | \
18915
 
    archive_expsym_cmds_RC | \
18916
 
    module_cmds_RC | \
18917
 
    module_expsym_cmds_RC | \
18918
 
    old_archive_from_expsyms_cmds_RC | \
18919
 
    export_symbols_cmds_RC | \
18920
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18921
 
    postinstall_cmds | postuninstall_cmds | \
18922
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18923
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18924
 
      # Double-quote double-evaled strings.
18925
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18926
 
      ;;
18927
 
    *)
18928
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18929
 
      ;;
18930
 
    esac
18931
 
  done
18932
 
 
18933
 
  case $lt_echo in
18934
 
  *'\$0 --fallback-echo"')
18935
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18936
 
    ;;
18937
 
  esac
18938
 
 
18939
 
cfgfile="$ofile"
18940
 
 
18941
 
  cat <<__EOF__ >> "$cfgfile"
18942
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18943
 
 
18944
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18945
 
 
18946
 
# Shell to use when invoking shell scripts.
18947
 
SHELL=$lt_SHELL
18948
 
 
18949
 
# Whether or not to build shared libraries.
18950
 
build_libtool_libs=$enable_shared
18951
 
 
18952
 
# Whether or not to build static libraries.
18953
 
build_old_libs=$enable_static
18954
 
 
18955
 
# Whether or not to add -lc for building shared libraries.
18956
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
18957
 
 
18958
 
# Whether or not to disallow shared libs when runtime libs are static
18959
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18960
 
 
18961
 
# Whether or not to optimize for fast installation.
18962
 
fast_install=$enable_fast_install
18963
 
 
18964
 
# The host system.
18965
 
host_alias=$host_alias
18966
 
host=$host
18967
 
host_os=$host_os
18968
 
 
18969
 
# The build system.
18970
 
build_alias=$build_alias
18971
 
build=$build
18972
 
build_os=$build_os
18973
 
 
18974
 
# An echo program that does not interpret backslashes.
18975
 
echo=$lt_echo
18976
 
 
18977
 
# The archiver.
18978
 
AR=$lt_AR
18979
 
AR_FLAGS=$lt_AR_FLAGS
18980
 
 
18981
 
# A C compiler.
18982
 
LTCC=$lt_LTCC
18983
 
 
18984
 
# LTCC compiler flags.
18985
 
LTCFLAGS=$lt_LTCFLAGS
18986
 
 
18987
 
# A language-specific compiler.
18988
 
CC=$lt_compiler_RC
18989
 
 
18990
 
# Is the compiler the GNU C compiler?
18991
 
with_gcc=$GCC_RC
18992
 
 
18993
 
# An ERE matcher.
18994
 
EGREP=$lt_EGREP
18995
 
 
18996
 
# The linker used to build libraries.
18997
 
LD=$lt_LD_RC
18998
 
 
18999
 
# Whether we need hard or soft links.
19000
 
LN_S=$lt_LN_S
19001
 
 
19002
 
# A BSD-compatible nm program.
19003
 
NM=$lt_NM
19004
 
 
19005
 
# A symbol stripping program
19006
 
STRIP=$lt_STRIP
19007
 
 
19008
 
# Used to examine libraries when file_magic_cmd begins "file"
19009
 
MAGIC_CMD=$MAGIC_CMD
19010
 
 
19011
 
# Used on cygwin: DLL creation program.
19012
 
DLLTOOL="$DLLTOOL"
19013
 
 
19014
 
# Used on cygwin: object dumper.
19015
 
OBJDUMP="$OBJDUMP"
19016
 
 
19017
 
# Used on cygwin: assembler.
19018
 
AS="$AS"
19019
 
 
19020
 
# The name of the directory that contains temporary libtool files.
19021
 
objdir=$objdir
19022
 
 
19023
 
# How to create reloadable object files.
19024
 
reload_flag=$lt_reload_flag
19025
 
reload_cmds=$lt_reload_cmds
19026
 
 
19027
 
# How to pass a linker flag through the compiler.
19028
 
wl=$lt_lt_prog_compiler_wl_RC
19029
 
 
19030
 
# Object file suffix (normally "o").
19031
 
objext="$ac_objext"
19032
 
 
19033
 
# Old archive suffix (normally "a").
19034
 
libext="$libext"
19035
 
 
19036
 
# Shared library suffix (normally ".so").
19037
 
shrext_cmds='$shrext_cmds'
19038
 
 
19039
 
# Executable file suffix (normally "").
19040
 
exeext="$exeext"
19041
 
 
19042
 
# Additional compiler flags for building library objects.
19043
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19044
 
pic_mode=$pic_mode
19045
 
 
19046
 
# What is the maximum length of a command?
19047
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19048
 
 
19049
 
# Does compiler simultaneously support -c and -o options?
19050
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19051
 
 
19052
 
# Must we lock files when doing compilation?
19053
 
need_locks=$lt_need_locks
19054
 
 
19055
 
# Do we need the lib prefix for modules?
19056
 
need_lib_prefix=$need_lib_prefix
19057
 
 
19058
 
# Do we need a version for libraries?
19059
 
need_version=$need_version
19060
 
 
19061
 
# Whether dlopen is supported.
19062
 
dlopen_support=$enable_dlopen
19063
 
 
19064
 
# Whether dlopen of programs is supported.
19065
 
dlopen_self=$enable_dlopen_self
19066
 
 
19067
 
# Whether dlopen of statically linked programs is supported.
19068
 
dlopen_self_static=$enable_dlopen_self_static
19069
 
 
19070
 
# Compiler flag to prevent dynamic linking.
19071
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19072
 
 
19073
 
# Compiler flag to turn off builtin functions.
19074
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19075
 
 
19076
 
# Compiler flag to allow reflexive dlopens.
19077
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19078
 
 
19079
 
# Compiler flag to generate shared objects directly from archives.
19080
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19081
 
 
19082
 
# Compiler flag to generate thread-safe objects.
19083
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19084
 
 
19085
 
# Library versioning type.
19086
 
version_type=$version_type
19087
 
 
19088
 
# Format of library name prefix.
19089
 
libname_spec=$lt_libname_spec
19090
 
 
19091
 
# List of archive names.  First name is the real one, the rest are links.
19092
 
# The last name is the one that the linker finds with -lNAME.
19093
 
library_names_spec=$lt_library_names_spec
19094
 
 
19095
 
# The coded name of the library, if different from the real name.
19096
 
soname_spec=$lt_soname_spec
19097
 
 
19098
 
# Commands used to build and install an old-style archive.
19099
 
RANLIB=$lt_RANLIB
19100
 
old_archive_cmds=$lt_old_archive_cmds_RC
19101
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19102
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19103
 
 
19104
 
# Create an old-style archive from a shared archive.
19105
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19106
 
 
19107
 
# Create a temporary old-style archive to link instead of a shared archive.
19108
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19109
 
 
19110
 
# Commands used to build and install a shared archive.
19111
 
archive_cmds=$lt_archive_cmds_RC
19112
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19113
 
postinstall_cmds=$lt_postinstall_cmds
19114
 
postuninstall_cmds=$lt_postuninstall_cmds
19115
 
 
19116
 
# Commands used to build a loadable module (assumed same as above if empty)
19117
 
module_cmds=$lt_module_cmds_RC
19118
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19119
 
 
19120
 
# Commands to strip libraries.
19121
 
old_striplib=$lt_old_striplib
19122
 
striplib=$lt_striplib
19123
 
 
19124
 
# Dependencies to place before the objects being linked to create a
19125
 
# shared library.
19126
 
predep_objects=$lt_predep_objects_RC
19127
 
 
19128
 
# Dependencies to place after the objects being linked to create a
19129
 
# shared library.
19130
 
postdep_objects=$lt_postdep_objects_RC
19131
 
 
19132
 
# Dependencies to place before the objects being linked to create a
19133
 
# shared library.
19134
 
predeps=$lt_predeps_RC
19135
 
 
19136
 
# Dependencies to place after the objects being linked to create a
19137
 
# shared library.
19138
 
postdeps=$lt_postdeps_RC
19139
 
 
19140
 
# The library search path used internally by the compiler when linking
19141
 
# a shared library.
19142
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19143
 
 
19144
 
# Method to check whether dependent libraries are shared objects.
19145
 
deplibs_check_method=$lt_deplibs_check_method
19146
 
 
19147
 
# Command to use when deplibs_check_method == file_magic.
19148
 
file_magic_cmd=$lt_file_magic_cmd
19149
 
 
19150
 
# Flag that allows shared libraries with undefined symbols to be built.
19151
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19152
 
 
19153
 
# Flag that forces no undefined symbols.
19154
 
no_undefined_flag=$lt_no_undefined_flag_RC
19155
 
 
19156
 
# Commands used to finish a libtool library installation in a directory.
19157
 
finish_cmds=$lt_finish_cmds
19158
 
 
19159
 
# Same as above, but a single script fragment to be evaled but not shown.
19160
 
finish_eval=$lt_finish_eval
19161
 
 
19162
 
# Take the output of nm and produce a listing of raw symbols and C names.
19163
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19164
 
 
19165
 
# Transform the output of nm in a proper C declaration
19166
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19167
 
 
19168
 
# Transform the output of nm in a C name address pair
19169
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19170
 
 
19171
 
# This is the shared library runtime path variable.
19172
 
runpath_var=$runpath_var
19173
 
 
19174
 
# This is the shared library path variable.
19175
 
shlibpath_var=$shlibpath_var
19176
 
 
19177
 
# Is shlibpath searched before the hard-coded library search path?
19178
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19179
 
 
19180
 
# How to hardcode a shared library path into an executable.
19181
 
hardcode_action=$hardcode_action_RC
19182
 
 
19183
 
# Whether we should hardcode library paths into libraries.
19184
 
hardcode_into_libs=$hardcode_into_libs
19185
 
 
19186
 
# Flag to hardcode \$libdir into a binary during linking.
19187
 
# This must work even if \$libdir does not exist.
19188
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19189
 
 
19190
 
# If ld is used when linking, flag to hardcode \$libdir into
19191
 
# a binary during linking. This must work even if \$libdir does
19192
 
# not exist.
19193
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19194
 
 
19195
 
# Whether we need a single -rpath flag with a separated argument.
19196
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19197
 
 
19198
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19199
 
# resulting binary.
19200
 
hardcode_direct=$hardcode_direct_RC
19201
 
 
19202
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19203
 
# resulting binary.
19204
 
hardcode_minus_L=$hardcode_minus_L_RC
19205
 
 
19206
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19207
 
# the resulting binary.
19208
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19209
 
 
19210
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19211
 
# and all subsequent libraries and executables linked against it.
19212
 
hardcode_automatic=$hardcode_automatic_RC
19213
 
 
19214
 
# Variables whose values should be saved in libtool wrapper scripts and
19215
 
# restored at relink time.
19216
 
variables_saved_for_relink="$variables_saved_for_relink"
19217
 
 
19218
 
# Whether libtool must link a program against all its dependency libraries.
19219
 
link_all_deplibs=$link_all_deplibs_RC
19220
 
 
19221
 
# Compile-time system search path for libraries
19222
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19223
 
 
19224
 
# Run-time system search path for libraries
19225
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19226
 
 
19227
 
# Fix the shell variable \$srcfile for the compiler.
19228
 
fix_srcfile_path="$fix_srcfile_path_RC"
19229
 
 
19230
 
# Set to yes if exported symbols are required.
19231
 
always_export_symbols=$always_export_symbols_RC
19232
 
 
19233
 
# The commands to list exported symbols.
19234
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19235
 
 
19236
 
# The commands to extract the exported symbol list from a shared archive.
19237
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19238
 
 
19239
 
# Symbols that should not be listed in the preloaded symbols.
19240
 
exclude_expsyms=$lt_exclude_expsyms_RC
19241
 
 
19242
 
# Symbols that must always be exported.
19243
 
include_expsyms=$lt_include_expsyms_RC
19244
 
 
19245
 
# ### END LIBTOOL TAG CONFIG: $tagname
19246
 
 
19247
 
__EOF__
19248
 
 
19249
 
 
19250
 
else
19251
 
  # If there is no Makefile yet, we rely on a make rule to execute
19252
 
  # `config.status --recheck' to rerun these tests and create the
19253
 
  # libtool script then.
19254
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19255
 
  if test -f "$ltmain_in"; then
19256
 
    test -f Makefile && make "$ltmain"
19257
 
  fi
19258
 
fi
19259
 
 
19260
 
 
19261
 
ac_ext=c
19262
 
ac_cpp='$CPP $CPPFLAGS'
19263
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19264
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19265
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19266
 
 
19267
 
CC="$lt_save_CC"
19268
 
 
19269
 
        ;;
19270
 
 
19271
 
      *)
19272
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19273
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19274
 
   { (exit 1); exit 1; }; }
19275
 
        ;;
19276
 
      esac
19277
 
 
19278
 
      # Append the new tag name to the list of available tags.
19279
 
      if test -n "$tagname" ; then
19280
 
      available_tags="$available_tags $tagname"
19281
 
    fi
19282
 
    fi
19283
 
  done
19284
 
  IFS="$lt_save_ifs"
19285
 
 
19286
 
  # Now substitute the updated list of available tags.
19287
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19288
 
    mv "${ofile}T" "$ofile"
19289
 
    chmod +x "$ofile"
19290
 
  else
19291
 
    rm -f "${ofile}T"
19292
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19293
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19294
 
   { (exit 1); exit 1; }; }
19295
 
  fi
19296
 
fi
19297
 
 
19298
 
 
19299
 
 
19300
 
# This can be used to rebuild libtool when needed
19301
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19302
 
 
19303
 
# Always use our own libtool.
19304
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19305
 
 
19306
 
# Prevent multiple expansion
19307
 
 
19308
 
 
19309
 
 
19310
 
 
19311
 
 
19312
 
 
19313
 
 
19314
 
 
19315
 
 
19316
 
 
19317
 
 
19318
 
 
19319
 
 
19320
 
 
19321
 
 
19322
 
 
19323
 
 
19324
 
 
 
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
striplib=
 
11039
old_striplib=
 
11040
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11041
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11042
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11043
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11044
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11045
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11046
$as_echo "yes" >&6; }
 
11047
else
 
11048
# FIXME - insert some real tests, host_os isn't really good enough
 
11049
  case $host_os in
 
11050
  darwin*)
 
11051
    if test -n "$STRIP" ; then
 
11052
      striplib="$STRIP -x"
 
11053
      old_striplib="$STRIP -S"
 
11054
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11055
$as_echo "yes" >&6; }
 
11056
    else
 
11057
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11058
$as_echo "no" >&6; }
 
11059
    fi
 
11060
    ;;
 
11061
  *)
 
11062
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11063
$as_echo "no" >&6; }
 
11064
    ;;
 
11065
  esac
 
11066
fi
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
  # Report which library types will actually be built
 
11080
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11081
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11082
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11083
$as_echo "$can_build_shared" >&6; }
 
11084
 
 
11085
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11086
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11087
  test "$can_build_shared" = "no" && enable_shared=no
 
11088
 
 
11089
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11090
  # are all built from PIC.
 
11091
  case $host_os in
 
11092
  aix3*)
 
11093
    test "$enable_shared" = yes && enable_static=no
 
11094
    if test -n "$RANLIB"; then
 
11095
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11096
      postinstall_cmds='$RANLIB $lib'
 
11097
    fi
 
11098
    ;;
 
11099
 
 
11100
  aix[4-9]*)
 
11101
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11102
      test "$enable_shared" = yes && enable_static=no
 
11103
    fi
 
11104
    ;;
 
11105
  esac
 
11106
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11107
$as_echo "$enable_shared" >&6; }
 
11108
 
 
11109
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11110
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11111
  # Make sure either enable_shared or enable_static is yes.
 
11112
  test "$enable_shared" = yes || enable_static=yes
 
11113
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11114
$as_echo "$enable_static" >&6; }
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
fi
 
11120
ac_ext=c
 
11121
ac_cpp='$CPP $CPPFLAGS'
 
11122
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11123
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11124
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11125
 
 
11126
CC="$lt_save_CC"
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
        ac_config_commands="$ac_config_commands libtool"
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
# Only expand once:
19325
11146
 
19326
11147
 
19327
11148
ac_ext=c
19332
11153
if test -n "$ac_tool_prefix"; then
19333
11154
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19334
11155
set dummy ${ac_tool_prefix}gcc; ac_word=$2
19335
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19336
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11156
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11157
$as_echo_n "checking for $ac_word... " >&6; }
19337
11158
if test "${ac_cv_prog_CC+set}" = set; then
19338
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11159
  $as_echo_n "(cached) " >&6
19339
11160
else
19340
11161
  if test -n "$CC"; then
19341
11162
  ac_cv_prog_CC="$CC" # Let the user override the test.
19348
11169
  for ac_exec_ext in '' $ac_executable_extensions; do
19349
11170
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19350
11171
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
19351
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11172
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19352
11173
    break 2
19353
11174
  fi
19354
11175
done
19359
11180
fi
19360
11181
CC=$ac_cv_prog_CC
19361
11182
if test -n "$CC"; then
19362
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19363
 
echo "${ECHO_T}$CC" >&6; }
 
11183
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11184
$as_echo "$CC" >&6; }
19364
11185
else
19365
 
  { echo "$as_me:$LINENO: result: no" >&5
19366
 
echo "${ECHO_T}no" >&6; }
 
11186
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11187
$as_echo "no" >&6; }
19367
11188
fi
19368
11189
 
19369
11190
 
19372
11193
  ac_ct_CC=$CC
19373
11194
  # Extract the first word of "gcc", so it can be a program name with args.
19374
11195
set dummy gcc; ac_word=$2
19375
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19376
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11196
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11197
$as_echo_n "checking for $ac_word... " >&6; }
19377
11198
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11199
  $as_echo_n "(cached) " >&6
19379
11200
else
19380
11201
  if test -n "$ac_ct_CC"; then
19381
11202
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19388
11209
  for ac_exec_ext in '' $ac_executable_extensions; do
19389
11210
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19390
11211
    ac_cv_prog_ac_ct_CC="gcc"
19391
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11212
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19392
11213
    break 2
19393
11214
  fi
19394
11215
done
19399
11220
fi
19400
11221
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19401
11222
if test -n "$ac_ct_CC"; then
19402
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19403
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
11223
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
11224
$as_echo "$ac_ct_CC" >&6; }
19404
11225
else
19405
 
  { echo "$as_me:$LINENO: result: no" >&5
19406
 
echo "${ECHO_T}no" >&6; }
 
11226
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11227
$as_echo "no" >&6; }
19407
11228
fi
19408
11229
 
19409
11230
  if test "x$ac_ct_CC" = x; then
19411
11232
  else
19412
11233
    case $cross_compiling:$ac_tool_warned in
19413
11234
yes:)
19414
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19415
 
whose name does not start with the host triplet.  If you think this
19416
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
19417
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19418
 
whose name does not start with the host triplet.  If you think this
19419
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
11235
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11236
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19420
11237
ac_tool_warned=yes ;;
19421
11238
esac
19422
11239
    CC=$ac_ct_CC
19429
11246
          if test -n "$ac_tool_prefix"; then
19430
11247
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19431
11248
set dummy ${ac_tool_prefix}cc; ac_word=$2
19432
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19433
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11249
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11250
$as_echo_n "checking for $ac_word... " >&6; }
19434
11251
if test "${ac_cv_prog_CC+set}" = set; then
19435
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11252
  $as_echo_n "(cached) " >&6
19436
11253
else
19437
11254
  if test -n "$CC"; then
19438
11255
  ac_cv_prog_CC="$CC" # Let the user override the test.
19445
11262
  for ac_exec_ext in '' $ac_executable_extensions; do
19446
11263
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19447
11264
    ac_cv_prog_CC="${ac_tool_prefix}cc"
19448
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11265
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19449
11266
    break 2
19450
11267
  fi
19451
11268
done
19456
11273
fi
19457
11274
CC=$ac_cv_prog_CC
19458
11275
if test -n "$CC"; then
19459
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19460
 
echo "${ECHO_T}$CC" >&6; }
 
11276
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11277
$as_echo "$CC" >&6; }
19461
11278
else
19462
 
  { echo "$as_me:$LINENO: result: no" >&5
19463
 
echo "${ECHO_T}no" >&6; }
 
11279
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11280
$as_echo "no" >&6; }
19464
11281
fi
19465
11282
 
19466
11283
 
19469
11286
if test -z "$CC"; then
19470
11287
  # Extract the first word of "cc", so it can be a program name with args.
19471
11288
set dummy cc; ac_word=$2
19472
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19473
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11289
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11290
$as_echo_n "checking for $ac_word... " >&6; }
19474
11291
if test "${ac_cv_prog_CC+set}" = set; then
19475
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11292
  $as_echo_n "(cached) " >&6
19476
11293
else
19477
11294
  if test -n "$CC"; then
19478
11295
  ac_cv_prog_CC="$CC" # Let the user override the test.
19490
11307
       continue
19491
11308
     fi
19492
11309
    ac_cv_prog_CC="cc"
19493
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11310
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19494
11311
    break 2
19495
11312
  fi
19496
11313
done
19513
11330
fi
19514
11331
CC=$ac_cv_prog_CC
19515
11332
if test -n "$CC"; then
19516
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19517
 
echo "${ECHO_T}$CC" >&6; }
 
11333
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11334
$as_echo "$CC" >&6; }
19518
11335
else
19519
 
  { echo "$as_me:$LINENO: result: no" >&5
19520
 
echo "${ECHO_T}no" >&6; }
 
11336
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11337
$as_echo "no" >&6; }
19521
11338
fi
19522
11339
 
19523
11340
 
19528
11345
  do
19529
11346
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19530
11347
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19531
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19532
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11348
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11349
$as_echo_n "checking for $ac_word... " >&6; }
19533
11350
if test "${ac_cv_prog_CC+set}" = set; then
19534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11351
  $as_echo_n "(cached) " >&6
19535
11352
else
19536
11353
  if test -n "$CC"; then
19537
11354
  ac_cv_prog_CC="$CC" # Let the user override the test.
19544
11361
  for ac_exec_ext in '' $ac_executable_extensions; do
19545
11362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19546
11363
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19547
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11364
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19548
11365
    break 2
19549
11366
  fi
19550
11367
done
19555
11372
fi
19556
11373
CC=$ac_cv_prog_CC
19557
11374
if test -n "$CC"; then
19558
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19559
 
echo "${ECHO_T}$CC" >&6; }
 
11375
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11376
$as_echo "$CC" >&6; }
19560
11377
else
19561
 
  { echo "$as_me:$LINENO: result: no" >&5
19562
 
echo "${ECHO_T}no" >&6; }
 
11378
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11379
$as_echo "no" >&6; }
19563
11380
fi
19564
11381
 
19565
11382
 
19572
11389
do
19573
11390
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19574
11391
set dummy $ac_prog; ac_word=$2
19575
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19576
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11392
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11393
$as_echo_n "checking for $ac_word... " >&6; }
19577
11394
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11395
  $as_echo_n "(cached) " >&6
19579
11396
else
19580
11397
  if test -n "$ac_ct_CC"; then
19581
11398
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19588
11405
  for ac_exec_ext in '' $ac_executable_extensions; do
19589
11406
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19590
11407
    ac_cv_prog_ac_ct_CC="$ac_prog"
19591
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11408
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19592
11409
    break 2
19593
11410
  fi
19594
11411
done
19599
11416
fi
19600
11417
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19601
11418
if test -n "$ac_ct_CC"; then
19602
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19603
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
11419
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
11420
$as_echo "$ac_ct_CC" >&6; }
19604
11421
else
19605
 
  { echo "$as_me:$LINENO: result: no" >&5
19606
 
echo "${ECHO_T}no" >&6; }
 
11422
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11423
$as_echo "no" >&6; }
19607
11424
fi
19608
11425
 
19609
11426
 
19615
11432
  else
19616
11433
    case $cross_compiling:$ac_tool_warned in
19617
11434
yes:)
19618
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19619
 
whose name does not start with the host triplet.  If you think this
19620
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
19621
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19622
 
whose name does not start with the host triplet.  If you think this
19623
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
11435
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11436
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19624
11437
ac_tool_warned=yes ;;
19625
11438
esac
19626
11439
    CC=$ac_ct_CC
19630
11443
fi
19631
11444
 
19632
11445
 
19633
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
11446
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
11447
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11448
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19634
11449
See \`config.log' for more details." >&5
19635
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
11450
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
19636
11451
See \`config.log' for more details." >&2;}
19637
 
   { (exit 1); exit 1; }; }
 
11452
   { (exit 1); exit 1; }; }; }
19638
11453
 
19639
11454
# Provide some information about the compiler.
19640
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
19641
 
ac_compiler=`set X $ac_compile; echo $2`
 
11455
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
11456
set X $ac_compile
 
11457
ac_compiler=$2
19642
11458
{ (ac_try="$ac_compiler --version >&5"
19643
11459
case "(($ac_try" in
19644
11460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645
11461
  *) ac_try_echo=$ac_try;;
19646
11462
esac
19647
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11463
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11464
$as_echo "$ac_try_echo") >&5
19648
11465
  (eval "$ac_compiler --version >&5") 2>&5
19649
11466
  ac_status=$?
19650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11467
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651
11468
  (exit $ac_status); }
19652
11469
{ (ac_try="$ac_compiler -v >&5"
19653
11470
case "(($ac_try" in
19654
11471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19655
11472
  *) ac_try_echo=$ac_try;;
19656
11473
esac
19657
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11474
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11475
$as_echo "$ac_try_echo") >&5
19658
11476
  (eval "$ac_compiler -v >&5") 2>&5
19659
11477
  ac_status=$?
19660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11478
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661
11479
  (exit $ac_status); }
19662
11480
{ (ac_try="$ac_compiler -V >&5"
19663
11481
case "(($ac_try" in
19664
11482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19665
11483
  *) ac_try_echo=$ac_try;;
19666
11484
esac
19667
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11485
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11486
$as_echo "$ac_try_echo") >&5
19668
11487
  (eval "$ac_compiler -V >&5") 2>&5
19669
11488
  ac_status=$?
19670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11489
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671
11490
  (exit $ac_status); }
19672
11491
 
19673
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
19674
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
11492
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
11493
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
19675
11494
if test "${ac_cv_c_compiler_gnu+set}" = set; then
19676
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11495
  $as_echo_n "(cached) " >&6
19677
11496
else
19678
11497
  cat >conftest.$ac_ext <<_ACEOF
19679
11498
/* confdefs.h.  */
19699
11518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700
11519
  *) ac_try_echo=$ac_try;;
19701
11520
esac
19702
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11521
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11522
$as_echo "$ac_try_echo") >&5
19703
11523
  (eval "$ac_compile") 2>conftest.er1
19704
11524
  ac_status=$?
19705
11525
  grep -v '^ *+' conftest.er1 >conftest.err
19706
11526
  rm -f conftest.er1
19707
11527
  cat conftest.err >&5
19708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11528
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709
11529
  (exit $ac_status); } && {
19710
11530
         test -z "$ac_c_werror_flag" ||
19711
11531
         test ! -s conftest.err
19712
11532
       } && test -s conftest.$ac_objext; then
19713
11533
  ac_compiler_gnu=yes
19714
11534
else
19715
 
  echo "$as_me: failed program was:" >&5
 
11535
  $as_echo "$as_me: failed program was:" >&5
19716
11536
sed 's/^/| /' conftest.$ac_ext >&5
19717
11537
 
19718
11538
        ac_compiler_gnu=no
19722
11542
ac_cv_c_compiler_gnu=$ac_compiler_gnu
19723
11543
 
19724
11544
fi
19725
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
19726
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
19727
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
11545
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
11546
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
11547
if test $ac_compiler_gnu = yes; then
 
11548
  GCC=yes
 
11549
else
 
11550
  GCC=
 
11551
fi
19728
11552
ac_test_CFLAGS=${CFLAGS+set}
19729
11553
ac_save_CFLAGS=$CFLAGS
19730
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19731
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
11554
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
11555
$as_echo_n "checking whether $CC accepts -g... " >&6; }
19732
11556
if test "${ac_cv_prog_cc_g+set}" = set; then
19733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11557
  $as_echo_n "(cached) " >&6
19734
11558
else
19735
11559
  ac_save_c_werror_flag=$ac_c_werror_flag
19736
11560
   ac_c_werror_flag=yes
19757
11581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758
11582
  *) ac_try_echo=$ac_try;;
19759
11583
esac
19760
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11584
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11585
$as_echo "$ac_try_echo") >&5
19761
11586
  (eval "$ac_compile") 2>conftest.er1
19762
11587
  ac_status=$?
19763
11588
  grep -v '^ *+' conftest.er1 >conftest.err
19764
11589
  rm -f conftest.er1
19765
11590
  cat conftest.err >&5
19766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11591
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767
11592
  (exit $ac_status); } && {
19768
11593
         test -z "$ac_c_werror_flag" ||
19769
11594
         test ! -s conftest.err
19770
11595
       } && test -s conftest.$ac_objext; then
19771
11596
  ac_cv_prog_cc_g=yes
19772
11597
else
19773
 
  echo "$as_me: failed program was:" >&5
 
11598
  $as_echo "$as_me: failed program was:" >&5
19774
11599
sed 's/^/| /' conftest.$ac_ext >&5
19775
11600
 
19776
11601
        CFLAGS=""
19795
11620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796
11621
  *) ac_try_echo=$ac_try;;
19797
11622
esac
19798
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11623
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11624
$as_echo "$ac_try_echo") >&5
19799
11625
  (eval "$ac_compile") 2>conftest.er1
19800
11626
  ac_status=$?
19801
11627
  grep -v '^ *+' conftest.er1 >conftest.err
19802
11628
  rm -f conftest.er1
19803
11629
  cat conftest.err >&5
19804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11630
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805
11631
  (exit $ac_status); } && {
19806
11632
         test -z "$ac_c_werror_flag" ||
19807
11633
         test ! -s conftest.err
19808
11634
       } && test -s conftest.$ac_objext; then
19809
11635
  :
19810
11636
else
19811
 
  echo "$as_me: failed program was:" >&5
 
11637
  $as_echo "$as_me: failed program was:" >&5
19812
11638
sed 's/^/| /' conftest.$ac_ext >&5
19813
11639
 
19814
11640
        ac_c_werror_flag=$ac_save_c_werror_flag
19834
11660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19835
11661
  *) ac_try_echo=$ac_try;;
19836
11662
esac
19837
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11663
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11664
$as_echo "$ac_try_echo") >&5
19838
11665
  (eval "$ac_compile") 2>conftest.er1
19839
11666
  ac_status=$?
19840
11667
  grep -v '^ *+' conftest.er1 >conftest.err
19841
11668
  rm -f conftest.er1
19842
11669
  cat conftest.err >&5
19843
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11670
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844
11671
  (exit $ac_status); } && {
19845
11672
         test -z "$ac_c_werror_flag" ||
19846
11673
         test ! -s conftest.err
19847
11674
       } && test -s conftest.$ac_objext; then
19848
11675
  ac_cv_prog_cc_g=yes
19849
11676
else
19850
 
  echo "$as_me: failed program was:" >&5
 
11677
  $as_echo "$as_me: failed program was:" >&5
19851
11678
sed 's/^/| /' conftest.$ac_ext >&5
19852
11679
 
19853
11680
 
19862
11689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19863
11690
   ac_c_werror_flag=$ac_save_c_werror_flag
19864
11691
fi
19865
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19866
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
11692
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
11693
$as_echo "$ac_cv_prog_cc_g" >&6; }
19867
11694
if test "$ac_test_CFLAGS" = set; then
19868
11695
  CFLAGS=$ac_save_CFLAGS
19869
11696
elif test $ac_cv_prog_cc_g = yes; then
19879
11706
    CFLAGS=
19880
11707
  fi
19881
11708
fi
19882
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
19883
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
11709
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
11710
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19884
11711
if test "${ac_cv_prog_cc_c89+set}" = set; then
19885
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11712
  $as_echo_n "(cached) " >&6
19886
11713
else
19887
11714
  ac_cv_prog_cc_c89=no
19888
11715
ac_save_CC=$CC
19953
11780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19954
11781
  *) ac_try_echo=$ac_try;;
19955
11782
esac
19956
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11783
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11784
$as_echo "$ac_try_echo") >&5
19957
11785
  (eval "$ac_compile") 2>conftest.er1
19958
11786
  ac_status=$?
19959
11787
  grep -v '^ *+' conftest.er1 >conftest.err
19960
11788
  rm -f conftest.er1
19961
11789
  cat conftest.err >&5
19962
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11790
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963
11791
  (exit $ac_status); } && {
19964
11792
         test -z "$ac_c_werror_flag" ||
19965
11793
         test ! -s conftest.err
19966
11794
       } && test -s conftest.$ac_objext; then
19967
11795
  ac_cv_prog_cc_c89=$ac_arg
19968
11796
else
19969
 
  echo "$as_me: failed program was:" >&5
 
11797
  $as_echo "$as_me: failed program was:" >&5
19970
11798
sed 's/^/| /' conftest.$ac_ext >&5
19971
11799
 
19972
11800
 
19982
11810
# AC_CACHE_VAL
19983
11811
case "x$ac_cv_prog_cc_c89" in
19984
11812
  x)
19985
 
    { echo "$as_me:$LINENO: result: none needed" >&5
19986
 
echo "${ECHO_T}none needed" >&6; } ;;
 
11813
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
11814
$as_echo "none needed" >&6; } ;;
19987
11815
  xno)
19988
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
19989
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
11816
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
11817
$as_echo "unsupported" >&6; } ;;
19990
11818
  *)
19991
11819
    CC="$CC $ac_cv_prog_cc_c89"
19992
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
19993
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
11820
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
11821
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19994
11822
esac
19995
11823
 
19996
11824
 
20002
11830
 
20003
11831
depcc="$CC"   am_compiler_list=
20004
11832
 
20005
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20006
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
11833
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
11834
$as_echo_n "checking dependency style of $depcc... " >&6; }
20007
11835
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11836
  $as_echo_n "(cached) " >&6
20009
11837
else
20010
11838
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20011
11839
  # We make a subdir and do the tests there.  Otherwise we can end up
20030
11858
  if test "$am_compiler_list" = ""; then
20031
11859
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20032
11860
  fi
 
11861
  am__universal=false
 
11862
  case " $depcc " in #(
 
11863
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
11864
     esac
 
11865
 
20033
11866
  for depmode in $am_compiler_list; do
20034
11867
    # Setup a source with many dependencies, because some compilers
20035
11868
    # like to wrap large dependency lists on column 80 (with \), and
20047
11880
    done
20048
11881
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20049
11882
 
 
11883
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
11884
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
11885
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
11886
    # versions had trouble with output in subdirs
 
11887
    am__obj=sub/conftest.${OBJEXT-o}
 
11888
    am__minus_obj="-o $am__obj"
20050
11889
    case $depmode in
 
11890
    gcc)
 
11891
      # This depmode causes a compiler race in universal mode.
 
11892
      test "$am__universal" = false || continue
 
11893
      ;;
20051
11894
    nosideeffect)
20052
11895
      # after this tag, mechanisms are not by side-effect, so they'll
20053
11896
      # only be used when explicitly requested
20057
11900
        break
20058
11901
      fi
20059
11902
      ;;
 
11903
    msvisualcpp | msvcmsys)
 
11904
      # This compiler won't grok `-c -o', but also, the minuso test has
 
11905
      # not run yet.  These depmodes are late enough in the game, and
 
11906
      # so weak that their functioning should not be impacted.
 
11907
      am__obj=conftest.${OBJEXT-o}
 
11908
      am__minus_obj=
 
11909
      ;;
20060
11910
    none) break ;;
20061
11911
    esac
20062
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
20063
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
20064
 
    # handle `-M -o', and we need to detect this.
20065
11912
    if depmode=$depmode \
20066
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
11913
       source=sub/conftest.c object=$am__obj \
20067
11914
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
20068
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
11915
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
20069
11916
         >/dev/null 2>conftest.err &&
20070
11917
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
20071
11918
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
20072
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
11919
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
20073
11920
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
20074
11921
      # icc doesn't choke on unknown options, it will just issue warnings
20075
11922
      # or remarks (even with -Werror).  So we grep stderr for any message
20093
11940
fi
20094
11941
 
20095
11942
fi
20096
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20097
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
11943
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
11944
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
20098
11945
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
20099
11946
 
20100
11947
 if
20109
11956
 
20110
11957
 
20111
11958
 
20112
 
        { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
20113
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
 
11959
        { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
 
11960
$as_echo_n "checking for strerror in -lcposix... " >&6; }
20114
11961
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
20115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11962
  $as_echo_n "(cached) " >&6
20116
11963
else
20117
11964
  ac_check_lib_save_LIBS=$LIBS
20118
11965
LIBS="-lcposix  $LIBS"
20144
11991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145
11992
  *) ac_try_echo=$ac_try;;
20146
11993
esac
20147
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11994
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11995
$as_echo "$ac_try_echo") >&5
20148
11996
  (eval "$ac_link") 2>conftest.er1
20149
11997
  ac_status=$?
20150
11998
  grep -v '^ *+' conftest.er1 >conftest.err
20151
11999
  rm -f conftest.er1
20152
12000
  cat conftest.err >&5
20153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12001
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154
12002
  (exit $ac_status); } && {
20155
12003
         test -z "$ac_c_werror_flag" ||
20156
12004
         test ! -s conftest.err
20157
 
       } && test -s conftest$ac_exeext &&
20158
 
       $as_test_x conftest$ac_exeext; then
 
12005
       } && test -s conftest$ac_exeext && {
 
12006
         test "$cross_compiling" = yes ||
 
12007
         $as_test_x conftest$ac_exeext
 
12008
       }; then
20159
12009
  ac_cv_lib_cposix_strerror=yes
20160
12010
else
20161
 
  echo "$as_me: failed program was:" >&5
 
12011
  $as_echo "$as_me: failed program was:" >&5
20162
12012
sed 's/^/| /' conftest.$ac_ext >&5
20163
12013
 
20164
12014
        ac_cv_lib_cposix_strerror=no
20165
12015
fi
20166
12016
 
 
12017
rm -rf conftest.dSYM
20167
12018
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20168
12019
      conftest$ac_exeext conftest.$ac_ext
20169
12020
LIBS=$ac_check_lib_save_LIBS
20170
12021
fi
20171
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
20172
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
20173
 
if test $ac_cv_lib_cposix_strerror = yes; then
 
12022
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
 
12023
$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
 
12024
if test "x$ac_cv_lib_cposix_strerror" = x""yes; then
20174
12025
  LIBS="$LIBS -lcposix"
20175
12026
fi
20176
12027
 
20178
12029
 
20179
12030
   case $ac_cv_prog_cc_stdc in
20180
12031
  no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
20181
 
  *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
20182
 
echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
 
12032
  *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
12033
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
20183
12034
if test "${ac_cv_prog_cc_c99+set}" = set; then
20184
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12035
  $as_echo_n "(cached) " >&6
20185
12036
else
20186
12037
  ac_cv_prog_cc_c99=no
20187
12038
ac_save_CC=$CC
20328
12179
  return 0;
20329
12180
}
20330
12181
_ACEOF
20331
 
for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
 
12182
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
20332
12183
do
20333
12184
  CC="$ac_save_CC $ac_arg"
20334
12185
  rm -f conftest.$ac_objext
20337
12188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20338
12189
  *) ac_try_echo=$ac_try;;
20339
12190
esac
20340
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12191
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12192
$as_echo "$ac_try_echo") >&5
20341
12193
  (eval "$ac_compile") 2>conftest.er1
20342
12194
  ac_status=$?
20343
12195
  grep -v '^ *+' conftest.er1 >conftest.err
20344
12196
  rm -f conftest.er1
20345
12197
  cat conftest.err >&5
20346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12198
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347
12199
  (exit $ac_status); } && {
20348
12200
         test -z "$ac_c_werror_flag" ||
20349
12201
         test ! -s conftest.err
20350
12202
       } && test -s conftest.$ac_objext; then
20351
12203
  ac_cv_prog_cc_c99=$ac_arg
20352
12204
else
20353
 
  echo "$as_me: failed program was:" >&5
 
12205
  $as_echo "$as_me: failed program was:" >&5
20354
12206
sed 's/^/| /' conftest.$ac_ext >&5
20355
12207
 
20356
12208
 
20366
12218
# AC_CACHE_VAL
20367
12219
case "x$ac_cv_prog_cc_c99" in
20368
12220
  x)
20369
 
    { echo "$as_me:$LINENO: result: none needed" >&5
20370
 
echo "${ECHO_T}none needed" >&6; } ;;
 
12221
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
12222
$as_echo "none needed" >&6; } ;;
20371
12223
  xno)
20372
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
20373
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
12224
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
12225
$as_echo "unsupported" >&6; } ;;
20374
12226
  *)
20375
12227
    CC="$CC $ac_cv_prog_cc_c99"
20376
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
20377
 
echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
 
12228
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
12229
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
20378
12230
esac
20379
12231
if test "x$ac_cv_prog_cc_c99" != xno; then
20380
12232
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
20381
12233
else
20382
 
  { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20383
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
12234
  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
12235
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
20384
12236
if test "${ac_cv_prog_cc_c89+set}" = set; then
20385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12237
  $as_echo_n "(cached) " >&6
20386
12238
else
20387
12239
  ac_cv_prog_cc_c89=no
20388
12240
ac_save_CC=$CC
20453
12305
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20454
12306
  *) ac_try_echo=$ac_try;;
20455
12307
esac
20456
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12308
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12309
$as_echo "$ac_try_echo") >&5
20457
12310
  (eval "$ac_compile") 2>conftest.er1
20458
12311
  ac_status=$?
20459
12312
  grep -v '^ *+' conftest.er1 >conftest.err
20460
12313
  rm -f conftest.er1
20461
12314
  cat conftest.err >&5
20462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12315
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463
12316
  (exit $ac_status); } && {
20464
12317
         test -z "$ac_c_werror_flag" ||
20465
12318
         test ! -s conftest.err
20466
12319
       } && test -s conftest.$ac_objext; then
20467
12320
  ac_cv_prog_cc_c89=$ac_arg
20468
12321
else
20469
 
  echo "$as_me: failed program was:" >&5
 
12322
  $as_echo "$as_me: failed program was:" >&5
20470
12323
sed 's/^/| /' conftest.$ac_ext >&5
20471
12324
 
20472
12325
 
20482
12335
# AC_CACHE_VAL
20483
12336
case "x$ac_cv_prog_cc_c89" in
20484
12337
  x)
20485
 
    { echo "$as_me:$LINENO: result: none needed" >&5
20486
 
echo "${ECHO_T}none needed" >&6; } ;;
 
12338
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
12339
$as_echo "none needed" >&6; } ;;
20487
12340
  xno)
20488
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
20489
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
12341
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
12342
$as_echo "unsupported" >&6; } ;;
20490
12343
  *)
20491
12344
    CC="$CC $ac_cv_prog_cc_c89"
20492
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
20493
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
12345
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
12346
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
20494
12347
esac
20495
12348
if test "x$ac_cv_prog_cc_c89" != xno; then
20496
12349
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
20503
12356
 
20504
12357
 ;;
20505
12358
esac
20506
 
  { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
20507
 
echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
 
12359
  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
 
12360
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
20508
12361
  if test "${ac_cv_prog_cc_stdc+set}" = set; then
20509
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12362
  $as_echo_n "(cached) " >&6
20510
12363
fi
20511
12364
 
20512
12365
  case $ac_cv_prog_cc_stdc in
20513
 
  no) { echo "$as_me:$LINENO: result: unsupported" >&5
20514
 
echo "${ECHO_T}unsupported" >&6; } ;;
20515
 
  '') { echo "$as_me:$LINENO: result: none needed" >&5
20516
 
echo "${ECHO_T}none needed" >&6; } ;;
20517
 
  *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
20518
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
 
12366
  no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
12367
$as_echo "unsupported" >&6; } ;;
 
12368
  '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
12369
$as_echo "none needed" >&6; } ;;
 
12370
  *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
12371
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
20519
12372
esac
20520
12373
 
20521
12374
 
20522
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20523
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
12375
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
12376
$as_echo_n "checking for ANSI C header files... " >&6; }
20524
12377
if test "${ac_cv_header_stdc+set}" = set; then
20525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12378
  $as_echo_n "(cached) " >&6
20526
12379
else
20527
12380
  cat >conftest.$ac_ext <<_ACEOF
20528
12381
/* confdefs.h.  */
20549
12402
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20550
12403
  *) ac_try_echo=$ac_try;;
20551
12404
esac
20552
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12405
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12406
$as_echo "$ac_try_echo") >&5
20553
12407
  (eval "$ac_compile") 2>conftest.er1
20554
12408
  ac_status=$?
20555
12409
  grep -v '^ *+' conftest.er1 >conftest.err
20556
12410
  rm -f conftest.er1
20557
12411
  cat conftest.err >&5
20558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12412
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559
12413
  (exit $ac_status); } && {
20560
12414
         test -z "$ac_c_werror_flag" ||
20561
12415
         test ! -s conftest.err
20562
12416
       } && test -s conftest.$ac_objext; then
20563
12417
  ac_cv_header_stdc=yes
20564
12418
else
20565
 
  echo "$as_me: failed program was:" >&5
 
12419
  $as_echo "$as_me: failed program was:" >&5
20566
12420
sed 's/^/| /' conftest.$ac_ext >&5
20567
12421
 
20568
12422
        ac_cv_header_stdc=no
20654
12508
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655
12509
  *) ac_try_echo=$ac_try;;
20656
12510
esac
20657
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12511
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12512
$as_echo "$ac_try_echo") >&5
20658
12513
  (eval "$ac_link") 2>&5
20659
12514
  ac_status=$?
20660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12515
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661
12516
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20662
12517
  { (case "(($ac_try" in
20663
12518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20664
12519
  *) ac_try_echo=$ac_try;;
20665
12520
esac
20666
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12521
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12522
$as_echo "$ac_try_echo") >&5
20667
12523
  (eval "$ac_try") 2>&5
20668
12524
  ac_status=$?
20669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12525
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670
12526
  (exit $ac_status); }; }; then
20671
12527
  :
20672
12528
else
20673
 
  echo "$as_me: program exited with status $ac_status" >&5
20674
 
echo "$as_me: failed program was:" >&5
 
12529
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
12530
$as_echo "$as_me: failed program was:" >&5
20675
12531
sed 's/^/| /' conftest.$ac_ext >&5
20676
12532
 
20677
12533
( exit $ac_status )
20678
12534
ac_cv_header_stdc=no
20679
12535
fi
 
12536
rm -rf conftest.dSYM
20680
12537
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20681
12538
fi
20682
12539
 
20683
12540
 
20684
12541
fi
20685
12542
fi
20686
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20687
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
12543
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12544
$as_echo "$ac_cv_header_stdc" >&6; }
20688
12545
if test $ac_cv_header_stdc = yes; then
20689
12546
 
20690
12547
cat >>confdefs.h <<\_ACEOF
20693
12550
 
20694
12551
fi
20695
12552
 
20696
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20697
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
 
12553
 
 
12554
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
12555
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20698
12556
if test "${ac_cv_c_bigendian+set}" = set; then
20699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20700
 
else
20701
 
  # See if sys/param.h defines the BYTE_ORDER macro.
20702
 
cat >conftest.$ac_ext <<_ACEOF
 
12557
  $as_echo_n "(cached) " >&6
 
12558
else
 
12559
  ac_cv_c_bigendian=unknown
 
12560
    # See if we're dealing with a universal compiler.
 
12561
    cat >conftest.$ac_ext <<_ACEOF
 
12562
/* confdefs.h.  */
 
12563
_ACEOF
 
12564
cat confdefs.h >>conftest.$ac_ext
 
12565
cat >>conftest.$ac_ext <<_ACEOF
 
12566
/* end confdefs.h.  */
 
12567
#ifndef __APPLE_CC__
 
12568
               not a universal capable compiler
 
12569
             #endif
 
12570
             typedef int dummy;
 
12571
 
 
12572
_ACEOF
 
12573
rm -f conftest.$ac_objext
 
12574
if { (ac_try="$ac_compile"
 
12575
case "(($ac_try" in
 
12576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12577
  *) ac_try_echo=$ac_try;;
 
12578
esac
 
12579
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12580
$as_echo "$ac_try_echo") >&5
 
12581
  (eval "$ac_compile") 2>conftest.er1
 
12582
  ac_status=$?
 
12583
  grep -v '^ *+' conftest.er1 >conftest.err
 
12584
  rm -f conftest.er1
 
12585
  cat conftest.err >&5
 
12586
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12587
  (exit $ac_status); } && {
 
12588
         test -z "$ac_c_werror_flag" ||
 
12589
         test ! -s conftest.err
 
12590
       } && test -s conftest.$ac_objext; then
 
12591
 
 
12592
        # Check for potential -arch flags.  It is not universal unless
 
12593
        # there are some -arch flags.  Note that *ppc* also matches
 
12594
        # ppc64.  This check is also rather less than ideal.
 
12595
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
 
12596
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
 
12597
        esac
 
12598
else
 
12599
  $as_echo "$as_me: failed program was:" >&5
 
12600
sed 's/^/| /' conftest.$ac_ext >&5
 
12601
 
 
12602
 
 
12603
fi
 
12604
 
 
12605
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12606
    if test $ac_cv_c_bigendian = unknown; then
 
12607
      # See if sys/param.h defines the BYTE_ORDER macro.
 
12608
      cat >conftest.$ac_ext <<_ACEOF
20703
12609
/* confdefs.h.  */
20704
12610
_ACEOF
20705
12611
cat confdefs.h >>conftest.$ac_ext
20706
12612
cat >>conftest.$ac_ext <<_ACEOF
20707
12613
/* end confdefs.h.  */
20708
12614
#include <sys/types.h>
20709
 
#include <sys/param.h>
 
12615
             #include <sys/param.h>
20710
12616
 
20711
12617
int
20712
12618
main ()
20713
12619
{
20714
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
20715
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
20716
 
 bogus endian macros
20717
 
#endif
 
12620
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
12621
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
12622
                     && LITTLE_ENDIAN)
 
12623
              bogus endian macros
 
12624
             #endif
20718
12625
 
20719
12626
  ;
20720
12627
  return 0;
20726
12633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20727
12634
  *) ac_try_echo=$ac_try;;
20728
12635
esac
20729
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12636
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12637
$as_echo "$ac_try_echo") >&5
20730
12638
  (eval "$ac_compile") 2>conftest.er1
20731
12639
  ac_status=$?
20732
12640
  grep -v '^ *+' conftest.er1 >conftest.err
20733
12641
  rm -f conftest.er1
20734
12642
  cat conftest.err >&5
20735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12643
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736
12644
  (exit $ac_status); } && {
20737
12645
         test -z "$ac_c_werror_flag" ||
20738
12646
         test ! -s conftest.err
20739
12647
       } && test -s conftest.$ac_objext; then
20740
12648
  # It does; now see whether it defined to BIG_ENDIAN or not.
20741
 
cat >conftest.$ac_ext <<_ACEOF
 
12649
         cat >conftest.$ac_ext <<_ACEOF
20742
12650
/* confdefs.h.  */
20743
12651
_ACEOF
20744
12652
cat confdefs.h >>conftest.$ac_ext
20745
12653
cat >>conftest.$ac_ext <<_ACEOF
20746
12654
/* end confdefs.h.  */
20747
12655
#include <sys/types.h>
20748
 
#include <sys/param.h>
 
12656
                #include <sys/param.h>
20749
12657
 
20750
12658
int
20751
12659
main ()
20752
12660
{
20753
12661
#if BYTE_ORDER != BIG_ENDIAN
20754
 
 not big endian
20755
 
#endif
20756
 
 
20757
 
  ;
20758
 
  return 0;
20759
 
}
20760
 
_ACEOF
20761
 
rm -f conftest.$ac_objext
20762
 
if { (ac_try="$ac_compile"
20763
 
case "(($ac_try" in
20764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765
 
  *) ac_try_echo=$ac_try;;
20766
 
esac
20767
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20768
 
  (eval "$ac_compile") 2>conftest.er1
20769
 
  ac_status=$?
20770
 
  grep -v '^ *+' conftest.er1 >conftest.err
20771
 
  rm -f conftest.er1
20772
 
  cat conftest.err >&5
20773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774
 
  (exit $ac_status); } && {
20775
 
         test -z "$ac_c_werror_flag" ||
20776
 
         test ! -s conftest.err
20777
 
       } && test -s conftest.$ac_objext; then
20778
 
  ac_cv_c_bigendian=yes
20779
 
else
20780
 
  echo "$as_me: failed program was:" >&5
20781
 
sed 's/^/| /' conftest.$ac_ext >&5
20782
 
 
20783
 
        ac_cv_c_bigendian=no
20784
 
fi
20785
 
 
20786
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787
 
else
20788
 
  echo "$as_me: failed program was:" >&5
20789
 
sed 's/^/| /' conftest.$ac_ext >&5
20790
 
 
20791
 
        # It does not; compile a test program.
20792
 
if test "$cross_compiling" = yes; then
20793
 
  # try to guess the endianness by grepping values into an object file
20794
 
  ac_cv_c_bigendian=unknown
20795
 
  cat >conftest.$ac_ext <<_ACEOF
20796
 
/* confdefs.h.  */
20797
 
_ACEOF
20798
 
cat confdefs.h >>conftest.$ac_ext
20799
 
cat >>conftest.$ac_ext <<_ACEOF
20800
 
/* end confdefs.h.  */
20801
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20802
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20803
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20804
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20805
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20806
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20807
 
int
20808
 
main ()
20809
 
{
20810
 
 _ascii (); _ebcdic ();
20811
 
  ;
20812
 
  return 0;
20813
 
}
20814
 
_ACEOF
20815
 
rm -f conftest.$ac_objext
20816
 
if { (ac_try="$ac_compile"
20817
 
case "(($ac_try" in
20818
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819
 
  *) ac_try_echo=$ac_try;;
20820
 
esac
20821
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822
 
  (eval "$ac_compile") 2>conftest.er1
20823
 
  ac_status=$?
20824
 
  grep -v '^ *+' conftest.er1 >conftest.err
20825
 
  rm -f conftest.er1
20826
 
  cat conftest.err >&5
20827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828
 
  (exit $ac_status); } && {
20829
 
         test -z "$ac_c_werror_flag" ||
20830
 
         test ! -s conftest.err
20831
 
       } && test -s conftest.$ac_objext; then
20832
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20833
 
  ac_cv_c_bigendian=yes
20834
 
fi
20835
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20836
 
  if test "$ac_cv_c_bigendian" = unknown; then
20837
 
    ac_cv_c_bigendian=no
20838
 
  else
20839
 
    # finding both strings is unlikely to happen, but who knows?
20840
 
    ac_cv_c_bigendian=unknown
20841
 
  fi
20842
 
fi
20843
 
else
20844
 
  echo "$as_me: failed program was:" >&5
 
12662
                 not big endian
 
12663
                #endif
 
12664
 
 
12665
  ;
 
12666
  return 0;
 
12667
}
 
12668
_ACEOF
 
12669
rm -f conftest.$ac_objext
 
12670
if { (ac_try="$ac_compile"
 
12671
case "(($ac_try" in
 
12672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12673
  *) ac_try_echo=$ac_try;;
 
12674
esac
 
12675
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12676
$as_echo "$ac_try_echo") >&5
 
12677
  (eval "$ac_compile") 2>conftest.er1
 
12678
  ac_status=$?
 
12679
  grep -v '^ *+' conftest.er1 >conftest.err
 
12680
  rm -f conftest.er1
 
12681
  cat conftest.err >&5
 
12682
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12683
  (exit $ac_status); } && {
 
12684
         test -z "$ac_c_werror_flag" ||
 
12685
         test ! -s conftest.err
 
12686
       } && test -s conftest.$ac_objext; then
 
12687
  ac_cv_c_bigendian=yes
 
12688
else
 
12689
  $as_echo "$as_me: failed program was:" >&5
 
12690
sed 's/^/| /' conftest.$ac_ext >&5
 
12691
 
 
12692
        ac_cv_c_bigendian=no
 
12693
fi
 
12694
 
 
12695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12696
else
 
12697
  $as_echo "$as_me: failed program was:" >&5
 
12698
sed 's/^/| /' conftest.$ac_ext >&5
 
12699
 
 
12700
 
 
12701
fi
 
12702
 
 
12703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12704
    fi
 
12705
    if test $ac_cv_c_bigendian = unknown; then
 
12706
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
12707
      cat >conftest.$ac_ext <<_ACEOF
 
12708
/* confdefs.h.  */
 
12709
_ACEOF
 
12710
cat confdefs.h >>conftest.$ac_ext
 
12711
cat >>conftest.$ac_ext <<_ACEOF
 
12712
/* end confdefs.h.  */
 
12713
#include <limits.h>
 
12714
 
 
12715
int
 
12716
main ()
 
12717
{
 
12718
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
12719
              bogus endian macros
 
12720
             #endif
 
12721
 
 
12722
  ;
 
12723
  return 0;
 
12724
}
 
12725
_ACEOF
 
12726
rm -f conftest.$ac_objext
 
12727
if { (ac_try="$ac_compile"
 
12728
case "(($ac_try" in
 
12729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12730
  *) ac_try_echo=$ac_try;;
 
12731
esac
 
12732
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12733
$as_echo "$ac_try_echo") >&5
 
12734
  (eval "$ac_compile") 2>conftest.er1
 
12735
  ac_status=$?
 
12736
  grep -v '^ *+' conftest.er1 >conftest.err
 
12737
  rm -f conftest.er1
 
12738
  cat conftest.err >&5
 
12739
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12740
  (exit $ac_status); } && {
 
12741
         test -z "$ac_c_werror_flag" ||
 
12742
         test ! -s conftest.err
 
12743
       } && test -s conftest.$ac_objext; then
 
12744
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
12745
         cat >conftest.$ac_ext <<_ACEOF
 
12746
/* confdefs.h.  */
 
12747
_ACEOF
 
12748
cat confdefs.h >>conftest.$ac_ext
 
12749
cat >>conftest.$ac_ext <<_ACEOF
 
12750
/* end confdefs.h.  */
 
12751
#include <limits.h>
 
12752
 
 
12753
int
 
12754
main ()
 
12755
{
 
12756
#ifndef _BIG_ENDIAN
 
12757
                 not big endian
 
12758
                #endif
 
12759
 
 
12760
  ;
 
12761
  return 0;
 
12762
}
 
12763
_ACEOF
 
12764
rm -f conftest.$ac_objext
 
12765
if { (ac_try="$ac_compile"
 
12766
case "(($ac_try" in
 
12767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12768
  *) ac_try_echo=$ac_try;;
 
12769
esac
 
12770
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12771
$as_echo "$ac_try_echo") >&5
 
12772
  (eval "$ac_compile") 2>conftest.er1
 
12773
  ac_status=$?
 
12774
  grep -v '^ *+' conftest.er1 >conftest.err
 
12775
  rm -f conftest.er1
 
12776
  cat conftest.err >&5
 
12777
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12778
  (exit $ac_status); } && {
 
12779
         test -z "$ac_c_werror_flag" ||
 
12780
         test ! -s conftest.err
 
12781
       } && test -s conftest.$ac_objext; then
 
12782
  ac_cv_c_bigendian=yes
 
12783
else
 
12784
  $as_echo "$as_me: failed program was:" >&5
 
12785
sed 's/^/| /' conftest.$ac_ext >&5
 
12786
 
 
12787
        ac_cv_c_bigendian=no
 
12788
fi
 
12789
 
 
12790
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12791
else
 
12792
  $as_echo "$as_me: failed program was:" >&5
 
12793
sed 's/^/| /' conftest.$ac_ext >&5
 
12794
 
 
12795
 
 
12796
fi
 
12797
 
 
12798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12799
    fi
 
12800
    if test $ac_cv_c_bigendian = unknown; then
 
12801
      # Compile a test program.
 
12802
      if test "$cross_compiling" = yes; then
 
12803
  # Try to guess by grepping values from an object file.
 
12804
         cat >conftest.$ac_ext <<_ACEOF
 
12805
/* confdefs.h.  */
 
12806
_ACEOF
 
12807
cat confdefs.h >>conftest.$ac_ext
 
12808
cat >>conftest.$ac_ext <<_ACEOF
 
12809
/* end confdefs.h.  */
 
12810
short int ascii_mm[] =
 
12811
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
12812
                short int ascii_ii[] =
 
12813
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
12814
                int use_ascii (int i) {
 
12815
                  return ascii_mm[i] + ascii_ii[i];
 
12816
                }
 
12817
                short int ebcdic_ii[] =
 
12818
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
12819
                short int ebcdic_mm[] =
 
12820
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
12821
                int use_ebcdic (int i) {
 
12822
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
12823
                }
 
12824
                extern int foo;
 
12825
 
 
12826
int
 
12827
main ()
 
12828
{
 
12829
return use_ascii (foo) == use_ebcdic (foo);
 
12830
  ;
 
12831
  return 0;
 
12832
}
 
12833
_ACEOF
 
12834
rm -f conftest.$ac_objext
 
12835
if { (ac_try="$ac_compile"
 
12836
case "(($ac_try" in
 
12837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12838
  *) ac_try_echo=$ac_try;;
 
12839
esac
 
12840
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12841
$as_echo "$ac_try_echo") >&5
 
12842
  (eval "$ac_compile") 2>conftest.er1
 
12843
  ac_status=$?
 
12844
  grep -v '^ *+' conftest.er1 >conftest.err
 
12845
  rm -f conftest.er1
 
12846
  cat conftest.err >&5
 
12847
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12848
  (exit $ac_status); } && {
 
12849
         test -z "$ac_c_werror_flag" ||
 
12850
         test ! -s conftest.err
 
12851
       } && test -s conftest.$ac_objext; then
 
12852
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
12853
              ac_cv_c_bigendian=yes
 
12854
            fi
 
12855
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
12856
              if test "$ac_cv_c_bigendian" = unknown; then
 
12857
                ac_cv_c_bigendian=no
 
12858
              else
 
12859
                # finding both strings is unlikely to happen, but who knows?
 
12860
                ac_cv_c_bigendian=unknown
 
12861
              fi
 
12862
            fi
 
12863
else
 
12864
  $as_echo "$as_me: failed program was:" >&5
20845
12865
sed 's/^/| /' conftest.$ac_ext >&5
20846
12866
 
20847
12867
 
20860
12880
main ()
20861
12881
{
20862
12882
 
20863
 
  /* Are we little or big endian?  From Harbison&Steele.  */
20864
 
  union
20865
 
  {
20866
 
    long int l;
20867
 
    char c[sizeof (long int)];
20868
 
  } u;
20869
 
  u.l = 1;
20870
 
  return u.c[sizeof (long int) - 1] == 1;
 
12883
             /* Are we little or big endian?  From Harbison&Steele.  */
 
12884
             union
 
12885
             {
 
12886
               long int l;
 
12887
               char c[sizeof (long int)];
 
12888
             } u;
 
12889
             u.l = 1;
 
12890
             return u.c[sizeof (long int) - 1] == 1;
20871
12891
 
20872
12892
  ;
20873
12893
  return 0;
20879
12899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880
12900
  *) ac_try_echo=$ac_try;;
20881
12901
esac
20882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12902
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12903
$as_echo "$ac_try_echo") >&5
20883
12904
  (eval "$ac_link") 2>&5
20884
12905
  ac_status=$?
20885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12906
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886
12907
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20887
12908
  { (case "(($ac_try" in
20888
12909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20889
12910
  *) ac_try_echo=$ac_try;;
20890
12911
esac
20891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12912
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12913
$as_echo "$ac_try_echo") >&5
20892
12914
  (eval "$ac_try") 2>&5
20893
12915
  ac_status=$?
20894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12916
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895
12917
  (exit $ac_status); }; }; then
20896
12918
  ac_cv_c_bigendian=no
20897
12919
else
20898
 
  echo "$as_me: program exited with status $ac_status" >&5
20899
 
echo "$as_me: failed program was:" >&5
 
12920
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
12921
$as_echo "$as_me: failed program was:" >&5
20900
12922
sed 's/^/| /' conftest.$ac_ext >&5
20901
12923
 
20902
12924
( exit $ac_status )
20903
12925
ac_cv_c_bigendian=yes
20904
12926
fi
 
12927
rm -rf conftest.dSYM
20905
12928
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20906
12929
fi
20907
12930
 
20908
12931
 
20909
 
fi
20910
 
 
20911
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20912
 
fi
20913
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20914
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
20915
 
case $ac_cv_c_bigendian in
20916
 
  yes)
20917
 
 
20918
 
cat >>confdefs.h <<\_ACEOF
 
12932
    fi
 
12933
fi
 
12934
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
12935
$as_echo "$ac_cv_c_bigendian" >&6; }
 
12936
 case $ac_cv_c_bigendian in #(
 
12937
   yes)
 
12938
     cat >>confdefs.h <<\_ACEOF
20919
12939
#define WORDS_BIGENDIAN 1
20920
12940
_ACEOF
20921
 
 ;;
20922
 
  no)
20923
 
     ;;
20924
 
  *)
20925
 
    { { echo "$as_me:$LINENO: error: unknown endianness
20926
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20927
 
echo "$as_me: error: unknown endianness
20928
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
12941
;; #(
 
12942
   no)
 
12943
      ;; #(
 
12944
   universal)
 
12945
 
 
12946
cat >>confdefs.h <<\_ACEOF
 
12947
#define AC_APPLE_UNIVERSAL_BUILD 1
 
12948
_ACEOF
 
12949
 
 
12950
     ;; #(
 
12951
   *)
 
12952
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 
12953
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
12954
$as_echo "$as_me: error: unknown endianness
 
12955
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20929
12956
   { (exit 1); exit 1; }; } ;;
20930
 
esac
20931
 
 
20932
 
 
20933
 
{ echo "$as_me:$LINENO: checking for vasprintf" >&5
20934
 
echo $ECHO_N "checking for vasprintf... $ECHO_C" >&6; }
 
12957
 esac
 
12958
 
 
12959
 
 
12960
{ $as_echo "$as_me:$LINENO: checking for vasprintf" >&5
 
12961
$as_echo_n "checking for vasprintf... " >&6; }
20935
12962
if test "${ac_cv_func_vasprintf+set}" = set; then
20936
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12963
  $as_echo_n "(cached) " >&6
20937
12964
else
20938
12965
  cat >conftest.$ac_ext <<_ACEOF
20939
12966
/* confdefs.h.  */
20986
13013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20987
13014
  *) ac_try_echo=$ac_try;;
20988
13015
esac
20989
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13017
$as_echo "$ac_try_echo") >&5
20990
13018
  (eval "$ac_link") 2>conftest.er1
20991
13019
  ac_status=$?
20992
13020
  grep -v '^ *+' conftest.er1 >conftest.err
20993
13021
  rm -f conftest.er1
20994
13022
  cat conftest.err >&5
20995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13023
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996
13024
  (exit $ac_status); } && {
20997
13025
         test -z "$ac_c_werror_flag" ||
20998
13026
         test ! -s conftest.err
20999
 
       } && test -s conftest$ac_exeext &&
21000
 
       $as_test_x conftest$ac_exeext; then
 
13027
       } && test -s conftest$ac_exeext && {
 
13028
         test "$cross_compiling" = yes ||
 
13029
         $as_test_x conftest$ac_exeext
 
13030
       }; then
21001
13031
  ac_cv_func_vasprintf=yes
21002
13032
else
21003
 
  echo "$as_me: failed program was:" >&5
 
13033
  $as_echo "$as_me: failed program was:" >&5
21004
13034
sed 's/^/| /' conftest.$ac_ext >&5
21005
13035
 
21006
13036
        ac_cv_func_vasprintf=no
21007
13037
fi
21008
13038
 
 
13039
rm -rf conftest.dSYM
21009
13040
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21010
13041
      conftest$ac_exeext conftest.$ac_ext
21011
13042
fi
21012
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf" >&5
21013
 
echo "${ECHO_T}$ac_cv_func_vasprintf" >&6; }
21014
 
if test $ac_cv_func_vasprintf = yes; then
 
13043
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf" >&5
 
13044
$as_echo "$ac_cv_func_vasprintf" >&6; }
 
13045
if test "x$ac_cv_func_vasprintf" = x""yes; then
21015
13046
 
21016
13047
cat >>confdefs.h <<\_ACEOF
21017
13048
#define HAVE_VASPRINTF 1
21020
13051
fi
21021
13052
 
21022
13053
 
21023
 
LIBGS_REQUIRED="8.61"
 
13054
LIBGS_REQUIRED="8.62"
21024
13055
 
21025
 
{ echo "$as_me:$LINENO: checking for gsapi_new_instance in -lgs" >&5
21026
 
echo $ECHO_N "checking for gsapi_new_instance in -lgs... $ECHO_C" >&6; }
 
13056
{ $as_echo "$as_me:$LINENO: checking for gsapi_new_instance in -lgs" >&5
 
13057
$as_echo_n "checking for gsapi_new_instance in -lgs... " >&6; }
21027
13058
if test "${ac_cv_lib_gs_gsapi_new_instance+set}" = set; then
21028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13059
  $as_echo_n "(cached) " >&6
21029
13060
else
21030
13061
  ac_check_lib_save_LIBS=$LIBS
21031
13062
LIBS="-lgs  $LIBS"
21057
13088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058
13089
  *) ac_try_echo=$ac_try;;
21059
13090
esac
21060
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13092
$as_echo "$ac_try_echo") >&5
21061
13093
  (eval "$ac_link") 2>conftest.er1
21062
13094
  ac_status=$?
21063
13095
  grep -v '^ *+' conftest.er1 >conftest.err
21064
13096
  rm -f conftest.er1
21065
13097
  cat conftest.err >&5
21066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13098
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067
13099
  (exit $ac_status); } && {
21068
13100
         test -z "$ac_c_werror_flag" ||
21069
13101
         test ! -s conftest.err
21070
 
       } && test -s conftest$ac_exeext &&
21071
 
       $as_test_x conftest$ac_exeext; then
 
13102
       } && test -s conftest$ac_exeext && {
 
13103
         test "$cross_compiling" = yes ||
 
13104
         $as_test_x conftest$ac_exeext
 
13105
       }; then
21072
13106
  ac_cv_lib_gs_gsapi_new_instance=yes
21073
13107
else
21074
 
  echo "$as_me: failed program was:" >&5
 
13108
  $as_echo "$as_me: failed program was:" >&5
21075
13109
sed 's/^/| /' conftest.$ac_ext >&5
21076
13110
 
21077
13111
        ac_cv_lib_gs_gsapi_new_instance=no
21078
13112
fi
21079
13113
 
 
13114
rm -rf conftest.dSYM
21080
13115
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21081
13116
      conftest$ac_exeext conftest.$ac_ext
21082
13117
LIBS=$ac_check_lib_save_LIBS
21083
13118
fi
21084
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gs_gsapi_new_instance" >&5
21085
 
echo "${ECHO_T}$ac_cv_lib_gs_gsapi_new_instance" >&6; }
21086
 
if test $ac_cv_lib_gs_gsapi_new_instance = yes; then
 
13119
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gs_gsapi_new_instance" >&5
 
13120
$as_echo "$ac_cv_lib_gs_gsapi_new_instance" >&6; }
 
13121
if test "x$ac_cv_lib_gs_gsapi_new_instance" = x""yes; then
21087
13122
  have_libgs=yes
21088
13123
else
21089
13124
  have_libgs=no
21099
13134
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21100
13135
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21101
13136
 
21102
 
    { echo "$as_me:$LINENO: checking for libgs >= $LIBGS_REQUIRED" >&5
21103
 
echo $ECHO_N "checking for libgs >= $LIBGS_REQUIRED... $ECHO_C" >&6; }
 
13137
    { $as_echo "$as_me:$LINENO: checking for libgs >= $LIBGS_REQUIRED" >&5
 
13138
$as_echo_n "checking for libgs >= $LIBGS_REQUIRED... " >&6; }
21104
13139
    if test "$cross_compiling" = yes; then
21105
13140
  have_libgs=yes
21106
13141
 
21135
13170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21136
13171
  *) ac_try_echo=$ac_try;;
21137
13172
esac
21138
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13174
$as_echo "$ac_try_echo") >&5
21139
13175
  (eval "$ac_link") 2>&5
21140
13176
  ac_status=$?
21141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13177
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142
13178
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21143
13179
  { (case "(($ac_try" in
21144
13180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21145
13181
  *) ac_try_echo=$ac_try;;
21146
13182
esac
21147
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13183
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13184
$as_echo "$ac_try_echo") >&5
21148
13185
  (eval "$ac_try") 2>&5
21149
13186
  ac_status=$?
21150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13187
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151
13188
  (exit $ac_status); }; }; then
21152
13189
  have_libgs=yes
21153
13190
else
21154
 
  echo "$as_me: program exited with status $ac_status" >&5
21155
 
echo "$as_me: failed program was:" >&5
 
13191
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
13192
$as_echo "$as_me: failed program was:" >&5
21156
13193
sed 's/^/| /' conftest.$ac_ext >&5
21157
13194
 
21158
13195
( exit $ac_status )
21159
13196
have_libgs=no
21160
13197
fi
 
13198
rm -rf conftest.dSYM
21161
13199
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21162
13200
fi
21163
13201
 
21164
13202
 
21165
 
    { echo "$as_me:$LINENO: result: $have_libgs" >&5
21166
 
echo "${ECHO_T}$have_libgs" >&6; }
 
13203
    { $as_echo "$as_me:$LINENO: result: $have_libgs" >&5
 
13204
$as_echo "$have_libgs" >&6; }
21167
13205
    ac_ext=c
21168
13206
ac_cpp='$CPP $CPPFLAGS'
21169
13207
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21172
13210
 
21173
13211
    LIBS=$save_LIBS
21174
13212
    if test "x$have_libgs" = "xno"; then
21175
 
        { { echo "$as_me:$LINENO: error: You need libgs >= $LIBGS_REQUIRED in order to compile libspectre" >&5
21176
 
echo "$as_me: error: You need libgs >= $LIBGS_REQUIRED in order to compile libspectre" >&2;}
 
13213
        { { $as_echo "$as_me:$LINENO: error: You need libgs >= $LIBGS_REQUIRED in order to compile libspectre" >&5
 
13214
$as_echo "$as_me: error: You need libgs >= $LIBGS_REQUIRED in order to compile libspectre" >&2;}
21177
13215
   { (exit 1); exit 1; }; }
21178
13216
    fi
21179
13217
else
21180
 
    { { echo "$as_me:$LINENO: error: You need libgs in order to compile libspectre" >&5
21181
 
echo "$as_me: error: You need libgs in order to compile libspectre" >&2;}
 
13218
    { { $as_echo "$as_me:$LINENO: error: You need libgs in order to compile libspectre" >&5
 
13219
$as_echo "$as_me: error: You need libgs in order to compile libspectre" >&2;}
21182
13220
   { (exit 1); exit 1; }; }
21183
13221
fi
21184
13222
 
21230
13268
        if test -n "$ac_tool_prefix"; then
21231
13269
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21232
13270
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21233
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13271
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13272
$as_echo_n "checking for $ac_word... " >&6; }
21235
13273
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13274
  $as_echo_n "(cached) " >&6
21237
13275
else
21238
13276
  case $PKG_CONFIG in
21239
13277
  [\\/]* | ?:[\\/]*)
21248
13286
  for ac_exec_ext in '' $ac_executable_extensions; do
21249
13287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21250
13288
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21251
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13289
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21252
13290
    break 2
21253
13291
  fi
21254
13292
done
21260
13298
fi
21261
13299
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21262
13300
if test -n "$PKG_CONFIG"; then
21263
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21264
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
13301
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
13302
$as_echo "$PKG_CONFIG" >&6; }
21265
13303
else
21266
 
  { echo "$as_me:$LINENO: result: no" >&5
21267
 
echo "${ECHO_T}no" >&6; }
 
13304
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13305
$as_echo "no" >&6; }
21268
13306
fi
21269
13307
 
21270
13308
 
21273
13311
  ac_pt_PKG_CONFIG=$PKG_CONFIG
21274
13312
  # Extract the first word of "pkg-config", so it can be a program name with args.
21275
13313
set dummy pkg-config; ac_word=$2
21276
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21277
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13314
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13315
$as_echo_n "checking for $ac_word... " >&6; }
21278
13316
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13317
  $as_echo_n "(cached) " >&6
21280
13318
else
21281
13319
  case $ac_pt_PKG_CONFIG in
21282
13320
  [\\/]* | ?:[\\/]*)
21291
13329
  for ac_exec_ext in '' $ac_executable_extensions; do
21292
13330
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21293
13331
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21294
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13332
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21295
13333
    break 2
21296
13334
  fi
21297
13335
done
21303
13341
fi
21304
13342
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21305
13343
if test -n "$ac_pt_PKG_CONFIG"; then
21306
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21307
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
13344
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
13345
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
21308
13346
else
21309
 
  { echo "$as_me:$LINENO: result: no" >&5
21310
 
echo "${ECHO_T}no" >&6; }
 
13347
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13348
$as_echo "no" >&6; }
21311
13349
fi
21312
13350
 
21313
13351
  if test "x$ac_pt_PKG_CONFIG" = x; then
21315
13353
  else
21316
13354
    case $cross_compiling:$ac_tool_warned in
21317
13355
yes:)
21318
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21319
 
whose name does not start with the host triplet.  If you think this
21320
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
21321
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21322
 
whose name does not start with the host triplet.  If you think this
21323
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
13356
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13357
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21324
13358
ac_tool_warned=yes ;;
21325
13359
esac
21326
13360
    PKG_CONFIG=$ac_pt_PKG_CONFIG
21332
13366
fi
21333
13367
if test -n "$PKG_CONFIG"; then
21334
13368
        _pkg_min_version=0.9.0
21335
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21336
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
13369
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
13370
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21337
13371
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21338
 
                { echo "$as_me:$LINENO: result: yes" >&5
21339
 
echo "${ECHO_T}yes" >&6; }
 
13372
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13373
$as_echo "yes" >&6; }
21340
13374
        else
21341
 
                { echo "$as_me:$LINENO: result: no" >&5
21342
 
echo "${ECHO_T}no" >&6; }
 
13375
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
13376
$as_echo "no" >&6; }
21343
13377
                PKG_CONFIG=""
21344
13378
        fi
21345
13379
 
21346
13380
fi
21347
13381
 
21348
13382
pkg_failed=no
21349
 
{ echo "$as_me:$LINENO: checking for CAIRO" >&5
21350
 
echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
 
13383
{ $as_echo "$as_me:$LINENO: checking for CAIRO" >&5
 
13384
$as_echo_n "checking for CAIRO... " >&6; }
21351
13385
 
21352
 
if test -n "$PKG_CONFIG"; then
21353
 
    if test -n "$CAIRO_CFLAGS"; then
21354
 
        pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
21355
 
    else
21356
 
        if test -n "$PKG_CONFIG" && \
21357
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo cairo-png\"") >&5
 
13386
if test -n "$CAIRO_CFLAGS"; then
 
13387
    pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
 
13388
 elif test -n "$PKG_CONFIG"; then
 
13389
    if test -n "$PKG_CONFIG" && \
 
13390
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo cairo-png\"") >&5
21358
13391
  ($PKG_CONFIG --exists --print-errors "cairo cairo-png") 2>&5
21359
13392
  ac_status=$?
21360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13393
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361
13394
  (exit $ac_status); }; then
21362
13395
  pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-png" 2>/dev/null`
21363
13396
else
21364
13397
  pkg_failed=yes
21365
13398
fi
21366
 
    fi
21367
 
else
21368
 
        pkg_failed=untried
 
13399
 else
 
13400
    pkg_failed=untried
21369
13401
fi
21370
 
if test -n "$PKG_CONFIG"; then
21371
 
    if test -n "$CAIRO_LIBS"; then
21372
 
        pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
21373
 
    else
21374
 
        if test -n "$PKG_CONFIG" && \
21375
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo cairo-png\"") >&5
 
13402
if test -n "$CAIRO_LIBS"; then
 
13403
    pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
 
13404
 elif test -n "$PKG_CONFIG"; then
 
13405
    if test -n "$PKG_CONFIG" && \
 
13406
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo cairo-png\"") >&5
21376
13407
  ($PKG_CONFIG --exists --print-errors "cairo cairo-png") 2>&5
21377
13408
  ac_status=$?
21378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13409
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379
13410
  (exit $ac_status); }; then
21380
13411
  pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-png" 2>/dev/null`
21381
13412
else
21382
13413
  pkg_failed=yes
21383
13414
fi
21384
 
    fi
21385
 
else
21386
 
        pkg_failed=untried
 
13415
 else
 
13416
    pkg_failed=untried
21387
13417
fi
21388
13418
 
21389
13419
 
21396
13426
        _pkg_short_errors_supported=no
21397
13427
fi
21398
13428
        if test $_pkg_short_errors_supported = yes; then
21399
 
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo cairo-png"`
 
13429
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo cairo-png" 2>&1`
21400
13430
        else
21401
 
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo cairo-png"`
 
13431
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo cairo-png" 2>&1`
21402
13432
        fi
21403
13433
        # Put the nasty error message in config.log where it belongs
21404
13434
        echo "$CAIRO_PKG_ERRORS" >&5
21405
13435
 
21406
 
        { echo "$as_me:$LINENO: result: no" >&5
21407
 
echo "${ECHO_T}no" >&6; }
 
13436
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13437
$as_echo "no" >&6; }
21408
13438
                enable_test=no
21409
13439
elif test $pkg_failed = untried; then
21410
13440
        enable_test=no
21411
13441
else
21412
13442
        CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
21413
13443
        CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
21414
 
        { echo "$as_me:$LINENO: result: yes" >&5
21415
 
echo "${ECHO_T}yes" >&6; }
 
13444
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13445
$as_echo "yes" >&6; }
21416
13446
        enable_test=yes
21417
13447
fi
21418
13448
 
21419
13449
    if test "x$enable_test" != "xyes"; then
21420
 
        { echo "$as_me:$LINENO: WARNING: \"Tests disabled since required cairo library was not found\"" >&5
21421
 
echo "$as_me: WARNING: \"Tests disabled since required cairo library was not found\"" >&2;}
 
13450
        { $as_echo "$as_me:$LINENO: WARNING: \"Tests disabled since required cairo library was not found\"" >&5
 
13451
$as_echo "$as_me: WARNING: \"Tests disabled since required cairo library was not found\"" >&2;}
21422
13452
    fi
21423
13453
fi
21424
13454
 
21451
13481
if test "x$spectre_cv_warn_maybe" != "x$MAYBE_WARN"; then
21452
13482
        unset spectre_cv_warn_cflags
21453
13483
fi
21454
 
{ echo "$as_me:$LINENO: checking for supported warning flags" >&5
21455
 
echo $ECHO_N "checking for supported warning flags... $ECHO_C" >&6; }
 
13484
{ $as_echo "$as_me:$LINENO: checking for supported warning flags" >&5
 
13485
$as_echo_n "checking for supported warning flags... " >&6; }
21456
13486
if test "${spectre_cv_warn_cflags+set}" = set; then
21457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13487
  $as_echo_n "(cached) " >&6
21458
13488
else
21459
13489
 
21460
13490
        echo
21473
13503
 
21474
13504
        for W in $MAYBE_WARN; do
21475
13505
 
21476
 
  { echo "$as_me:$LINENO: checking whether $CC supports $W" >&5
21477
 
echo $ECHO_N "checking whether $CC supports $W... $ECHO_C" >&6; }
 
13506
  { $as_echo "$as_me:$LINENO: checking whether $CC supports $W" >&5
 
13507
$as_echo_n "checking whether $CC supports $W... " >&6; }
21478
13508
 
21479
13509
  spectre_save_CFLAGS="$CFLAGS"
21480
13510
  CFLAGS="$CFLAGS $W"
21488
13518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21489
13519
  *) ac_try_echo=$ac_try;;
21490
13520
esac
21491
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13521
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13522
$as_echo "$ac_try_echo") >&5
21492
13523
  (eval "$ac_compile") 2>conftest.er1
21493
13524
  ac_status=$?
21494
13525
  grep -v '^ *+' conftest.er1 >conftest.err
21495
13526
  rm -f conftest.er1
21496
13527
  cat conftest.err >&5
21497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13528
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498
13529
  (exit $ac_status); } && {
21499
13530
         test -z "$ac_c_werror_flag" ||
21500
13531
         test ! -s conftest.err
21501
13532
       } && test -s conftest.$ac_objext; then
21502
13533
  spectre_cc_flag=yes
21503
13534
else
21504
 
  echo "$as_me: failed program was:" >&5
 
13535
  $as_echo "$as_me: failed program was:" >&5
21505
13536
sed 's/^/| /' conftest.$ac_ext >&5
21506
13537
 
21507
13538
        spectre_cc_flag=no
21515
13546
  else
21516
13547
    :
21517
13548
  fi
21518
 
  { echo "$as_me:$LINENO: result: $spectre_cc_flag" >&5
21519
 
echo "${ECHO_T}$spectre_cc_flag" >&6; }
 
13549
  { $as_echo "$as_me:$LINENO: result: $spectre_cc_flag" >&5
 
13550
$as_echo "$spectre_cc_flag" >&6; }
21520
13551
 
21521
13552
        done
21522
13553
 
21523
13554
        spectre_cv_warn_cflags=$WARN_CFLAGS
21524
13555
        spectre_cv_warn_maybe=$MAYBE_WARN
21525
13556
 
21526
 
        { echo "$as_me:$LINENO: checking which warning flags were supported" >&5
21527
 
echo $ECHO_N "checking which warning flags were supported... $ECHO_C" >&6; }
 
13557
        { $as_echo "$as_me:$LINENO: checking which warning flags were supported" >&5
 
13558
$as_echo_n "checking which warning flags were supported... " >&6; }
21528
13559
fi
21529
 
{ echo "$as_me:$LINENO: result: $spectre_cv_warn_cflags" >&5
21530
 
echo "${ECHO_T}$spectre_cv_warn_cflags" >&6; }
 
13560
{ $as_echo "$as_me:$LINENO: result: $spectre_cv_warn_cflags" >&5
 
13561
$as_echo "$spectre_cv_warn_cflags" >&6; }
21531
13562
WARN_CFLAGS="$spectre_cv_warn_cflags"
21532
13563
SPECTRE_CFLAGS="$SPECTRE_CFLAGS $WARN_CFLAGS"
21533
13564
 
21534
13565
 
21535
13566
 
21536
 
{ echo "$as_me:$LINENO: checking for an implementation of va_copy()" >&5
21537
 
echo $ECHO_N "checking for an implementation of va_copy()... $ECHO_C" >&6; }
 
13567
{ $as_echo "$as_me:$LINENO: checking for an implementation of va_copy()" >&5
 
13568
$as_echo_n "checking for an implementation of va_copy()... " >&6; }
21538
13569
if test "${spectre_cv_va_copy+set}" = set; then
21539
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13570
  $as_echo_n "(cached) " >&6
21540
13571
else
21541
13572
 
21542
13573
        cat >conftest.$ac_ext <<_ACEOF
21561
13592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562
13593
  *) ac_try_echo=$ac_try;;
21563
13594
esac
21564
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13595
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13596
$as_echo "$ac_try_echo") >&5
21565
13597
  (eval "$ac_link") 2>conftest.er1
21566
13598
  ac_status=$?
21567
13599
  grep -v '^ *+' conftest.er1 >conftest.err
21568
13600
  rm -f conftest.er1
21569
13601
  cat conftest.err >&5
21570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13602
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571
13603
  (exit $ac_status); } && {
21572
13604
         test -z "$ac_c_werror_flag" ||
21573
13605
         test ! -s conftest.err
21574
 
       } && test -s conftest$ac_exeext &&
21575
 
       $as_test_x conftest$ac_exeext; then
 
13606
       } && test -s conftest$ac_exeext && {
 
13607
         test "$cross_compiling" = yes ||
 
13608
         $as_test_x conftest$ac_exeext
 
13609
       }; then
21576
13610
  spectre_cv_va_copy=yes
21577
13611
else
21578
 
  echo "$as_me: failed program was:" >&5
 
13612
  $as_echo "$as_me: failed program was:" >&5
21579
13613
sed 's/^/| /' conftest.$ac_ext >&5
21580
13614
 
21581
13615
        spectre_cv_va_copy=no
21582
13616
fi
21583
13617
 
 
13618
rm -rf conftest.dSYM
21584
13619
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21585
13620
      conftest$ac_exeext conftest.$ac_ext
21586
13621
 
21587
13622
fi
21588
 
{ echo "$as_me:$LINENO: result: $spectre_cv_va_copy" >&5
21589
 
echo "${ECHO_T}$spectre_cv_va_copy" >&6; }
21590
 
{ echo "$as_me:$LINENO: checking for an implementation of __va_copy()" >&5
21591
 
echo $ECHO_N "checking for an implementation of __va_copy()... $ECHO_C" >&6; }
 
13623
{ $as_echo "$as_me:$LINENO: result: $spectre_cv_va_copy" >&5
 
13624
$as_echo "$spectre_cv_va_copy" >&6; }
 
13625
{ $as_echo "$as_me:$LINENO: checking for an implementation of __va_copy()" >&5
 
13626
$as_echo_n "checking for an implementation of __va_copy()... " >&6; }
21592
13627
if test "${spectre_cv___va_copy+set}" = set; then
21593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13628
  $as_echo_n "(cached) " >&6
21594
13629
else
21595
13630
 
21596
13631
        cat >conftest.$ac_ext <<_ACEOF
21615
13650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21616
13651
  *) ac_try_echo=$ac_try;;
21617
13652
esac
21618
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13653
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13654
$as_echo "$ac_try_echo") >&5
21619
13655
  (eval "$ac_link") 2>conftest.er1
21620
13656
  ac_status=$?
21621
13657
  grep -v '^ *+' conftest.er1 >conftest.err
21622
13658
  rm -f conftest.er1
21623
13659
  cat conftest.err >&5
21624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13660
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625
13661
  (exit $ac_status); } && {
21626
13662
         test -z "$ac_c_werror_flag" ||
21627
13663
         test ! -s conftest.err
21628
 
       } && test -s conftest$ac_exeext &&
21629
 
       $as_test_x conftest$ac_exeext; then
 
13664
       } && test -s conftest$ac_exeext && {
 
13665
         test "$cross_compiling" = yes ||
 
13666
         $as_test_x conftest$ac_exeext
 
13667
       }; then
21630
13668
  spectre_cv___va_copy=yes
21631
13669
else
21632
 
  echo "$as_me: failed program was:" >&5
 
13670
  $as_echo "$as_me: failed program was:" >&5
21633
13671
sed 's/^/| /' conftest.$ac_ext >&5
21634
13672
 
21635
13673
        spectre_cv___va_copy=no
21636
13674
fi
21637
13675
 
 
13676
rm -rf conftest.dSYM
21638
13677
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21639
13678
      conftest$ac_exeext conftest.$ac_ext
21640
13679
 
21641
13680
fi
21642
 
{ echo "$as_me:$LINENO: result: $spectre_cv___va_copy" >&5
21643
 
echo "${ECHO_T}$spectre_cv___va_copy" >&6; }
 
13681
{ $as_echo "$as_me:$LINENO: result: $spectre_cv___va_copy" >&5
 
13682
$as_echo "$spectre_cv___va_copy" >&6; }
21644
13683
 
21645
13684
if test "x$spectre_cv_va_copy" = "xyes"; then
21646
13685
  spectre_va_copy_func=va_copy
21663
13702
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21664
13703
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21665
13704
 
21666
 
{ echo "$as_me:$LINENO: checking whether va_lists can be copied by value" >&5
21667
 
echo $ECHO_N "checking whether va_lists can be copied by value... $ECHO_C" >&6; }
 
13705
{ $as_echo "$as_me:$LINENO: checking whether va_lists can be copied by value" >&5
 
13706
$as_echo_n "checking whether va_lists can be copied by value... " >&6; }
21668
13707
if test "${spectre_cv_va_val_copy+set}" = set; then
21669
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13708
  $as_echo_n "(cached) " >&6
21670
13709
else
21671
13710
  if test "$cross_compiling" = yes; then
21672
13711
  spectre_cv_va_val_copy=yes
21708
13747
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709
13748
  *) ac_try_echo=$ac_try;;
21710
13749
esac
21711
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13750
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13751
$as_echo "$ac_try_echo") >&5
21712
13752
  (eval "$ac_link") 2>&5
21713
13753
  ac_status=$?
21714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13754
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715
13755
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21716
13756
  { (case "(($ac_try" in
21717
13757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718
13758
  *) ac_try_echo=$ac_try;;
21719
13759
esac
21720
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13760
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13761
$as_echo "$ac_try_echo") >&5
21721
13762
  (eval "$ac_try") 2>&5
21722
13763
  ac_status=$?
21723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13764
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724
13765
  (exit $ac_status); }; }; then
21725
13766
  spectre_cv_va_val_copy=yes
21726
13767
else
21727
 
  echo "$as_me: program exited with status $ac_status" >&5
21728
 
echo "$as_me: failed program was:" >&5
 
13768
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
13769
$as_echo "$as_me: failed program was:" >&5
21729
13770
sed 's/^/| /' conftest.$ac_ext >&5
21730
13771
 
21731
13772
( exit $ac_status )
21732
13773
spectre_cv_va_val_copy=no
21733
13774
fi
 
13775
rm -rf conftest.dSYM
21734
13776
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21735
13777
fi
21736
13778
 
21737
13779
 
21738
13780
 
21739
13781
fi
21740
 
{ echo "$as_me:$LINENO: result: $spectre_cv_va_val_copy" >&5
21741
 
echo "${ECHO_T}$spectre_cv_va_val_copy" >&6; }
 
13782
{ $as_echo "$as_me:$LINENO: result: $spectre_cv_va_val_copy" >&5
 
13783
$as_echo "$spectre_cv_va_val_copy" >&6; }
21742
13784
ac_ext=c
21743
13785
ac_cpp='$CPP $CPPFLAGS'
21744
13786
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754
13796
 
21755
13797
fi
21756
13798
 
21757
 
ac_config_files="$ac_config_files Makefile Doxyfile libspectre/Makefile libspectre/spectre-version.h libspectre/ghostscript/Makefile test/Makefile libspectre.pc"
 
13799
ac_config_files="$ac_config_files Makefile Doxyfile libspectre/Makefile libspectre/spectre-version.h test/Makefile libspectre.pc"
21758
13800
 
21759
13801
cat >confcache <<\_ACEOF
21760
13802
# This file is a shell script that caches the results of configure
21783
13825
    case $ac_val in #(
21784
13826
    *${as_nl}*)
21785
13827
      case $ac_var in #(
21786
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21787
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
13828
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13829
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21788
13830
      esac
21789
13831
      case $ac_var in #(
21790
13832
      _ | IFS | as_nl) ;; #(
 
13833
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21791
13834
      *) $as_unset $ac_var ;;
21792
13835
      esac ;;
21793
13836
    esac
21820
13863
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21821
13864
  if test -w "$cache_file"; then
21822
13865
    test "x$cache_file" != "x/dev/null" &&
21823
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21824
 
echo "$as_me: updating cache $cache_file" >&6;}
 
13866
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13867
$as_echo "$as_me: updating cache $cache_file" >&6;}
21825
13868
    cat confcache >$cache_file
21826
13869
  else
21827
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21828
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
13870
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13871
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21829
13872
  fi
21830
13873
fi
21831
13874
rm -f confcache
21841
13884
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21842
13885
  # 1. Remove the extension, and $U if already installed.
21843
13886
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21844
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
13887
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21845
13888
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21846
13889
  #    will be set to the directory where LIBOBJS objects are built.
21847
13890
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21852
13895
LTLIBOBJS=$ac_ltlibobjs
21853
13896
 
21854
13897
 
 
13898
 if test -n "$EXEEXT"; then
 
13899
  am__EXEEXT_TRUE=
 
13900
  am__EXEEXT_FALSE='#'
 
13901
else
 
13902
  am__EXEEXT_TRUE='#'
 
13903
  am__EXEEXT_FALSE=
 
13904
fi
 
13905
 
21855
13906
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21856
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
13907
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21857
13908
Usually this means the macro was only invoked conditionally." >&5
21858
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
13909
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21859
13910
Usually this means the macro was only invoked conditionally." >&2;}
21860
13911
   { (exit 1); exit 1; }; }
21861
13912
fi
21862
13913
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21863
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21864
 
Usually this means the macro was only invoked conditionally." >&5
21865
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
21866
 
Usually this means the macro was only invoked conditionally." >&2;}
21867
 
   { (exit 1); exit 1; }; }
21868
 
fi
21869
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21870
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21871
 
Usually this means the macro was only invoked conditionally." >&5
21872
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21873
 
Usually this means the macro was only invoked conditionally." >&2;}
21874
 
   { (exit 1); exit 1; }; }
21875
 
fi
21876
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21877
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21878
 
Usually this means the macro was only invoked conditionally." >&5
21879
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21880
 
Usually this means the macro was only invoked conditionally." >&2;}
21881
 
   { (exit 1); exit 1; }; }
21882
 
fi
21883
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21884
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21885
 
Usually this means the macro was only invoked conditionally." >&5
21886
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21887
 
Usually this means the macro was only invoked conditionally." >&2;}
21888
 
   { (exit 1); exit 1; }; }
21889
 
fi
 
13914
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
13915
Usually this means the macro was only invoked conditionally." >&5
 
13916
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
13917
Usually this means the macro was only invoked conditionally." >&2;}
 
13918
   { (exit 1); exit 1; }; }
 
13919
fi
 
13920
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13921
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
13922
Usually this means the macro was only invoked conditionally." >&5
 
13923
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
13924
Usually this means the macro was only invoked conditionally." >&2;}
 
13925
   { (exit 1); exit 1; }; }
 
13926
fi
 
13927
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13928
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
13929
Usually this means the macro was only invoked conditionally." >&5
 
13930
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
13931
Usually this means the macro was only invoked conditionally." >&2;}
 
13932
   { (exit 1); exit 1; }; }
 
13933
fi
 
13934
 
21890
13935
if test -z "${ENABLE_TEST_TRUE}" && test -z "${ENABLE_TEST_FALSE}"; then
21891
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_TEST\" was never defined.
 
13936
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_TEST\" was never defined.
21892
13937
Usually this means the macro was only invoked conditionally." >&5
21893
 
echo "$as_me: error: conditional \"ENABLE_TEST\" was never defined.
 
13938
$as_echo "$as_me: error: conditional \"ENABLE_TEST\" was never defined.
21894
13939
Usually this means the macro was only invoked conditionally." >&2;}
21895
13940
   { (exit 1); exit 1; }; }
21896
13941
fi
21897
13942
 
21898
13943
: ${CONFIG_STATUS=./config.status}
 
13944
ac_write_fail=0
21899
13945
ac_clean_files_save=$ac_clean_files
21900
13946
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21901
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21902
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
21903
 
cat >$CONFIG_STATUS <<_ACEOF
 
13947
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13948
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
13949
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21904
13950
#! $SHELL
21905
13951
# Generated by $as_me.
21906
13952
# Run this file to recreate the current configuration.
21913
13959
SHELL=\${CONFIG_SHELL-$SHELL}
21914
13960
_ACEOF
21915
13961
 
21916
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13962
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21917
13963
## --------------------- ##
21918
13964
## M4sh Initialization.  ##
21919
13965
## --------------------- ##
21923
13969
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21924
13970
  emulate sh
21925
13971
  NULLCMD=:
21926
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
13972
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21927
13973
  # is contrary to our usage.  Disable this feature.
21928
13974
  alias -g '${1+"$@"}'='"$@"'
21929
13975
  setopt NO_GLOB_SUBST
21945
13991
as_cr_digits='0123456789'
21946
13992
as_cr_alnum=$as_cr_Letters$as_cr_digits
21947
13993
 
 
13994
as_nl='
 
13995
'
 
13996
export as_nl
 
13997
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
13998
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
13999
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
14000
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
14001
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14002
  as_echo='printf %s\n'
 
14003
  as_echo_n='printf %s'
 
14004
else
 
14005
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
14006
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
14007
    as_echo_n='/usr/ucb/echo -n'
 
14008
  else
 
14009
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
14010
    as_echo_n_body='eval
 
14011
      arg=$1;
 
14012
      case $arg in
 
14013
      *"$as_nl"*)
 
14014
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
14015
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
14016
      esac;
 
14017
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
14018
    '
 
14019
    export as_echo_n_body
 
14020
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
14021
  fi
 
14022
  export as_echo_body
 
14023
  as_echo='sh -c $as_echo_body as_echo'
 
14024
fi
 
14025
 
21948
14026
# The user is always right.
21949
14027
if test "${PATH_SEPARATOR+set}" != set; then
21950
 
  echo "#! /bin/sh" >conf$$.sh
21951
 
  echo  "exit 0"   >>conf$$.sh
21952
 
  chmod +x conf$$.sh
21953
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21954
 
    PATH_SEPARATOR=';'
21955
 
  else
21956
 
    PATH_SEPARATOR=:
21957
 
  fi
21958
 
  rm -f conf$$.sh
 
14028
  PATH_SEPARATOR=:
 
14029
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
14030
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
14031
      PATH_SEPARATOR=';'
 
14032
  }
21959
14033
fi
21960
14034
 
21961
14035
# Support unset when possible.
21971
14045
# there to prevent editors from complaining about space-tab.
21972
14046
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21973
14047
# splitting by setting IFS to empty value.)
21974
 
as_nl='
21975
 
'
21976
14048
IFS=" ""        $as_nl"
21977
14049
 
21978
14050
# Find who we are.  Look in the path if we contain no directory separator.
21995
14067
  as_myself=$0
21996
14068
fi
21997
14069
if test ! -f "$as_myself"; then
21998
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
14070
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21999
14071
  { (exit 1); exit 1; }
22000
14072
fi
22001
14073
 
22008
14080
PS4='+ '
22009
14081
 
22010
14082
# NLS nuisances.
22011
 
for as_var in \
22012
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22013
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22014
 
  LC_TELEPHONE LC_TIME
22015
 
do
22016
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22017
 
    eval $as_var=C; export $as_var
22018
 
  else
22019
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22020
 
  fi
22021
 
done
 
14083
LC_ALL=C
 
14084
export LC_ALL
 
14085
LANGUAGE=C
 
14086
export LANGUAGE
22022
14087
 
22023
14088
# Required to use basename.
22024
14089
if expr a : '\(a\)' >/dev/null 2>&1 &&
22040
14105
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22041
14106
         X"$0" : 'X\(//\)$' \| \
22042
14107
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22043
 
echo X/"$0" |
 
14108
$as_echo X/"$0" |
22044
14109
    sed '/^.*\/\([^/][^/]*\)\/*$/{
22045
14110
            s//\1/
22046
14111
            q
22091
14156
      s/-\n.*//
22092
14157
    ' >$as_me.lineno &&
22093
14158
  chmod +x "$as_me.lineno" ||
22094
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
14159
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22095
14160
   { (exit 1); exit 1; }; }
22096
14161
 
22097
14162
  # Don't try to exec as it changes $[0], causing all sort of problems
22119
14184
*)
22120
14185
  ECHO_N='-n';;
22121
14186
esac
22122
 
 
22123
14187
if expr a : '\(a\)' >/dev/null 2>&1 &&
22124
14188
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22125
14189
  as_expr=expr
22132
14196
  rm -f conf$$.dir/conf$$.file
22133
14197
else
22134
14198
  rm -f conf$$.dir
22135
 
  mkdir conf$$.dir
 
14199
  mkdir conf$$.dir 2>/dev/null
22136
14200
fi
22137
 
echo >conf$$.file
22138
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
22139
 
  as_ln_s='ln -s'
22140
 
  # ... but there are two gotchas:
22141
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22142
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22143
 
  # In both cases, we have to default to `cp -p'.
22144
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
14201
if (echo >conf$$.file) 2>/dev/null; then
 
14202
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
14203
    as_ln_s='ln -s'
 
14204
    # ... but there are two gotchas:
 
14205
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
14206
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
14207
    # In both cases, we have to default to `cp -p'.
 
14208
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
14209
      as_ln_s='cp -p'
 
14210
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
14211
    as_ln_s=ln
 
14212
  else
22145
14213
    as_ln_s='cp -p'
22146
 
elif ln conf$$.file conf$$ 2>/dev/null; then
22147
 
  as_ln_s=ln
 
14214
  fi
22148
14215
else
22149
14216
  as_ln_s='cp -p'
22150
14217
fi
22169
14236
  as_test_x='
22170
14237
    eval sh -c '\''
22171
14238
      if test -d "$1"; then
22172
 
        test -d "$1/.";
 
14239
        test -d "$1/.";
22173
14240
      else
22174
14241
        case $1 in
22175
 
        -*)set "./$1";;
 
14242
        -*)set "./$1";;
22176
14243
        esac;
22177
14244
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22178
14245
        ???[sx]*):;;*)false;;esac;fi
22194
14261
# report actual input values of CONFIG_FILES etc. instead of their
22195
14262
# values after options handling.
22196
14263
ac_log="
22197
 
This file was extended by libspectre $as_me 0.2.2, which was
22198
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
14264
This file was extended by libspectre $as_me 0.2.3, which was
 
14265
generated by GNU Autoconf 2.63.  Invocation command line was
22199
14266
 
22200
14267
  CONFIG_FILES    = $CONFIG_FILES
22201
14268
  CONFIG_HEADERS  = $CONFIG_HEADERS
22208
14275
 
22209
14276
_ACEOF
22210
14277
 
22211
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14278
case $ac_config_files in *"
 
14279
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
14280
esac
 
14281
 
 
14282
case $ac_config_headers in *"
 
14283
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
14284
esac
 
14285
 
 
14286
 
 
14287
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22212
14288
# Files that config.status was made for.
22213
14289
config_files="$ac_config_files"
22214
14290
config_headers="$ac_config_headers"
22216
14292
 
22217
14293
_ACEOF
22218
14294
 
22219
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14295
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22220
14296
ac_cs_usage="\
22221
14297
\`$as_me' instantiates files from templates according to the
22222
14298
current configuration.
22223
14299
 
22224
 
Usage: $0 [OPTIONS] [FILE]...
 
14300
Usage: $0 [OPTION]... [FILE]...
22225
14301
 
22226
14302
  -h, --help       print this help, then exit
22227
14303
  -V, --version    print version number and configuration settings, then exit
22228
 
  -q, --quiet      do not print progress messages
 
14304
  -q, --quiet, --silent
 
14305
                   do not print progress messages
22229
14306
  -d, --debug      don't remove temporary files
22230
14307
      --recheck    update $as_me by reconfiguring in the same conditions
22231
 
  --file=FILE[:TEMPLATE]
22232
 
                   instantiate the configuration file FILE
22233
 
  --header=FILE[:TEMPLATE]
22234
 
                   instantiate the configuration header FILE
 
14308
      --file=FILE[:TEMPLATE]
 
14309
                   instantiate the configuration file FILE
 
14310
      --header=FILE[:TEMPLATE]
 
14311
                   instantiate the configuration header FILE
22235
14312
 
22236
14313
Configuration files:
22237
14314
$config_files
22245
14322
Report bugs to <bug-autoconf@gnu.org>."
22246
14323
 
22247
14324
_ACEOF
22248
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14325
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22249
14326
ac_cs_version="\\
22250
 
libspectre config.status 0.2.2
22251
 
configured by $0, generated by GNU Autoconf 2.61,
22252
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
14327
libspectre config.status 0.2.3
 
14328
configured by $0, generated by GNU Autoconf 2.63,
 
14329
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22253
14330
 
22254
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
14331
Copyright (C) 2008 Free Software Foundation, Inc.
22255
14332
This config.status script is free software; the Free Software Foundation
22256
14333
gives unlimited permission to copy, distribute and modify it."
22257
14334
 
22259
14336
srcdir='$srcdir'
22260
14337
INSTALL='$INSTALL'
22261
14338
MKDIR_P='$MKDIR_P'
 
14339
AWK='$AWK'
 
14340
test -n "\$AWK" || AWK=awk
22262
14341
_ACEOF
22263
14342
 
22264
 
cat >>$CONFIG_STATUS <<\_ACEOF
22265
 
# If no file are specified by the user, then we need to provide default
22266
 
# value.  By we need to know if files were specified by the user.
 
14343
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14344
# The default lists apply if the user does not specify any file.
22267
14345
ac_need_defaults=:
22268
14346
while test $# != 0
22269
14347
do
22285
14363
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22286
14364
    ac_cs_recheck=: ;;
22287
14365
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22288
 
    echo "$ac_cs_version"; exit ;;
 
14366
    $as_echo "$ac_cs_version"; exit ;;
22289
14367
  --debug | --debu | --deb | --de | --d | -d )
22290
14368
    debug=: ;;
22291
14369
  --file | --fil | --fi | --f )
22292
14370
    $ac_shift
22293
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
14371
    case $ac_optarg in
 
14372
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14373
    esac
 
14374
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
22294
14375
    ac_need_defaults=false;;
22295
14376
  --header | --heade | --head | --hea )
22296
14377
    $ac_shift
22297
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
14378
    case $ac_optarg in
 
14379
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14380
    esac
 
14381
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
22298
14382
    ac_need_defaults=false;;
22299
14383
  --he | --h)
22300
14384
    # Conflict between --help and --header
22301
 
    { echo "$as_me: error: ambiguous option: $1
 
14385
    { $as_echo "$as_me: error: ambiguous option: $1
22302
14386
Try \`$0 --help' for more information." >&2
22303
14387
   { (exit 1); exit 1; }; };;
22304
14388
  --help | --hel | -h )
22305
 
    echo "$ac_cs_usage"; exit ;;
 
14389
    $as_echo "$ac_cs_usage"; exit ;;
22306
14390
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22307
14391
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22308
14392
    ac_cs_silent=: ;;
22309
14393
 
22310
14394
  # This is an error.
22311
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
14395
  -*) { $as_echo "$as_me: error: unrecognized option: $1
22312
14396
Try \`$0 --help' for more information." >&2
22313
14397
   { (exit 1); exit 1; }; } ;;
22314
14398
 
22327
14411
fi
22328
14412
 
22329
14413
_ACEOF
22330
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14414
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22331
14415
if \$ac_cs_recheck; then
22332
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22333
 
  CONFIG_SHELL=$SHELL
 
14416
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
14417
  shift
 
14418
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
14419
  CONFIG_SHELL='$SHELL'
22334
14420
  export CONFIG_SHELL
22335
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
14421
  exec "\$@"
22336
14422
fi
22337
14423
 
22338
14424
_ACEOF
22339
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14425
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22340
14426
exec 5>>config.log
22341
14427
{
22342
14428
  echo
22343
14429
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22344
14430
## Running $as_me. ##
22345
14431
_ASBOX
22346
 
  echo "$ac_log"
 
14432
  $as_echo "$ac_log"
22347
14433
} >&5
22348
14434
 
22349
14435
_ACEOF
22350
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14436
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22351
14437
#
22352
14438
# INIT-COMMANDS
22353
14439
#
22354
14440
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22355
14441
 
 
14442
 
 
14443
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14444
# if CDPATH is set.
 
14445
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14446
 
 
14447
sed_quote_subst='$sed_quote_subst'
 
14448
double_quote_subst='$double_quote_subst'
 
14449
delay_variable_subst='$delay_variable_subst'
 
14450
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14451
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
14452
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
14453
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14454
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
14455
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
14456
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14457
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
14458
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14459
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14460
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
14461
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14462
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
14463
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
14464
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14465
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14466
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14467
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
14468
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
14469
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
14470
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
14471
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
14472
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
14473
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
14474
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
14475
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
14476
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14477
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14478
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
14479
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
14480
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
14481
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
14482
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14483
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
14484
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
14485
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14486
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14487
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14488
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
14489
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14490
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
14491
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
14492
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
14493
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
14494
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"`'
 
14495
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"`'
 
14496
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
14497
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
14498
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
14499
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
14500
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14501
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
14502
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
14503
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14504
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
14505
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
14506
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
14507
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
14508
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
14509
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
14510
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
14511
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
14512
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14513
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14514
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
14515
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
14516
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14517
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14518
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
14519
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14520
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14521
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14522
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14523
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14524
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14525
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14526
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14527
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14528
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14529
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14530
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
14531
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
14532
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
14533
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
14534
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14535
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
14536
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14537
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
14538
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
14539
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
14540
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14541
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14542
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14543
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14544
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14545
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
14546
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
14547
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14548
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
14549
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14550
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14551
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14552
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14553
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14554
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14555
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14556
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14557
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14558
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
14559
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
14560
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14561
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14562
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
14563
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
14564
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
14565
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14566
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14567
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14568
 
 
14569
LTCC='$LTCC'
 
14570
LTCFLAGS='$LTCFLAGS'
 
14571
compiler='$compiler_DEFAULT'
 
14572
 
 
14573
# Quote evaled strings.
 
14574
for var in SED \
 
14575
GREP \
 
14576
EGREP \
 
14577
FGREP \
 
14578
LD \
 
14579
NM \
 
14580
LN_S \
 
14581
lt_SP2NL \
 
14582
lt_NL2SP \
 
14583
reload_flag \
 
14584
OBJDUMP \
 
14585
deplibs_check_method \
 
14586
file_magic_cmd \
 
14587
AR \
 
14588
AR_FLAGS \
 
14589
STRIP \
 
14590
RANLIB \
 
14591
CC \
 
14592
CFLAGS \
 
14593
compiler \
 
14594
lt_cv_sys_global_symbol_pipe \
 
14595
lt_cv_sys_global_symbol_to_cdecl \
 
14596
lt_cv_sys_global_symbol_to_c_name_address \
 
14597
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14598
SHELL \
 
14599
ECHO \
 
14600
lt_prog_compiler_no_builtin_flag \
 
14601
lt_prog_compiler_wl \
 
14602
lt_prog_compiler_pic \
 
14603
lt_prog_compiler_static \
 
14604
lt_cv_prog_compiler_c_o \
 
14605
need_locks \
 
14606
DSYMUTIL \
 
14607
NMEDIT \
 
14608
LIPO \
 
14609
OTOOL \
 
14610
OTOOL64 \
 
14611
shrext_cmds \
 
14612
export_dynamic_flag_spec \
 
14613
whole_archive_flag_spec \
 
14614
compiler_needs_object \
 
14615
with_gnu_ld \
 
14616
allow_undefined_flag \
 
14617
no_undefined_flag \
 
14618
hardcode_libdir_flag_spec \
 
14619
hardcode_libdir_flag_spec_ld \
 
14620
hardcode_libdir_separator \
 
14621
fix_srcfile_path \
 
14622
exclude_expsyms \
 
14623
include_expsyms \
 
14624
file_list_spec \
 
14625
variables_saved_for_relink \
 
14626
libname_spec \
 
14627
library_names_spec \
 
14628
soname_spec \
 
14629
finish_eval \
 
14630
old_striplib \
 
14631
striplib; do
 
14632
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14633
    *[\\\\\\\`\\"\\\$]*)
 
14634
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14635
      ;;
 
14636
    *)
 
14637
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14638
      ;;
 
14639
    esac
 
14640
done
 
14641
 
 
14642
# Double-quote double-evaled strings.
 
14643
for var in reload_cmds \
 
14644
old_postinstall_cmds \
 
14645
old_postuninstall_cmds \
 
14646
old_archive_cmds \
 
14647
extract_expsyms_cmds \
 
14648
old_archive_from_new_cmds \
 
14649
old_archive_from_expsyms_cmds \
 
14650
archive_cmds \
 
14651
archive_expsym_cmds \
 
14652
module_cmds \
 
14653
module_expsym_cmds \
 
14654
export_symbols_cmds \
 
14655
prelink_cmds \
 
14656
postinstall_cmds \
 
14657
postuninstall_cmds \
 
14658
finish_cmds \
 
14659
sys_lib_search_path_spec \
 
14660
sys_lib_dlsearch_path_spec; do
 
14661
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14662
    *[\\\\\\\`\\"\\\$]*)
 
14663
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14664
      ;;
 
14665
    *)
 
14666
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14667
      ;;
 
14668
    esac
 
14669
done
 
14670
 
 
14671
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
14672
case \$lt_ECHO in
 
14673
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
14674
  ;;
 
14675
esac
 
14676
 
 
14677
ac_aux_dir='$ac_aux_dir'
 
14678
xsi_shell='$xsi_shell'
 
14679
lt_shell_append='$lt_shell_append'
 
14680
 
 
14681
# See if we are running on zsh, and set the options which allow our
 
14682
# commands through without removal of \ escapes INIT.
 
14683
if test -n "\${ZSH_VERSION+set}" ; then
 
14684
   setopt NO_GLOB_SUBST
 
14685
fi
 
14686
 
 
14687
 
 
14688
    PACKAGE='$PACKAGE'
 
14689
    VERSION='$VERSION'
 
14690
    TIMESTAMP='$TIMESTAMP'
 
14691
    RM='$RM'
 
14692
    ofile='$ofile'
 
14693
 
 
14694
 
 
14695
 
 
14696
 
22356
14697
_ACEOF
22357
14698
 
22358
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14699
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22359
14700
 
22360
14701
# Handling of arguments.
22361
14702
for ac_config_target in $ac_config_targets
22363
14704
  case $ac_config_target in
22364
14705
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22365
14706
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
14707
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22366
14708
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22367
14709
    "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
22368
14710
    "libspectre/Makefile") CONFIG_FILES="$CONFIG_FILES libspectre/Makefile" ;;
22369
14711
    "libspectre/spectre-version.h") CONFIG_FILES="$CONFIG_FILES libspectre/spectre-version.h" ;;
22370
 
    "libspectre/ghostscript/Makefile") CONFIG_FILES="$CONFIG_FILES libspectre/ghostscript/Makefile" ;;
22371
14712
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
22372
14713
    "libspectre.pc") CONFIG_FILES="$CONFIG_FILES libspectre.pc" ;;
22373
14714
 
22374
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22375
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
14715
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
14716
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22376
14717
   { (exit 1); exit 1; }; };;
22377
14718
  esac
22378
14719
done
22413
14754
  (umask 077 && mkdir "$tmp")
22414
14755
} ||
22415
14756
{
22416
 
   echo "$me: cannot create a temporary directory in ." >&2
 
14757
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
22417
14758
   { (exit 1); exit 1; }
22418
14759
}
22419
14760
 
22420
 
#
22421
 
# Set up the sed scripts for CONFIG_FILES section.
22422
 
#
22423
 
 
22424
 
# No need to generate the scripts if there are no CONFIG_FILES.
22425
 
# This happens for instance when ./config.status config.h
 
14761
# Set up the scripts for CONFIG_FILES section.
 
14762
# No need to generate them if there are no CONFIG_FILES.
 
14763
# This happens for instance with `./config.status config.h'.
22426
14764
if test -n "$CONFIG_FILES"; then
22427
14765
 
22428
 
_ACEOF
22429
 
 
22430
 
 
22431
 
 
22432
 
ac_delim='%!_!# '
22433
 
for ac_last_try in false false false false false :; do
22434
 
  cat >conf$$subs.sed <<_ACEOF
22435
 
SHELL!$SHELL$ac_delim
22436
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22437
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22438
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22439
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22440
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22441
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22442
 
exec_prefix!$exec_prefix$ac_delim
22443
 
prefix!$prefix$ac_delim
22444
 
program_transform_name!$program_transform_name$ac_delim
22445
 
bindir!$bindir$ac_delim
22446
 
sbindir!$sbindir$ac_delim
22447
 
libexecdir!$libexecdir$ac_delim
22448
 
datarootdir!$datarootdir$ac_delim
22449
 
datadir!$datadir$ac_delim
22450
 
sysconfdir!$sysconfdir$ac_delim
22451
 
sharedstatedir!$sharedstatedir$ac_delim
22452
 
localstatedir!$localstatedir$ac_delim
22453
 
includedir!$includedir$ac_delim
22454
 
oldincludedir!$oldincludedir$ac_delim
22455
 
docdir!$docdir$ac_delim
22456
 
infodir!$infodir$ac_delim
22457
 
htmldir!$htmldir$ac_delim
22458
 
dvidir!$dvidir$ac_delim
22459
 
pdfdir!$pdfdir$ac_delim
22460
 
psdir!$psdir$ac_delim
22461
 
libdir!$libdir$ac_delim
22462
 
localedir!$localedir$ac_delim
22463
 
mandir!$mandir$ac_delim
22464
 
DEFS!$DEFS$ac_delim
22465
 
ECHO_C!$ECHO_C$ac_delim
22466
 
ECHO_N!$ECHO_N$ac_delim
22467
 
ECHO_T!$ECHO_T$ac_delim
22468
 
LIBS!$LIBS$ac_delim
22469
 
build_alias!$build_alias$ac_delim
22470
 
host_alias!$host_alias$ac_delim
22471
 
target_alias!$target_alias$ac_delim
22472
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22473
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22474
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
22475
 
am__isrc!$am__isrc$ac_delim
22476
 
CYGPATH_W!$CYGPATH_W$ac_delim
22477
 
PACKAGE!$PACKAGE$ac_delim
22478
 
VERSION!$VERSION$ac_delim
22479
 
ACLOCAL!$ACLOCAL$ac_delim
22480
 
AUTOCONF!$AUTOCONF$ac_delim
22481
 
AUTOMAKE!$AUTOMAKE$ac_delim
22482
 
AUTOHEADER!$AUTOHEADER$ac_delim
22483
 
MAKEINFO!$MAKEINFO$ac_delim
22484
 
install_sh!$install_sh$ac_delim
22485
 
STRIP!$STRIP$ac_delim
22486
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22487
 
mkdir_p!$mkdir_p$ac_delim
22488
 
AWK!$AWK$ac_delim
22489
 
SET_MAKE!$SET_MAKE$ac_delim
22490
 
am__leading_dot!$am__leading_dot$ac_delim
22491
 
AMTAR!$AMTAR$ac_delim
22492
 
am__tar!$am__tar$ac_delim
22493
 
am__untar!$am__untar$ac_delim
22494
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
22495
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
22496
 
MAINT!$MAINT$ac_delim
22497
 
VERSION_INFO!$VERSION_INFO$ac_delim
22498
 
LT_CURRENT_MINUS_AGE!$LT_CURRENT_MINUS_AGE$ac_delim
22499
 
LT_CURRENT!$LT_CURRENT$ac_delim
22500
 
LT_REVISION!$LT_REVISION$ac_delim
22501
 
LT_AGE!$LT_AGE$ac_delim
22502
 
SPECTRE_MAJOR_VERSION!$SPECTRE_MAJOR_VERSION$ac_delim
22503
 
SPECTRE_MINOR_VERSION!$SPECTRE_MINOR_VERSION$ac_delim
22504
 
SPECTRE_MICRO_VERSION!$SPECTRE_MICRO_VERSION$ac_delim
22505
 
SPECTRE_VERSION!$SPECTRE_VERSION$ac_delim
22506
 
build!$build$ac_delim
22507
 
build_cpu!$build_cpu$ac_delim
22508
 
build_vendor!$build_vendor$ac_delim
22509
 
build_os!$build_os$ac_delim
22510
 
host!$host$ac_delim
22511
 
host_cpu!$host_cpu$ac_delim
22512
 
host_vendor!$host_vendor$ac_delim
22513
 
host_os!$host_os$ac_delim
22514
 
CC!$CC$ac_delim
22515
 
CFLAGS!$CFLAGS$ac_delim
22516
 
LDFLAGS!$LDFLAGS$ac_delim
22517
 
CPPFLAGS!$CPPFLAGS$ac_delim
22518
 
ac_ct_CC!$ac_ct_CC$ac_delim
22519
 
EXEEXT!$EXEEXT$ac_delim
22520
 
OBJEXT!$OBJEXT$ac_delim
22521
 
DEPDIR!$DEPDIR$ac_delim
22522
 
am__include!$am__include$ac_delim
22523
 
am__quote!$am__quote$ac_delim
22524
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22525
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22526
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22527
 
CCDEPMODE!$CCDEPMODE$ac_delim
22528
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22529
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22530
 
GREP!$GREP$ac_delim
22531
 
EGREP!$EGREP$ac_delim
22532
 
_ACEOF
22533
 
 
22534
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22535
 
    break
22536
 
  elif $ac_last_try; then
22537
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22538
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22539
 
   { (exit 1); exit 1; }; }
22540
 
  else
22541
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22542
 
  fi
22543
 
done
22544
 
 
22545
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22546
 
if test -n "$ac_eof"; then
22547
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22548
 
  ac_eof=`expr $ac_eof + 1`
22549
 
fi
22550
 
 
22551
 
cat >>$CONFIG_STATUS <<_ACEOF
22552
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22553
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22554
 
_ACEOF
22555
 
sed '
22556
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22557
 
s/^/s,@/; s/!/@,|#_!!_#|/
22558
 
:n
22559
 
t n
22560
 
s/'"$ac_delim"'$/,g/; t
22561
 
s/$/\\/; p
22562
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22563
 
' >>$CONFIG_STATUS <conf$$subs.sed
22564
 
rm -f conf$$subs.sed
22565
 
cat >>$CONFIG_STATUS <<_ACEOF
22566
 
CEOF$ac_eof
22567
 
_ACEOF
22568
 
 
22569
 
 
22570
 
ac_delim='%!_!# '
22571
 
for ac_last_try in false false false false false :; do
22572
 
  cat >conf$$subs.sed <<_ACEOF
22573
 
LN_S!$LN_S$ac_delim
22574
 
ECHO!$ECHO$ac_delim
22575
 
AR!$AR$ac_delim
22576
 
RANLIB!$RANLIB$ac_delim
22577
 
CPP!$CPP$ac_delim
22578
 
CXX!$CXX$ac_delim
22579
 
CXXFLAGS!$CXXFLAGS$ac_delim
22580
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
22581
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
22582
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22583
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22584
 
CXXCPP!$CXXCPP$ac_delim
22585
 
F77!$F77$ac_delim
22586
 
FFLAGS!$FFLAGS$ac_delim
22587
 
ac_ct_F77!$ac_ct_F77$ac_delim
22588
 
LIBTOOL!$LIBTOOL$ac_delim
22589
 
LIB_GS!$LIB_GS$ac_delim
22590
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
22591
 
CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
22592
 
CAIRO_LIBS!$CAIRO_LIBS$ac_delim
22593
 
ENABLE_TEST_TRUE!$ENABLE_TEST_TRUE$ac_delim
22594
 
ENABLE_TEST_FALSE!$ENABLE_TEST_FALSE$ac_delim
22595
 
SPECTRE_CFLAGS!$SPECTRE_CFLAGS$ac_delim
22596
 
LIBOBJS!$LIBOBJS$ac_delim
22597
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
22598
 
_ACEOF
22599
 
 
22600
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
22601
 
    break
22602
 
  elif $ac_last_try; then
22603
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22604
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22605
 
   { (exit 1); exit 1; }; }
22606
 
  else
22607
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22608
 
  fi
22609
 
done
22610
 
 
22611
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22612
 
if test -n "$ac_eof"; then
22613
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22614
 
  ac_eof=`expr $ac_eof + 1`
22615
 
fi
22616
 
 
22617
 
cat >>$CONFIG_STATUS <<_ACEOF
22618
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22619
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22620
 
_ACEOF
22621
 
sed '
22622
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22623
 
s/^/s,@/; s/!/@,|#_!!_#|/
22624
 
:n
22625
 
t n
22626
 
s/'"$ac_delim"'$/,g/; t
22627
 
s/$/\\/; p
22628
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22629
 
' >>$CONFIG_STATUS <conf$$subs.sed
22630
 
rm -f conf$$subs.sed
22631
 
cat >>$CONFIG_STATUS <<_ACEOF
22632
 
:end
22633
 
s/|#_!!_#|//g
22634
 
CEOF$ac_eof
22635
 
_ACEOF
22636
 
 
 
14766
 
 
14767
ac_cr='
 
 
b"'"
 
14768
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
14769
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
14770
  ac_cs_awk_cr='\\r'
 
14771
else
 
14772
  ac_cs_awk_cr=$ac_cr
 
14773
fi
 
14774
 
 
14775
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14776
_ACEOF
 
14777
 
 
14778
 
 
14779
{
 
14780
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
14781
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
14782
  echo "_ACEOF"
 
14783
} >conf$$subs.sh ||
 
14784
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14785
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14786
   { (exit 1); exit 1; }; }
 
14787
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14788
ac_delim='%!_!# '
 
14789
for ac_last_try in false false false false false :; do
 
14790
  . ./conf$$subs.sh ||
 
14791
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14792
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14793
   { (exit 1); exit 1; }; }
 
14794
 
 
14795
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
14796
  if test $ac_delim_n = $ac_delim_num; then
 
14797
    break
 
14798
  elif $ac_last_try; then
 
14799
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14800
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14801
   { (exit 1); exit 1; }; }
 
14802
  else
 
14803
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14804
  fi
 
14805
done
 
14806
rm -f conf$$subs.sh
 
14807
 
 
14808
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14809
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14810
_ACEOF
 
14811
sed -n '
 
14812
h
 
14813
s/^/S["/; s/!.*/"]=/
 
14814
p
 
14815
g
 
14816
s/^[^!]*!//
 
14817
:repl
 
14818
t repl
 
14819
s/'"$ac_delim"'$//
 
14820
t delim
 
14821
:nl
 
14822
h
 
14823
s/\(.\{148\}\).*/\1/
 
14824
t more1
 
14825
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
14826
p
 
14827
n
 
14828
b repl
 
14829
:more1
 
14830
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14831
p
 
14832
g
 
14833
s/.\{148\}//
 
14834
t nl
 
14835
:delim
 
14836
h
 
14837
s/\(.\{148\}\).*/\1/
 
14838
t more2
 
14839
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
14840
p
 
14841
b
 
14842
:more2
 
14843
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14844
p
 
14845
g
 
14846
s/.\{148\}//
 
14847
t delim
 
14848
' <conf$$subs.awk | sed '
 
14849
/^[^""]/{
 
14850
  N
 
14851
  s/\n//
 
14852
}
 
14853
' >>$CONFIG_STATUS || ac_write_fail=1
 
14854
rm -f conf$$subs.awk
 
14855
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14856
_ACAWK
 
14857
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14858
  for (key in S) S_is_set[key] = 1
 
14859
  FS = ""
 
14860
 
 
14861
}
 
14862
{
 
14863
  line = $ 0
 
14864
  nfields = split(line, field, "@")
 
14865
  substed = 0
 
14866
  len = length(field[1])
 
14867
  for (i = 2; i < nfields; i++) {
 
14868
    key = field[i]
 
14869
    keylen = length(key)
 
14870
    if (S_is_set[key]) {
 
14871
      value = S[key]
 
14872
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
14873
      len += length(value) + length(field[++i])
 
14874
      substed = 1
 
14875
    } else
 
14876
      len += 1 + keylen
 
14877
  }
 
14878
 
 
14879
  print line
 
14880
}
 
14881
 
 
14882
_ACAWK
 
14883
_ACEOF
 
14884
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14885
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
14886
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
14887
else
 
14888
  cat
 
14889
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14890
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
14891
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
14892
   { (exit 1); exit 1; }; }
 
14893
_ACEOF
22637
14894
 
22638
14895
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22639
14896
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22650
14907
}'
22651
14908
fi
22652
14909
 
22653
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14910
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22654
14911
fi # test -n "$CONFIG_FILES"
22655
14912
 
22656
 
 
22657
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
14913
# Set up the scripts for CONFIG_HEADERS section.
 
14914
# No need to generate them if there are no CONFIG_HEADERS.
 
14915
# This happens for instance with `./config.status Makefile'.
 
14916
if test -n "$CONFIG_HEADERS"; then
 
14917
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14918
BEGIN {
 
14919
_ACEOF
 
14920
 
 
14921
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
14922
# here-document in config.status, that substitutes the proper values into
 
14923
# config.h.in to produce config.h.
 
14924
 
 
14925
# Create a delimiter string that does not exist in confdefs.h, to ease
 
14926
# handling of long lines.
 
14927
ac_delim='%!_!# '
 
14928
for ac_last_try in false false :; do
 
14929
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
14930
  if test -z "$ac_t"; then
 
14931
    break
 
14932
  elif $ac_last_try; then
 
14933
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
14934
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
14935
   { (exit 1); exit 1; }; }
 
14936
  else
 
14937
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14938
  fi
 
14939
done
 
14940
 
 
14941
# For the awk script, D is an array of macro values keyed by name,
 
14942
# likewise P contains macro parameters if any.  Preserve backslash
 
14943
# newline sequences.
 
14944
 
 
14945
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
14946
sed -n '
 
14947
s/.\{148\}/&'"$ac_delim"'/g
 
14948
t rset
 
14949
:rset
 
14950
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
14951
t def
 
14952
d
 
14953
:def
 
14954
s/\\$//
 
14955
t bsnl
 
14956
s/["\\]/\\&/g
 
14957
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14958
D["\1"]=" \3"/p
 
14959
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
14960
d
 
14961
:bsnl
 
14962
s/["\\]/\\&/g
 
14963
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14964
D["\1"]=" \3\\\\\\n"\\/p
 
14965
t cont
 
14966
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
14967
t cont
 
14968
d
 
14969
:cont
 
14970
n
 
14971
s/.\{148\}/&'"$ac_delim"'/g
 
14972
t clear
 
14973
:clear
 
14974
s/\\$//
 
14975
t bsnlc
 
14976
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
14977
d
 
14978
:bsnlc
 
14979
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
14980
b cont
 
14981
' <confdefs.h | sed '
 
14982
s/'"$ac_delim"'/"\\\
 
14983
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
14984
 
 
14985
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14986
  for (key in D) D_is_set[key] = 1
 
14987
  FS = ""
 
14988
}
 
14989
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
14990
  line = \$ 0
 
14991
  split(line, arg, " ")
 
14992
  if (arg[1] == "#") {
 
14993
    defundef = arg[2]
 
14994
    mac1 = arg[3]
 
14995
  } else {
 
14996
    defundef = substr(arg[1], 2)
 
14997
    mac1 = arg[2]
 
14998
  }
 
14999
  split(mac1, mac2, "(") #)
 
15000
  macro = mac2[1]
 
15001
  prefix = substr(line, 1, index(line, defundef) - 1)
 
15002
  if (D_is_set[macro]) {
 
15003
    # Preserve the white space surrounding the "#".
 
15004
    print prefix "define", macro P[macro] D[macro]
 
15005
    next
 
15006
  } else {
 
15007
    # Replace #undef with comments.  This is necessary, for example,
 
15008
    # in the case of _POSIX_SOURCE, which is predefined and required
 
15009
    # on some systems where configure will not decide to define it.
 
15010
    if (defundef == "undef") {
 
15011
      print "/*", prefix defundef, macro, "*/"
 
15012
      next
 
15013
    }
 
15014
  }
 
15015
}
 
15016
{ print }
 
15017
_ACAWK
 
15018
_ACEOF
 
15019
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15020
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
15021
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
15022
   { (exit 1); exit 1; }; }
 
15023
fi # test -n "$CONFIG_HEADERS"
 
15024
 
 
15025
 
 
15026
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
15027
shift
 
15028
for ac_tag
22658
15029
do
22659
15030
  case $ac_tag in
22660
15031
  :[FHLC]) ac_mode=$ac_tag; continue;;
22661
15032
  esac
22662
15033
  case $ac_mode$ac_tag in
22663
15034
  :[FHL]*:*);;
22664
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22665
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
15035
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
15036
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22666
15037
   { (exit 1); exit 1; }; };;
22667
15038
  :[FH]-) ac_tag=-:-;;
22668
15039
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22691
15062
           [\\/$]*) false;;
22692
15063
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22693
15064
           esac ||
22694
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22695
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
15065
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
15066
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22696
15067
   { (exit 1); exit 1; }; };;
22697
15068
      esac
22698
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
15069
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
15070
      ac_file_inputs="$ac_file_inputs '$ac_f'"
22699
15071
    done
22700
15072
 
22701
15073
    # Let's still pretend it is `configure' which instantiates (i.e., don't
22702
15074
    # use $as_me), people would be surprised to read:
22703
15075
    #    /* config.h.  Generated by config.status.  */
22704
 
    configure_input="Generated from "`IFS=:
22705
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
15076
    configure_input='Generated from '`
 
15077
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
15078
        `' by configure.'
22706
15079
    if test x"$ac_file" != x-; then
22707
15080
      configure_input="$ac_file.  $configure_input"
22708
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
22709
 
echo "$as_me: creating $ac_file" >&6;}
 
15081
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
15082
$as_echo "$as_me: creating $ac_file" >&6;}
22710
15083
    fi
 
15084
    # Neutralize special characters interpreted by sed in replacement strings.
 
15085
    case $configure_input in #(
 
15086
    *\&* | *\|* | *\\* )
 
15087
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
15088
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
15089
    *) ac_sed_conf_input=$configure_input;;
 
15090
    esac
22711
15091
 
22712
15092
    case $ac_tag in
22713
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
15093
    *:-:* | *:-) cat >"$tmp/stdin" \
 
15094
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15095
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15096
   { (exit 1); exit 1; }; } ;;
22714
15097
    esac
22715
15098
    ;;
22716
15099
  esac
22720
15103
         X"$ac_file" : 'X\(//\)[^/]' \| \
22721
15104
         X"$ac_file" : 'X\(//\)$' \| \
22722
15105
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22723
 
echo X"$ac_file" |
 
15106
$as_echo X"$ac_file" |
22724
15107
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22725
15108
            s//\1/
22726
15109
            q
22746
15129
    as_dirs=
22747
15130
    while :; do
22748
15131
      case $as_dir in #(
22749
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
15132
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22750
15133
      *) as_qdir=$as_dir;;
22751
15134
      esac
22752
15135
      as_dirs="'$as_qdir' $as_dirs"
22755
15138
         X"$as_dir" : 'X\(//\)[^/]' \| \
22756
15139
         X"$as_dir" : 'X\(//\)$' \| \
22757
15140
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22758
 
echo X"$as_dir" |
 
15141
$as_echo X"$as_dir" |
22759
15142
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22760
15143
            s//\1/
22761
15144
            q
22776
15159
      test -d "$as_dir" && break
22777
15160
    done
22778
15161
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22779
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22780
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
15162
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
15163
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22781
15164
   { (exit 1); exit 1; }; }; }
22782
15165
  ac_builddir=.
22783
15166
 
22784
15167
case "$ac_dir" in
22785
15168
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22786
15169
*)
22787
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
15170
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22788
15171
  # A ".." for each directory in $ac_dir_suffix.
22789
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
15172
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22790
15173
  case $ac_top_builddir_sub in
22791
15174
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22792
15175
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22831
15214
  esac
22832
15215
_ACEOF
22833
15216
 
22834
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
15217
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22835
15218
# If the template does not know about datarootdir, expand it.
22836
15219
# FIXME: This hack should be removed a few years after 2.60.
22837
15220
ac_datarootdir_hack=; ac_datarootdir_seen=
22838
15221
 
22839
 
case `sed -n '/datarootdir/ {
 
15222
ac_sed_dataroot='
 
15223
/datarootdir/ {
22840
15224
  p
22841
15225
  q
22842
15226
}
22845
15229
/@infodir@/p
22846
15230
/@localedir@/p
22847
15231
/@mandir@/p
22848
 
' $ac_file_inputs` in
 
15232
'
 
15233
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22849
15234
*datarootdir*) ac_datarootdir_seen=yes;;
22850
15235
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22851
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22852
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
15236
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15237
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22853
15238
_ACEOF
22854
 
cat >>$CONFIG_STATUS <<_ACEOF
 
15239
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22855
15240
  ac_datarootdir_hack='
22856
15241
  s&@datadir@&$datadir&g
22857
15242
  s&@docdir@&$docdir&g
22865
15250
# Neutralize VPATH when `$srcdir' = `.'.
22866
15251
# Shell code in configure.ac might set extrasub.
22867
15252
# FIXME: do we really want to maintain this feature?
22868
 
cat >>$CONFIG_STATUS <<_ACEOF
22869
 
  sed "$ac_vpsub
 
15253
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15254
ac_sed_extra="$ac_vpsub
22870
15255
$extrasub
22871
15256
_ACEOF
22872
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
15257
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22873
15258
:t
22874
15259
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22875
 
s&@configure_input@&$configure_input&;t t
 
15260
s|@configure_input@|$ac_sed_conf_input|;t t
22876
15261
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
15262
s&@top_build_prefix@&$ac_top_build_prefix&;t t
22877
15263
s&@srcdir@&$ac_srcdir&;t t
22878
15264
s&@abs_srcdir@&$ac_abs_srcdir&;t t
22879
15265
s&@top_srcdir@&$ac_top_srcdir&;t t
22884
15270
s&@INSTALL@&$ac_INSTALL&;t t
22885
15271
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22886
15272
$ac_datarootdir_hack
22887
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
15273
"
 
15274
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
15275
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15276
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15277
   { (exit 1); exit 1; }; }
22888
15278
 
22889
15279
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22890
15280
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22891
15281
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22892
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15282
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22893
15283
which seems to be undefined.  Please make sure it is defined." >&5
22894
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15284
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22895
15285
which seems to be undefined.  Please make sure it is defined." >&2;}
22896
15286
 
22897
15287
  rm -f "$tmp/stdin"
22898
15288
  case $ac_file in
22899
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
22900
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22901
 
  esac
 
15289
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
15290
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15291
  esac \
 
15292
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15293
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15294
   { (exit 1); exit 1; }; }
22902
15295
 ;;
22903
15296
  :H)
22904
15297
  #
22905
15298
  # CONFIG_HEADER
22906
15299
  #
22907
 
_ACEOF
22908
 
 
22909
 
# Transform confdefs.h into a sed script `conftest.defines', that
22910
 
# substitutes the proper values into config.h.in to produce config.h.
22911
 
rm -f conftest.defines conftest.tail
22912
 
# First, append a space to every undef/define line, to ease matching.
22913
 
echo 's/$/ /' >conftest.defines
22914
 
# Then, protect against being on the right side of a sed subst, or in
22915
 
# an unquoted here document, in config.status.  If some macros were
22916
 
# called several times there might be several #defines for the same
22917
 
# symbol, which is useless.  But do not sort them, since the last
22918
 
# AC_DEFINE must be honored.
22919
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22920
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22921
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
22922
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
22923
 
# just an empty string.
22924
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
22925
 
ac_dB='\\)[      (].*,\\1define\\2'
22926
 
ac_dC=' '
22927
 
ac_dD=' ,'
22928
 
 
22929
 
uniq confdefs.h |
22930
 
  sed -n '
22931
 
        t rset
22932
 
        :rset
22933
 
        s/^[     ]*#[    ]*define[       ][      ]*//
22934
 
        t ok
22935
 
        d
22936
 
        :ok
22937
 
        s/[\\&,]/\\&/g
22938
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22939
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22940
 
  ' >>conftest.defines
22941
 
 
22942
 
# Remove the space that was appended to ease matching.
22943
 
# Then replace #undef with comments.  This is necessary, for
22944
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
22945
 
# on some systems where configure will not decide to define it.
22946
 
# (The regexp can be short, since the line contains either #define or #undef.)
22947
 
echo 's/ $//
22948
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
22949
 
 
22950
 
# Break up conftest.defines:
22951
 
ac_max_sed_lines=50
22952
 
 
22953
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22954
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22955
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22956
 
# et cetera.
22957
 
ac_in='$ac_file_inputs'
22958
 
ac_out='"$tmp/out1"'
22959
 
ac_nxt='"$tmp/out2"'
22960
 
 
22961
 
while :
22962
 
do
22963
 
  # Write a here document:
22964
 
    cat >>$CONFIG_STATUS <<_ACEOF
22965
 
    # First, check the format of the line:
22966
 
    cat >"\$tmp/defines.sed" <<\\CEOF
22967
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
22968
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
22969
 
b
22970
 
:def
22971
 
_ACEOF
22972
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22973
 
  echo 'CEOF
22974
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22975
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22976
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22977
 
  grep . conftest.tail >/dev/null || break
22978
 
  rm -f conftest.defines
22979
 
  mv conftest.tail conftest.defines
22980
 
done
22981
 
rm -f conftest.defines conftest.tail
22982
 
 
22983
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22984
 
cat >>$CONFIG_STATUS <<\_ACEOF
22985
15300
  if test x"$ac_file" != x-; then
22986
 
    echo "/* $configure_input  */" >"$tmp/config.h"
22987
 
    cat "$ac_result" >>"$tmp/config.h"
22988
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22989
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22990
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
15301
    {
 
15302
      $as_echo "/* $configure_input  */" \
 
15303
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
15304
    } >"$tmp/config.h" \
 
15305
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15306
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15307
   { (exit 1); exit 1; }; }
 
15308
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
15309
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
15310
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22991
15311
    else
22992
 
      rm -f $ac_file
22993
 
      mv "$tmp/config.h" $ac_file
 
15312
      rm -f "$ac_file"
 
15313
      mv "$tmp/config.h" "$ac_file" \
 
15314
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15315
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15316
   { (exit 1); exit 1; }; }
22994
15317
    fi
22995
15318
  else
22996
 
    echo "/* $configure_input  */"
22997
 
    cat "$ac_result"
 
15319
    $as_echo "/* $configure_input  */" \
 
15320
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
15321
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
15322
$as_echo "$as_me: error: could not create -" >&2;}
 
15323
   { (exit 1); exit 1; }; }
22998
15324
  fi
22999
 
  rm -f "$tmp/out12"
23000
 
# Compute $ac_file's index in $config_headers.
 
15325
# Compute "$ac_file"'s index in $config_headers.
 
15326
_am_arg="$ac_file"
23001
15327
_am_stamp_count=1
23002
15328
for _am_header in $config_headers :; do
23003
15329
  case $_am_header in
23004
 
    $ac_file | $ac_file:* )
 
15330
    $_am_arg | $_am_arg:* )
23005
15331
      break ;;
23006
15332
    * )
23007
15333
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23008
15334
  esac
23009
15335
done
23010
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23011
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23012
 
         X$ac_file : 'X\(//\)[^/]' \| \
23013
 
         X$ac_file : 'X\(//\)$' \| \
23014
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23015
 
echo X$ac_file |
 
15336
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
15337
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15338
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
15339
         X"$_am_arg" : 'X\(//\)$' \| \
 
15340
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
15341
$as_echo X"$_am_arg" |
23016
15342
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23017
15343
            s//\1/
23018
15344
            q
23032
15358
          s/.*/./; q'`/stamp-h$_am_stamp_count
23033
15359
 ;;
23034
15360
 
23035
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23036
 
echo "$as_me: executing $ac_file commands" >&6;}
 
15361
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
15362
$as_echo "$as_me: executing $ac_file commands" >&6;}
23037
15363
 ;;
23038
15364
  esac
23039
15365
 
23040
15366
 
23041
15367
  case $ac_file$ac_mode in
23042
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23043
 
  # Strip MF so we end up with the name of the file.
23044
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23045
 
  # Check whether this is an Automake generated Makefile or not.
23046
 
  # We used to match only the files named `Makefile.in', but
23047
 
  # some people rename them; so instead we look at the file content.
23048
 
  # Grep'ing the first line is not enough: some people post-process
23049
 
  # each Makefile.in and add a new line on top of each file to say so.
23050
 
  # Grep'ing the whole file is not good either: AIX grep has a line
23051
 
  # limit of 2048, but all sed's we know have understand at least 4000.
23052
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
23053
 
    dirpart=`$as_dirname -- "$mf" ||
 
15368
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
15369
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
15370
  # are listed without --file.  Let's play safe and only enable the eval
 
15371
  # if we detect the quoting.
 
15372
  case $CONFIG_FILES in
 
15373
  *\'*) eval set x "$CONFIG_FILES" ;;
 
15374
  *)   set x $CONFIG_FILES ;;
 
15375
  esac
 
15376
  shift
 
15377
  for mf
 
15378
  do
 
15379
    # Strip MF so we end up with the name of the file.
 
15380
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
15381
    # Check whether this is an Automake generated Makefile or not.
 
15382
    # We used to match only the files named `Makefile.in', but
 
15383
    # some people rename them; so instead we look at the file content.
 
15384
    # Grep'ing the first line is not enough: some people post-process
 
15385
    # each Makefile.in and add a new line on top of each file to say so.
 
15386
    # Grep'ing the whole file is not good either: AIX grep has a line
 
15387
    # limit of 2048, but all sed's we know have understand at least 4000.
 
15388
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
15389
      dirpart=`$as_dirname -- "$mf" ||
23054
15390
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23055
15391
         X"$mf" : 'X\(//\)[^/]' \| \
23056
15392
         X"$mf" : 'X\(//\)$' \| \
23057
15393
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23058
 
echo X"$mf" |
 
15394
$as_echo X"$mf" |
23059
15395
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23060
15396
            s//\1/
23061
15397
            q
23073
15409
            q
23074
15410
          }
23075
15411
          s/.*/./; q'`
23076
 
  else
23077
 
    continue
23078
 
  fi
23079
 
  # Extract the definition of DEPDIR, am__include, and am__quote
23080
 
  # from the Makefile without running `make'.
23081
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23082
 
  test -z "$DEPDIR" && continue
23083
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
23084
 
  test -z "am__include" && continue
23085
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23086
 
  # When using ansi2knr, U may be empty or an underscore; expand it
23087
 
  U=`sed -n 's/^U = //p' < "$mf"`
23088
 
  # Find all dependency output files, they are included files with
23089
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
23090
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
23091
 
  # expansion.
23092
 
  for file in `sed -n "
23093
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23094
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23095
 
    # Make sure the directory exists.
23096
 
    test -f "$dirpart/$file" && continue
23097
 
    fdir=`$as_dirname -- "$file" ||
 
15412
    else
 
15413
      continue
 
15414
    fi
 
15415
    # Extract the definition of DEPDIR, am__include, and am__quote
 
15416
    # from the Makefile without running `make'.
 
15417
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
15418
    test -z "$DEPDIR" && continue
 
15419
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
15420
    test -z "am__include" && continue
 
15421
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
15422
    # When using ansi2knr, U may be empty or an underscore; expand it
 
15423
    U=`sed -n 's/^U = //p' < "$mf"`
 
15424
    # Find all dependency output files, they are included files with
 
15425
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
15426
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
15427
    # expansion.
 
15428
    for file in `sed -n "
 
15429
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
15430
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15431
      # Make sure the directory exists.
 
15432
      test -f "$dirpart/$file" && continue
 
15433
      fdir=`$as_dirname -- "$file" ||
23098
15434
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23099
15435
         X"$file" : 'X\(//\)[^/]' \| \
23100
15436
         X"$file" : 'X\(//\)$' \| \
23101
15437
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23102
 
echo X"$file" |
 
15438
$as_echo X"$file" |
23103
15439
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23104
15440
            s//\1/
23105
15441
            q
23117
15453
            q
23118
15454
          }
23119
15455
          s/.*/./; q'`
23120
 
    { as_dir=$dirpart/$fdir
 
15456
      { as_dir=$dirpart/$fdir
23121
15457
  case $as_dir in #(
23122
15458
  -*) as_dir=./$as_dir;;
23123
15459
  esac
23125
15461
    as_dirs=
23126
15462
    while :; do
23127
15463
      case $as_dir in #(
23128
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
15464
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23129
15465
      *) as_qdir=$as_dir;;
23130
15466
      esac
23131
15467
      as_dirs="'$as_qdir' $as_dirs"
23134
15470
         X"$as_dir" : 'X\(//\)[^/]' \| \
23135
15471
         X"$as_dir" : 'X\(//\)$' \| \
23136
15472
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23137
 
echo X"$as_dir" |
 
15473
$as_echo X"$as_dir" |
23138
15474
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23139
15475
            s//\1/
23140
15476
            q
23155
15491
      test -d "$as_dir" && break
23156
15492
    done
23157
15493
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23158
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23159
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
15494
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
15495
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23160
15496
   { (exit 1); exit 1; }; }; }
23161
 
    # echo "creating $dirpart/$file"
23162
 
    echo '# dummy' > "$dirpart/$file"
 
15497
      # echo "creating $dirpart/$file"
 
15498
      echo '# dummy' > "$dirpart/$file"
 
15499
    done
23163
15500
  done
23164
 
done
 
15501
}
 
15502
 ;;
 
15503
    "libtool":C)
 
15504
 
 
15505
    # See if we are running on zsh, and set the options which allow our
 
15506
    # commands through without removal of \ escapes.
 
15507
    if test -n "${ZSH_VERSION+set}" ; then
 
15508
      setopt NO_GLOB_SUBST
 
15509
    fi
 
15510
 
 
15511
    cfgfile="${ofile}T"
 
15512
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
15513
    $RM "$cfgfile"
 
15514
 
 
15515
    cat <<_LT_EOF >> "$cfgfile"
 
15516
#! $SHELL
 
15517
 
 
15518
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
15519
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
15520
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15521
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
15522
#
 
15523
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15524
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15525
#   Written by Gordon Matzigkeit, 1996
 
15526
#
 
15527
#   This file is part of GNU Libtool.
 
15528
#
 
15529
# GNU Libtool is free software; you can redistribute it and/or
 
15530
# modify it under the terms of the GNU General Public License as
 
15531
# published by the Free Software Foundation; either version 2 of
 
15532
# the License, or (at your option) any later version.
 
15533
#
 
15534
# As a special exception to the GNU General Public License,
 
15535
# if you distribute this file as part of a program or library that
 
15536
# is built using GNU Libtool, you may include this file under the
 
15537
# same distribution terms that you use for the rest of that program.
 
15538
#
 
15539
# GNU Libtool is distributed in the hope that it will be useful,
 
15540
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15541
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15542
# GNU General Public License for more details.
 
15543
#
 
15544
# You should have received a copy of the GNU General Public License
 
15545
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15546
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15547
# obtained by writing to the Free Software Foundation, Inc.,
 
15548
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15549
 
 
15550
 
 
15551
# The names of the tagged configurations supported by this script.
 
15552
available_tags=""
 
15553
 
 
15554
# ### BEGIN LIBTOOL CONFIG
 
15555
 
 
15556
# Which release of libtool.m4 was used?
 
15557
macro_version=$macro_version
 
15558
macro_revision=$macro_revision
 
15559
 
 
15560
# Whether or not to build shared libraries.
 
15561
build_libtool_libs=$enable_shared
 
15562
 
 
15563
# Whether or not to build static libraries.
 
15564
build_old_libs=$enable_static
 
15565
 
 
15566
# What type of objects to build.
 
15567
pic_mode=$pic_mode
 
15568
 
 
15569
# Whether or not to optimize for fast installation.
 
15570
fast_install=$enable_fast_install
 
15571
 
 
15572
# The host system.
 
15573
host_alias=$host_alias
 
15574
host=$host
 
15575
host_os=$host_os
 
15576
 
 
15577
# The build system.
 
15578
build_alias=$build_alias
 
15579
build=$build
 
15580
build_os=$build_os
 
15581
 
 
15582
# A sed program that does not truncate output.
 
15583
SED=$lt_SED
 
15584
 
 
15585
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
15586
Xsed="\$SED -e 1s/^X//"
 
15587
 
 
15588
# A grep program that handles long lines.
 
15589
GREP=$lt_GREP
 
15590
 
 
15591
# An ERE matcher.
 
15592
EGREP=$lt_EGREP
 
15593
 
 
15594
# A literal string matcher.
 
15595
FGREP=$lt_FGREP
 
15596
 
 
15597
# A BSD- or MS-compatible name lister.
 
15598
NM=$lt_NM
 
15599
 
 
15600
# Whether we need soft or hard links.
 
15601
LN_S=$lt_LN_S
 
15602
 
 
15603
# What is the maximum length of a command?
 
15604
max_cmd_len=$max_cmd_len
 
15605
 
 
15606
# Object file suffix (normally "o").
 
15607
objext=$ac_objext
 
15608
 
 
15609
# Executable file suffix (normally "").
 
15610
exeext=$exeext
 
15611
 
 
15612
# whether the shell understands "unset".
 
15613
lt_unset=$lt_unset
 
15614
 
 
15615
# turn spaces into newlines.
 
15616
SP2NL=$lt_lt_SP2NL
 
15617
 
 
15618
# turn newlines into spaces.
 
15619
NL2SP=$lt_lt_NL2SP
 
15620
 
 
15621
# How to create reloadable object files.
 
15622
reload_flag=$lt_reload_flag
 
15623
reload_cmds=$lt_reload_cmds
 
15624
 
 
15625
# An object symbol dumper.
 
15626
OBJDUMP=$lt_OBJDUMP
 
15627
 
 
15628
# Method to check whether dependent libraries are shared objects.
 
15629
deplibs_check_method=$lt_deplibs_check_method
 
15630
 
 
15631
# Command to use when deplibs_check_method == "file_magic".
 
15632
file_magic_cmd=$lt_file_magic_cmd
 
15633
 
 
15634
# The archiver.
 
15635
AR=$lt_AR
 
15636
AR_FLAGS=$lt_AR_FLAGS
 
15637
 
 
15638
# A symbol stripping program.
 
15639
STRIP=$lt_STRIP
 
15640
 
 
15641
# Commands used to install an old-style archive.
 
15642
RANLIB=$lt_RANLIB
 
15643
old_postinstall_cmds=$lt_old_postinstall_cmds
 
15644
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
15645
 
 
15646
# A C compiler.
 
15647
LTCC=$lt_CC
 
15648
 
 
15649
# LTCC compiler flags.
 
15650
LTCFLAGS=$lt_CFLAGS
 
15651
 
 
15652
# Take the output of nm and produce a listing of raw symbols and C names.
 
15653
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15654
 
 
15655
# Transform the output of nm in a proper C declaration.
 
15656
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15657
 
 
15658
# Transform the output of nm in a C name address pair.
 
15659
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15660
 
 
15661
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
15662
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
15663
 
 
15664
# The name of the directory that contains temporary libtool files.
 
15665
objdir=$objdir
 
15666
 
 
15667
# Shell to use when invoking shell scripts.
 
15668
SHELL=$lt_SHELL
 
15669
 
 
15670
# An echo program that does not interpret backslashes.
 
15671
ECHO=$lt_ECHO
 
15672
 
 
15673
# Used to examine libraries when file_magic_cmd begins with "file".
 
15674
MAGIC_CMD=$MAGIC_CMD
 
15675
 
 
15676
# Must we lock files when doing compilation?
 
15677
need_locks=$lt_need_locks
 
15678
 
 
15679
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
15680
DSYMUTIL=$lt_DSYMUTIL
 
15681
 
 
15682
# Tool to change global to local symbols on Mac OS X.
 
15683
NMEDIT=$lt_NMEDIT
 
15684
 
 
15685
# Tool to manipulate fat objects and archives on Mac OS X.
 
15686
LIPO=$lt_LIPO
 
15687
 
 
15688
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15689
OTOOL=$lt_OTOOL
 
15690
 
 
15691
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15692
OTOOL64=$lt_OTOOL64
 
15693
 
 
15694
# Old archive suffix (normally "a").
 
15695
libext=$libext
 
15696
 
 
15697
# Shared library suffix (normally ".so").
 
15698
shrext_cmds=$lt_shrext_cmds
 
15699
 
 
15700
# The commands to extract the exported symbol list from a shared archive.
 
15701
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15702
 
 
15703
# Variables whose values should be saved in libtool wrapper scripts and
 
15704
# restored at link time.
 
15705
variables_saved_for_relink=$lt_variables_saved_for_relink
 
15706
 
 
15707
# Do we need the "lib" prefix for modules?
 
15708
need_lib_prefix=$need_lib_prefix
 
15709
 
 
15710
# Do we need a version for libraries?
 
15711
need_version=$need_version
 
15712
 
 
15713
# Library versioning type.
 
15714
version_type=$version_type
 
15715
 
 
15716
# Shared library runtime path variable.
 
15717
runpath_var=$runpath_var
 
15718
 
 
15719
# Shared library path variable.
 
15720
shlibpath_var=$shlibpath_var
 
15721
 
 
15722
# Is shlibpath searched before the hard-coded library search path?
 
15723
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15724
 
 
15725
# Format of library name prefix.
 
15726
libname_spec=$lt_libname_spec
 
15727
 
 
15728
# List of archive names.  First name is the real one, the rest are links.
 
15729
# The last name is the one that the linker finds with -lNAME
 
15730
library_names_spec=$lt_library_names_spec
 
15731
 
 
15732
# The coded name of the library, if different from the real name.
 
15733
soname_spec=$lt_soname_spec
 
15734
 
 
15735
# Command to use after installation of a shared archive.
 
15736
postinstall_cmds=$lt_postinstall_cmds
 
15737
 
 
15738
# Command to use after uninstallation of a shared archive.
 
15739
postuninstall_cmds=$lt_postuninstall_cmds
 
15740
 
 
15741
# Commands used to finish a libtool library installation in a directory.
 
15742
finish_cmds=$lt_finish_cmds
 
15743
 
 
15744
# As "finish_cmds", except a single script fragment to be evaled but
 
15745
# not shown.
 
15746
finish_eval=$lt_finish_eval
 
15747
 
 
15748
# Whether we should hardcode library paths into libraries.
 
15749
hardcode_into_libs=$hardcode_into_libs
 
15750
 
 
15751
# Compile-time system search path for libraries.
 
15752
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15753
 
 
15754
# Run-time system search path for libraries.
 
15755
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15756
 
 
15757
# Whether dlopen is supported.
 
15758
dlopen_support=$enable_dlopen
 
15759
 
 
15760
# Whether dlopen of programs is supported.
 
15761
dlopen_self=$enable_dlopen_self
 
15762
 
 
15763
# Whether dlopen of statically linked programs is supported.
 
15764
dlopen_self_static=$enable_dlopen_self_static
 
15765
 
 
15766
# Commands to strip libraries.
 
15767
old_striplib=$lt_old_striplib
 
15768
striplib=$lt_striplib
 
15769
 
 
15770
 
 
15771
# The linker used to build libraries.
 
15772
LD=$lt_LD
 
15773
 
 
15774
# Commands used to build an old-style archive.
 
15775
old_archive_cmds=$lt_old_archive_cmds
 
15776
 
 
15777
# A language specific compiler.
 
15778
CC=$lt_compiler
 
15779
 
 
15780
# Is the compiler the GNU compiler?
 
15781
with_gcc=$GCC
 
15782
 
 
15783
# Compiler flag to turn off builtin functions.
 
15784
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
15785
 
 
15786
# How to pass a linker flag through the compiler.
 
15787
wl=$lt_lt_prog_compiler_wl
 
15788
 
 
15789
# Additional compiler flags for building library objects.
 
15790
pic_flag=$lt_lt_prog_compiler_pic
 
15791
 
 
15792
# Compiler flag to prevent dynamic linking.
 
15793
link_static_flag=$lt_lt_prog_compiler_static
 
15794
 
 
15795
# Does compiler simultaneously support -c and -o options?
 
15796
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
15797
 
 
15798
# Whether or not to add -lc for building shared libraries.
 
15799
build_libtool_need_lc=$archive_cmds_need_lc
 
15800
 
 
15801
# Whether or not to disallow shared libs when runtime libs are static.
 
15802
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
15803
 
 
15804
# Compiler flag to allow reflexive dlopens.
 
15805
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
15806
 
 
15807
# Compiler flag to generate shared objects directly from archives.
 
15808
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
15809
 
 
15810
# Whether the compiler copes with passing no objects directly.
 
15811
compiler_needs_object=$lt_compiler_needs_object
 
15812
 
 
15813
# Create an old-style archive from a shared archive.
 
15814
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
15815
 
 
15816
# Create a temporary old-style archive to link instead of a shared archive.
 
15817
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
15818
 
 
15819
# Commands used to build a shared archive.
 
15820
archive_cmds=$lt_archive_cmds
 
15821
archive_expsym_cmds=$lt_archive_expsym_cmds
 
15822
 
 
15823
# Commands used to build a loadable module if different from building
 
15824
# a shared archive.
 
15825
module_cmds=$lt_module_cmds
 
15826
module_expsym_cmds=$lt_module_expsym_cmds
 
15827
 
 
15828
# Whether we are building with GNU ld or not.
 
15829
with_gnu_ld=$lt_with_gnu_ld
 
15830
 
 
15831
# Flag that allows shared libraries with undefined symbols to be built.
 
15832
allow_undefined_flag=$lt_allow_undefined_flag
 
15833
 
 
15834
# Flag that enforces no undefined symbols.
 
15835
no_undefined_flag=$lt_no_undefined_flag
 
15836
 
 
15837
# Flag to hardcode \$libdir into a binary during linking.
 
15838
# This must work even if \$libdir does not exist
 
15839
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
15840
 
 
15841
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
15842
# during linking.  This must work even if \$libdir does not exist.
 
15843
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
15844
 
 
15845
# Whether we need a single "-rpath" flag with a separated argument.
 
15846
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
15847
 
 
15848
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15849
# DIR into the resulting binary.
 
15850
hardcode_direct=$hardcode_direct
 
15851
 
 
15852
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15853
# DIR into the resulting binary and the resulting library dependency is
 
15854
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
15855
# library is relocated.
 
15856
hardcode_direct_absolute=$hardcode_direct_absolute
 
15857
 
 
15858
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
15859
# into the resulting binary.
 
15860
hardcode_minus_L=$hardcode_minus_L
 
15861
 
 
15862
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
15863
# into the resulting binary.
 
15864
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
15865
 
 
15866
# Set to "yes" if building a shared library automatically hardcodes DIR
 
15867
# into the library and all subsequent libraries and executables linked
 
15868
# against it.
 
15869
hardcode_automatic=$hardcode_automatic
 
15870
 
 
15871
# Set to yes if linker adds runtime paths of dependent libraries
 
15872
# to runtime path list.
 
15873
inherit_rpath=$inherit_rpath
 
15874
 
 
15875
# Whether libtool must link a program against all its dependency libraries.
 
15876
link_all_deplibs=$link_all_deplibs
 
15877
 
 
15878
# Fix the shell variable \$srcfile for the compiler.
 
15879
fix_srcfile_path=$lt_fix_srcfile_path
 
15880
 
 
15881
# Set to "yes" if exported symbols are required.
 
15882
always_export_symbols=$always_export_symbols
 
15883
 
 
15884
# The commands to list exported symbols.
 
15885
export_symbols_cmds=$lt_export_symbols_cmds
 
15886
 
 
15887
# Symbols that should not be listed in the preloaded symbols.
 
15888
exclude_expsyms=$lt_exclude_expsyms
 
15889
 
 
15890
# Symbols that must always be exported.
 
15891
include_expsyms=$lt_include_expsyms
 
15892
 
 
15893
# Commands necessary for linking programs (against libraries) with templates.
 
15894
prelink_cmds=$lt_prelink_cmds
 
15895
 
 
15896
# Specify filename containing input files.
 
15897
file_list_spec=$lt_file_list_spec
 
15898
 
 
15899
# How to hardcode a shared library path into an executable.
 
15900
hardcode_action=$hardcode_action
 
15901
 
 
15902
# ### END LIBTOOL CONFIG
 
15903
 
 
15904
_LT_EOF
 
15905
 
 
15906
  case $host_os in
 
15907
  aix3*)
 
15908
    cat <<\_LT_EOF >> "$cfgfile"
 
15909
# AIX sometimes has problems with the GCC collect2 program.  For some
 
15910
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
15911
# vanish in a puff of smoke.
 
15912
if test "X${COLLECT_NAMES+set}" != Xset; then
 
15913
  COLLECT_NAMES=
 
15914
  export COLLECT_NAMES
 
15915
fi
 
15916
_LT_EOF
 
15917
    ;;
 
15918
  esac
 
15919
 
 
15920
 
 
15921
ltmain="$ac_aux_dir/ltmain.sh"
 
15922
 
 
15923
 
 
15924
  # We use sed instead of cat because bash on DJGPP gets confused if
 
15925
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
15926
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
15927
  # is reportedly fixed, but why not run on old versions too?
 
15928
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
15929
    || (rm -f "$cfgfile"; exit 1)
 
15930
 
 
15931
  case $xsi_shell in
 
15932
  yes)
 
15933
    cat << \_LT_EOF >> "$cfgfile"
 
15934
 
 
15935
# func_dirname file append nondir_replacement
 
15936
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15937
# otherwise set result to NONDIR_REPLACEMENT.
 
15938
func_dirname ()
 
15939
{
 
15940
  case ${1} in
 
15941
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15942
    *  ) func_dirname_result="${3}" ;;
 
15943
  esac
 
15944
}
 
15945
 
 
15946
# func_basename file
 
15947
func_basename ()
 
15948
{
 
15949
  func_basename_result="${1##*/}"
 
15950
}
 
15951
 
 
15952
# func_dirname_and_basename file append nondir_replacement
 
15953
# perform func_basename and func_dirname in a single function
 
15954
# call:
 
15955
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
15956
#             add APPEND to the result, otherwise set result
 
15957
#             to NONDIR_REPLACEMENT.
 
15958
#             value returned in "$func_dirname_result"
 
15959
#   basename: Compute filename of FILE.
 
15960
#             value retuned in "$func_basename_result"
 
15961
# Implementation must be kept synchronized with func_dirname
 
15962
# and func_basename. For efficiency, we do not delegate to
 
15963
# those functions but instead duplicate the functionality here.
 
15964
func_dirname_and_basename ()
 
15965
{
 
15966
  case ${1} in
 
15967
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15968
    *  ) func_dirname_result="${3}" ;;
 
15969
  esac
 
15970
  func_basename_result="${1##*/}"
 
15971
}
 
15972
 
 
15973
# func_stripname prefix suffix name
 
15974
# strip PREFIX and SUFFIX off of NAME.
 
15975
# PREFIX and SUFFIX must not contain globbing or regex special
 
15976
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15977
# dot (in which case that matches only a dot).
 
15978
func_stripname ()
 
15979
{
 
15980
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
15981
  # positional parameters, so assign one to ordinary parameter first.
 
15982
  func_stripname_result=${3}
 
15983
  func_stripname_result=${func_stripname_result#"${1}"}
 
15984
  func_stripname_result=${func_stripname_result%"${2}"}
 
15985
}
 
15986
 
 
15987
# func_opt_split
 
15988
func_opt_split ()
 
15989
{
 
15990
  func_opt_split_opt=${1%%=*}
 
15991
  func_opt_split_arg=${1#*=}
 
15992
}
 
15993
 
 
15994
# func_lo2o object
 
15995
func_lo2o ()
 
15996
{
 
15997
  case ${1} in
 
15998
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
15999
    *)    func_lo2o_result=${1} ;;
 
16000
  esac
 
16001
}
 
16002
 
 
16003
# func_xform libobj-or-source
 
16004
func_xform ()
 
16005
{
 
16006
  func_xform_result=${1%.*}.lo
 
16007
}
 
16008
 
 
16009
# func_arith arithmetic-term...
 
16010
func_arith ()
 
16011
{
 
16012
  func_arith_result=$(( $* ))
 
16013
}
 
16014
 
 
16015
# func_len string
 
16016
# STRING may not start with a hyphen.
 
16017
func_len ()
 
16018
{
 
16019
  func_len_result=${#1}
 
16020
}
 
16021
 
 
16022
_LT_EOF
 
16023
    ;;
 
16024
  *) # Bourne compatible functions.
 
16025
    cat << \_LT_EOF >> "$cfgfile"
 
16026
 
 
16027
# func_dirname file append nondir_replacement
 
16028
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
16029
# otherwise set result to NONDIR_REPLACEMENT.
 
16030
func_dirname ()
 
16031
{
 
16032
  # Extract subdirectory from the argument.
 
16033
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
16034
  if test "X$func_dirname_result" = "X${1}"; then
 
16035
    func_dirname_result="${3}"
 
16036
  else
 
16037
    func_dirname_result="$func_dirname_result${2}"
 
16038
  fi
 
16039
}
 
16040
 
 
16041
# func_basename file
 
16042
func_basename ()
 
16043
{
 
16044
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
16045
}
 
16046
 
 
16047
 
 
16048
# func_stripname prefix suffix name
 
16049
# strip PREFIX and SUFFIX off of NAME.
 
16050
# PREFIX and SUFFIX must not contain globbing or regex special
 
16051
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
16052
# dot (in which case that matches only a dot).
 
16053
# func_strip_suffix prefix name
 
16054
func_stripname ()
 
16055
{
 
16056
  case ${2} in
 
16057
    .*) func_stripname_result=`$ECHO "X${3}" \
 
16058
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
16059
    *)  func_stripname_result=`$ECHO "X${3}" \
 
16060
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
16061
  esac
 
16062
}
 
16063
 
 
16064
# sed scripts:
 
16065
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
16066
my_sed_long_arg='1s/^-[^=]*=//'
 
16067
 
 
16068
# func_opt_split
 
16069
func_opt_split ()
 
16070
{
 
16071
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
16072
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
16073
}
 
16074
 
 
16075
# func_lo2o object
 
16076
func_lo2o ()
 
16077
{
 
16078
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
16079
}
 
16080
 
 
16081
# func_xform libobj-or-source
 
16082
func_xform ()
 
16083
{
 
16084
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
16085
}
 
16086
 
 
16087
# func_arith arithmetic-term...
 
16088
func_arith ()
 
16089
{
 
16090
  func_arith_result=`expr "$@"`
 
16091
}
 
16092
 
 
16093
# func_len string
 
16094
# STRING may not start with a hyphen.
 
16095
func_len ()
 
16096
{
 
16097
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
16098
}
 
16099
 
 
16100
_LT_EOF
 
16101
esac
 
16102
 
 
16103
case $lt_shell_append in
 
16104
  yes)
 
16105
    cat << \_LT_EOF >> "$cfgfile"
 
16106
 
 
16107
# func_append var value
 
16108
# Append VALUE to the end of shell variable VAR.
 
16109
func_append ()
 
16110
{
 
16111
  eval "$1+=\$2"
 
16112
}
 
16113
_LT_EOF
 
16114
    ;;
 
16115
  *)
 
16116
    cat << \_LT_EOF >> "$cfgfile"
 
16117
 
 
16118
# func_append var value
 
16119
# Append VALUE to the end of shell variable VAR.
 
16120
func_append ()
 
16121
{
 
16122
  eval "$1=\$$1\$2"
 
16123
}
 
16124
 
 
16125
_LT_EOF
 
16126
    ;;
 
16127
  esac
 
16128
 
 
16129
 
 
16130
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
16131
    || (rm -f "$cfgfile"; exit 1)
 
16132
 
 
16133
  mv -f "$cfgfile" "$ofile" ||
 
16134
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
16135
  chmod +x "$ofile"
 
16136
 
23165
16137
 ;;
23166
16138
 
23167
16139
  esac
23173
16145
chmod +x $CONFIG_STATUS
23174
16146
ac_clean_files=$ac_clean_files_save
23175
16147
 
 
16148
test $ac_write_fail = 0 ||
 
16149
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
16150
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
16151
   { (exit 1); exit 1; }; }
 
16152
 
23176
16153
 
23177
16154
# configure is writing to config.log, and then calls config.status.
23178
16155
# config.status does its own redirection, appending to config.log.
23194
16171
  # would make configure fail if this is the last instruction.
23195
16172
  $ac_cs_success || { (exit 1); exit 1; }
23196
16173
fi
 
16174
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
16175
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
16176
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
16177
fi
23197
16178