~ubuntu-branches/ubuntu/natty/libp11/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-08-16 23:45:00 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090816234500-rmcz7zu0bm46pgv7
Tags: 0.2.6-1
* New upstream release.
* debian/compat: Upgrade to version 7.
* debian/rules, debian/control: Use dh instead of debhelper.
* debian/control: Upgrade Standards-Version to 3.8.3.
* debian/libp11-1.install,  debian/libp11-1.shlibs, debian/libp11-1.symbols,
  debian/control: Rename libp11-0 to libp11-1

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 libp11 0.2.4.
 
3
# Generated by GNU Autoconf 2.63 for libp11 0.2.6.
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
549
571
 
550
572
 
551
573
 
552
 
tagnames=${tagnames+${tagnames},}RC
553
 
 
554
574
 
555
575
# Check that we are running under the correct shell.
556
576
SHELL=${CONFIG_SHELL-/bin/sh}
557
577
 
558
 
case X$ECHO in
 
578
case X$lt_ECHO in
559
579
X*--fallback-echo)
560
580
  # Remove one level of quotation (which was required for Make).
561
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562
582
  ;;
563
583
esac
564
584
 
565
 
echo=${ECHO-echo}
 
585
ECHO=${lt_ECHO-echo}
566
586
if test "X$1" = X--no-reexec; then
567
587
  # Discard the --no-reexec flag, and continue.
568
588
  shift
569
589
elif test "X$1" = X--fallback-echo; then
570
590
  # Avoid inline document here, it may be left over
571
591
  :
572
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
 
  # Yippee, $echo works!
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
574
594
  :
575
595
else
576
596
  # Restart under the correct shell.
580
600
if test "X$1" = X--fallback-echo; then
581
601
  # used as fallback echo
582
602
  shift
583
 
  cat <<EOF
 
603
  cat <<_LT_EOF
584
604
$*
585
 
EOF
 
605
_LT_EOF
586
606
  exit 0
587
607
fi
588
608
 
590
610
# if CDPATH is set.
591
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
612
 
593
 
if test -z "$ECHO"; then
594
 
if test "X${echo_test_string+set}" != Xset; then
595
 
# find a string as large as possible, as long as the shell can cope with it
596
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
 
       echo_test_string=`eval $cmd` &&
600
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601
 
    then
602
 
      break
603
 
    fi
604
 
  done
605
 
fi
606
 
 
607
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
  :
611
 
else
612
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
613
 
  # backslashes.  This makes it impossible to quote backslashes using
614
 
  #   echo "$something" | sed 's/\\/\\\\/g'
615
 
  #
616
 
  # So, first we look for a working echo in the user's PATH.
617
 
 
618
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
 
  for dir in $PATH /usr/ucb; do
 
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
620
648
    IFS="$lt_save_ifs"
621
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
625
 
      echo="$dir/echo"
626
 
      break
627
 
    fi
628
 
  done
629
 
  IFS="$lt_save_ifs"
630
649
 
631
 
  if test "X$echo" = Xecho; then
632
 
    # We didn't find a better echo, so look for alternatives.
633
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
      # This shell has a builtin print -r that does the trick.
637
 
      echo='print -r'
638
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
640
 
      # If we have ksh, try running configure again with it.
641
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
 
      export ORIGINAL_CONFIG_SHELL
643
 
      CONFIG_SHELL=/bin/ksh
644
 
      export CONFIG_SHELL
645
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646
 
    else
647
 
      # Try using printf.
648
 
      echo='printf %s\n'
649
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
652
 
        # Cool, printf works
653
 
        :
654
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = 'X\t' &&
656
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
 
        export CONFIG_SHELL
660
 
        SHELL="$CONFIG_SHELL"
661
 
        export SHELL
662
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
663
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = 'X\t' &&
665
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
667
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
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+"$@"}
668
665
      else
669
 
        # maybe with a smaller string...
670
 
        prev=:
671
 
 
672
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674
 
          then
675
 
            break
 
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
676
706
          fi
677
 
          prev="$cmd"
678
 
        done
679
 
 
680
 
        if test "$prev" != 'sed 50q "$0"'; then
681
 
          echo_test_string=`eval $prev`
682
 
          export echo_test_string
683
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
 
        else
685
 
          # Oops.  We lost completely, so just stick with echo.
686
 
          echo=echo
687
 
        fi
 
707
        fi
688
708
      fi
689
709
    fi
690
710
  fi
691
711
fi
692
 
fi
693
712
 
694
713
# Copy echo and quote the copy suitably for passing to libtool from
695
714
# the Makefile, instead of quoting the original, which is used later.
696
 
ECHO=$echo
697
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
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"
699
718
fi
700
719
 
701
720
 
702
721
 
703
722
 
704
 
tagnames=${tagnames+${tagnames},}CXX
705
 
 
706
 
tagnames=${tagnames+${tagnames},}F77
707
 
 
708
723
exec 7<&0 </dev/null 6>&1
709
724
 
710
725
# Name of the host.
728
743
# Identity of this package.
729
744
PACKAGE_NAME='libp11'
730
745
PACKAGE_TARNAME='libp11'
731
 
PACKAGE_VERSION='0.2.4'
732
 
PACKAGE_STRING='libp11 0.2.4'
 
746
PACKAGE_VERSION='0.2.6'
 
747
PACKAGE_STRING='libp11 0.2.6'
733
748
PACKAGE_BUGREPORT=''
734
749
 
735
750
ac_unique_file="src/libp11.h"
769
784
# include <unistd.h>
770
785
#endif"
771
786
 
772
 
ac_subst_vars='SHELL
773
 
PATH_SEPARATOR
774
 
PACKAGE_NAME
775
 
PACKAGE_TARNAME
776
 
PACKAGE_VERSION
777
 
PACKAGE_STRING
778
 
PACKAGE_BUGREPORT
779
 
exec_prefix
780
 
prefix
781
 
program_transform_name
782
 
bindir
783
 
sbindir
784
 
libexecdir
785
 
datarootdir
786
 
datadir
787
 
sysconfdir
788
 
sharedstatedir
789
 
localstatedir
790
 
includedir
791
 
oldincludedir
792
 
docdir
793
 
infodir
794
 
htmldir
795
 
dvidir
796
 
pdfdir
797
 
psdir
798
 
libdir
799
 
localedir
800
 
mandir
801
 
DEFS
802
 
ECHO_C
803
 
ECHO_N
804
 
ECHO_T
805
 
LIBS
806
 
build_alias
807
 
host_alias
808
 
target_alias
809
 
INSTALL_PROGRAM
810
 
INSTALL_SCRIPT
811
 
INSTALL_DATA
812
 
am__isrc
813
 
CYGPATH_W
814
 
PACKAGE
815
 
VERSION
816
 
ACLOCAL
817
 
AUTOCONF
818
 
AUTOMAKE
819
 
AUTOHEADER
820
 
MAKEINFO
821
 
install_sh
822
 
STRIP
823
 
INSTALL_STRIP_PROGRAM
824
 
mkdir_p
825
 
AWK
826
 
SET_MAKE
827
 
am__leading_dot
828
 
AMTAR
829
 
am__tar
830
 
am__untar
831
 
build
832
 
build_cpu
833
 
build_vendor
834
 
build_os
835
 
host
836
 
host_cpu
837
 
host_vendor
838
 
host_os
839
 
CC
840
 
CFLAGS
841
 
LDFLAGS
842
 
CPPFLAGS
843
 
ac_ct_CC
844
 
EXEEXT
845
 
OBJEXT
846
 
DEPDIR
847
 
am__include
848
 
am__quote
849
 
AMDEP_TRUE
850
 
AMDEP_FALSE
851
 
AMDEPBACKSLASH
852
 
CCDEPMODE
853
 
am__fastdepCC_TRUE
854
 
am__fastdepCC_FALSE
855
 
PKG_CONFIG
856
 
CPP
857
 
GREP
858
 
EGREP
859
 
LN_S
860
 
SED
 
787
ac_subst_vars='LTLIBOBJS
 
788
LIBOBJS
 
789
ENABLE_API_DOC_FALSE
 
790
ENABLE_API_DOC_TRUE
 
791
ENABLE_DOC_FALSE
 
792
ENABLE_DOC_TRUE
 
793
CYGWIN_FALSE
 
794
CYGWIN_TRUE
 
795
WIN32_FALSE
 
796
WIN32_TRUE
 
797
SVN_CHECKOUT_FALSE
 
798
SVN_CHECKOUT_TRUE
 
799
WIN_LIBPREFIX
 
800
LIBP11_LT_OLDEST
 
801
LIBP11_LT_AGE
 
802
LIBP11_LT_REVISION
 
803
LIBP11_LT_CURRENT
 
804
LIBP11_VERSION_FIX
 
805
LIBP11_VERSION_MINOR
 
806
LIBP11_VERSION_MAJOR
 
807
apidocdir
 
808
pkgconfigdir
 
809
OPENSSL_LIBS
 
810
OPENSSL_CFLAGS
 
811
LTLIB_LIBS
 
812
LTLIB_CFLAGS
 
813
TR
 
814
WGET_OPTS
 
815
WGET
 
816
SVN
 
817
XSLTPROC
 
818
DOXYGEN
861
819
RC
862
 
ECHO
 
820
OTOOL64
 
821
OTOOL
 
822
LIPO
 
823
NMEDIT
 
824
DSYMUTIL
 
825
lt_ECHO
 
826
RANLIB
863
827
AR
864
 
RANLIB
865
 
DSYMUTIL
866
 
NMEDIT
 
828
NM
 
829
ac_ct_DUMPBIN
 
830
DUMPBIN
 
831
LD
 
832
FGREP
 
833
LIBTOOL
 
834
OBJDUMP
867
835
DLLTOOL
868
836
AS
869
 
OBJDUMP
870
 
CXX
871
 
CXXFLAGS
872
 
ac_ct_CXX
873
 
CXXDEPMODE
874
 
am__fastdepCXX_TRUE
875
 
am__fastdepCXX_FALSE
876
 
CXXCPP
877
 
F77
878
 
FFLAGS
879
 
ac_ct_F77
880
 
LIBTOOL
881
 
DOXYGEN
882
 
XSLTPROC
883
 
SVN
884
 
WGET
885
 
WGET_OPTS
886
 
TR
887
 
LTLIB_CFLAGS
888
 
LTLIB_LIBS
889
 
OPENSSL_CFLAGS
890
 
OPENSSL_LIBS
891
 
pkgconfigdir
892
 
apidocdir
893
 
LIBP11_VERSION_MAJOR
894
 
LIBP11_VERSION_MINOR
895
 
LIBP11_VERSION_FIX
896
 
LIBP11_LT_CURRENT
897
 
LIBP11_LT_REVISION
898
 
LIBP11_LT_AGE
899
 
LIBP11_LT_OLDEST
900
 
WIN_LIBPREFIX
901
 
SVN_CHECKOUT_TRUE
902
 
SVN_CHECKOUT_FALSE
903
 
WIN32_TRUE
904
 
WIN32_FALSE
905
 
CYGWIN_TRUE
906
 
CYGWIN_FALSE
907
 
ENABLE_DOC_TRUE
908
 
ENABLE_DOC_FALSE
909
 
ENABLE_API_DOC_TRUE
910
 
ENABLE_API_DOC_FALSE
911
 
LIBOBJS
912
 
LTLIBOBJS'
 
837
SED
 
838
LN_S
 
839
EGREP
 
840
GREP
 
841
CPP
 
842
PKG_CONFIG
 
843
am__fastdepCC_FALSE
 
844
am__fastdepCC_TRUE
 
845
CCDEPMODE
 
846
AMDEPBACKSLASH
 
847
AMDEP_FALSE
 
848
AMDEP_TRUE
 
849
am__quote
 
850
am__include
 
851
DEPDIR
 
852
OBJEXT
 
853
EXEEXT
 
854
ac_ct_CC
 
855
CPPFLAGS
 
856
LDFLAGS
 
857
CFLAGS
 
858
CC
 
859
host_os
 
860
host_vendor
 
861
host_cpu
 
862
host
 
863
build_os
 
864
build_vendor
 
865
build_cpu
 
866
build
 
867
am__untar
 
868
am__tar
 
869
AMTAR
 
870
am__leading_dot
 
871
SET_MAKE
 
872
AWK
 
873
mkdir_p
 
874
MKDIR_P
 
875
INSTALL_STRIP_PROGRAM
 
876
STRIP
 
877
install_sh
 
878
MAKEINFO
 
879
AUTOHEADER
 
880
AUTOMAKE
 
881
AUTOCONF
 
882
ACLOCAL
 
883
VERSION
 
884
PACKAGE
 
885
CYGPATH_W
 
886
am__isrc
 
887
INSTALL_DATA
 
888
INSTALL_SCRIPT
 
889
INSTALL_PROGRAM
 
890
target_alias
 
891
host_alias
 
892
build_alias
 
893
LIBS
 
894
ECHO_T
 
895
ECHO_N
 
896
ECHO_C
 
897
DEFS
 
898
mandir
 
899
localedir
 
900
libdir
 
901
psdir
 
902
pdfdir
 
903
dvidir
 
904
htmldir
 
905
infodir
 
906
docdir
 
907
oldincludedir
 
908
includedir
 
909
localstatedir
 
910
sharedstatedir
 
911
sysconfdir
 
912
datadir
 
913
datarootdir
 
914
libexecdir
 
915
sbindir
 
916
bindir
 
917
program_transform_name
 
918
prefix
 
919
exec_prefix
 
920
PACKAGE_BUGREPORT
 
921
PACKAGE_STRING
 
922
PACKAGE_VERSION
 
923
PACKAGE_TARNAME
 
924
PACKAGE_NAME
 
925
PATH_SEPARATOR
 
926
SHELL'
913
927
ac_subst_files=''
 
928
ac_user_opts='
 
929
enable_option_checking
 
930
enable_dependency_tracking
 
931
with_cygwin_native
 
932
enable_strict
 
933
enable_pedantic
 
934
enable_doc
 
935
enable_api_doc
 
936
with_apidocdir
 
937
enable_shared
 
938
enable_static
 
939
with_pic
 
940
enable_fast_install
 
941
with_gnu_ld
 
942
enable_libtool_lock
 
943
'
914
944
      ac_precious_vars='build_alias
915
945
host_alias
916
946
target_alias
921
951
CPPFLAGS
922
952
PKG_CONFIG
923
953
CPP
924
 
CXX
925
 
CXXFLAGS
926
 
CCC
927
 
CXXCPP
928
 
F77
929
 
FFLAGS
930
954
XSLTPROC
931
955
SVN
932
956
WGET
941
965
# Initialize some variables set by options.
942
966
ac_init_help=
943
967
ac_init_version=false
 
968
ac_unrecognized_opts=
 
969
ac_unrecognized_sep=
944
970
# The variables have the same names as the options, with
945
971
# dashes changed to underlines.
946
972
cache_file=/dev/null
1039
1065
    datarootdir=$ac_optarg ;;
1040
1066
 
1041
1067
  -disable-* | --disable-*)
1042
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1068
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043
1069
    # Reject names that are not valid shell variable names.
1044
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1045
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1070
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1071
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1046
1072
   { (exit 1); exit 1; }; }
1047
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1048
 
    eval enable_$ac_feature=no ;;
 
1073
    ac_useropt_orig=$ac_useropt
 
1074
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1075
    case $ac_user_opts in
 
1076
      *"
 
1077
"enable_$ac_useropt"
 
1078
"*) ;;
 
1079
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1080
         ac_unrecognized_sep=', ';;
 
1081
    esac
 
1082
    eval enable_$ac_useropt=no ;;
1049
1083
 
1050
1084
  -docdir | --docdir | --docdi | --doc | --do)
1051
1085
    ac_prev=docdir ;;
1058
1092
    dvidir=$ac_optarg ;;
1059
1093
 
1060
1094
  -enable-* | --enable-*)
1061
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1095
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1062
1096
    # Reject names that are not valid shell variable names.
1063
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1064
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1097
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1098
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1065
1099
   { (exit 1); exit 1; }; }
1066
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1067
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1100
    ac_useropt_orig=$ac_useropt
 
1101
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1102
    case $ac_user_opts in
 
1103
      *"
 
1104
"enable_$ac_useropt"
 
1105
"*) ;;
 
1106
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1107
         ac_unrecognized_sep=', ';;
 
1108
    esac
 
1109
    eval enable_$ac_useropt=\$ac_optarg ;;
1068
1110
 
1069
1111
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1070
1112
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1255
1297
    ac_init_version=: ;;
1256
1298
 
1257
1299
  -with-* | --with-*)
1258
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1300
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259
1301
    # Reject names that are not valid shell variable names.
1260
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1261
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1302
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1303
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1262
1304
   { (exit 1); exit 1; }; }
1263
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1264
 
    eval with_$ac_package=\$ac_optarg ;;
 
1305
    ac_useropt_orig=$ac_useropt
 
1306
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1307
    case $ac_user_opts in
 
1308
      *"
 
1309
"with_$ac_useropt"
 
1310
"*) ;;
 
1311
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1312
         ac_unrecognized_sep=', ';;
 
1313
    esac
 
1314
    eval with_$ac_useropt=\$ac_optarg ;;
1265
1315
 
1266
1316
  -without-* | --without-*)
1267
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1317
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268
1318
    # Reject names that are not valid shell variable names.
1269
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1319
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1320
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1271
1321
   { (exit 1); exit 1; }; }
1272
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1273
 
    eval with_$ac_package=no ;;
 
1322
    ac_useropt_orig=$ac_useropt
 
1323
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1324
    case $ac_user_opts in
 
1325
      *"
 
1326
"with_$ac_useropt"
 
1327
"*) ;;
 
1328
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1329
         ac_unrecognized_sep=', ';;
 
1330
    esac
 
1331
    eval with_$ac_useropt=no ;;
1274
1332
 
1275
1333
  --x)
1276
1334
    # Obsolete; use --with-x.
1290
1348
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1291
1349
    x_libraries=$ac_optarg ;;
1292
1350
 
1293
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1351
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1294
1352
Try \`$0 --help' for more information." >&2
1295
1353
   { (exit 1); exit 1; }; }
1296
1354
    ;;
1299
1357
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300
1358
    # Reject names that are not valid shell variable names.
1301
1359
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1302
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1360
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1303
1361
   { (exit 1); exit 1; }; }
1304
1362
    eval $ac_envvar=\$ac_optarg
1305
1363
    export $ac_envvar ;;
1306
1364
 
1307
1365
  *)
1308
1366
    # FIXME: should be removed in autoconf 3.0.
1309
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1367
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1310
1368
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1311
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1369
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1312
1370
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1313
1371
    ;;
1314
1372
 
1317
1375
 
1318
1376
if test -n "$ac_prev"; then
1319
1377
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1320
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1378
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1321
1379
   { (exit 1); exit 1; }; }
1322
1380
fi
1323
1381
 
1324
 
# Be sure to have absolute directory names.
 
1382
if test -n "$ac_unrecognized_opts"; then
 
1383
  case $enable_option_checking in
 
1384
    no) ;;
 
1385
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1386
   { (exit 1); exit 1; }; } ;;
 
1387
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1388
  esac
 
1389
fi
 
1390
 
 
1391
# Check all directory arguments for consistency.
1325
1392
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326
1393
                datadir sysconfdir sharedstatedir localstatedir includedir \
1327
1394
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328
1395
                libdir localedir mandir
1329
1396
do
1330
1397
  eval ac_val=\$$ac_var
 
1398
  # Remove trailing slashes.
 
1399
  case $ac_val in
 
1400
    */ )
 
1401
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1402
      eval $ac_var=\$ac_val;;
 
1403
  esac
 
1404
  # Be sure to have absolute directory names.
1331
1405
  case $ac_val in
1332
1406
    [\\/$]* | ?:[\\/]* )  continue;;
1333
1407
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334
1408
  esac
1335
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1409
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1336
1410
   { (exit 1); exit 1; }; }
1337
1411
done
1338
1412
 
1347
1421
if test "x$host_alias" != x; then
1348
1422
  if test "x$build_alias" = x; then
1349
1423
    cross_compiling=maybe
1350
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1424
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1351
1425
    If a cross compiler is detected then cross compile mode will be used." >&2
1352
1426
  elif test "x$build_alias" != "x$host_alias"; then
1353
1427
    cross_compiling=yes
1363
1437
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1364
1438
ac_ls_di=`ls -di .` &&
1365
1439
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1366
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1440
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1367
1441
   { (exit 1); exit 1; }; }
1368
1442
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1369
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1443
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1370
1444
   { (exit 1); exit 1; }; }
1371
1445
 
1372
1446
 
1374
1448
if test -z "$srcdir"; then
1375
1449
  ac_srcdir_defaulted=yes
1376
1450
  # Try the directory containing this script, then the parent directory.
1377
 
  ac_confdir=`$as_dirname -- "$0" ||
1378
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379
 
         X"$0" : 'X\(//\)[^/]' \| \
1380
 
         X"$0" : 'X\(//\)$' \| \
1381
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1382
 
echo X"$0" |
 
1451
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1452
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1453
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1454
         X"$as_myself" : 'X\(//\)$' \| \
 
1455
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1456
$as_echo X"$as_myself" |
1383
1457
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384
1458
            s//\1/
1385
1459
            q
1406
1480
fi
1407
1481
if test ! -r "$srcdir/$ac_unique_file"; then
1408
1482
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1409
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1483
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1410
1484
   { (exit 1); exit 1; }; }
1411
1485
fi
1412
1486
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1413
1487
ac_abs_confdir=`(
1414
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1488
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1415
1489
   { (exit 1); exit 1; }; }
1416
1490
        pwd)`
1417
1491
# When building in place, set srcdir=.
1438
1512
  # Omit some internal or obsolete options to make the list less imposing.
1439
1513
  # This message is too long to be a string in the A/UX 3.1 sh.
1440
1514
  cat <<_ACEOF
1441
 
\`configure' configures libp11 0.2.4 to adapt to many kinds of systems.
 
1515
\`configure' configures libp11 0.2.6 to adapt to many kinds of systems.
1442
1516
 
1443
1517
Usage: $0 [OPTION]... [VAR=VALUE]...
1444
1518
 
1460
1534
 
1461
1535
Installation directories:
1462
1536
  --prefix=PREFIX         install architecture-independent files in PREFIX
1463
 
                          [$ac_default_prefix]
 
1537
                          [$ac_default_prefix]
1464
1538
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1465
 
                          [PREFIX]
 
1539
                          [PREFIX]
1466
1540
 
1467
1541
By default, \`make install' will install all the files in
1468
1542
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1472
1546
For better control, use the options below.
1473
1547
 
1474
1548
Fine tuning of the installation directories:
1475
 
  --bindir=DIR           user executables [EPREFIX/bin]
1476
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1477
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1478
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1479
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1480
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1481
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1482
 
  --includedir=DIR       C header files [PREFIX/include]
1483
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1484
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1485
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1486
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1487
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1488
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1489
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libp11]
1490
 
  --htmldir=DIR          html documentation [DOCDIR]
1491
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1492
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1493
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1549
  --bindir=DIR            user executables [EPREFIX/bin]
 
1550
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1551
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1552
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1553
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1554
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1555
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1556
  --includedir=DIR        C header files [PREFIX/include]
 
1557
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1558
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1559
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1560
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1561
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1562
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1563
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libp11]
 
1564
  --htmldir=DIR           html documentation [DOCDIR]
 
1565
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1566
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1567
  --psdir=DIR             ps documentation [DOCDIR]
1494
1568
_ACEOF
1495
1569
 
1496
1570
  cat <<\_ACEOF
1508
1582
 
1509
1583
if test -n "$ac_init_help"; then
1510
1584
  case $ac_init_help in
1511
 
     short | recursive ) echo "Configuration of libp11 0.2.4:";;
 
1585
     short | recursive ) echo "Configuration of libp11 0.2.6:";;
1512
1586
   esac
1513
1587
  cat <<\_ACEOF
1514
1588
 
1515
1589
Optional Features:
 
1590
  --disable-option-checking  ignore unrecognized --enable/--with options
1516
1591
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1517
1592
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1518
1593
  --disable-dependency-tracking  speeds up one-time build
1533
1608
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1534
1609
  --with-cygwin-native    compile native win32
1535
1610
  --with-apidocdir        put API documents at this directory [HTMLDIR/api]
1536
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1537
1611
  --with-pic              try to use only PIC/non-PIC objects [default=use
1538
1612
                          both]
1539
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1613
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1540
1614
 
1541
1615
Some influential environment variables:
1542
1616
  CC          C compiler command
1548
1622
              you have headers in a nonstandard directory <include dir>
1549
1623
  PKG_CONFIG  path to pkg-config utility
1550
1624
  CPP         C preprocessor
1551
 
  CXX         C++ compiler command
1552
 
  CXXFLAGS    C++ compiler flags
1553
 
  CXXCPP      C++ preprocessor
1554
 
  F77         Fortran 77 compiler command
1555
 
  FFLAGS      Fortran 77 compiler flags
1556
1625
  XSLTPROC    xsltproc utility
1557
1626
  SVN         subversion utility
1558
1627
  WGET        wget utility
1576
1645
if test "$ac_init_help" = "recursive"; then
1577
1646
  # If there are subdirs, report their specific --help.
1578
1647
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579
 
    test -d "$ac_dir" || continue
 
1648
    test -d "$ac_dir" ||
 
1649
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1650
      continue
1580
1651
    ac_builddir=.
1581
1652
 
1582
1653
case "$ac_dir" in
1583
1654
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584
1655
*)
1585
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1656
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1586
1657
  # A ".." for each directory in $ac_dir_suffix.
1587
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1658
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1588
1659
  case $ac_top_builddir_sub in
1589
1660
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590
1661
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620
1691
      echo &&
1621
1692
      $SHELL "$ac_srcdir/configure" --help=recursive
1622
1693
    else
1623
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1694
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1624
1695
    fi || ac_status=$?
1625
1696
    cd "$ac_pwd" || { ac_status=$?; break; }
1626
1697
  done
1629
1700
test -n "$ac_init_help" && exit $ac_status
1630
1701
if $ac_init_version; then
1631
1702
  cat <<\_ACEOF
1632
 
libp11 configure 0.2.4
1633
 
generated by GNU Autoconf 2.61
 
1703
libp11 configure 0.2.6
 
1704
generated by GNU Autoconf 2.63
1634
1705
 
1635
1706
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1636
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1707
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1637
1708
This configure script is free software; the Free Software Foundation
1638
1709
gives unlimited permission to copy, distribute and modify it.
1639
1710
_ACEOF
1643
1714
This file contains any messages produced by compilers while
1644
1715
running configure, to aid debugging if configure makes a mistake.
1645
1716
 
1646
 
It was created by libp11 $as_me 0.2.4, which was
1647
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1717
It was created by libp11 $as_me 0.2.6, which was
 
1718
generated by GNU Autoconf 2.63.  Invocation command line was
1648
1719
 
1649
1720
  $ $0 $@
1650
1721
 
1680
1751
do
1681
1752
  IFS=$as_save_IFS
1682
1753
  test -z "$as_dir" && as_dir=.
1683
 
  echo "PATH: $as_dir"
 
1754
  $as_echo "PATH: $as_dir"
1684
1755
done
1685
1756
IFS=$as_save_IFS
1686
1757
 
1715
1786
    | -silent | --silent | --silen | --sile | --sil)
1716
1787
      continue ;;
1717
1788
    *\'*)
1718
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1789
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1719
1790
    esac
1720
1791
    case $ac_pass in
1721
1792
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1767
1838
    case $ac_val in #(
1768
1839
    *${as_nl}*)
1769
1840
      case $ac_var in #(
1770
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1771
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1841
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1842
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1772
1843
      esac
1773
1844
      case $ac_var in #(
1774
1845
      _ | IFS | as_nl) ;; #(
 
1846
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1775
1847
      *) $as_unset $ac_var ;;
1776
1848
      esac ;;
1777
1849
    esac
1801
1873
    do
1802
1874
      eval ac_val=\$$ac_var
1803
1875
      case $ac_val in
1804
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1876
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1805
1877
      esac
1806
 
      echo "$ac_var='\''$ac_val'\''"
 
1878
      $as_echo "$ac_var='\''$ac_val'\''"
1807
1879
    done | sort
1808
1880
    echo
1809
1881
 
1818
1890
      do
1819
1891
        eval ac_val=\$$ac_var
1820
1892
        case $ac_val in
1821
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1893
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1822
1894
        esac
1823
 
        echo "$ac_var='\''$ac_val'\''"
 
1895
        $as_echo "$ac_var='\''$ac_val'\''"
1824
1896
      done | sort
1825
1897
      echo
1826
1898
    fi
1836
1908
      echo
1837
1909
    fi
1838
1910
    test "$ac_signal" != 0 &&
1839
 
      echo "$as_me: caught signal $ac_signal"
1840
 
    echo "$as_me: exit $exit_status"
 
1911
      $as_echo "$as_me: caught signal $ac_signal"
 
1912
    $as_echo "$as_me: exit $exit_status"
1841
1913
  } >&5
1842
1914
  rm -f core *.core core.conftest.* &&
1843
1915
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1879
1951
 
1880
1952
 
1881
1953
# Let the site file select an alternate cache file if it wants to.
1882
 
# Prefer explicitly selected file to automatically selected ones.
 
1954
# Prefer an explicitly selected file to automatically selected ones.
 
1955
ac_site_file1=NONE
 
1956
ac_site_file2=NONE
1883
1957
if test -n "$CONFIG_SITE"; then
1884
 
  set x "$CONFIG_SITE"
 
1958
  ac_site_file1=$CONFIG_SITE
1885
1959
elif test "x$prefix" != xNONE; then
1886
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1960
  ac_site_file1=$prefix/share/config.site
 
1961
  ac_site_file2=$prefix/etc/config.site
1887
1962
else
1888
 
  set x "$ac_default_prefix/share/config.site" \
1889
 
        "$ac_default_prefix/etc/config.site"
 
1963
  ac_site_file1=$ac_default_prefix/share/config.site
 
1964
  ac_site_file2=$ac_default_prefix/etc/config.site
1890
1965
fi
1891
 
shift
1892
 
for ac_site_file
 
1966
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1893
1967
do
 
1968
  test "x$ac_site_file" = xNONE && continue
1894
1969
  if test -r "$ac_site_file"; then
1895
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1896
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1970
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1971
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1897
1972
    sed 's/^/| /' "$ac_site_file" >&5
1898
1973
    . "$ac_site_file"
1899
1974
  fi
1903
1978
  # Some versions of bash will fail to source /dev/null (special
1904
1979
  # files actually), so we avoid doing that.
1905
1980
  if test -f "$cache_file"; then
1906
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1907
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1981
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1982
$as_echo "$as_me: loading cache $cache_file" >&6;}
1908
1983
    case $cache_file in
1909
1984
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1910
1985
      *)                      . "./$cache_file";;
1911
1986
    esac
1912
1987
  fi
1913
1988
else
1914
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1915
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1989
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1990
$as_echo "$as_me: creating cache $cache_file" >&6;}
1916
1991
  >$cache_file
1917
1992
fi
1918
1993
 
1926
2001
  eval ac_new_val=\$ac_env_${ac_var}_value
1927
2002
  case $ac_old_set,$ac_new_set in
1928
2003
    set,)
1929
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2004
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2005
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931
2006
      ac_cache_corrupted=: ;;
1932
2007
    ,set)
1933
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1934
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2008
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2009
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935
2010
      ac_cache_corrupted=: ;;
1936
2011
    ,);;
1937
2012
    *)
1938
2013
      if test "x$ac_old_val" != "x$ac_new_val"; then
1939
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1940
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1941
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1942
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1943
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1944
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1945
 
        ac_cache_corrupted=:
 
2014
        # differences in whitespace do not lead to failure.
 
2015
        ac_old_val_w=`echo x $ac_old_val`
 
2016
        ac_new_val_w=`echo x $ac_new_val`
 
2017
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2018
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2019
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2020
          ac_cache_corrupted=:
 
2021
        else
 
2022
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2023
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2024
          eval $ac_var=\$ac_old_val
 
2025
        fi
 
2026
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2027
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2028
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2029
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1946
2030
      fi;;
1947
2031
  esac
1948
2032
  # Pass precious variables to config.status.
1949
2033
  if test "$ac_new_set" = set; then
1950
2034
    case $ac_new_val in
1951
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2035
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1952
2036
    *) ac_arg=$ac_var=$ac_new_val ;;
1953
2037
    esac
1954
2038
    case " $ac_configure_args " in
1958
2042
  fi
1959
2043
done
1960
2044
if $ac_cache_corrupted; then
1961
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1962
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1963
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1964
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2045
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2046
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2047
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2048
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2049
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2050
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1965
2051
   { (exit 1); exit 1; }; }
1966
2052
fi
1967
2053
 
2013
2099
  fi
2014
2100
done
2015
2101
if test -z "$ac_aux_dir"; then
2016
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
2017
 
echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
 
2102
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
 
2103
$as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
2018
2104
   { (exit 1); exit 1; }; }
2019
2105
fi
2020
2106
 
2045
2131
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2046
2132
# OS/2's system install, which has a completely different semantic
2047
2133
# ./install, which can be erroneously created by make from ./install.sh.
2048
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2049
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2134
# Reject install programs that cannot install multiple files.
 
2135
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2136
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2050
2137
if test -z "$INSTALL"; then
2051
2138
if test "${ac_cv_path_install+set}" = set; then
2052
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2139
  $as_echo_n "(cached) " >&6
2053
2140
else
2054
2141
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055
2142
for as_dir in $PATH
2078
2165
            # program-specific install script used by HP pwplus--don't use.
2079
2166
            :
2080
2167
          else
2081
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2082
 
            break 3
 
2168
            rm -rf conftest.one conftest.two conftest.dir
 
2169
            echo one > conftest.one
 
2170
            echo two > conftest.two
 
2171
            mkdir conftest.dir
 
2172
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2173
              test -s conftest.one && test -s conftest.two &&
 
2174
              test -s conftest.dir/conftest.one &&
 
2175
              test -s conftest.dir/conftest.two
 
2176
            then
 
2177
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2178
              break 3
 
2179
            fi
2083
2180
          fi
2084
2181
        fi
2085
2182
      done
2086
2183
    done
2087
2184
    ;;
2088
2185
esac
 
2186
 
2089
2187
done
2090
2188
IFS=$as_save_IFS
2091
2189
 
 
2190
rm -rf conftest.one conftest.two conftest.dir
2092
2191
 
2093
2192
fi
2094
2193
  if test "${ac_cv_path_install+set}" = set; then
2101
2200
    INSTALL=$ac_install_sh
2102
2201
  fi
2103
2202
fi
2104
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2105
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2203
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2204
$as_echo "$INSTALL" >&6; }
2106
2205
 
2107
2206
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2108
2207
# It thinks the first close brace ends the variable substitution.
2112
2211
 
2113
2212
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2114
2213
 
2115
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2116
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2214
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2215
$as_echo_n "checking whether build environment is sane... " >&6; }
2117
2216
# Just in case
2118
2217
sleep 1
2119
2218
echo timestamp > conftest.file
2136
2235
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2137
2236
      # broken ls alias from the environment.  This has actually
2138
2237
      # happened.  Such a system could not be considered "sane".
2139
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2238
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2140
2239
alias in your environment" >&5
2141
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2240
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2142
2241
alias in your environment" >&2;}
2143
2242
   { (exit 1); exit 1; }; }
2144
2243
   fi
2149
2248
   # Ok.
2150
2249
   :
2151
2250
else
2152
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2251
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2153
2252
Check your system clock" >&5
2154
 
echo "$as_me: error: newly created file is older than distributed files!
 
2253
$as_echo "$as_me: error: newly created file is older than distributed files!
2155
2254
Check your system clock" >&2;}
2156
2255
   { (exit 1); exit 1; }; }
2157
2256
fi
2158
 
{ echo "$as_me:$LINENO: result: yes" >&5
2159
 
echo "${ECHO_T}yes" >&6; }
 
2257
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2258
$as_echo "yes" >&6; }
2160
2259
test "$program_prefix" != NONE &&
2161
2260
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2162
2261
# Use a double $ so make ignores it.
2163
2262
test "$program_suffix" != NONE &&
2164
2263
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2165
 
# Double any \ or $.  echo might interpret backslashes.
 
2264
# Double any \ or $.
2166
2265
# By default was `s,x,x', remove it if useless.
2167
 
cat <<\_ACEOF >conftest.sed
2168
 
s/[\\$]/&&/g;s/;s,x,x,$//
2169
 
_ACEOF
2170
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2171
 
rm -f conftest.sed
 
2266
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2267
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2172
2268
 
2173
2269
# expand $ac_aux_dir to an absolute path
2174
2270
am_aux_dir=`cd $ac_aux_dir && pwd`
2179
2275
  am_missing_run="$MISSING --run "
2180
2276
else
2181
2277
  am_missing_run=
2182
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2183
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2278
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2279
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2184
2280
fi
2185
2281
 
2186
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2187
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2282
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2283
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2188
2284
if test -z "$MKDIR_P"; then
2189
2285
  if test "${ac_cv_path_mkdir+set}" = set; then
2190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2286
  $as_echo_n "(cached) " >&6
2191
2287
else
2192
2288
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193
2289
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2222
2318
    MKDIR_P="$ac_install_sh -d"
2223
2319
  fi
2224
2320
fi
2225
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2226
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2321
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2322
$as_echo "$MKDIR_P" >&6; }
2227
2323
 
2228
2324
mkdir_p="$MKDIR_P"
2229
2325
case $mkdir_p in
2235
2331
do
2236
2332
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2237
2333
set dummy $ac_prog; ac_word=$2
2238
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2239
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2334
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2335
$as_echo_n "checking for $ac_word... " >&6; }
2240
2336
if test "${ac_cv_prog_AWK+set}" = set; then
2241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2337
  $as_echo_n "(cached) " >&6
2242
2338
else
2243
2339
  if test -n "$AWK"; then
2244
2340
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2251
2347
  for ac_exec_ext in '' $ac_executable_extensions; do
2252
2348
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2253
2349
    ac_cv_prog_AWK="$ac_prog"
2254
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2350
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2255
2351
    break 2
2256
2352
  fi
2257
2353
done
2262
2358
fi
2263
2359
AWK=$ac_cv_prog_AWK
2264
2360
if test -n "$AWK"; then
2265
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2266
 
echo "${ECHO_T}$AWK" >&6; }
 
2361
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2362
$as_echo "$AWK" >&6; }
2267
2363
else
2268
 
  { echo "$as_me:$LINENO: result: no" >&5
2269
 
echo "${ECHO_T}no" >&6; }
 
2364
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2365
$as_echo "no" >&6; }
2270
2366
fi
2271
2367
 
2272
2368
 
2273
2369
  test -n "$AWK" && break
2274
2370
done
2275
2371
 
2276
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2277
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2278
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2372
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2373
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2374
set x ${MAKE-make}
 
2375
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2279
2376
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2377
  $as_echo_n "(cached) " >&6
2281
2378
else
2282
2379
  cat >conftest.make <<\_ACEOF
2283
2380
SHELL = /bin/sh
2294
2391
rm -f conftest.make
2295
2392
fi
2296
2393
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2297
 
  { echo "$as_me:$LINENO: result: yes" >&5
2298
 
echo "${ECHO_T}yes" >&6; }
 
2394
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2395
$as_echo "yes" >&6; }
2299
2396
  SET_MAKE=
2300
2397
else
2301
 
  { echo "$as_me:$LINENO: result: no" >&5
2302
 
echo "${ECHO_T}no" >&6; }
 
2398
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2399
$as_echo "no" >&6; }
2303
2400
  SET_MAKE="MAKE=${MAKE-make}"
2304
2401
fi
2305
2402
 
2318
2415
  am__isrc=' -I$(srcdir)'
2319
2416
  # test to see if srcdir already configured
2320
2417
  if test -f $srcdir/config.status; then
2321
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2322
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2418
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2419
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2323
2420
   { (exit 1); exit 1; }; }
2324
2421
  fi
2325
2422
fi
2374
2471
  if test -n "$ac_tool_prefix"; then
2375
2472
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2376
2473
set dummy ${ac_tool_prefix}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; }
 
2474
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2475
$as_echo_n "checking for $ac_word... " >&6; }
2379
2476
if test "${ac_cv_prog_STRIP+set}" = set; then
2380
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2477
  $as_echo_n "(cached) " >&6
2381
2478
else
2382
2479
  if test -n "$STRIP"; then
2383
2480
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2390
2487
  for ac_exec_ext in '' $ac_executable_extensions; do
2391
2488
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392
2489
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2393
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2490
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394
2491
    break 2
2395
2492
  fi
2396
2493
done
2401
2498
fi
2402
2499
STRIP=$ac_cv_prog_STRIP
2403
2500
if test -n "$STRIP"; then
2404
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2405
 
echo "${ECHO_T}$STRIP" >&6; }
 
2501
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2502
$as_echo "$STRIP" >&6; }
2406
2503
else
2407
 
  { echo "$as_me:$LINENO: result: no" >&5
2408
 
echo "${ECHO_T}no" >&6; }
 
2504
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2505
$as_echo "no" >&6; }
2409
2506
fi
2410
2507
 
2411
2508
 
2414
2511
  ac_ct_STRIP=$STRIP
2415
2512
  # Extract the first word of "strip", so it can be a program name with args.
2416
2513
set dummy strip; ac_word=$2
2417
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2418
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2514
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2515
$as_echo_n "checking for $ac_word... " >&6; }
2419
2516
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2420
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2517
  $as_echo_n "(cached) " >&6
2421
2518
else
2422
2519
  if test -n "$ac_ct_STRIP"; then
2423
2520
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2430
2527
  for ac_exec_ext in '' $ac_executable_extensions; do
2431
2528
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432
2529
    ac_cv_prog_ac_ct_STRIP="strip"
2433
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2530
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2434
2531
    break 2
2435
2532
  fi
2436
2533
done
2441
2538
fi
2442
2539
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2443
2540
if test -n "$ac_ct_STRIP"; then
2444
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2445
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2541
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2542
$as_echo "$ac_ct_STRIP" >&6; }
2446
2543
else
2447
 
  { echo "$as_me:$LINENO: result: no" >&5
2448
 
echo "${ECHO_T}no" >&6; }
 
2544
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2545
$as_echo "no" >&6; }
2449
2546
fi
2450
2547
 
2451
2548
  if test "x$ac_ct_STRIP" = x; then
2453
2550
  else
2454
2551
    case $cross_compiling:$ac_tool_warned in
2455
2552
yes:)
2456
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2457
 
whose name does not start with the host triplet.  If you think this
2458
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2459
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2460
 
whose name does not start with the host triplet.  If you think this
2461
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2553
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2554
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2462
2555
ac_tool_warned=yes ;;
2463
2556
esac
2464
2557
    STRIP=$ac_ct_STRIP
2485
2578
 
2486
2579
LIBP11_VERSION_MAJOR="0"
2487
2580
LIBP11_VERSION_MINOR="2"
2488
 
LIBP11_VERSION_FIX="4"
 
2581
LIBP11_VERSION_FIX="6"
2489
2582
 
2490
2583
# LT Version numbers, remember to change them just *before* a release.
2491
2584
#   (Code changed:                      REVISION++)
2492
2585
#   (Oldest interface removed:          OLDEST++)
2493
2586
#   (Interfaces added:                  CURRENT++, REVISION=0)
2494
 
LIBP11_LT_CURRENT="1"
2495
 
LIBP11_LT_OLDEST="0"
2496
 
LIBP11_LT_REVISION="2"
 
2587
LIBP11_LT_CURRENT="3"
 
2588
LIBP11_LT_OLDEST="1"
 
2589
LIBP11_LT_REVISION="0"
2497
2590
LIBP11_LT_AGE="$((${LIBP11_LT_CURRENT}-${LIBP11_LT_OLDEST}))"
2498
2591
 
2499
2592
 
2500
2593
 
2501
2594
# Make sure we can run config.sub.
2502
2595
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2503
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2504
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2596
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2597
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2505
2598
   { (exit 1); exit 1; }; }
2506
2599
 
2507
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2508
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
2600
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2601
$as_echo_n "checking build system type... " >&6; }
2509
2602
if test "${ac_cv_build+set}" = set; then
2510
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2603
  $as_echo_n "(cached) " >&6
2511
2604
else
2512
2605
  ac_build_alias=$build_alias
2513
2606
test "x$ac_build_alias" = x &&
2514
2607
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2515
2608
test "x$ac_build_alias" = x &&
2516
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2517
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2609
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2610
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2518
2611
   { (exit 1); exit 1; }; }
2519
2612
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2520
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2521
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2613
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2614
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2522
2615
   { (exit 1); exit 1; }; }
2523
2616
 
2524
2617
fi
2525
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2526
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2618
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2619
$as_echo "$ac_cv_build" >&6; }
2527
2620
case $ac_cv_build in
2528
2621
*-*-*) ;;
2529
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2530
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2622
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2623
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2531
2624
   { (exit 1); exit 1; }; };;
2532
2625
esac
2533
2626
build=$ac_cv_build
2544
2637
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2545
2638
 
2546
2639
 
2547
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2548
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
2640
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2641
$as_echo_n "checking host system type... " >&6; }
2549
2642
if test "${ac_cv_host+set}" = set; then
2550
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2643
  $as_echo_n "(cached) " >&6
2551
2644
else
2552
2645
  if test "x$host_alias" = x; then
2553
2646
  ac_cv_host=$ac_cv_build
2554
2647
else
2555
2648
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2556
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2557
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2649
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2650
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2558
2651
   { (exit 1); exit 1; }; }
2559
2652
fi
2560
2653
 
2561
2654
fi
2562
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2563
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2655
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2656
$as_echo "$ac_cv_host" >&6; }
2564
2657
case $ac_cv_host in
2565
2658
*-*-*) ;;
2566
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2567
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2659
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2660
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2568
2661
   { (exit 1); exit 1; }; };;
2569
2662
esac
2570
2663
host=$ac_cv_host
2589
2682
if test -n "$ac_tool_prefix"; then
2590
2683
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2591
2684
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2592
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2593
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2685
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2686
$as_echo_n "checking for $ac_word... " >&6; }
2594
2687
if test "${ac_cv_prog_CC+set}" = set; then
2595
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2688
  $as_echo_n "(cached) " >&6
2596
2689
else
2597
2690
  if test -n "$CC"; then
2598
2691
  ac_cv_prog_CC="$CC" # Let the user override the test.
2605
2698
  for ac_exec_ext in '' $ac_executable_extensions; do
2606
2699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607
2700
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2608
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2701
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609
2702
    break 2
2610
2703
  fi
2611
2704
done
2616
2709
fi
2617
2710
CC=$ac_cv_prog_CC
2618
2711
if test -n "$CC"; then
2619
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2620
 
echo "${ECHO_T}$CC" >&6; }
 
2712
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2713
$as_echo "$CC" >&6; }
2621
2714
else
2622
 
  { echo "$as_me:$LINENO: result: no" >&5
2623
 
echo "${ECHO_T}no" >&6; }
 
2715
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2716
$as_echo "no" >&6; }
2624
2717
fi
2625
2718
 
2626
2719
 
2629
2722
  ac_ct_CC=$CC
2630
2723
  # Extract the first word of "gcc", so it can be a program name with args.
2631
2724
set dummy gcc; ac_word=$2
2632
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2633
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2725
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2726
$as_echo_n "checking for $ac_word... " >&6; }
2634
2727
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2728
  $as_echo_n "(cached) " >&6
2636
2729
else
2637
2730
  if test -n "$ac_ct_CC"; then
2638
2731
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2645
2738
  for ac_exec_ext in '' $ac_executable_extensions; do
2646
2739
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647
2740
    ac_cv_prog_ac_ct_CC="gcc"
2648
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2741
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649
2742
    break 2
2650
2743
  fi
2651
2744
done
2656
2749
fi
2657
2750
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2658
2751
if test -n "$ac_ct_CC"; then
2659
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2660
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2752
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2753
$as_echo "$ac_ct_CC" >&6; }
2661
2754
else
2662
 
  { echo "$as_me:$LINENO: result: no" >&5
2663
 
echo "${ECHO_T}no" >&6; }
 
2755
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2756
$as_echo "no" >&6; }
2664
2757
fi
2665
2758
 
2666
2759
  if test "x$ac_ct_CC" = x; then
2668
2761
  else
2669
2762
    case $cross_compiling:$ac_tool_warned in
2670
2763
yes:)
2671
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2672
 
whose name does not start with the host triplet.  If you think this
2673
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2674
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2675
 
whose name does not start with the host triplet.  If you think this
2676
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2764
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2765
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2677
2766
ac_tool_warned=yes ;;
2678
2767
esac
2679
2768
    CC=$ac_ct_CC
2686
2775
          if test -n "$ac_tool_prefix"; then
2687
2776
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2688
2777
set dummy ${ac_tool_prefix}cc; ac_word=$2
2689
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2690
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2778
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2779
$as_echo_n "checking for $ac_word... " >&6; }
2691
2780
if test "${ac_cv_prog_CC+set}" = set; then
2692
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2781
  $as_echo_n "(cached) " >&6
2693
2782
else
2694
2783
  if test -n "$CC"; then
2695
2784
  ac_cv_prog_CC="$CC" # Let the user override the test.
2702
2791
  for ac_exec_ext in '' $ac_executable_extensions; do
2703
2792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704
2793
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2705
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2794
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706
2795
    break 2
2707
2796
  fi
2708
2797
done
2713
2802
fi
2714
2803
CC=$ac_cv_prog_CC
2715
2804
if test -n "$CC"; then
2716
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2717
 
echo "${ECHO_T}$CC" >&6; }
 
2805
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2806
$as_echo "$CC" >&6; }
2718
2807
else
2719
 
  { echo "$as_me:$LINENO: result: no" >&5
2720
 
echo "${ECHO_T}no" >&6; }
 
2808
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2809
$as_echo "no" >&6; }
2721
2810
fi
2722
2811
 
2723
2812
 
2726
2815
if test -z "$CC"; then
2727
2816
  # Extract the first word of "cc", so it can be a program name with args.
2728
2817
set dummy cc; ac_word=$2
2729
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2730
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2818
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2819
$as_echo_n "checking for $ac_word... " >&6; }
2731
2820
if test "${ac_cv_prog_CC+set}" = set; then
2732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2821
  $as_echo_n "(cached) " >&6
2733
2822
else
2734
2823
  if test -n "$CC"; then
2735
2824
  ac_cv_prog_CC="$CC" # Let the user override the test.
2747
2836
       continue
2748
2837
     fi
2749
2838
    ac_cv_prog_CC="cc"
2750
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2839
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751
2840
    break 2
2752
2841
  fi
2753
2842
done
2770
2859
fi
2771
2860
CC=$ac_cv_prog_CC
2772
2861
if test -n "$CC"; then
2773
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2774
 
echo "${ECHO_T}$CC" >&6; }
 
2862
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2863
$as_echo "$CC" >&6; }
2775
2864
else
2776
 
  { echo "$as_me:$LINENO: result: no" >&5
2777
 
echo "${ECHO_T}no" >&6; }
 
2865
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2866
$as_echo "no" >&6; }
2778
2867
fi
2779
2868
 
2780
2869
 
2785
2874
  do
2786
2875
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2787
2876
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2788
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2789
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2877
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2878
$as_echo_n "checking for $ac_word... " >&6; }
2790
2879
if test "${ac_cv_prog_CC+set}" = set; then
2791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2880
  $as_echo_n "(cached) " >&6
2792
2881
else
2793
2882
  if test -n "$CC"; then
2794
2883
  ac_cv_prog_CC="$CC" # Let the user override the test.
2801
2890
  for ac_exec_ext in '' $ac_executable_extensions; do
2802
2891
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803
2892
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2804
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2893
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805
2894
    break 2
2806
2895
  fi
2807
2896
done
2812
2901
fi
2813
2902
CC=$ac_cv_prog_CC
2814
2903
if test -n "$CC"; then
2815
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2816
 
echo "${ECHO_T}$CC" >&6; }
 
2904
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2905
$as_echo "$CC" >&6; }
2817
2906
else
2818
 
  { echo "$as_me:$LINENO: result: no" >&5
2819
 
echo "${ECHO_T}no" >&6; }
 
2907
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2908
$as_echo "no" >&6; }
2820
2909
fi
2821
2910
 
2822
2911
 
2829
2918
do
2830
2919
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2831
2920
set dummy $ac_prog; ac_word=$2
2832
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2833
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2921
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2922
$as_echo_n "checking for $ac_word... " >&6; }
2834
2923
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2835
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2924
  $as_echo_n "(cached) " >&6
2836
2925
else
2837
2926
  if test -n "$ac_ct_CC"; then
2838
2927
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2845
2934
  for ac_exec_ext in '' $ac_executable_extensions; do
2846
2935
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847
2936
    ac_cv_prog_ac_ct_CC="$ac_prog"
2848
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2937
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2849
2938
    break 2
2850
2939
  fi
2851
2940
done
2856
2945
fi
2857
2946
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2858
2947
if test -n "$ac_ct_CC"; then
2859
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2860
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2948
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2949
$as_echo "$ac_ct_CC" >&6; }
2861
2950
else
2862
 
  { echo "$as_me:$LINENO: result: no" >&5
2863
 
echo "${ECHO_T}no" >&6; }
 
2951
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2952
$as_echo "no" >&6; }
2864
2953
fi
2865
2954
 
2866
2955
 
2872
2961
  else
2873
2962
    case $cross_compiling:$ac_tool_warned in
2874
2963
yes:)
2875
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2876
 
whose name does not start with the host triplet.  If you think this
2877
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2878
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2879
 
whose name does not start with the host triplet.  If you think this
2880
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2964
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2965
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2881
2966
ac_tool_warned=yes ;;
2882
2967
esac
2883
2968
    CC=$ac_ct_CC
2887
2972
fi
2888
2973
 
2889
2974
 
2890
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2975
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2976
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2977
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2891
2978
See \`config.log' for more details." >&5
2892
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2979
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2893
2980
See \`config.log' for more details." >&2;}
2894
 
   { (exit 1); exit 1; }; }
 
2981
   { (exit 1); exit 1; }; }; }
2895
2982
 
2896
2983
# Provide some information about the compiler.
2897
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2898
 
ac_compiler=`set X $ac_compile; echo $2`
 
2984
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2985
set X $ac_compile
 
2986
ac_compiler=$2
2899
2987
{ (ac_try="$ac_compiler --version >&5"
2900
2988
case "(($ac_try" in
2901
2989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902
2990
  *) ac_try_echo=$ac_try;;
2903
2991
esac
2904
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2992
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2993
$as_echo "$ac_try_echo") >&5
2905
2994
  (eval "$ac_compiler --version >&5") 2>&5
2906
2995
  ac_status=$?
2907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2996
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908
2997
  (exit $ac_status); }
2909
2998
{ (ac_try="$ac_compiler -v >&5"
2910
2999
case "(($ac_try" in
2911
3000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912
3001
  *) ac_try_echo=$ac_try;;
2913
3002
esac
2914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3003
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3004
$as_echo "$ac_try_echo") >&5
2915
3005
  (eval "$ac_compiler -v >&5") 2>&5
2916
3006
  ac_status=$?
2917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3007
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
3008
  (exit $ac_status); }
2919
3009
{ (ac_try="$ac_compiler -V >&5"
2920
3010
case "(($ac_try" in
2921
3011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922
3012
  *) ac_try_echo=$ac_try;;
2923
3013
esac
2924
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3014
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3015
$as_echo "$ac_try_echo") >&5
2925
3016
  (eval "$ac_compiler -V >&5") 2>&5
2926
3017
  ac_status=$?
2927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3018
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928
3019
  (exit $ac_status); }
2929
3020
 
2930
3021
cat >conftest.$ac_ext <<_ACEOF
2943
3034
}
2944
3035
_ACEOF
2945
3036
ac_clean_files_save=$ac_clean_files
2946
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3037
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2947
3038
# Try to create an executable without -o first, disregard a.out.
2948
3039
# It will help us diagnose broken compilers, and finding out an intuition
2949
3040
# of exeext.
2950
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2951
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2952
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2953
 
#
2954
 
# List of possible output files, starting from the most likely.
2955
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2956
 
# only as a last resort.  b.out is created by i960 compilers.
2957
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2958
 
#
2959
 
# The IRIX 6 linker writes into existing files which may not be
2960
 
# executable, retaining their permissions.  Remove them first so a
2961
 
# subsequent execution test works.
 
3041
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3042
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3043
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3044
 
 
3045
# The possible output files:
 
3046
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3047
 
2962
3048
ac_rmfiles=
2963
3049
for ac_file in $ac_files
2964
3050
do
2965
3051
  case $ac_file in
2966
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3052
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2967
3053
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2968
3054
  esac
2969
3055
done
2974
3060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
3061
  *) ac_try_echo=$ac_try;;
2976
3062
esac
2977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3063
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3064
$as_echo "$ac_try_echo") >&5
2978
3065
  (eval "$ac_link_default") 2>&5
2979
3066
  ac_status=$?
2980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3067
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
3068
  (exit $ac_status); }; then
2982
3069
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2983
3070
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2988
3075
do
2989
3076
  test -f "$ac_file" || continue
2990
3077
  case $ac_file in
2991
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3078
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2992
3079
        ;;
2993
3080
    [ab].out )
2994
3081
        # We found the default executable, but exeext='' is most
3015
3102
  ac_file=''
3016
3103
fi
3017
3104
 
3018
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3019
 
echo "${ECHO_T}$ac_file" >&6; }
 
3105
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3106
$as_echo "$ac_file" >&6; }
3020
3107
if test -z "$ac_file"; then
3021
 
  echo "$as_me: failed program was:" >&5
 
3108
  $as_echo "$as_me: failed program was:" >&5
3022
3109
sed 's/^/| /' conftest.$ac_ext >&5
3023
3110
 
3024
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3111
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3112
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3113
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3025
3114
See \`config.log' for more details." >&5
3026
 
echo "$as_me: error: C compiler cannot create executables
 
3115
$as_echo "$as_me: error: C compiler cannot create executables
3027
3116
See \`config.log' for more details." >&2;}
3028
 
   { (exit 77); exit 77; }; }
 
3117
   { (exit 77); exit 77; }; }; }
3029
3118
fi
3030
3119
 
3031
3120
ac_exeext=$ac_cv_exeext
3032
3121
 
3033
3122
# Check that the compiler produces executables we can run.  If not, either
3034
3123
# the compiler is broken, or we cross compile.
3035
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3036
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3124
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3125
$as_echo_n "checking whether the C compiler works... " >&6; }
3037
3126
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3038
3127
# If not cross compiling, check that we can run a simple program.
3039
3128
if test "$cross_compiling" != yes; then
3042
3131
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043
3132
  *) ac_try_echo=$ac_try;;
3044
3133
esac
3045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3134
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3135
$as_echo "$ac_try_echo") >&5
3046
3136
  (eval "$ac_try") 2>&5
3047
3137
  ac_status=$?
3048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3138
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049
3139
  (exit $ac_status); }; }; then
3050
3140
    cross_compiling=no
3051
3141
  else
3052
3142
    if test "$cross_compiling" = maybe; then
3053
3143
        cross_compiling=yes
3054
3144
    else
3055
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3145
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3146
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3147
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3056
3148
If you meant to cross compile, use \`--host'.
3057
3149
See \`config.log' for more details." >&5
3058
 
echo "$as_me: error: cannot run C compiled programs.
 
3150
$as_echo "$as_me: error: cannot run C compiled programs.
3059
3151
If you meant to cross compile, use \`--host'.
3060
3152
See \`config.log' for more details." >&2;}
3061
 
   { (exit 1); exit 1; }; }
 
3153
   { (exit 1); exit 1; }; }; }
3062
3154
    fi
3063
3155
  fi
3064
3156
fi
3065
 
{ echo "$as_me:$LINENO: result: yes" >&5
3066
 
echo "${ECHO_T}yes" >&6; }
 
3157
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3158
$as_echo "yes" >&6; }
3067
3159
 
3068
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3160
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3069
3161
ac_clean_files=$ac_clean_files_save
3070
3162
# Check that the compiler produces executables we can run.  If not, either
3071
3163
# the compiler is broken, or we cross compile.
3072
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3073
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3074
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3075
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3164
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3165
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3166
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3167
$as_echo "$cross_compiling" >&6; }
3076
3168
 
3077
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3078
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3169
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3170
$as_echo_n "checking for suffix of executables... " >&6; }
3079
3171
if { (ac_try="$ac_link"
3080
3172
case "(($ac_try" in
3081
3173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082
3174
  *) ac_try_echo=$ac_try;;
3083
3175
esac
3084
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3176
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3177
$as_echo "$ac_try_echo") >&5
3085
3178
  (eval "$ac_link") 2>&5
3086
3179
  ac_status=$?
3087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3180
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
3181
  (exit $ac_status); }; then
3089
3182
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3090
3183
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3093
3186
for ac_file in conftest.exe conftest conftest.*; do
3094
3187
  test -f "$ac_file" || continue
3095
3188
  case $ac_file in
3096
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3189
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3097
3190
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3098
3191
          break;;
3099
3192
    * ) break;;
3100
3193
  esac
3101
3194
done
3102
3195
else
3103
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3196
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3197
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3198
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3104
3199
See \`config.log' for more details." >&5
3105
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3200
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3106
3201
See \`config.log' for more details." >&2;}
3107
 
   { (exit 1); exit 1; }; }
 
3202
   { (exit 1); exit 1; }; }; }
3108
3203
fi
3109
3204
 
3110
3205
rm -f conftest$ac_cv_exeext
3111
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3112
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3206
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3207
$as_echo "$ac_cv_exeext" >&6; }
3113
3208
 
3114
3209
rm -f conftest.$ac_ext
3115
3210
EXEEXT=$ac_cv_exeext
3116
3211
ac_exeext=$EXEEXT
3117
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3118
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3212
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3213
$as_echo_n "checking for suffix of object files... " >&6; }
3119
3214
if test "${ac_cv_objext+set}" = set; then
3120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3215
  $as_echo_n "(cached) " >&6
3121
3216
else
3122
3217
  cat >conftest.$ac_ext <<_ACEOF
3123
3218
/* confdefs.h.  */
3140
3235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141
3236
  *) ac_try_echo=$ac_try;;
3142
3237
esac
3143
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3239
$as_echo "$ac_try_echo") >&5
3144
3240
  (eval "$ac_compile") 2>&5
3145
3241
  ac_status=$?
3146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
3243
  (exit $ac_status); }; then
3148
3244
  for ac_file in conftest.o conftest.obj conftest.*; do
3149
3245
  test -f "$ac_file" || continue;
3150
3246
  case $ac_file in
3151
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3247
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3152
3248
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3153
3249
       break;;
3154
3250
  esac
3155
3251
done
3156
3252
else
3157
 
  echo "$as_me: failed program was:" >&5
 
3253
  $as_echo "$as_me: failed program was:" >&5
3158
3254
sed 's/^/| /' conftest.$ac_ext >&5
3159
3255
 
3160
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3256
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3257
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3258
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3161
3259
See \`config.log' for more details." >&5
3162
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3260
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3163
3261
See \`config.log' for more details." >&2;}
3164
 
   { (exit 1); exit 1; }; }
 
3262
   { (exit 1); exit 1; }; }; }
3165
3263
fi
3166
3264
 
3167
3265
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3168
3266
fi
3169
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3170
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3267
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3268
$as_echo "$ac_cv_objext" >&6; }
3171
3269
OBJEXT=$ac_cv_objext
3172
3270
ac_objext=$OBJEXT
3173
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3174
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3271
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3272
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3175
3273
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3176
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3274
  $as_echo_n "(cached) " >&6
3177
3275
else
3178
3276
  cat >conftest.$ac_ext <<_ACEOF
3179
3277
/* confdefs.h.  */
3199
3297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200
3298
  *) ac_try_echo=$ac_try;;
3201
3299
esac
3202
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3300
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3301
$as_echo "$ac_try_echo") >&5
3203
3302
  (eval "$ac_compile") 2>conftest.er1
3204
3303
  ac_status=$?
3205
3304
  grep -v '^ *+' conftest.er1 >conftest.err
3206
3305
  rm -f conftest.er1
3207
3306
  cat conftest.err >&5
3208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3307
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209
3308
  (exit $ac_status); } && {
3210
3309
         test -z "$ac_c_werror_flag" ||
3211
3310
         test ! -s conftest.err
3212
3311
       } && test -s conftest.$ac_objext; then
3213
3312
  ac_compiler_gnu=yes
3214
3313
else
3215
 
  echo "$as_me: failed program was:" >&5
 
3314
  $as_echo "$as_me: failed program was:" >&5
3216
3315
sed 's/^/| /' conftest.$ac_ext >&5
3217
3316
 
3218
3317
        ac_compiler_gnu=no
3222
3321
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3223
3322
 
3224
3323
fi
3225
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3226
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3227
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3324
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3325
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3326
if test $ac_compiler_gnu = yes; then
 
3327
  GCC=yes
 
3328
else
 
3329
  GCC=
 
3330
fi
3228
3331
ac_test_CFLAGS=${CFLAGS+set}
3229
3332
ac_save_CFLAGS=$CFLAGS
3230
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3231
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3333
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3334
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3232
3335
if test "${ac_cv_prog_cc_g+set}" = set; then
3233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3336
  $as_echo_n "(cached) " >&6
3234
3337
else
3235
3338
  ac_save_c_werror_flag=$ac_c_werror_flag
3236
3339
   ac_c_werror_flag=yes
3257
3360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258
3361
  *) ac_try_echo=$ac_try;;
3259
3362
esac
3260
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3363
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3364
$as_echo "$ac_try_echo") >&5
3261
3365
  (eval "$ac_compile") 2>conftest.er1
3262
3366
  ac_status=$?
3263
3367
  grep -v '^ *+' conftest.er1 >conftest.err
3264
3368
  rm -f conftest.er1
3265
3369
  cat conftest.err >&5
3266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3370
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267
3371
  (exit $ac_status); } && {
3268
3372
         test -z "$ac_c_werror_flag" ||
3269
3373
         test ! -s conftest.err
3270
3374
       } && test -s conftest.$ac_objext; then
3271
3375
  ac_cv_prog_cc_g=yes
3272
3376
else
3273
 
  echo "$as_me: failed program was:" >&5
 
3377
  $as_echo "$as_me: failed program was:" >&5
3274
3378
sed 's/^/| /' conftest.$ac_ext >&5
3275
3379
 
3276
3380
        CFLAGS=""
3295
3399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296
3400
  *) ac_try_echo=$ac_try;;
3297
3401
esac
3298
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3402
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3403
$as_echo "$ac_try_echo") >&5
3299
3404
  (eval "$ac_compile") 2>conftest.er1
3300
3405
  ac_status=$?
3301
3406
  grep -v '^ *+' conftest.er1 >conftest.err
3302
3407
  rm -f conftest.er1
3303
3408
  cat conftest.err >&5
3304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3409
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305
3410
  (exit $ac_status); } && {
3306
3411
         test -z "$ac_c_werror_flag" ||
3307
3412
         test ! -s conftest.err
3308
3413
       } && test -s conftest.$ac_objext; then
3309
3414
  :
3310
3415
else
3311
 
  echo "$as_me: failed program was:" >&5
 
3416
  $as_echo "$as_me: failed program was:" >&5
3312
3417
sed 's/^/| /' conftest.$ac_ext >&5
3313
3418
 
3314
3419
        ac_c_werror_flag=$ac_save_c_werror_flag
3334
3439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335
3440
  *) ac_try_echo=$ac_try;;
3336
3441
esac
3337
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3442
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3443
$as_echo "$ac_try_echo") >&5
3338
3444
  (eval "$ac_compile") 2>conftest.er1
3339
3445
  ac_status=$?
3340
3446
  grep -v '^ *+' conftest.er1 >conftest.err
3341
3447
  rm -f conftest.er1
3342
3448
  cat conftest.err >&5
3343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3449
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344
3450
  (exit $ac_status); } && {
3345
3451
         test -z "$ac_c_werror_flag" ||
3346
3452
         test ! -s conftest.err
3347
3453
       } && test -s conftest.$ac_objext; then
3348
3454
  ac_cv_prog_cc_g=yes
3349
3455
else
3350
 
  echo "$as_me: failed program was:" >&5
 
3456
  $as_echo "$as_me: failed program was:" >&5
3351
3457
sed 's/^/| /' conftest.$ac_ext >&5
3352
3458
 
3353
3459
 
3362
3468
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363
3469
   ac_c_werror_flag=$ac_save_c_werror_flag
3364
3470
fi
3365
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3366
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3471
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3472
$as_echo "$ac_cv_prog_cc_g" >&6; }
3367
3473
if test "$ac_test_CFLAGS" = set; then
3368
3474
  CFLAGS=$ac_save_CFLAGS
3369
3475
elif test $ac_cv_prog_cc_g = yes; then
3379
3485
    CFLAGS=
3380
3486
  fi
3381
3487
fi
3382
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3383
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3488
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3489
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3384
3490
if test "${ac_cv_prog_cc_c89+set}" = set; then
3385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3491
  $as_echo_n "(cached) " >&6
3386
3492
else
3387
3493
  ac_cv_prog_cc_c89=no
3388
3494
ac_save_CC=$CC
3453
3559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454
3560
  *) ac_try_echo=$ac_try;;
3455
3561
esac
3456
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3562
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3563
$as_echo "$ac_try_echo") >&5
3457
3564
  (eval "$ac_compile") 2>conftest.er1
3458
3565
  ac_status=$?
3459
3566
  grep -v '^ *+' conftest.er1 >conftest.err
3460
3567
  rm -f conftest.er1
3461
3568
  cat conftest.err >&5
3462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3569
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463
3570
  (exit $ac_status); } && {
3464
3571
         test -z "$ac_c_werror_flag" ||
3465
3572
         test ! -s conftest.err
3466
3573
       } && test -s conftest.$ac_objext; then
3467
3574
  ac_cv_prog_cc_c89=$ac_arg
3468
3575
else
3469
 
  echo "$as_me: failed program was:" >&5
 
3576
  $as_echo "$as_me: failed program was:" >&5
3470
3577
sed 's/^/| /' conftest.$ac_ext >&5
3471
3578
 
3472
3579
 
3482
3589
# AC_CACHE_VAL
3483
3590
case "x$ac_cv_prog_cc_c89" in
3484
3591
  x)
3485
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3486
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3592
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3593
$as_echo "none needed" >&6; } ;;
3487
3594
  xno)
3488
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3489
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3595
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3596
$as_echo "unsupported" >&6; } ;;
3490
3597
  *)
3491
3598
    CC="$CC $ac_cv_prog_cc_c89"
3492
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3493
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3599
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3600
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3494
3601
esac
3495
3602
 
3496
3603
 
3511
3618
.PHONY: am__doit
3512
3619
END
3513
3620
# If we don't find an include directive, just comment out the code.
3514
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3515
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3621
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3622
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3516
3623
am__include="#"
3517
3624
am__quote=
3518
3625
_am_result=none
3539
3646
fi
3540
3647
 
3541
3648
 
3542
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3543
 
echo "${ECHO_T}$_am_result" >&6; }
 
3649
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3650
$as_echo "$_am_result" >&6; }
3544
3651
rm -f confinc confmf
3545
3652
 
3546
3653
# Check whether --enable-dependency-tracking was given.
3564
3671
 
3565
3672
depcc="$CC"   am_compiler_list=
3566
3673
 
3567
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3568
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3674
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3675
$as_echo_n "checking dependency style of $depcc... " >&6; }
3569
3676
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3570
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3677
  $as_echo_n "(cached) " >&6
3571
3678
else
3572
3679
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3573
3680
  # We make a subdir and do the tests there.  Otherwise we can end up
3655
3762
fi
3656
3763
 
3657
3764
fi
3658
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3659
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3765
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3766
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3660
3767
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3661
3768
 
3662
3769
 if
3676
3783
        if test -n "$ac_tool_prefix"; then
3677
3784
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3678
3785
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3679
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3680
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3786
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3787
$as_echo_n "checking for $ac_word... " >&6; }
3681
3788
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3789
  $as_echo_n "(cached) " >&6
3683
3790
else
3684
3791
  case $PKG_CONFIG in
3685
3792
  [\\/]* | ?:[\\/]*)
3694
3801
  for ac_exec_ext in '' $ac_executable_extensions; do
3695
3802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696
3803
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3697
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3804
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3698
3805
    break 2
3699
3806
  fi
3700
3807
done
3706
3813
fi
3707
3814
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3708
3815
if test -n "$PKG_CONFIG"; then
3709
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3710
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
3816
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
3817
$as_echo "$PKG_CONFIG" >&6; }
3711
3818
else
3712
 
  { echo "$as_me:$LINENO: result: no" >&5
3713
 
echo "${ECHO_T}no" >&6; }
 
3819
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3820
$as_echo "no" >&6; }
3714
3821
fi
3715
3822
 
3716
3823
 
3719
3826
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3720
3827
  # Extract the first word of "pkg-config", so it can be a program name with args.
3721
3828
set dummy pkg-config; ac_word=$2
3722
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3723
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3829
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3830
$as_echo_n "checking for $ac_word... " >&6; }
3724
3831
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3832
  $as_echo_n "(cached) " >&6
3726
3833
else
3727
3834
  case $ac_pt_PKG_CONFIG in
3728
3835
  [\\/]* | ?:[\\/]*)
3737
3844
  for ac_exec_ext in '' $ac_executable_extensions; do
3738
3845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3739
3846
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3740
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3847
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3741
3848
    break 2
3742
3849
  fi
3743
3850
done
3749
3856
fi
3750
3857
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3751
3858
if test -n "$ac_pt_PKG_CONFIG"; then
3752
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3753
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
3859
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
3860
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3754
3861
else
3755
 
  { echo "$as_me:$LINENO: result: no" >&5
3756
 
echo "${ECHO_T}no" >&6; }
 
3862
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3863
$as_echo "no" >&6; }
3757
3864
fi
3758
3865
 
3759
3866
  if test "x$ac_pt_PKG_CONFIG" = x; then
3761
3868
  else
3762
3869
    case $cross_compiling:$ac_tool_warned in
3763
3870
yes:)
3764
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3765
 
whose name does not start with the host triplet.  If you think this
3766
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3767
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3768
 
whose name does not start with the host triplet.  If you think this
3769
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3871
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3872
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3770
3873
ac_tool_warned=yes ;;
3771
3874
esac
3772
3875
    PKG_CONFIG=$ac_pt_PKG_CONFIG
3778
3881
fi
3779
3882
if test -n "$PKG_CONFIG"; then
3780
3883
        _pkg_min_version=0.9.0
3781
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3782
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
3884
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
3885
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3783
3886
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3784
 
                { echo "$as_me:$LINENO: result: yes" >&5
3785
 
echo "${ECHO_T}yes" >&6; }
 
3887
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3888
$as_echo "yes" >&6; }
3786
3889
        else
3787
 
                { echo "$as_me:$LINENO: result: no" >&5
3788
 
echo "${ECHO_T}no" >&6; }
 
3890
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
3891
$as_echo "no" >&6; }
3789
3892
                PKG_CONFIG=""
3790
3893
        fi
3791
3894
 
3796
3899
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797
3900
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798
3901
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3799
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3800
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3902
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3903
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3801
3904
# On Suns, sometimes $CPP names a directory.
3802
3905
if test -n "$CPP" && test -d "$CPP"; then
3803
3906
  CPP=
3804
3907
fi
3805
3908
if test -z "$CPP"; then
3806
3909
  if test "${ac_cv_prog_CPP+set}" = set; then
3807
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3910
  $as_echo_n "(cached) " >&6
3808
3911
else
3809
3912
      # Double quotes because CPP needs to be expanded
3810
3913
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3836
3939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837
3940
  *) ac_try_echo=$ac_try;;
3838
3941
esac
3839
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3942
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3943
$as_echo "$ac_try_echo") >&5
3840
3944
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3841
3945
  ac_status=$?
3842
3946
  grep -v '^ *+' conftest.er1 >conftest.err
3843
3947
  rm -f conftest.er1
3844
3948
  cat conftest.err >&5
3845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3949
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846
3950
  (exit $ac_status); } >/dev/null && {
3847
3951
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848
3952
         test ! -s conftest.err
3849
3953
       }; then
3850
3954
  :
3851
3955
else
3852
 
  echo "$as_me: failed program was:" >&5
 
3956
  $as_echo "$as_me: failed program was:" >&5
3853
3957
sed 's/^/| /' conftest.$ac_ext >&5
3854
3958
 
3855
3959
  # Broken: fails on valid input.
3873
3977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874
3978
  *) ac_try_echo=$ac_try;;
3875
3979
esac
3876
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3980
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3981
$as_echo "$ac_try_echo") >&5
3877
3982
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3878
3983
  ac_status=$?
3879
3984
  grep -v '^ *+' conftest.er1 >conftest.err
3880
3985
  rm -f conftest.er1
3881
3986
  cat conftest.err >&5
3882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883
3988
  (exit $ac_status); } >/dev/null && {
3884
3989
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3885
3990
         test ! -s conftest.err
3887
3992
  # Broken: success on invalid input.
3888
3993
continue
3889
3994
else
3890
 
  echo "$as_me: failed program was:" >&5
 
3995
  $as_echo "$as_me: failed program was:" >&5
3891
3996
sed 's/^/| /' conftest.$ac_ext >&5
3892
3997
 
3893
3998
  # Passes both tests.
3912
4017
else
3913
4018
  ac_cv_prog_CPP=$CPP
3914
4019
fi
3915
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3916
 
echo "${ECHO_T}$CPP" >&6; }
 
4020
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4021
$as_echo "$CPP" >&6; }
3917
4022
ac_preproc_ok=false
3918
4023
for ac_c_preproc_warn_flag in '' yes
3919
4024
do
3941
4046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942
4047
  *) ac_try_echo=$ac_try;;
3943
4048
esac
3944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4050
$as_echo "$ac_try_echo") >&5
3945
4051
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3946
4052
  ac_status=$?
3947
4053
  grep -v '^ *+' conftest.er1 >conftest.err
3948
4054
  rm -f conftest.er1
3949
4055
  cat conftest.err >&5
3950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4056
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951
4057
  (exit $ac_status); } >/dev/null && {
3952
4058
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3953
4059
         test ! -s conftest.err
3954
4060
       }; then
3955
4061
  :
3956
4062
else
3957
 
  echo "$as_me: failed program was:" >&5
 
4063
  $as_echo "$as_me: failed program was:" >&5
3958
4064
sed 's/^/| /' conftest.$ac_ext >&5
3959
4065
 
3960
4066
  # Broken: fails on valid input.
3978
4084
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3979
4085
  *) ac_try_echo=$ac_try;;
3980
4086
esac
3981
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4087
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4088
$as_echo "$ac_try_echo") >&5
3982
4089
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3983
4090
  ac_status=$?
3984
4091
  grep -v '^ *+' conftest.er1 >conftest.err
3985
4092
  rm -f conftest.er1
3986
4093
  cat conftest.err >&5
3987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4094
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988
4095
  (exit $ac_status); } >/dev/null && {
3989
4096
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3990
4097
         test ! -s conftest.err
3992
4099
  # Broken: success on invalid input.
3993
4100
continue
3994
4101
else
3995
 
  echo "$as_me: failed program was:" >&5
 
4102
  $as_echo "$as_me: failed program was:" >&5
3996
4103
sed 's/^/| /' conftest.$ac_ext >&5
3997
4104
 
3998
4105
  # Passes both tests.
4008
4115
if $ac_preproc_ok; then
4009
4116
  :
4010
4117
else
4011
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4118
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4120
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4012
4121
See \`config.log' for more details." >&5
4013
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4122
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4014
4123
See \`config.log' for more details." >&2;}
4015
 
   { (exit 1); exit 1; }; }
 
4124
   { (exit 1); exit 1; }; }; }
4016
4125
fi
4017
4126
 
4018
4127
ac_ext=c
4022
4131
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023
4132
 
4024
4133
 
4025
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4026
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4027
 
if test "${ac_cv_path_GREP+set}" = set; then
4028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4029
 
else
4030
 
  # Extract the first word of "grep ggrep" to use in msg output
4031
 
if test -z "$GREP"; then
4032
 
set dummy grep ggrep; ac_prog_name=$2
4033
 
if test "${ac_cv_path_GREP+set}" = set; then
4034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4035
 
else
 
4134
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4135
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4136
if test "${ac_cv_path_GREP+set}" = set; then
 
4137
  $as_echo_n "(cached) " >&6
 
4138
else
 
4139
  if test -z "$GREP"; then
4036
4140
  ac_path_GREP_found=false
4037
 
# Loop through the user's path and test for each of PROGNAME-LIST
4038
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4141
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4142
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039
4143
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4040
4144
do
4041
4145
  IFS=$as_save_IFS
4042
4146
  test -z "$as_dir" && as_dir=.
4043
4147
  for ac_prog in grep ggrep; do
4044
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4045
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4046
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4047
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4148
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4149
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4150
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4151
# Check for GNU ac_path_GREP and select it if it is found.
4048
4152
  # Check for GNU $ac_path_GREP
4049
4153
case `"$ac_path_GREP" --version 2>&1` in
4050
4154
*GNU*)
4051
4155
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4052
4156
*)
4053
4157
  ac_count=0
4054
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4158
  $as_echo_n 0123456789 >"conftest.in"
4055
4159
  while :
4056
4160
  do
4057
4161
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4058
4162
    mv "conftest.tmp" "conftest.in"
4059
4163
    cp "conftest.in" "conftest.nl"
4060
 
    echo 'GREP' >> "conftest.nl"
 
4164
    $as_echo 'GREP' >> "conftest.nl"
4061
4165
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4062
4166
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4063
4167
    ac_count=`expr $ac_count + 1`
4072
4176
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4073
4177
esac
4074
4178
 
4075
 
 
4076
 
    $ac_path_GREP_found && break 3
 
4179
      $ac_path_GREP_found && break 3
 
4180
    done
4077
4181
  done
4078
4182
done
4079
 
 
4080
 
done
4081
4183
IFS=$as_save_IFS
4082
 
 
4083
 
 
4084
 
fi
4085
 
 
4086
 
GREP="$ac_cv_path_GREP"
4087
 
if test -z "$GREP"; then
4088
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4089
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4184
  if test -z "$ac_cv_path_GREP"; then
 
4185
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4186
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4090
4187
   { (exit 1); exit 1; }; }
4091
 
fi
4092
 
 
 
4188
  fi
4093
4189
else
4094
4190
  ac_cv_path_GREP=$GREP
4095
4191
fi
4096
4192
 
4097
 
 
4098
4193
fi
4099
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4100
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4194
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4195
$as_echo "$ac_cv_path_GREP" >&6; }
4101
4196
 GREP="$ac_cv_path_GREP"
4102
4197
 
4103
4198
 
4104
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4105
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4199
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4200
$as_echo_n "checking for egrep... " >&6; }
4106
4201
if test "${ac_cv_path_EGREP+set}" = set; then
4107
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4202
  $as_echo_n "(cached) " >&6
4108
4203
else
4109
4204
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4110
4205
   then ac_cv_path_EGREP="$GREP -E"
4111
4206
   else
4112
 
     # Extract the first word of "egrep" to use in msg output
4113
 
if test -z "$EGREP"; then
4114
 
set dummy egrep; ac_prog_name=$2
4115
 
if test "${ac_cv_path_EGREP+set}" = set; then
4116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4117
 
else
 
4207
     if test -z "$EGREP"; then
4118
4208
  ac_path_EGREP_found=false
4119
 
# Loop through the user's path and test for each of PROGNAME-LIST
4120
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4209
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4210
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121
4211
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4122
4212
do
4123
4213
  IFS=$as_save_IFS
4124
4214
  test -z "$as_dir" && as_dir=.
4125
4215
  for ac_prog in egrep; do
4126
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4127
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4128
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4129
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4216
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4217
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4218
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4219
# Check for GNU ac_path_EGREP and select it if it is found.
4130
4220
  # Check for GNU $ac_path_EGREP
4131
4221
case `"$ac_path_EGREP" --version 2>&1` in
4132
4222
*GNU*)
4133
4223
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4134
4224
*)
4135
4225
  ac_count=0
4136
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4226
  $as_echo_n 0123456789 >"conftest.in"
4137
4227
  while :
4138
4228
  do
4139
4229
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4140
4230
    mv "conftest.tmp" "conftest.in"
4141
4231
    cp "conftest.in" "conftest.nl"
4142
 
    echo 'EGREP' >> "conftest.nl"
 
4232
    $as_echo 'EGREP' >> "conftest.nl"
4143
4233
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4144
4234
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4145
4235
    ac_count=`expr $ac_count + 1`
4154
4244
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4155
4245
esac
4156
4246
 
4157
 
 
4158
 
    $ac_path_EGREP_found && break 3
 
4247
      $ac_path_EGREP_found && break 3
 
4248
    done
4159
4249
  done
4160
4250
done
4161
 
 
4162
 
done
4163
4251
IFS=$as_save_IFS
4164
 
 
4165
 
 
4166
 
fi
4167
 
 
4168
 
EGREP="$ac_cv_path_EGREP"
4169
 
if test -z "$EGREP"; then
4170
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4171
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4252
  if test -z "$ac_cv_path_EGREP"; then
 
4253
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4254
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4172
4255
   { (exit 1); exit 1; }; }
4173
 
fi
4174
 
 
 
4256
  fi
4175
4257
else
4176
4258
  ac_cv_path_EGREP=$EGREP
4177
4259
fi
4178
4260
 
4179
 
 
4180
4261
   fi
4181
4262
fi
4182
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4183
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4263
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4264
$as_echo "$ac_cv_path_EGREP" >&6; }
4184
4265
 EGREP="$ac_cv_path_EGREP"
4185
4266
 
4186
4267
 
4187
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4188
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4268
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4269
$as_echo_n "checking for ANSI C header files... " >&6; }
4189
4270
if test "${ac_cv_header_stdc+set}" = set; then
4190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4271
  $as_echo_n "(cached) " >&6
4191
4272
else
4192
4273
  cat >conftest.$ac_ext <<_ACEOF
4193
4274
/* confdefs.h.  */
4214
4295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215
4296
  *) ac_try_echo=$ac_try;;
4216
4297
esac
4217
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4298
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4299
$as_echo "$ac_try_echo") >&5
4218
4300
  (eval "$ac_compile") 2>conftest.er1
4219
4301
  ac_status=$?
4220
4302
  grep -v '^ *+' conftest.er1 >conftest.err
4221
4303
  rm -f conftest.er1
4222
4304
  cat conftest.err >&5
4223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4305
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224
4306
  (exit $ac_status); } && {
4225
4307
         test -z "$ac_c_werror_flag" ||
4226
4308
         test ! -s conftest.err
4227
4309
       } && test -s conftest.$ac_objext; then
4228
4310
  ac_cv_header_stdc=yes
4229
4311
else
4230
 
  echo "$as_me: failed program was:" >&5
 
4312
  $as_echo "$as_me: failed program was:" >&5
4231
4313
sed 's/^/| /' conftest.$ac_ext >&5
4232
4314
 
4233
4315
        ac_cv_header_stdc=no
4319
4401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320
4402
  *) ac_try_echo=$ac_try;;
4321
4403
esac
4322
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4404
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4405
$as_echo "$ac_try_echo") >&5
4323
4406
  (eval "$ac_link") 2>&5
4324
4407
  ac_status=$?
4325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4408
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
4409
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4327
4410
  { (case "(($ac_try" in
4328
4411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329
4412
  *) ac_try_echo=$ac_try;;
4330
4413
esac
4331
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4414
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4415
$as_echo "$ac_try_echo") >&5
4332
4416
  (eval "$ac_try") 2>&5
4333
4417
  ac_status=$?
4334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4418
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
4419
  (exit $ac_status); }; }; then
4336
4420
  :
4337
4421
else
4338
 
  echo "$as_me: program exited with status $ac_status" >&5
4339
 
echo "$as_me: failed program was:" >&5
 
4422
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4423
$as_echo "$as_me: failed program was:" >&5
4340
4424
sed 's/^/| /' conftest.$ac_ext >&5
4341
4425
 
4342
4426
( exit $ac_status )
4343
4427
ac_cv_header_stdc=no
4344
4428
fi
 
4429
rm -rf conftest.dSYM
4345
4430
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4346
4431
fi
4347
4432
 
4348
4433
 
4349
4434
fi
4350
4435
fi
4351
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4352
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4436
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4437
$as_echo "$ac_cv_header_stdc" >&6; }
4353
4438
if test $ac_cv_header_stdc = yes; then
4354
4439
 
4355
4440
cat >>confdefs.h <<\_ACEOF
4371
4456
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4372
4457
                  inttypes.h stdint.h unistd.h
4373
4458
do
4374
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4375
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4376
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4459
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4460
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4461
$as_echo_n "checking for $ac_header... " >&6; }
4377
4462
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4463
  $as_echo_n "(cached) " >&6
4379
4464
else
4380
4465
  cat >conftest.$ac_ext <<_ACEOF
4381
4466
/* confdefs.h.  */
4393
4478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394
4479
  *) ac_try_echo=$ac_try;;
4395
4480
esac
4396
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4481
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4482
$as_echo "$ac_try_echo") >&5
4397
4483
  (eval "$ac_compile") 2>conftest.er1
4398
4484
  ac_status=$?
4399
4485
  grep -v '^ *+' conftest.er1 >conftest.err
4400
4486
  rm -f conftest.er1
4401
4487
  cat conftest.err >&5
4402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4488
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403
4489
  (exit $ac_status); } && {
4404
4490
         test -z "$ac_c_werror_flag" ||
4405
4491
         test ! -s conftest.err
4406
4492
       } && test -s conftest.$ac_objext; then
4407
4493
  eval "$as_ac_Header=yes"
4408
4494
else
4409
 
  echo "$as_me: failed program was:" >&5
 
4495
  $as_echo "$as_me: failed program was:" >&5
4410
4496
sed 's/^/| /' conftest.$ac_ext >&5
4411
4497
 
4412
4498
        eval "$as_ac_Header=no"
4414
4500
 
4415
4501
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416
4502
fi
4417
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4418
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4419
 
echo "${ECHO_T}$ac_res" >&6; }
4420
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4503
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4504
                 $as_echo "$as_val"'`
 
4505
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4506
$as_echo "$ac_res" >&6; }
 
4507
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4508
                 $as_echo "$as_val"'`
 
4509
   if test "x$as_val" = x""yes; then
4421
4510
  cat >>confdefs.h <<_ACEOF
4422
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4511
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4423
4512
_ACEOF
4424
4513
 
4425
4514
fi
4427
4516
done
4428
4517
 
4429
4518
 
4430
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4431
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
 
4519
 
 
4520
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
4521
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4432
4522
if test "${ac_cv_c_bigendian+set}" = set; then
4433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4434
 
else
4435
 
  # See if sys/param.h defines the BYTE_ORDER macro.
4436
 
cat >conftest.$ac_ext <<_ACEOF
 
4523
  $as_echo_n "(cached) " >&6
 
4524
else
 
4525
  ac_cv_c_bigendian=unknown
 
4526
    # See if we're dealing with a universal compiler.
 
4527
    cat >conftest.$ac_ext <<_ACEOF
 
4528
/* confdefs.h.  */
 
4529
_ACEOF
 
4530
cat confdefs.h >>conftest.$ac_ext
 
4531
cat >>conftest.$ac_ext <<_ACEOF
 
4532
/* end confdefs.h.  */
 
4533
#ifndef __APPLE_CC__
 
4534
               not a universal capable compiler
 
4535
             #endif
 
4536
             typedef int dummy;
 
4537
 
 
4538
_ACEOF
 
4539
rm -f conftest.$ac_objext
 
4540
if { (ac_try="$ac_compile"
 
4541
case "(($ac_try" in
 
4542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4543
  *) ac_try_echo=$ac_try;;
 
4544
esac
 
4545
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4546
$as_echo "$ac_try_echo") >&5
 
4547
  (eval "$ac_compile") 2>conftest.er1
 
4548
  ac_status=$?
 
4549
  grep -v '^ *+' conftest.er1 >conftest.err
 
4550
  rm -f conftest.er1
 
4551
  cat conftest.err >&5
 
4552
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4553
  (exit $ac_status); } && {
 
4554
         test -z "$ac_c_werror_flag" ||
 
4555
         test ! -s conftest.err
 
4556
       } && test -s conftest.$ac_objext; then
 
4557
 
 
4558
        # Check for potential -arch flags.  It is not universal unless
 
4559
        # there are some -arch flags.  Note that *ppc* also matches
 
4560
        # ppc64.  This check is also rather less than ideal.
 
4561
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
 
4562
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
 
4563
        esac
 
4564
else
 
4565
  $as_echo "$as_me: failed program was:" >&5
 
4566
sed 's/^/| /' conftest.$ac_ext >&5
 
4567
 
 
4568
 
 
4569
fi
 
4570
 
 
4571
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4572
    if test $ac_cv_c_bigendian = unknown; then
 
4573
      # See if sys/param.h defines the BYTE_ORDER macro.
 
4574
      cat >conftest.$ac_ext <<_ACEOF
4437
4575
/* confdefs.h.  */
4438
4576
_ACEOF
4439
4577
cat confdefs.h >>conftest.$ac_ext
4440
4578
cat >>conftest.$ac_ext <<_ACEOF
4441
4579
/* end confdefs.h.  */
4442
4580
#include <sys/types.h>
4443
 
#include <sys/param.h>
 
4581
             #include <sys/param.h>
4444
4582
 
4445
4583
int
4446
4584
main ()
4447
4585
{
4448
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4449
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4450
 
 bogus endian macros
4451
 
#endif
 
4586
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
4587
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
4588
                     && LITTLE_ENDIAN)
 
4589
              bogus endian macros
 
4590
             #endif
4452
4591
 
4453
4592
  ;
4454
4593
  return 0;
4460
4599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461
4600
  *) ac_try_echo=$ac_try;;
4462
4601
esac
4463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4602
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4603
$as_echo "$ac_try_echo") >&5
4464
4604
  (eval "$ac_compile") 2>conftest.er1
4465
4605
  ac_status=$?
4466
4606
  grep -v '^ *+' conftest.er1 >conftest.err
4467
4607
  rm -f conftest.er1
4468
4608
  cat conftest.err >&5
4469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4609
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470
4610
  (exit $ac_status); } && {
4471
4611
         test -z "$ac_c_werror_flag" ||
4472
4612
         test ! -s conftest.err
4473
4613
       } && test -s conftest.$ac_objext; then
4474
4614
  # It does; now see whether it defined to BIG_ENDIAN or not.
4475
 
cat >conftest.$ac_ext <<_ACEOF
 
4615
         cat >conftest.$ac_ext <<_ACEOF
4476
4616
/* confdefs.h.  */
4477
4617
_ACEOF
4478
4618
cat confdefs.h >>conftest.$ac_ext
4479
4619
cat >>conftest.$ac_ext <<_ACEOF
4480
4620
/* end confdefs.h.  */
4481
4621
#include <sys/types.h>
4482
 
#include <sys/param.h>
 
4622
                #include <sys/param.h>
4483
4623
 
4484
4624
int
4485
4625
main ()
4486
4626
{
4487
4627
#if BYTE_ORDER != BIG_ENDIAN
4488
 
 not big endian
4489
 
#endif
4490
 
 
4491
 
  ;
4492
 
  return 0;
4493
 
}
4494
 
_ACEOF
4495
 
rm -f conftest.$ac_objext
4496
 
if { (ac_try="$ac_compile"
4497
 
case "(($ac_try" in
4498
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4499
 
  *) ac_try_echo=$ac_try;;
4500
 
esac
4501
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4502
 
  (eval "$ac_compile") 2>conftest.er1
4503
 
  ac_status=$?
4504
 
  grep -v '^ *+' conftest.er1 >conftest.err
4505
 
  rm -f conftest.er1
4506
 
  cat conftest.err >&5
4507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508
 
  (exit $ac_status); } && {
4509
 
         test -z "$ac_c_werror_flag" ||
4510
 
         test ! -s conftest.err
4511
 
       } && test -s conftest.$ac_objext; then
4512
 
  ac_cv_c_bigendian=yes
4513
 
else
4514
 
  echo "$as_me: failed program was:" >&5
4515
 
sed 's/^/| /' conftest.$ac_ext >&5
4516
 
 
4517
 
        ac_cv_c_bigendian=no
4518
 
fi
4519
 
 
4520
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521
 
else
4522
 
  echo "$as_me: failed program was:" >&5
4523
 
sed 's/^/| /' conftest.$ac_ext >&5
4524
 
 
4525
 
        # It does not; compile a test program.
4526
 
if test "$cross_compiling" = yes; then
4527
 
  # try to guess the endianness by grepping values into an object file
4528
 
  ac_cv_c_bigendian=unknown
4529
 
  cat >conftest.$ac_ext <<_ACEOF
4530
 
/* confdefs.h.  */
4531
 
_ACEOF
4532
 
cat confdefs.h >>conftest.$ac_ext
4533
 
cat >>conftest.$ac_ext <<_ACEOF
4534
 
/* end confdefs.h.  */
4535
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4536
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4537
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4538
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4539
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4540
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4541
 
int
4542
 
main ()
4543
 
{
4544
 
 _ascii (); _ebcdic ();
4545
 
  ;
4546
 
  return 0;
4547
 
}
4548
 
_ACEOF
4549
 
rm -f conftest.$ac_objext
4550
 
if { (ac_try="$ac_compile"
4551
 
case "(($ac_try" in
4552
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553
 
  *) ac_try_echo=$ac_try;;
4554
 
esac
4555
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556
 
  (eval "$ac_compile") 2>conftest.er1
4557
 
  ac_status=$?
4558
 
  grep -v '^ *+' conftest.er1 >conftest.err
4559
 
  rm -f conftest.er1
4560
 
  cat conftest.err >&5
4561
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562
 
  (exit $ac_status); } && {
4563
 
         test -z "$ac_c_werror_flag" ||
4564
 
         test ! -s conftest.err
4565
 
       } && test -s conftest.$ac_objext; then
4566
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4567
 
  ac_cv_c_bigendian=yes
4568
 
fi
4569
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4570
 
  if test "$ac_cv_c_bigendian" = unknown; then
4571
 
    ac_cv_c_bigendian=no
4572
 
  else
4573
 
    # finding both strings is unlikely to happen, but who knows?
4574
 
    ac_cv_c_bigendian=unknown
4575
 
  fi
4576
 
fi
4577
 
else
4578
 
  echo "$as_me: failed program was:" >&5
 
4628
                 not big endian
 
4629
                #endif
 
4630
 
 
4631
  ;
 
4632
  return 0;
 
4633
}
 
4634
_ACEOF
 
4635
rm -f conftest.$ac_objext
 
4636
if { (ac_try="$ac_compile"
 
4637
case "(($ac_try" in
 
4638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4639
  *) ac_try_echo=$ac_try;;
 
4640
esac
 
4641
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4642
$as_echo "$ac_try_echo") >&5
 
4643
  (eval "$ac_compile") 2>conftest.er1
 
4644
  ac_status=$?
 
4645
  grep -v '^ *+' conftest.er1 >conftest.err
 
4646
  rm -f conftest.er1
 
4647
  cat conftest.err >&5
 
4648
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4649
  (exit $ac_status); } && {
 
4650
         test -z "$ac_c_werror_flag" ||
 
4651
         test ! -s conftest.err
 
4652
       } && test -s conftest.$ac_objext; then
 
4653
  ac_cv_c_bigendian=yes
 
4654
else
 
4655
  $as_echo "$as_me: failed program was:" >&5
 
4656
sed 's/^/| /' conftest.$ac_ext >&5
 
4657
 
 
4658
        ac_cv_c_bigendian=no
 
4659
fi
 
4660
 
 
4661
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4662
else
 
4663
  $as_echo "$as_me: failed program was:" >&5
 
4664
sed 's/^/| /' conftest.$ac_ext >&5
 
4665
 
 
4666
 
 
4667
fi
 
4668
 
 
4669
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4670
    fi
 
4671
    if test $ac_cv_c_bigendian = unknown; then
 
4672
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
4673
      cat >conftest.$ac_ext <<_ACEOF
 
4674
/* confdefs.h.  */
 
4675
_ACEOF
 
4676
cat confdefs.h >>conftest.$ac_ext
 
4677
cat >>conftest.$ac_ext <<_ACEOF
 
4678
/* end confdefs.h.  */
 
4679
#include <limits.h>
 
4680
 
 
4681
int
 
4682
main ()
 
4683
{
 
4684
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
4685
              bogus endian macros
 
4686
             #endif
 
4687
 
 
4688
  ;
 
4689
  return 0;
 
4690
}
 
4691
_ACEOF
 
4692
rm -f conftest.$ac_objext
 
4693
if { (ac_try="$ac_compile"
 
4694
case "(($ac_try" in
 
4695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4696
  *) ac_try_echo=$ac_try;;
 
4697
esac
 
4698
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4699
$as_echo "$ac_try_echo") >&5
 
4700
  (eval "$ac_compile") 2>conftest.er1
 
4701
  ac_status=$?
 
4702
  grep -v '^ *+' conftest.er1 >conftest.err
 
4703
  rm -f conftest.er1
 
4704
  cat conftest.err >&5
 
4705
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4706
  (exit $ac_status); } && {
 
4707
         test -z "$ac_c_werror_flag" ||
 
4708
         test ! -s conftest.err
 
4709
       } && test -s conftest.$ac_objext; then
 
4710
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
4711
         cat >conftest.$ac_ext <<_ACEOF
 
4712
/* confdefs.h.  */
 
4713
_ACEOF
 
4714
cat confdefs.h >>conftest.$ac_ext
 
4715
cat >>conftest.$ac_ext <<_ACEOF
 
4716
/* end confdefs.h.  */
 
4717
#include <limits.h>
 
4718
 
 
4719
int
 
4720
main ()
 
4721
{
 
4722
#ifndef _BIG_ENDIAN
 
4723
                 not big endian
 
4724
                #endif
 
4725
 
 
4726
  ;
 
4727
  return 0;
 
4728
}
 
4729
_ACEOF
 
4730
rm -f conftest.$ac_objext
 
4731
if { (ac_try="$ac_compile"
 
4732
case "(($ac_try" in
 
4733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4734
  *) ac_try_echo=$ac_try;;
 
4735
esac
 
4736
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4737
$as_echo "$ac_try_echo") >&5
 
4738
  (eval "$ac_compile") 2>conftest.er1
 
4739
  ac_status=$?
 
4740
  grep -v '^ *+' conftest.er1 >conftest.err
 
4741
  rm -f conftest.er1
 
4742
  cat conftest.err >&5
 
4743
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4744
  (exit $ac_status); } && {
 
4745
         test -z "$ac_c_werror_flag" ||
 
4746
         test ! -s conftest.err
 
4747
       } && test -s conftest.$ac_objext; then
 
4748
  ac_cv_c_bigendian=yes
 
4749
else
 
4750
  $as_echo "$as_me: failed program was:" >&5
 
4751
sed 's/^/| /' conftest.$ac_ext >&5
 
4752
 
 
4753
        ac_cv_c_bigendian=no
 
4754
fi
 
4755
 
 
4756
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4757
else
 
4758
  $as_echo "$as_me: failed program was:" >&5
 
4759
sed 's/^/| /' conftest.$ac_ext >&5
 
4760
 
 
4761
 
 
4762
fi
 
4763
 
 
4764
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4765
    fi
 
4766
    if test $ac_cv_c_bigendian = unknown; then
 
4767
      # Compile a test program.
 
4768
      if test "$cross_compiling" = yes; then
 
4769
  # Try to guess by grepping values from an object file.
 
4770
         cat >conftest.$ac_ext <<_ACEOF
 
4771
/* confdefs.h.  */
 
4772
_ACEOF
 
4773
cat confdefs.h >>conftest.$ac_ext
 
4774
cat >>conftest.$ac_ext <<_ACEOF
 
4775
/* end confdefs.h.  */
 
4776
short int ascii_mm[] =
 
4777
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
4778
                short int ascii_ii[] =
 
4779
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
4780
                int use_ascii (int i) {
 
4781
                  return ascii_mm[i] + ascii_ii[i];
 
4782
                }
 
4783
                short int ebcdic_ii[] =
 
4784
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
4785
                short int ebcdic_mm[] =
 
4786
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
4787
                int use_ebcdic (int i) {
 
4788
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
4789
                }
 
4790
                extern int foo;
 
4791
 
 
4792
int
 
4793
main ()
 
4794
{
 
4795
return use_ascii (foo) == use_ebcdic (foo);
 
4796
  ;
 
4797
  return 0;
 
4798
}
 
4799
_ACEOF
 
4800
rm -f conftest.$ac_objext
 
4801
if { (ac_try="$ac_compile"
 
4802
case "(($ac_try" in
 
4803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4804
  *) ac_try_echo=$ac_try;;
 
4805
esac
 
4806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4807
$as_echo "$ac_try_echo") >&5
 
4808
  (eval "$ac_compile") 2>conftest.er1
 
4809
  ac_status=$?
 
4810
  grep -v '^ *+' conftest.er1 >conftest.err
 
4811
  rm -f conftest.er1
 
4812
  cat conftest.err >&5
 
4813
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4814
  (exit $ac_status); } && {
 
4815
         test -z "$ac_c_werror_flag" ||
 
4816
         test ! -s conftest.err
 
4817
       } && test -s conftest.$ac_objext; then
 
4818
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
4819
              ac_cv_c_bigendian=yes
 
4820
            fi
 
4821
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
4822
              if test "$ac_cv_c_bigendian" = unknown; then
 
4823
                ac_cv_c_bigendian=no
 
4824
              else
 
4825
                # finding both strings is unlikely to happen, but who knows?
 
4826
                ac_cv_c_bigendian=unknown
 
4827
              fi
 
4828
            fi
 
4829
else
 
4830
  $as_echo "$as_me: failed program was:" >&5
4579
4831
sed 's/^/| /' conftest.$ac_ext >&5
4580
4832
 
4581
4833
 
4594
4846
main ()
4595
4847
{
4596
4848
 
4597
 
  /* Are we little or big endian?  From Harbison&Steele.  */
4598
 
  union
4599
 
  {
4600
 
    long int l;
4601
 
    char c[sizeof (long int)];
4602
 
  } u;
4603
 
  u.l = 1;
4604
 
  return u.c[sizeof (long int) - 1] == 1;
 
4849
             /* Are we little or big endian?  From Harbison&Steele.  */
 
4850
             union
 
4851
             {
 
4852
               long int l;
 
4853
               char c[sizeof (long int)];
 
4854
             } u;
 
4855
             u.l = 1;
 
4856
             return u.c[sizeof (long int) - 1] == 1;
4605
4857
 
4606
4858
  ;
4607
4859
  return 0;
4613
4865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4614
4866
  *) ac_try_echo=$ac_try;;
4615
4867
esac
4616
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4868
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4869
$as_echo "$ac_try_echo") >&5
4617
4870
  (eval "$ac_link") 2>&5
4618
4871
  ac_status=$?
4619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4872
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620
4873
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4621
4874
  { (case "(($ac_try" in
4622
4875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623
4876
  *) ac_try_echo=$ac_try;;
4624
4877
esac
4625
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4878
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4879
$as_echo "$ac_try_echo") >&5
4626
4880
  (eval "$ac_try") 2>&5
4627
4881
  ac_status=$?
4628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629
4883
  (exit $ac_status); }; }; then
4630
4884
  ac_cv_c_bigendian=no
4631
4885
else
4632
 
  echo "$as_me: program exited with status $ac_status" >&5
4633
 
echo "$as_me: failed program was:" >&5
 
4886
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4887
$as_echo "$as_me: failed program was:" >&5
4634
4888
sed 's/^/| /' conftest.$ac_ext >&5
4635
4889
 
4636
4890
( exit $ac_status )
4637
4891
ac_cv_c_bigendian=yes
4638
4892
fi
 
4893
rm -rf conftest.dSYM
4639
4894
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4640
4895
fi
4641
4896
 
4642
4897
 
4643
 
fi
4644
 
 
4645
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646
 
fi
4647
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4648
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4649
 
case $ac_cv_c_bigendian in
4650
 
  yes)
4651
 
 
4652
 
cat >>confdefs.h <<\_ACEOF
 
4898
    fi
 
4899
fi
 
4900
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
4901
$as_echo "$ac_cv_c_bigendian" >&6; }
 
4902
 case $ac_cv_c_bigendian in #(
 
4903
   yes)
 
4904
     cat >>confdefs.h <<\_ACEOF
4653
4905
#define WORDS_BIGENDIAN 1
4654
4906
_ACEOF
4655
 
 ;;
4656
 
  no)
4657
 
     ;;
4658
 
  *)
4659
 
    { { echo "$as_me:$LINENO: error: unknown endianness
4660
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4661
 
echo "$as_me: error: unknown endianness
4662
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
4907
;; #(
 
4908
   no)
 
4909
      ;; #(
 
4910
   universal)
 
4911
 
 
4912
cat >>confdefs.h <<\_ACEOF
 
4913
#define AC_APPLE_UNIVERSAL_BUILD 1
 
4914
_ACEOF
 
4915
 
 
4916
     ;; #(
 
4917
   *)
 
4918
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 
4919
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
4920
$as_echo "$as_me: error: unknown endianness
 
4921
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4663
4922
   { (exit 1); exit 1; }; } ;;
4664
 
esac
4665
 
 
4666
 
 
4667
 
{ echo "$as_me:$LINENO: checking svn checkout" >&5
4668
 
echo $ECHO_N "checking svn checkout... $ECHO_C" >&6; }
4669
 
if test -e packaged; then
 
4923
 esac
 
4924
 
 
4925
 
 
4926
{ $as_echo "$as_me:$LINENO: checking svn checkout" >&5
 
4927
$as_echo_n "checking svn checkout... " >&6; }
 
4928
if test -e "${srcdir}/packaged"; then
4670
4929
        svn_checkout="no"
4671
4930
else
4672
4931
        svn_checkout="yes"
4673
4932
fi
4674
 
{ echo "$as_me:$LINENO: result: ${svn_checkout}" >&5
4675
 
echo "${ECHO_T}${svn_checkout}" >&6; }
 
4933
{ $as_echo "$as_me:$LINENO: result: ${svn_checkout}" >&5
 
4934
$as_echo "${svn_checkout}" >&6; }
4676
4935
 
4677
4936
 
4678
4937
# Check whether --with-cygwin-native was given.
4687
4946
test -z "${WIN32}" && WIN32="no"
4688
4947
test -z "${CYGWIN}" && CYGWIN="no"
4689
4948
case "${host}" in
4690
 
        *-mingw32*|*-winnt*)
 
4949
        *-mingw*|*-winnt*)
4691
4950
                WIN32="yes"
4692
4951
                CPPFLAGS="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN"
4693
4952
                WIN_LIBPREFIX="lib"
4694
4953
        ;;
4695
4954
        *-cygwin*)
4696
 
                { echo "$as_me:$LINENO: checking cygwin mode to use" >&5
4697
 
echo $ECHO_N "checking cygwin mode to use... $ECHO_C" >&6; }
 
4955
                { $as_echo "$as_me:$LINENO: checking cygwin mode to use" >&5
 
4956
$as_echo_n "checking cygwin mode to use... " >&6; }
4698
4957
                CYGWIN="yes"
4699
4958
                if test "${with_cygwin_native}" = "yes"; then
4700
 
                        { echo "$as_me:$LINENO: result: Using native win32" >&5
4701
 
echo "${ECHO_T}Using native win32" >&6; }
 
4959
                        { $as_echo "$as_me:$LINENO: result: Using native win32" >&5
 
4960
$as_echo "Using native win32" >&6; }
4702
4961
                        CPPFLAGS="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN"
4703
4962
                        CFLAGS="${CFLAGS} -mno-cygwin"
4704
4963
                        WIN32="yes"
4705
4964
                else
4706
 
                        { echo "$as_me:$LINENO: result: Using cygwin" >&5
4707
 
echo "${ECHO_T}Using cygwin" >&6; }
 
4965
                        { $as_echo "$as_me:$LINENO: result: Using cygwin" >&5
 
4966
$as_echo "Using cygwin" >&6; }
4708
4967
                        CPPFLAGS="${CPPFLAGS} -DCRYPTOKI_FORCE_WIN32"
4709
4968
                        WIN_LIBPREFIX="cyg"
4710
4969
 
4767
5026
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4768
5027
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4769
5028
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4770
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4771
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
5029
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5030
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4772
5031
# On Suns, sometimes $CPP names a directory.
4773
5032
if test -n "$CPP" && test -d "$CPP"; then
4774
5033
  CPP=
4775
5034
fi
4776
5035
if test -z "$CPP"; then
4777
5036
  if test "${ac_cv_prog_CPP+set}" = set; then
4778
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5037
  $as_echo_n "(cached) " >&6
4779
5038
else
4780
5039
      # Double quotes because CPP needs to be expanded
4781
5040
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4807
5066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808
5067
  *) ac_try_echo=$ac_try;;
4809
5068
esac
4810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5069
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5070
$as_echo "$ac_try_echo") >&5
4811
5071
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4812
5072
  ac_status=$?
4813
5073
  grep -v '^ *+' conftest.er1 >conftest.err
4814
5074
  rm -f conftest.er1
4815
5075
  cat conftest.err >&5
4816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5076
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817
5077
  (exit $ac_status); } >/dev/null && {
4818
5078
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4819
5079
         test ! -s conftest.err
4820
5080
       }; then
4821
5081
  :
4822
5082
else
4823
 
  echo "$as_me: failed program was:" >&5
 
5083
  $as_echo "$as_me: failed program was:" >&5
4824
5084
sed 's/^/| /' conftest.$ac_ext >&5
4825
5085
 
4826
5086
  # Broken: fails on valid input.
4844
5104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845
5105
  *) ac_try_echo=$ac_try;;
4846
5106
esac
4847
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5108
$as_echo "$ac_try_echo") >&5
4848
5109
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4849
5110
  ac_status=$?
4850
5111
  grep -v '^ *+' conftest.er1 >conftest.err
4851
5112
  rm -f conftest.er1
4852
5113
  cat conftest.err >&5
4853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5114
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854
5115
  (exit $ac_status); } >/dev/null && {
4855
5116
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4856
5117
         test ! -s conftest.err
4858
5119
  # Broken: success on invalid input.
4859
5120
continue
4860
5121
else
4861
 
  echo "$as_me: failed program was:" >&5
 
5122
  $as_echo "$as_me: failed program was:" >&5
4862
5123
sed 's/^/| /' conftest.$ac_ext >&5
4863
5124
 
4864
5125
  # Passes both tests.
4883
5144
else
4884
5145
  ac_cv_prog_CPP=$CPP
4885
5146
fi
4886
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4887
 
echo "${ECHO_T}$CPP" >&6; }
 
5147
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5148
$as_echo "$CPP" >&6; }
4888
5149
ac_preproc_ok=false
4889
5150
for ac_c_preproc_warn_flag in '' yes
4890
5151
do
4912
5173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913
5174
  *) ac_try_echo=$ac_try;;
4914
5175
esac
4915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5176
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5177
$as_echo "$ac_try_echo") >&5
4916
5178
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4917
5179
  ac_status=$?
4918
5180
  grep -v '^ *+' conftest.er1 >conftest.err
4919
5181
  rm -f conftest.er1
4920
5182
  cat conftest.err >&5
4921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5183
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922
5184
  (exit $ac_status); } >/dev/null && {
4923
5185
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4924
5186
         test ! -s conftest.err
4925
5187
       }; then
4926
5188
  :
4927
5189
else
4928
 
  echo "$as_me: failed program was:" >&5
 
5190
  $as_echo "$as_me: failed program was:" >&5
4929
5191
sed 's/^/| /' conftest.$ac_ext >&5
4930
5192
 
4931
5193
  # Broken: fails on valid input.
4949
5211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4950
5212
  *) ac_try_echo=$ac_try;;
4951
5213
esac
4952
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5214
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5215
$as_echo "$ac_try_echo") >&5
4953
5216
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4954
5217
  ac_status=$?
4955
5218
  grep -v '^ *+' conftest.er1 >conftest.err
4956
5219
  rm -f conftest.er1
4957
5220
  cat conftest.err >&5
4958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5221
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959
5222
  (exit $ac_status); } >/dev/null && {
4960
5223
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4961
5224
         test ! -s conftest.err
4963
5226
  # Broken: success on invalid input.
4964
5227
continue
4965
5228
else
4966
 
  echo "$as_me: failed program was:" >&5
 
5229
  $as_echo "$as_me: failed program was:" >&5
4967
5230
sed 's/^/| /' conftest.$ac_ext >&5
4968
5231
 
4969
5232
  # Passes both tests.
4979
5242
if $ac_preproc_ok; then
4980
5243
  :
4981
5244
else
4982
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5245
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5246
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5247
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4983
5248
See \`config.log' for more details." >&5
4984
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
5249
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4985
5250
See \`config.log' for more details." >&2;}
4986
 
   { (exit 1); exit 1; }; }
 
5251
   { (exit 1); exit 1; }; }; }
4987
5252
fi
4988
5253
 
4989
5254
ac_ext=c
5005
5270
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5006
5271
# OS/2's system install, which has a completely different semantic
5007
5272
# ./install, which can be erroneously created by make from ./install.sh.
5008
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5009
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
5273
# Reject install programs that cannot install multiple files.
 
5274
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
5275
$as_echo_n "checking for a BSD-compatible install... " >&6; }
5010
5276
if test -z "$INSTALL"; then
5011
5277
if test "${ac_cv_path_install+set}" = set; then
5012
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5278
  $as_echo_n "(cached) " >&6
5013
5279
else
5014
5280
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015
5281
for as_dir in $PATH
5038
5304
            # program-specific install script used by HP pwplus--don't use.
5039
5305
            :
5040
5306
          else
5041
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5042
 
            break 3
 
5307
            rm -rf conftest.one conftest.two conftest.dir
 
5308
            echo one > conftest.one
 
5309
            echo two > conftest.two
 
5310
            mkdir conftest.dir
 
5311
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
5312
              test -s conftest.one && test -s conftest.two &&
 
5313
              test -s conftest.dir/conftest.one &&
 
5314
              test -s conftest.dir/conftest.two
 
5315
            then
 
5316
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
5317
              break 3
 
5318
            fi
5043
5319
          fi
5044
5320
        fi
5045
5321
      done
5046
5322
    done
5047
5323
    ;;
5048
5324
esac
 
5325
 
5049
5326
done
5050
5327
IFS=$as_save_IFS
5051
5328
 
 
5329
rm -rf conftest.one conftest.two conftest.dir
5052
5330
 
5053
5331
fi
5054
5332
  if test "${ac_cv_path_install+set}" = set; then
5061
5339
    INSTALL=$ac_install_sh
5062
5340
  fi
5063
5341
fi
5064
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5065
 
echo "${ECHO_T}$INSTALL" >&6; }
 
5342
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
5343
$as_echo "$INSTALL" >&6; }
5066
5344
 
5067
5345
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5068
5346
# It thinks the first close brace ends the variable substitution.
5072
5350
 
5073
5351
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5074
5352
 
5075
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5076
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5353
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5354
$as_echo_n "checking whether ln -s works... " >&6; }
5077
5355
LN_S=$as_ln_s
5078
5356
if test "$LN_S" = "ln -s"; then
5079
 
  { echo "$as_me:$LINENO: result: yes" >&5
5080
 
echo "${ECHO_T}yes" >&6; }
 
5357
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5358
$as_echo "yes" >&6; }
5081
5359
else
5082
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5083
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
5360
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5361
$as_echo "no, using $LN_S" >&6; }
5084
5362
fi
5085
5363
 
5086
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
5087
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
5364
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
5365
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5088
5366
if test -z "$MKDIR_P"; then
5089
5367
  if test "${ac_cv_path_mkdir+set}" = set; then
5090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5368
  $as_echo_n "(cached) " >&6
5091
5369
else
5092
5370
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093
5371
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5122
5400
    MKDIR_P="$ac_install_sh -d"
5123
5401
  fi
5124
5402
fi
5125
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
5126
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
5403
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
5404
$as_echo "$MKDIR_P" >&6; }
5127
5405
 
5128
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5129
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 
5406
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5407
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5130
5408
if test "${ac_cv_path_SED+set}" = set; then
5131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5409
  $as_echo_n "(cached) " >&6
5132
5410
else
5133
5411
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5134
5412
     for ac_i in 1 2 3 4 5 6 7; do
5135
5413
       ac_script="$ac_script$as_nl$ac_script"
5136
5414
     done
5137
 
     echo "$ac_script" | sed 99q >conftest.sed
 
5415
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5138
5416
     $as_unset ac_script || ac_script=
5139
 
     # Extract the first word of "sed gsed" to use in msg output
5140
 
if test -z "$SED"; then
5141
 
set dummy sed gsed; ac_prog_name=$2
5142
 
if test "${ac_cv_path_SED+set}" = set; then
5143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5144
 
else
 
5417
     if test -z "$SED"; then
5145
5418
  ac_path_SED_found=false
5146
 
# Loop through the user's path and test for each of PROGNAME-LIST
5147
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5419
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5420
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148
5421
for as_dir in $PATH
5149
5422
do
5150
5423
  IFS=$as_save_IFS
5151
5424
  test -z "$as_dir" && as_dir=.
5152
5425
  for ac_prog in sed gsed; do
5153
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5154
 
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5155
 
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5156
 
    # Check for GNU ac_path_SED and select it if it is found.
 
5426
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5427
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5428
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5429
# Check for GNU ac_path_SED and select it if it is found.
5157
5430
  # Check for GNU $ac_path_SED
5158
5431
case `"$ac_path_SED" --version 2>&1` in
5159
5432
*GNU*)
5160
5433
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5161
5434
*)
5162
5435
  ac_count=0
5163
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5436
  $as_echo_n 0123456789 >"conftest.in"
5164
5437
  while :
5165
5438
  do
5166
5439
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5167
5440
    mv "conftest.tmp" "conftest.in"
5168
5441
    cp "conftest.in" "conftest.nl"
5169
 
    echo '' >> "conftest.nl"
 
5442
    $as_echo '' >> "conftest.nl"
5170
5443
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5171
5444
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5172
5445
    ac_count=`expr $ac_count + 1`
5181
5454
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5182
5455
esac
5183
5456
 
5184
 
 
5185
 
    $ac_path_SED_found && break 3
 
5457
      $ac_path_SED_found && break 3
 
5458
    done
5186
5459
  done
5187
5460
done
5188
 
 
5189
 
done
5190
5461
IFS=$as_save_IFS
5191
 
 
5192
 
 
5193
 
fi
5194
 
 
5195
 
SED="$ac_cv_path_SED"
5196
 
if test -z "$SED"; then
5197
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
5198
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
 
5462
  if test -z "$ac_cv_path_SED"; then
 
5463
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
5464
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5199
5465
   { (exit 1); exit 1; }; }
5200
 
fi
5201
 
 
 
5466
  fi
5202
5467
else
5203
5468
  ac_cv_path_SED=$SED
5204
5469
fi
5205
5470
 
5206
5471
fi
5207
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5208
 
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
5472
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5473
$as_echo "$ac_cv_path_SED" >&6; }
5209
5474
 SED="$ac_cv_path_SED"
5210
5475
  rm -f conftest.sed
5211
5476
 
5212
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5213
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5214
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
5477
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
5478
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
5479
set x ${MAKE-make}
 
5480
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5215
5481
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5482
  $as_echo_n "(cached) " >&6
5217
5483
else
5218
5484
  cat >conftest.make <<\_ACEOF
5219
5485
SHELL = /bin/sh
5230
5496
rm -f conftest.make
5231
5497
fi
5232
5498
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5233
 
  { echo "$as_me:$LINENO: result: yes" >&5
5234
 
echo "${ECHO_T}yes" >&6; }
 
5499
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5500
$as_echo "yes" >&6; }
5235
5501
  SET_MAKE=
5236
5502
else
5237
 
  { echo "$as_me:$LINENO: result: no" >&5
5238
 
echo "${ECHO_T}no" >&6; }
 
5503
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5504
$as_echo "no" >&6; }
5239
5505
  SET_MAKE="MAKE=${MAKE-make}"
5240
5506
fi
5241
5507
 
5242
5508
 
5243
5509
 
5244
 
 
5245
 
 
5246
 
                if test -n "$ac_tool_prefix"; then
5247
 
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5248
 
set dummy ${ac_tool_prefix}windres; ac_word=$2
5249
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5250
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5251
 
if test "${ac_cv_prog_RC+set}" = set; then
5252
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5253
 
else
5254
 
  if test -n "$RC"; then
5255
 
  ac_cv_prog_RC="$RC" # Let the user override the test.
5256
 
else
5257
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258
 
for as_dir in $PATH
5259
 
do
5260
 
  IFS=$as_save_IFS
5261
 
  test -z "$as_dir" && as_dir=.
5262
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5263
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5264
 
    ac_cv_prog_RC="${ac_tool_prefix}windres"
5265
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5266
 
    break 2
5267
 
  fi
5268
 
done
5269
 
done
5270
 
IFS=$as_save_IFS
5271
 
 
5272
 
fi
5273
 
fi
5274
 
RC=$ac_cv_prog_RC
5275
 
if test -n "$RC"; then
5276
 
  { echo "$as_me:$LINENO: result: $RC" >&5
5277
 
echo "${ECHO_T}$RC" >&6; }
5278
 
else
5279
 
  { echo "$as_me:$LINENO: result: no" >&5
5280
 
echo "${ECHO_T}no" >&6; }
5281
 
fi
5282
 
 
5283
 
 
5284
 
fi
5285
 
if test -z "$ac_cv_prog_RC"; then
5286
 
  ac_ct_RC=$RC
5287
 
  # Extract the first word of "windres", so it can be a program name with args.
5288
 
set dummy windres; ac_word=$2
5289
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5290
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5291
 
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
5292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5293
 
else
5294
 
  if test -n "$ac_ct_RC"; then
5295
 
  ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
5296
 
else
5297
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298
 
for as_dir in $PATH
5299
 
do
5300
 
  IFS=$as_save_IFS
5301
 
  test -z "$as_dir" && as_dir=.
5302
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5303
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304
 
    ac_cv_prog_ac_ct_RC="windres"
5305
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306
 
    break 2
5307
 
  fi
5308
 
done
5309
 
done
5310
 
IFS=$as_save_IFS
5311
 
 
5312
 
fi
5313
 
fi
5314
 
ac_ct_RC=$ac_cv_prog_ac_ct_RC
5315
 
if test -n "$ac_ct_RC"; then
5316
 
  { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
5317
 
echo "${ECHO_T}$ac_ct_RC" >&6; }
5318
 
else
5319
 
  { echo "$as_me:$LINENO: result: no" >&5
5320
 
echo "${ECHO_T}no" >&6; }
5321
 
fi
5322
 
 
5323
 
  if test "x$ac_ct_RC" = x; then
5324
 
    RC="no"
5325
 
  else
5326
 
    case $cross_compiling:$ac_tool_warned in
5327
 
yes:)
5328
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5329
 
whose name does not start with the host triplet.  If you think this
5330
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5331
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5332
 
whose name does not start with the host triplet.  If you think this
5333
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5334
 
ac_tool_warned=yes ;;
5335
 
esac
5336
 
    RC=$ac_ct_RC
5337
 
  fi
5338
 
else
5339
 
  RC="$ac_cv_prog_RC"
5340
 
fi
5341
 
 
5342
 
 
5343
 
 
5344
 
 
5345
 
 
5346
 
 
5347
 
                # Check whether --enable-shared was given.
5348
 
if test "${enable_shared+set}" = set; then
5349
 
  enableval=$enable_shared; p=${PACKAGE-default}
5350
 
    case $enableval in
5351
 
    yes) enable_shared=yes ;;
5352
 
    no) enable_shared=no ;;
5353
 
    *)
5354
 
      enable_shared=no
5355
 
      # Look at the argument we got.  We use all the common list separators.
5356
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5357
 
      for pkg in $enableval; do
5358
 
        IFS="$lt_save_ifs"
5359
 
        if test "X$pkg" = "X$p"; then
5360
 
          enable_shared=yes
5361
 
        fi
5362
 
      done
5363
 
      IFS="$lt_save_ifs"
5364
 
      ;;
5365
 
    esac
5366
 
else
5367
 
  enable_shared=yes
5368
 
fi
5369
 
 
5370
 
 
5371
 
# Check whether --enable-static was given.
5372
 
if test "${enable_static+set}" = set; then
5373
 
  enableval=$enable_static; p=${PACKAGE-default}
5374
 
    case $enableval in
5375
 
    yes) enable_static=yes ;;
5376
 
    no) enable_static=no ;;
5377
 
    *)
5378
 
     enable_static=no
5379
 
      # Look at the argument we got.  We use all the common list separators.
5380
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5381
 
      for pkg in $enableval; do
5382
 
        IFS="$lt_save_ifs"
5383
 
        if test "X$pkg" = "X$p"; then
5384
 
          enable_static=yes
5385
 
        fi
5386
 
      done
5387
 
      IFS="$lt_save_ifs"
5388
 
      ;;
5389
 
    esac
5390
 
else
5391
 
  enable_static=yes
5392
 
fi
5393
 
 
5394
 
 
5395
 
# Check whether --enable-fast-install was given.
5396
 
if test "${enable_fast_install+set}" = set; then
5397
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
5398
 
    case $enableval in
5399
 
    yes) enable_fast_install=yes ;;
5400
 
    no) enable_fast_install=no ;;
5401
 
    *)
5402
 
      enable_fast_install=no
5403
 
      # Look at the argument we got.  We use all the common list separators.
5404
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5405
 
      for pkg in $enableval; do
5406
 
        IFS="$lt_save_ifs"
5407
 
        if test "X$pkg" = "X$p"; then
5408
 
          enable_fast_install=yes
5409
 
        fi
5410
 
      done
5411
 
      IFS="$lt_save_ifs"
5412
 
      ;;
5413
 
    esac
5414
 
else
5415
 
  enable_fast_install=yes
5416
 
fi
5417
 
 
5418
 
 
5419
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5420
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5421
 
if test "${lt_cv_path_SED+set}" = set; then
5422
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5423
 
else
5424
 
  # Loop through the user's path and test for sed and gsed.
5425
 
# Then use that list of sed's as ones to test for truncation.
5426
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427
 
for as_dir in $PATH
5428
 
do
5429
 
  IFS=$as_save_IFS
5430
 
  test -z "$as_dir" && as_dir=.
5431
 
  for lt_ac_prog in sed gsed; do
5432
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5433
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5434
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5435
 
      fi
5436
 
    done
5437
 
  done
5438
 
done
5439
 
IFS=$as_save_IFS
5440
 
lt_ac_max=0
5441
 
lt_ac_count=0
5442
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5443
 
# along with /bin/sed that truncates output.
5444
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5445
 
  test ! -f $lt_ac_sed && continue
5446
 
  cat /dev/null > conftest.in
5447
 
  lt_ac_count=0
5448
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5449
 
  # Check for GNU sed and select it if it is found.
5450
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5451
 
    lt_cv_path_SED=$lt_ac_sed
5452
 
    break
5453
 
  fi
5454
 
  while true; do
5455
 
    cat conftest.in conftest.in >conftest.tmp
5456
 
    mv conftest.tmp conftest.in
5457
 
    cp conftest.in conftest.nl
5458
 
    echo >>conftest.nl
5459
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5460
 
    cmp -s conftest.out conftest.nl || break
5461
 
    # 10000 chars as input seems more than enough
5462
 
    test $lt_ac_count -gt 10 && break
5463
 
    lt_ac_count=`expr $lt_ac_count + 1`
5464
 
    if test $lt_ac_count -gt $lt_ac_max; then
5465
 
      lt_ac_max=$lt_ac_count
5466
 
      lt_cv_path_SED=$lt_ac_sed
5467
 
    fi
5468
 
  done
5469
 
done
5470
 
 
5471
 
fi
5472
 
 
5473
 
SED=$lt_cv_path_SED
5474
 
 
5475
 
{ echo "$as_me:$LINENO: result: $SED" >&5
5476
 
echo "${ECHO_T}$SED" >&6; }
 
5510
                case `pwd` in
 
5511
  *\ * | *\     *)
 
5512
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5513
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5514
esac
 
5515
 
 
5516
 
 
5517
 
 
5518
macro_version='2.2.6'
 
5519
macro_revision='1.3012'
 
5520
 
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
ltmain="$ac_aux_dir/ltmain.sh"
 
5534
 
 
5535
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5536
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5537
if test "${ac_cv_path_SED+set}" = set; then
 
5538
  $as_echo_n "(cached) " >&6
 
5539
else
 
5540
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5541
     for ac_i in 1 2 3 4 5 6 7; do
 
5542
       ac_script="$ac_script$as_nl$ac_script"
 
5543
     done
 
5544
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5545
     $as_unset ac_script || ac_script=
 
5546
     if test -z "$SED"; then
 
5547
  ac_path_SED_found=false
 
5548
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5549
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5550
for as_dir in $PATH
 
5551
do
 
5552
  IFS=$as_save_IFS
 
5553
  test -z "$as_dir" && as_dir=.
 
5554
  for ac_prog in sed gsed; do
 
5555
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5556
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5557
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5558
# Check for GNU ac_path_SED and select it if it is found.
 
5559
  # Check for GNU $ac_path_SED
 
5560
case `"$ac_path_SED" --version 2>&1` in
 
5561
*GNU*)
 
5562
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5563
*)
 
5564
  ac_count=0
 
5565
  $as_echo_n 0123456789 >"conftest.in"
 
5566
  while :
 
5567
  do
 
5568
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5569
    mv "conftest.tmp" "conftest.in"
 
5570
    cp "conftest.in" "conftest.nl"
 
5571
    $as_echo '' >> "conftest.nl"
 
5572
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5573
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5574
    ac_count=`expr $ac_count + 1`
 
5575
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5576
      # Best one so far, save it but keep looking for a better one
 
5577
      ac_cv_path_SED="$ac_path_SED"
 
5578
      ac_path_SED_max=$ac_count
 
5579
    fi
 
5580
    # 10*(2^10) chars as input seems more than enough
 
5581
    test $ac_count -gt 10 && break
 
5582
  done
 
5583
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5584
esac
 
5585
 
 
5586
      $ac_path_SED_found && break 3
 
5587
    done
 
5588
  done
 
5589
done
 
5590
IFS=$as_save_IFS
 
5591
  if test -z "$ac_cv_path_SED"; then
 
5592
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
5593
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
5594
   { (exit 1); exit 1; }; }
 
5595
  fi
 
5596
else
 
5597
  ac_cv_path_SED=$SED
 
5598
fi
 
5599
 
 
5600
fi
 
5601
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5602
$as_echo "$ac_cv_path_SED" >&6; }
 
5603
 SED="$ac_cv_path_SED"
 
5604
  rm -f conftest.sed
 
5605
 
 
5606
test -z "$SED" && SED=sed
 
5607
Xsed="$SED -e 1s/^X//"
 
5608
 
 
5609
 
 
5610
 
 
5611
 
 
5612
 
 
5613
 
 
5614
 
 
5615
 
 
5616
 
 
5617
 
 
5618
 
 
5619
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5620
$as_echo_n "checking for fgrep... " >&6; }
 
5621
if test "${ac_cv_path_FGREP+set}" = set; then
 
5622
  $as_echo_n "(cached) " >&6
 
5623
else
 
5624
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5625
   then ac_cv_path_FGREP="$GREP -F"
 
5626
   else
 
5627
     if test -z "$FGREP"; then
 
5628
  ac_path_FGREP_found=false
 
5629
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5630
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5631
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5632
do
 
5633
  IFS=$as_save_IFS
 
5634
  test -z "$as_dir" && as_dir=.
 
5635
  for ac_prog in fgrep; do
 
5636
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5637
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5638
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5639
# Check for GNU ac_path_FGREP and select it if it is found.
 
5640
  # Check for GNU $ac_path_FGREP
 
5641
case `"$ac_path_FGREP" --version 2>&1` in
 
5642
*GNU*)
 
5643
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5644
*)
 
5645
  ac_count=0
 
5646
  $as_echo_n 0123456789 >"conftest.in"
 
5647
  while :
 
5648
  do
 
5649
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5650
    mv "conftest.tmp" "conftest.in"
 
5651
    cp "conftest.in" "conftest.nl"
 
5652
    $as_echo 'FGREP' >> "conftest.nl"
 
5653
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5654
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5655
    ac_count=`expr $ac_count + 1`
 
5656
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5657
      # Best one so far, save it but keep looking for a better one
 
5658
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5659
      ac_path_FGREP_max=$ac_count
 
5660
    fi
 
5661
    # 10*(2^10) chars as input seems more than enough
 
5662
    test $ac_count -gt 10 && break
 
5663
  done
 
5664
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5665
esac
 
5666
 
 
5667
      $ac_path_FGREP_found && break 3
 
5668
    done
 
5669
  done
 
5670
done
 
5671
IFS=$as_save_IFS
 
5672
  if test -z "$ac_cv_path_FGREP"; then
 
5673
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5674
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5675
   { (exit 1); exit 1; }; }
 
5676
  fi
 
5677
else
 
5678
  ac_cv_path_FGREP=$FGREP
 
5679
fi
 
5680
 
 
5681
   fi
 
5682
fi
 
5683
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5684
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5685
 FGREP="$ac_cv_path_FGREP"
 
5686
 
 
5687
 
 
5688
test -z "$GREP" && GREP=grep
 
5689
 
 
5690
 
 
5691
 
 
5692
 
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
 
 
5700
 
 
5701
 
 
5702
 
 
5703
 
 
5704
 
 
5705
 
5477
5706
 
5478
5707
 
5479
5708
# Check whether --with-gnu-ld was given.
5486
5715
ac_prog=ld
5487
5716
if test "$GCC" = yes; then
5488
5717
  # Check if gcc -print-prog-name=ld gives a path.
5489
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5490
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
5718
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5719
$as_echo_n "checking for ld used by $CC... " >&6; }
5491
5720
  case $host in
5492
5721
  *-*-mingw*)
5493
5722
    # gcc leaves a trailing carriage return which upsets mingw
5500
5729
    [\\/]* | ?:[\\/]*)
5501
5730
      re_direlt='/[^/][^/]*/\.\./'
5502
5731
      # Canonicalize the pathname of ld
5503
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5504
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5505
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
5732
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5733
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5734
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5506
5735
      done
5507
5736
      test -z "$LD" && LD="$ac_prog"
5508
5737
      ;;
5516
5745
    ;;
5517
5746
  esac
5518
5747
elif test "$with_gnu_ld" = yes; then
5519
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
5520
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
5748
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5749
$as_echo_n "checking for GNU ld... " >&6; }
5521
5750
else
5522
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5523
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
5751
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5752
$as_echo_n "checking for non-GNU ld... " >&6; }
5524
5753
fi
5525
5754
if test "${lt_cv_path_LD+set}" = set; then
5526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5755
  $as_echo_n "(cached) " >&6
5527
5756
else
5528
5757
  if test -z "$LD"; then
5529
5758
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5553
5782
 
5554
5783
LD="$lt_cv_path_LD"
5555
5784
if test -n "$LD"; then
5556
 
  { echo "$as_me:$LINENO: result: $LD" >&5
5557
 
echo "${ECHO_T}$LD" >&6; }
 
5785
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5786
$as_echo "$LD" >&6; }
5558
5787
else
5559
 
  { echo "$as_me:$LINENO: result: no" >&5
5560
 
echo "${ECHO_T}no" >&6; }
 
5788
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5789
$as_echo "no" >&6; }
5561
5790
fi
5562
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5563
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
5791
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
5792
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5564
5793
   { (exit 1); exit 1; }; }
5565
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5566
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
5794
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5795
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5567
5796
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5797
  $as_echo_n "(cached) " >&6
5569
5798
else
5570
5799
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5571
5800
case `$LD -v 2>&1 </dev/null` in
5577
5806
  ;;
5578
5807
esac
5579
5808
fi
5580
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5581
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
5809
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5810
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5582
5811
with_gnu_ld=$lt_cv_prog_gnu_ld
5583
5812
 
5584
5813
 
5585
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5586
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5587
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
5588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5589
 
else
5590
 
  lt_cv_ld_reload_flag='-r'
5591
 
fi
5592
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5593
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5594
 
reload_flag=$lt_cv_ld_reload_flag
5595
 
case $reload_flag in
5596
 
"" | " "*) ;;
5597
 
*) reload_flag=" $reload_flag" ;;
5598
 
esac
5599
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5600
 
case $host_os in
5601
 
  darwin*)
5602
 
    if test "$GCC" = yes; then
5603
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5604
 
    else
5605
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5606
 
    fi
5607
 
    ;;
5608
 
esac
5609
 
 
5610
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5611
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
5814
 
 
5815
 
 
5816
 
 
5817
 
 
5818
 
 
5819
 
 
5820
 
 
5821
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5822
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5612
5823
if test "${lt_cv_path_NM+set}" = set; then
5613
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5824
  $as_echo_n "(cached) " >&6
5614
5825
else
5615
5826
  if test -n "$NM"; then
5616
5827
  # Let the user override the test.
5653
5864
    done
5654
5865
    IFS="$lt_save_ifs"
5655
5866
  done
5656
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5657
 
fi
5658
 
fi
5659
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5660
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5661
 
NM="$lt_cv_path_NM"
5662
 
 
5663
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5664
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
5867
  : ${lt_cv_path_NM=no}
 
5868
fi
 
5869
fi
 
5870
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5871
$as_echo "$lt_cv_path_NM" >&6; }
 
5872
if test "$lt_cv_path_NM" != "no"; then
 
5873
  NM="$lt_cv_path_NM"
 
5874
else
 
5875
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5876
  if test -n "$ac_tool_prefix"; then
 
5877
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5878
  do
 
5879
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5880
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5881
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5882
$as_echo_n "checking for $ac_word... " >&6; }
 
5883
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5884
  $as_echo_n "(cached) " >&6
 
5885
else
 
5886
  if test -n "$DUMPBIN"; then
 
5887
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5888
else
 
5889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5890
for as_dir in $PATH
 
5891
do
 
5892
  IFS=$as_save_IFS
 
5893
  test -z "$as_dir" && as_dir=.
 
5894
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5896
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5897
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5898
    break 2
 
5899
  fi
 
5900
done
 
5901
done
 
5902
IFS=$as_save_IFS
 
5903
 
 
5904
fi
 
5905
fi
 
5906
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5907
if test -n "$DUMPBIN"; then
 
5908
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5909
$as_echo "$DUMPBIN" >&6; }
 
5910
else
 
5911
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5912
$as_echo "no" >&6; }
 
5913
fi
 
5914
 
 
5915
 
 
5916
    test -n "$DUMPBIN" && break
 
5917
  done
 
5918
fi
 
5919
if test -z "$DUMPBIN"; then
 
5920
  ac_ct_DUMPBIN=$DUMPBIN
 
5921
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5922
do
 
5923
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5924
set dummy $ac_prog; ac_word=$2
 
5925
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5926
$as_echo_n "checking for $ac_word... " >&6; }
 
5927
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5928
  $as_echo_n "(cached) " >&6
 
5929
else
 
5930
  if test -n "$ac_ct_DUMPBIN"; then
 
5931
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5932
else
 
5933
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5934
for as_dir in $PATH
 
5935
do
 
5936
  IFS=$as_save_IFS
 
5937
  test -z "$as_dir" && as_dir=.
 
5938
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5939
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5940
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5941
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5942
    break 2
 
5943
  fi
 
5944
done
 
5945
done
 
5946
IFS=$as_save_IFS
 
5947
 
 
5948
fi
 
5949
fi
 
5950
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5951
if test -n "$ac_ct_DUMPBIN"; then
 
5952
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5953
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5954
else
 
5955
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5956
$as_echo "no" >&6; }
 
5957
fi
 
5958
 
 
5959
 
 
5960
  test -n "$ac_ct_DUMPBIN" && break
 
5961
done
 
5962
 
 
5963
  if test "x$ac_ct_DUMPBIN" = x; then
 
5964
    DUMPBIN=":"
 
5965
  else
 
5966
    case $cross_compiling:$ac_tool_warned in
 
5967
yes:)
 
5968
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5969
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5970
ac_tool_warned=yes ;;
 
5971
esac
 
5972
    DUMPBIN=$ac_ct_DUMPBIN
 
5973
  fi
 
5974
fi
 
5975
 
 
5976
 
 
5977
  if test "$DUMPBIN" != ":"; then
 
5978
    NM="$DUMPBIN"
 
5979
  fi
 
5980
fi
 
5981
test -z "$NM" && NM=nm
 
5982
 
 
5983
 
 
5984
 
 
5985
 
 
5986
 
 
5987
 
 
5988
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5989
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5990
if test "${lt_cv_nm_interface+set}" = set; then
 
5991
  $as_echo_n "(cached) " >&6
 
5992
else
 
5993
  lt_cv_nm_interface="BSD nm"
 
5994
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5995
  (eval echo "\"\$as_me:5995: $ac_compile\"" >&5)
 
5996
  (eval "$ac_compile" 2>conftest.err)
 
5997
  cat conftest.err >&5
 
5998
  (eval echo "\"\$as_me:5998: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5999
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6000
  cat conftest.err >&5
 
6001
  (eval echo "\"\$as_me:6001: output\"" >&5)
 
6002
  cat conftest.out >&5
 
6003
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6004
    lt_cv_nm_interface="MS dumpbin"
 
6005
  fi
 
6006
  rm -f conftest*
 
6007
fi
 
6008
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6009
$as_echo "$lt_cv_nm_interface" >&6; }
 
6010
 
 
6011
# find the maximum length of command line arguments
 
6012
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6013
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6014
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6015
  $as_echo_n "(cached) " >&6
 
6016
else
 
6017
    i=0
 
6018
  teststring="ABCD"
 
6019
 
 
6020
  case $build_os in
 
6021
  msdosdjgpp*)
 
6022
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6023
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6024
    # during glob expansion).  Even if it were fixed, the result of this
 
6025
    # check would be larger than it should be.
 
6026
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6027
    ;;
 
6028
 
 
6029
  gnu*)
 
6030
    # Under GNU Hurd, this test is not required because there is
 
6031
    # no limit to the length of command line arguments.
 
6032
    # Libtool will interpret -1 as no limit whatsoever
 
6033
    lt_cv_sys_max_cmd_len=-1;
 
6034
    ;;
 
6035
 
 
6036
  cygwin* | mingw* | cegcc*)
 
6037
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6038
    # about 5 minutes as the teststring grows exponentially.
 
6039
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6040
    # you end up with a "frozen" computer, even though with patience
 
6041
    # the test eventually succeeds (with a max line length of 256k).
 
6042
    # Instead, let's just punt: use the minimum linelength reported by
 
6043
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6044
    lt_cv_sys_max_cmd_len=8192;
 
6045
    ;;
 
6046
 
 
6047
  amigaos*)
 
6048
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6049
    # So we just punt and use a minimum line length of 8192.
 
6050
    lt_cv_sys_max_cmd_len=8192;
 
6051
    ;;
 
6052
 
 
6053
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6054
    # This has been around since 386BSD, at least.  Likely further.
 
6055
    if test -x /sbin/sysctl; then
 
6056
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6057
    elif test -x /usr/sbin/sysctl; then
 
6058
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6059
    else
 
6060
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6061
    fi
 
6062
    # And add a safety zone
 
6063
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6064
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6065
    ;;
 
6066
 
 
6067
  interix*)
 
6068
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6069
    lt_cv_sys_max_cmd_len=196608
 
6070
    ;;
 
6071
 
 
6072
  osf*)
 
6073
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6074
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6075
    # nice to cause kernel panics so lets avoid the loop below.
 
6076
    # First set a reasonable default.
 
6077
    lt_cv_sys_max_cmd_len=16384
 
6078
    #
 
6079
    if test -x /sbin/sysconfig; then
 
6080
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6081
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6082
      esac
 
6083
    fi
 
6084
    ;;
 
6085
  sco3.2v5*)
 
6086
    lt_cv_sys_max_cmd_len=102400
 
6087
    ;;
 
6088
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6089
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6090
    if test -n "$kargmax"; then
 
6091
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6092
    else
 
6093
      lt_cv_sys_max_cmd_len=32768
 
6094
    fi
 
6095
    ;;
 
6096
  *)
 
6097
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6098
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6099
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6100
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6101
    else
 
6102
      # Make teststring a little bigger before we do anything with it.
 
6103
      # a 1K string should be a reasonable start.
 
6104
      for i in 1 2 3 4 5 6 7 8 ; do
 
6105
        teststring=$teststring$teststring
 
6106
      done
 
6107
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6108
      # If test is not a shell built-in, we'll probably end up computing a
 
6109
      # maximum length that is only half of the actual maximum length, but
 
6110
      # we can't tell.
 
6111
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6112
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6113
              test $i != 17 # 1/2 MB should be enough
 
6114
      do
 
6115
        i=`expr $i + 1`
 
6116
        teststring=$teststring$teststring
 
6117
      done
 
6118
      # Only check the string length outside the loop.
 
6119
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6120
      teststring=
 
6121
      # Add a significant safety factor because C++ compilers can tack on
 
6122
      # massive amounts of additional arguments before passing them to the
 
6123
      # linker.  It appears as though 1/2 is a usable value.
 
6124
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6125
    fi
 
6126
    ;;
 
6127
  esac
 
6128
 
 
6129
fi
 
6130
 
 
6131
if test -n $lt_cv_sys_max_cmd_len ; then
 
6132
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6133
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6134
else
 
6135
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6136
$as_echo "none" >&6; }
 
6137
fi
 
6138
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6139
 
 
6140
 
 
6141
 
 
6142
 
 
6143
 
 
6144
 
 
6145
: ${CP="cp -f"}
 
6146
: ${MV="mv -f"}
 
6147
: ${RM="rm -f"}
 
6148
 
 
6149
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6150
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6151
# Try some XSI features
 
6152
xsi_shell=no
 
6153
( _lt_dummy="a/b/c"
 
6154
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6155
      = c,a/b,, \
 
6156
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6157
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6158
  && xsi_shell=yes
 
6159
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6160
$as_echo "$xsi_shell" >&6; }
 
6161
 
 
6162
 
 
6163
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6164
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6165
lt_shell_append=no
 
6166
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6167
    >/dev/null 2>&1 \
 
6168
  && lt_shell_append=yes
 
6169
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6170
$as_echo "$lt_shell_append" >&6; }
 
6171
 
 
6172
 
 
6173
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6174
  lt_unset=unset
 
6175
else
 
6176
  lt_unset=false
 
6177
fi
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
# test EBCDIC or ASCII
 
6184
case `echo X|tr X '\101'` in
 
6185
 A) # ASCII based system
 
6186
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6187
  lt_SP2NL='tr \040 \012'
 
6188
  lt_NL2SP='tr \015\012 \040\040'
 
6189
  ;;
 
6190
 *) # EBCDIC based system
 
6191
  lt_SP2NL='tr \100 \n'
 
6192
  lt_NL2SP='tr \r\n \100\100'
 
6193
  ;;
 
6194
esac
 
6195
 
 
6196
 
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
 
 
6203
 
 
6204
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6205
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6206
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6207
  $as_echo_n "(cached) " >&6
 
6208
else
 
6209
  lt_cv_ld_reload_flag='-r'
 
6210
fi
 
6211
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6212
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6213
reload_flag=$lt_cv_ld_reload_flag
 
6214
case $reload_flag in
 
6215
"" | " "*) ;;
 
6216
*) reload_flag=" $reload_flag" ;;
 
6217
esac
 
6218
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6219
case $host_os in
 
6220
  darwin*)
 
6221
    if test "$GCC" = yes; then
 
6222
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6223
    else
 
6224
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6225
    fi
 
6226
    ;;
 
6227
esac
 
6228
 
 
6229
 
 
6230
 
 
6231
 
 
6232
 
 
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
if test -n "$ac_tool_prefix"; then
 
6238
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6239
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6240
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6241
$as_echo_n "checking for $ac_word... " >&6; }
 
6242
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6243
  $as_echo_n "(cached) " >&6
 
6244
else
 
6245
  if test -n "$OBJDUMP"; then
 
6246
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6247
else
 
6248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6249
for as_dir in $PATH
 
6250
do
 
6251
  IFS=$as_save_IFS
 
6252
  test -z "$as_dir" && as_dir=.
 
6253
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6254
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6255
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6256
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6257
    break 2
 
6258
  fi
 
6259
done
 
6260
done
 
6261
IFS=$as_save_IFS
 
6262
 
 
6263
fi
 
6264
fi
 
6265
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6266
if test -n "$OBJDUMP"; then
 
6267
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6268
$as_echo "$OBJDUMP" >&6; }
 
6269
else
 
6270
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6271
$as_echo "no" >&6; }
 
6272
fi
 
6273
 
 
6274
 
 
6275
fi
 
6276
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6277
  ac_ct_OBJDUMP=$OBJDUMP
 
6278
  # Extract the first word of "objdump", so it can be a program name with args.
 
6279
set dummy objdump; ac_word=$2
 
6280
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6281
$as_echo_n "checking for $ac_word... " >&6; }
 
6282
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6283
  $as_echo_n "(cached) " >&6
 
6284
else
 
6285
  if test -n "$ac_ct_OBJDUMP"; then
 
6286
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6287
else
 
6288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6289
for as_dir in $PATH
 
6290
do
 
6291
  IFS=$as_save_IFS
 
6292
  test -z "$as_dir" && as_dir=.
 
6293
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6294
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6295
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6296
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6297
    break 2
 
6298
  fi
 
6299
done
 
6300
done
 
6301
IFS=$as_save_IFS
 
6302
 
 
6303
fi
 
6304
fi
 
6305
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6306
if test -n "$ac_ct_OBJDUMP"; then
 
6307
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6308
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6309
else
 
6310
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6311
$as_echo "no" >&6; }
 
6312
fi
 
6313
 
 
6314
  if test "x$ac_ct_OBJDUMP" = x; then
 
6315
    OBJDUMP="false"
 
6316
  else
 
6317
    case $cross_compiling:$ac_tool_warned in
 
6318
yes:)
 
6319
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6320
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6321
ac_tool_warned=yes ;;
 
6322
esac
 
6323
    OBJDUMP=$ac_ct_OBJDUMP
 
6324
  fi
 
6325
else
 
6326
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6327
fi
 
6328
 
 
6329
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6330
 
 
6331
 
 
6332
 
 
6333
 
 
6334
 
 
6335
 
 
6336
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6337
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5665
6338
if test "${lt_cv_deplibs_check_method+set}" = set; then
5666
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6339
  $as_echo_n "(cached) " >&6
5667
6340
else
5668
6341
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5669
6342
lt_cv_file_magic_test_file=
5713
6386
  fi
5714
6387
  ;;
5715
6388
 
 
6389
cegcc)
 
6390
  # use the weaker test based on 'objdump'. See mingw*.
 
6391
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6392
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6393
  ;;
 
6394
 
5716
6395
darwin* | rhapsody*)
5717
6396
  lt_cv_deplibs_check_method=pass_all
5718
6397
  ;;
5719
6398
 
5720
6399
freebsd* | dragonfly*)
5721
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6400
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5722
6401
    case $host_cpu in
5723
6402
    i*86 )
5724
6403
      # Not sure whether the presence of OpenBSD here was a mistake.
5776
6455
  ;;
5777
6456
 
5778
6457
netbsd* | netbsdelf*-gnu)
5779
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6458
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5780
6459
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5781
6460
  else
5782
6461
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5789
6468
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5790
6469
  ;;
5791
6470
 
5792
 
nto-qnx*)
5793
 
  lt_cv_deplibs_check_method=unknown
 
6471
*nto* | *qnx*)
 
6472
  lt_cv_deplibs_check_method=pass_all
5794
6473
  ;;
5795
6474
 
5796
6475
openbsd*)
5797
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6476
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5798
6477
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5799
6478
  else
5800
6479
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5813
6492
  lt_cv_deplibs_check_method=pass_all
5814
6493
  ;;
5815
6494
 
 
6495
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6496
  lt_cv_deplibs_check_method=pass_all
 
6497
  ;;
 
6498
 
5816
6499
sysv4 | sysv4.3*)
5817
6500
  case $host_vendor in
5818
6501
  motorola)
5840
6523
  esac
5841
6524
  ;;
5842
6525
 
5843
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6526
tpf*)
5844
6527
  lt_cv_deplibs_check_method=pass_all
5845
6528
  ;;
5846
6529
esac
5847
6530
 
5848
6531
fi
5849
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5850
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6532
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6533
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5851
6534
file_magic_cmd=$lt_cv_file_magic_cmd
5852
6535
deplibs_check_method=$lt_cv_deplibs_check_method
5853
6536
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5855
6538
 
5856
6539
 
5857
6540
 
 
6541
 
 
6542
 
 
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
if test -n "$ac_tool_prefix"; then
 
6550
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6551
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6552
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6553
$as_echo_n "checking for $ac_word... " >&6; }
 
6554
if test "${ac_cv_prog_AR+set}" = set; then
 
6555
  $as_echo_n "(cached) " >&6
 
6556
else
 
6557
  if test -n "$AR"; then
 
6558
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6559
else
 
6560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6561
for as_dir in $PATH
 
6562
do
 
6563
  IFS=$as_save_IFS
 
6564
  test -z "$as_dir" && as_dir=.
 
6565
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6567
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6568
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6569
    break 2
 
6570
  fi
 
6571
done
 
6572
done
 
6573
IFS=$as_save_IFS
 
6574
 
 
6575
fi
 
6576
fi
 
6577
AR=$ac_cv_prog_AR
 
6578
if test -n "$AR"; then
 
6579
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6580
$as_echo "$AR" >&6; }
 
6581
else
 
6582
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6583
$as_echo "no" >&6; }
 
6584
fi
 
6585
 
 
6586
 
 
6587
fi
 
6588
if test -z "$ac_cv_prog_AR"; then
 
6589
  ac_ct_AR=$AR
 
6590
  # Extract the first word of "ar", so it can be a program name with args.
 
6591
set dummy ar; ac_word=$2
 
6592
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6593
$as_echo_n "checking for $ac_word... " >&6; }
 
6594
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6595
  $as_echo_n "(cached) " >&6
 
6596
else
 
6597
  if test -n "$ac_ct_AR"; then
 
6598
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6599
else
 
6600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6601
for as_dir in $PATH
 
6602
do
 
6603
  IFS=$as_save_IFS
 
6604
  test -z "$as_dir" && as_dir=.
 
6605
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6606
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6607
    ac_cv_prog_ac_ct_AR="ar"
 
6608
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6609
    break 2
 
6610
  fi
 
6611
done
 
6612
done
 
6613
IFS=$as_save_IFS
 
6614
 
 
6615
fi
 
6616
fi
 
6617
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6618
if test -n "$ac_ct_AR"; then
 
6619
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6620
$as_echo "$ac_ct_AR" >&6; }
 
6621
else
 
6622
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6623
$as_echo "no" >&6; }
 
6624
fi
 
6625
 
 
6626
  if test "x$ac_ct_AR" = x; then
 
6627
    AR="false"
 
6628
  else
 
6629
    case $cross_compiling:$ac_tool_warned in
 
6630
yes:)
 
6631
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6632
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6633
ac_tool_warned=yes ;;
 
6634
esac
 
6635
    AR=$ac_ct_AR
 
6636
  fi
 
6637
else
 
6638
  AR="$ac_cv_prog_AR"
 
6639
fi
 
6640
 
 
6641
test -z "$AR" && AR=ar
 
6642
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
 
 
6653
 
 
6654
if test -n "$ac_tool_prefix"; then
 
6655
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6656
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6657
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6658
$as_echo_n "checking for $ac_word... " >&6; }
 
6659
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6660
  $as_echo_n "(cached) " >&6
 
6661
else
 
6662
  if test -n "$STRIP"; then
 
6663
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6664
else
 
6665
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6666
for as_dir in $PATH
 
6667
do
 
6668
  IFS=$as_save_IFS
 
6669
  test -z "$as_dir" && as_dir=.
 
6670
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6671
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6672
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6673
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6674
    break 2
 
6675
  fi
 
6676
done
 
6677
done
 
6678
IFS=$as_save_IFS
 
6679
 
 
6680
fi
 
6681
fi
 
6682
STRIP=$ac_cv_prog_STRIP
 
6683
if test -n "$STRIP"; then
 
6684
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6685
$as_echo "$STRIP" >&6; }
 
6686
else
 
6687
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6688
$as_echo "no" >&6; }
 
6689
fi
 
6690
 
 
6691
 
 
6692
fi
 
6693
if test -z "$ac_cv_prog_STRIP"; then
 
6694
  ac_ct_STRIP=$STRIP
 
6695
  # Extract the first word of "strip", so it can be a program name with args.
 
6696
set dummy strip; ac_word=$2
 
6697
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6698
$as_echo_n "checking for $ac_word... " >&6; }
 
6699
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6700
  $as_echo_n "(cached) " >&6
 
6701
else
 
6702
  if test -n "$ac_ct_STRIP"; then
 
6703
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6704
else
 
6705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6706
for as_dir in $PATH
 
6707
do
 
6708
  IFS=$as_save_IFS
 
6709
  test -z "$as_dir" && as_dir=.
 
6710
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6711
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6712
    ac_cv_prog_ac_ct_STRIP="strip"
 
6713
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6714
    break 2
 
6715
  fi
 
6716
done
 
6717
done
 
6718
IFS=$as_save_IFS
 
6719
 
 
6720
fi
 
6721
fi
 
6722
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6723
if test -n "$ac_ct_STRIP"; then
 
6724
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6725
$as_echo "$ac_ct_STRIP" >&6; }
 
6726
else
 
6727
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6728
$as_echo "no" >&6; }
 
6729
fi
 
6730
 
 
6731
  if test "x$ac_ct_STRIP" = x; then
 
6732
    STRIP=":"
 
6733
  else
 
6734
    case $cross_compiling:$ac_tool_warned in
 
6735
yes:)
 
6736
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6737
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6738
ac_tool_warned=yes ;;
 
6739
esac
 
6740
    STRIP=$ac_ct_STRIP
 
6741
  fi
 
6742
else
 
6743
  STRIP="$ac_cv_prog_STRIP"
 
6744
fi
 
6745
 
 
6746
test -z "$STRIP" && STRIP=:
 
6747
 
 
6748
 
 
6749
 
 
6750
 
 
6751
 
 
6752
 
 
6753
if test -n "$ac_tool_prefix"; then
 
6754
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6755
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6756
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6757
$as_echo_n "checking for $ac_word... " >&6; }
 
6758
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6759
  $as_echo_n "(cached) " >&6
 
6760
else
 
6761
  if test -n "$RANLIB"; then
 
6762
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6763
else
 
6764
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6765
for as_dir in $PATH
 
6766
do
 
6767
  IFS=$as_save_IFS
 
6768
  test -z "$as_dir" && as_dir=.
 
6769
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6770
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6771
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6772
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6773
    break 2
 
6774
  fi
 
6775
done
 
6776
done
 
6777
IFS=$as_save_IFS
 
6778
 
 
6779
fi
 
6780
fi
 
6781
RANLIB=$ac_cv_prog_RANLIB
 
6782
if test -n "$RANLIB"; then
 
6783
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6784
$as_echo "$RANLIB" >&6; }
 
6785
else
 
6786
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6787
$as_echo "no" >&6; }
 
6788
fi
 
6789
 
 
6790
 
 
6791
fi
 
6792
if test -z "$ac_cv_prog_RANLIB"; then
 
6793
  ac_ct_RANLIB=$RANLIB
 
6794
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6795
set dummy ranlib; ac_word=$2
 
6796
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6797
$as_echo_n "checking for $ac_word... " >&6; }
 
6798
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6799
  $as_echo_n "(cached) " >&6
 
6800
else
 
6801
  if test -n "$ac_ct_RANLIB"; then
 
6802
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6803
else
 
6804
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6805
for as_dir in $PATH
 
6806
do
 
6807
  IFS=$as_save_IFS
 
6808
  test -z "$as_dir" && as_dir=.
 
6809
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6810
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6811
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6812
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6813
    break 2
 
6814
  fi
 
6815
done
 
6816
done
 
6817
IFS=$as_save_IFS
 
6818
 
 
6819
fi
 
6820
fi
 
6821
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6822
if test -n "$ac_ct_RANLIB"; then
 
6823
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6824
$as_echo "$ac_ct_RANLIB" >&6; }
 
6825
else
 
6826
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6827
$as_echo "no" >&6; }
 
6828
fi
 
6829
 
 
6830
  if test "x$ac_ct_RANLIB" = x; then
 
6831
    RANLIB=":"
 
6832
  else
 
6833
    case $cross_compiling:$ac_tool_warned in
 
6834
yes:)
 
6835
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6836
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6837
ac_tool_warned=yes ;;
 
6838
esac
 
6839
    RANLIB=$ac_ct_RANLIB
 
6840
  fi
 
6841
else
 
6842
  RANLIB="$ac_cv_prog_RANLIB"
 
6843
fi
 
6844
 
 
6845
test -z "$RANLIB" && RANLIB=:
 
6846
 
 
6847
 
 
6848
 
 
6849
 
 
6850
 
 
6851
 
 
6852
# Determine commands to create old-style static archives.
 
6853
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6854
old_postinstall_cmds='chmod 644 $oldlib'
 
6855
old_postuninstall_cmds=
 
6856
 
 
6857
if test -n "$RANLIB"; then
 
6858
  case $host_os in
 
6859
  openbsd*)
 
6860
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6861
    ;;
 
6862
  *)
 
6863
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6864
    ;;
 
6865
  esac
 
6866
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6867
fi
 
6868
 
 
6869
 
 
6870
 
 
6871
 
 
6872
 
 
6873
 
 
6874
 
 
6875
 
 
6876
 
 
6877
 
 
6878
 
 
6879
 
 
6880
 
 
6881
 
 
6882
 
 
6883
 
 
6884
 
 
6885
 
 
6886
 
 
6887
 
 
6888
 
 
6889
 
 
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
 
 
6896
 
 
6897
 
 
6898
 
 
6899
 
 
6900
 
 
6901
 
5858
6902
# If no C compiler was specified, use CC.
5859
6903
LTCC=${LTCC-"$CC"}
5860
6904
 
5864
6908
# Allow CC to be a program name with arguments.
5865
6909
compiler=$CC
5866
6910
 
5867
 
# Check whether --enable-libtool-lock was given.
5868
 
if test "${enable_libtool_lock+set}" = set; then
5869
 
  enableval=$enable_libtool_lock;
5870
 
fi
5871
 
 
5872
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5873
 
 
5874
 
# Some flags need to be propagated to the compiler or linker for good
5875
 
# libtool support.
5876
 
case $host in
5877
 
ia64-*-hpux*)
5878
 
  # Find out which ABI we are using.
5879
 
  echo 'int i;' > conftest.$ac_ext
5880
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5881
 
  (eval $ac_compile) 2>&5
5882
 
  ac_status=$?
5883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884
 
  (exit $ac_status); }; then
5885
 
    case `/usr/bin/file conftest.$ac_objext` in
5886
 
    *ELF-32*)
5887
 
      HPUX_IA64_MODE="32"
5888
 
      ;;
5889
 
    *ELF-64*)
5890
 
      HPUX_IA64_MODE="64"
5891
 
      ;;
5892
 
    esac
5893
 
  fi
5894
 
  rm -rf conftest*
5895
 
  ;;
5896
 
*-*-irix6*)
5897
 
  # Find out which ABI we are using.
5898
 
  echo '#line 5898 "configure"' > conftest.$ac_ext
5899
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5900
 
  (eval $ac_compile) 2>&5
5901
 
  ac_status=$?
5902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903
 
  (exit $ac_status); }; then
5904
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
5905
 
    case `/usr/bin/file conftest.$ac_objext` in
5906
 
    *32-bit*)
5907
 
      LD="${LD-ld} -melf32bsmip"
5908
 
      ;;
5909
 
    *N32*)
5910
 
      LD="${LD-ld} -melf32bmipn32"
5911
 
      ;;
5912
 
    *64-bit*)
5913
 
      LD="${LD-ld} -melf64bmip"
5914
 
      ;;
5915
 
    esac
5916
 
   else
5917
 
    case `/usr/bin/file conftest.$ac_objext` in
5918
 
    *32-bit*)
5919
 
      LD="${LD-ld} -32"
5920
 
      ;;
5921
 
    *N32*)
5922
 
      LD="${LD-ld} -n32"
5923
 
      ;;
5924
 
    *64-bit*)
5925
 
      LD="${LD-ld} -64"
5926
 
      ;;
5927
 
    esac
5928
 
   fi
5929
 
  fi
5930
 
  rm -rf conftest*
5931
 
  ;;
5932
 
 
5933
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5934
 
s390*-*linux*|sparc*-*linux*)
5935
 
  # Find out which ABI we are using.
5936
 
  echo 'int i;' > conftest.$ac_ext
5937
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938
 
  (eval $ac_compile) 2>&5
5939
 
  ac_status=$?
5940
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941
 
  (exit $ac_status); }; then
5942
 
    case `/usr/bin/file conftest.o` in
5943
 
    *32-bit*)
5944
 
      case $host in
5945
 
        x86_64-*kfreebsd*-gnu)
5946
 
          LD="${LD-ld} -m elf_i386_fbsd"
5947
 
          ;;
5948
 
        x86_64-*linux*)
5949
 
          LD="${LD-ld} -m elf_i386"
5950
 
          ;;
5951
 
        ppc64-*linux*|powerpc64-*linux*)
5952
 
          LD="${LD-ld} -m elf32ppclinux"
5953
 
          ;;
5954
 
        s390x-*linux*)
5955
 
          LD="${LD-ld} -m elf_s390"
5956
 
          ;;
5957
 
        sparc64-*linux*)
5958
 
          LD="${LD-ld} -m elf32_sparc"
5959
 
          ;;
5960
 
      esac
5961
 
      ;;
5962
 
    *64-bit*)
5963
 
      case $host in
5964
 
        x86_64-*kfreebsd*-gnu)
5965
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
5966
 
          ;;
5967
 
        x86_64-*linux*)
5968
 
          LD="${LD-ld} -m elf_x86_64"
5969
 
          ;;
5970
 
        ppc*-*linux*|powerpc*-*linux*)
5971
 
          LD="${LD-ld} -m elf64ppc"
5972
 
          ;;
5973
 
        s390*-*linux*)
5974
 
          LD="${LD-ld} -m elf64_s390"
5975
 
          ;;
5976
 
        sparc*-*linux*)
5977
 
          LD="${LD-ld} -m elf64_sparc"
5978
 
          ;;
5979
 
      esac
5980
 
      ;;
5981
 
    esac
5982
 
  fi
5983
 
  rm -rf conftest*
5984
 
  ;;
5985
 
 
5986
 
*-*-sco3.2v5*)
5987
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5988
 
  SAVE_CFLAGS="$CFLAGS"
5989
 
  CFLAGS="$CFLAGS -belf"
5990
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5991
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5992
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5994
 
else
5995
 
  ac_ext=c
5996
 
ac_cpp='$CPP $CPPFLAGS'
5997
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5998
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5999
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6000
 
 
6001
 
     cat >conftest.$ac_ext <<_ACEOF
6002
 
/* confdefs.h.  */
6003
 
_ACEOF
6004
 
cat confdefs.h >>conftest.$ac_ext
6005
 
cat >>conftest.$ac_ext <<_ACEOF
6006
 
/* end confdefs.h.  */
6007
 
 
6008
 
int
6009
 
main ()
6010
 
{
6011
 
 
6012
 
  ;
6013
 
  return 0;
6014
 
}
6015
 
_ACEOF
6016
 
rm -f conftest.$ac_objext conftest$ac_exeext
6017
 
if { (ac_try="$ac_link"
6018
 
case "(($ac_try" in
6019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6020
 
  *) ac_try_echo=$ac_try;;
6021
 
esac
6022
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6023
 
  (eval "$ac_link") 2>conftest.er1
6024
 
  ac_status=$?
6025
 
  grep -v '^ *+' conftest.er1 >conftest.err
6026
 
  rm -f conftest.er1
6027
 
  cat conftest.err >&5
6028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029
 
  (exit $ac_status); } && {
6030
 
         test -z "$ac_c_werror_flag" ||
6031
 
         test ! -s conftest.err
6032
 
       } && test -s conftest$ac_exeext &&
6033
 
       $as_test_x conftest$ac_exeext; then
6034
 
  lt_cv_cc_needs_belf=yes
6035
 
else
6036
 
  echo "$as_me: failed program was:" >&5
6037
 
sed 's/^/| /' conftest.$ac_ext >&5
6038
 
 
6039
 
        lt_cv_cc_needs_belf=no
6040
 
fi
6041
 
 
6042
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6043
 
      conftest$ac_exeext conftest.$ac_ext
6044
 
     ac_ext=c
6045
 
ac_cpp='$CPP $CPPFLAGS'
6046
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6047
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6048
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6049
 
 
6050
 
fi
6051
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6052
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6053
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6054
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6055
 
    CFLAGS="$SAVE_CFLAGS"
6056
 
  fi
6057
 
  ;;
6058
 
sparc*-*solaris*)
6059
 
  # Find out which ABI we are using.
6060
 
  echo 'int i;' > conftest.$ac_ext
6061
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6062
 
  (eval $ac_compile) 2>&5
6063
 
  ac_status=$?
6064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065
 
  (exit $ac_status); }; then
6066
 
    case `/usr/bin/file conftest.o` in
6067
 
    *64-bit*)
6068
 
      case $lt_cv_prog_gnu_ld in
6069
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6070
 
      *)
6071
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6072
 
          LD="${LD-ld} -64"
6073
 
        fi
6074
 
        ;;
6075
 
      esac
6076
 
      ;;
6077
 
    esac
6078
 
  fi
6079
 
  rm -rf conftest*
6080
 
  ;;
6081
 
 
6082
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
6083
 
  if test -n "$ac_tool_prefix"; then
6084
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6085
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6086
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6087
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6088
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6090
 
else
6091
 
  if test -n "$DLLTOOL"; then
6092
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6093
 
else
6094
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095
 
for as_dir in $PATH
6096
 
do
6097
 
  IFS=$as_save_IFS
6098
 
  test -z "$as_dir" && as_dir=.
6099
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6100
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6101
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6102
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6103
 
    break 2
6104
 
  fi
6105
 
done
6106
 
done
6107
 
IFS=$as_save_IFS
6108
 
 
6109
 
fi
6110
 
fi
6111
 
DLLTOOL=$ac_cv_prog_DLLTOOL
6112
 
if test -n "$DLLTOOL"; then
6113
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
6114
 
echo "${ECHO_T}$DLLTOOL" >&6; }
6115
 
else
6116
 
  { echo "$as_me:$LINENO: result: no" >&5
6117
 
echo "${ECHO_T}no" >&6; }
6118
 
fi
6119
 
 
6120
 
 
6121
 
fi
6122
 
if test -z "$ac_cv_prog_DLLTOOL"; then
6123
 
  ac_ct_DLLTOOL=$DLLTOOL
6124
 
  # Extract the first word of "dlltool", so it can be a program name with args.
6125
 
set dummy dlltool; ac_word=$2
6126
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6127
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6128
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
6129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6130
 
else
6131
 
  if test -n "$ac_ct_DLLTOOL"; then
6132
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6133
 
else
6134
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135
 
for as_dir in $PATH
6136
 
do
6137
 
  IFS=$as_save_IFS
6138
 
  test -z "$as_dir" && as_dir=.
6139
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6140
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6141
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6142
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6143
 
    break 2
6144
 
  fi
6145
 
done
6146
 
done
6147
 
IFS=$as_save_IFS
6148
 
 
6149
 
fi
6150
 
fi
6151
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6152
 
if test -n "$ac_ct_DLLTOOL"; then
6153
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
6154
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
6155
 
else
6156
 
  { echo "$as_me:$LINENO: result: no" >&5
6157
 
echo "${ECHO_T}no" >&6; }
6158
 
fi
6159
 
 
6160
 
  if test "x$ac_ct_DLLTOOL" = x; then
6161
 
    DLLTOOL="false"
6162
 
  else
6163
 
    case $cross_compiling:$ac_tool_warned in
6164
 
yes:)
6165
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6166
 
whose name does not start with the host triplet.  If you think this
6167
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6168
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6169
 
whose name does not start with the host triplet.  If you think this
6170
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6171
 
ac_tool_warned=yes ;;
6172
 
esac
6173
 
    DLLTOOL=$ac_ct_DLLTOOL
6174
 
  fi
6175
 
else
6176
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
6177
 
fi
6178
 
 
6179
 
  if test -n "$ac_tool_prefix"; then
6180
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6181
 
set dummy ${ac_tool_prefix}as; ac_word=$2
6182
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6183
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6184
 
if test "${ac_cv_prog_AS+set}" = set; then
6185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6186
 
else
6187
 
  if test -n "$AS"; then
6188
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
6189
 
else
6190
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191
 
for as_dir in $PATH
6192
 
do
6193
 
  IFS=$as_save_IFS
6194
 
  test -z "$as_dir" && as_dir=.
6195
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6196
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
6198
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6199
 
    break 2
6200
 
  fi
6201
 
done
6202
 
done
6203
 
IFS=$as_save_IFS
6204
 
 
6205
 
fi
6206
 
fi
6207
 
AS=$ac_cv_prog_AS
6208
 
if test -n "$AS"; then
6209
 
  { echo "$as_me:$LINENO: result: $AS" >&5
6210
 
echo "${ECHO_T}$AS" >&6; }
6211
 
else
6212
 
  { echo "$as_me:$LINENO: result: no" >&5
6213
 
echo "${ECHO_T}no" >&6; }
6214
 
fi
6215
 
 
6216
 
 
6217
 
fi
6218
 
if test -z "$ac_cv_prog_AS"; then
6219
 
  ac_ct_AS=$AS
6220
 
  # Extract the first word of "as", so it can be a program name with args.
6221
 
set dummy as; ac_word=$2
6222
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6223
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6224
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
6225
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6226
 
else
6227
 
  if test -n "$ac_ct_AS"; then
6228
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6229
 
else
6230
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231
 
for as_dir in $PATH
6232
 
do
6233
 
  IFS=$as_save_IFS
6234
 
  test -z "$as_dir" && as_dir=.
6235
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6236
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237
 
    ac_cv_prog_ac_ct_AS="as"
6238
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6239
 
    break 2
6240
 
  fi
6241
 
done
6242
 
done
6243
 
IFS=$as_save_IFS
6244
 
 
6245
 
fi
6246
 
fi
6247
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
6248
 
if test -n "$ac_ct_AS"; then
6249
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
6250
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
6251
 
else
6252
 
  { echo "$as_me:$LINENO: result: no" >&5
6253
 
echo "${ECHO_T}no" >&6; }
6254
 
fi
6255
 
 
6256
 
  if test "x$ac_ct_AS" = x; then
6257
 
    AS="false"
6258
 
  else
6259
 
    case $cross_compiling:$ac_tool_warned in
6260
 
yes:)
6261
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6262
 
whose name does not start with the host triplet.  If you think this
6263
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6264
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6265
 
whose name does not start with the host triplet.  If you think this
6266
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6267
 
ac_tool_warned=yes ;;
6268
 
esac
6269
 
    AS=$ac_ct_AS
6270
 
  fi
6271
 
else
6272
 
  AS="$ac_cv_prog_AS"
6273
 
fi
6274
 
 
6275
 
  if test -n "$ac_tool_prefix"; then
6276
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6277
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6278
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6279
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6280
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6281
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6282
 
else
6283
 
  if test -n "$OBJDUMP"; then
6284
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump"
6294
 
    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
 
OBJDUMP=$ac_cv_prog_OBJDUMP
6304
 
if test -n "$OBJDUMP"; then
6305
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6306
 
echo "${ECHO_T}$OBJDUMP" >&6; }
6307
 
else
6308
 
  { echo "$as_me:$LINENO: result: no" >&5
6309
 
echo "${ECHO_T}no" >&6; }
6310
 
fi
6311
 
 
6312
 
 
6313
 
fi
6314
 
if test -z "$ac_cv_prog_OBJDUMP"; then
6315
 
  ac_ct_OBJDUMP=$OBJDUMP
6316
 
  # Extract the first word of "objdump", so it can be a program name with args.
6317
 
set dummy objdump; ac_word=$2
6318
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6319
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6320
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6322
 
else
6323
 
  if test -n "$ac_ct_OBJDUMP"; then
6324
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6325
 
else
6326
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327
 
for as_dir in $PATH
6328
 
do
6329
 
  IFS=$as_save_IFS
6330
 
  test -z "$as_dir" && as_dir=.
6331
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6332
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6334
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335
 
    break 2
6336
 
  fi
6337
 
done
6338
 
done
6339
 
IFS=$as_save_IFS
6340
 
 
6341
 
fi
6342
 
fi
6343
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6344
 
if test -n "$ac_ct_OBJDUMP"; then
6345
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6346
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
6347
 
else
6348
 
  { echo "$as_me:$LINENO: result: no" >&5
6349
 
echo "${ECHO_T}no" >&6; }
6350
 
fi
6351
 
 
6352
 
  if test "x$ac_ct_OBJDUMP" = x; then
6353
 
    OBJDUMP="false"
6354
 
  else
6355
 
    case $cross_compiling:$ac_tool_warned in
6356
 
yes:)
6357
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6358
 
whose name does not start with the host triplet.  If you think this
6359
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6360
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6361
 
whose name does not start with the host triplet.  If you think this
6362
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6363
 
ac_tool_warned=yes ;;
6364
 
esac
6365
 
    OBJDUMP=$ac_ct_OBJDUMP
6366
 
  fi
6367
 
else
6368
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6369
 
fi
6370
 
 
6371
 
  ;;
6372
 
 
6373
 
esac
6374
 
 
6375
 
need_locks="$enable_libtool_lock"
6376
 
 
6377
 
 
6378
 
 
6379
 
for ac_header in dlfcn.h
6380
 
do
6381
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6382
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6383
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6384
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6385
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6387
 
fi
6388
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6389
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6390
 
echo "${ECHO_T}$ac_res" >&6; }
6391
 
else
6392
 
  # Is the header compilable?
6393
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6394
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6395
 
cat >conftest.$ac_ext <<_ACEOF
6396
 
/* confdefs.h.  */
6397
 
_ACEOF
6398
 
cat confdefs.h >>conftest.$ac_ext
6399
 
cat >>conftest.$ac_ext <<_ACEOF
6400
 
/* end confdefs.h.  */
6401
 
$ac_includes_default
6402
 
#include <$ac_header>
6403
 
_ACEOF
6404
 
rm -f conftest.$ac_objext
6405
 
if { (ac_try="$ac_compile"
6406
 
case "(($ac_try" in
6407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6408
 
  *) ac_try_echo=$ac_try;;
6409
 
esac
6410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6411
 
  (eval "$ac_compile") 2>conftest.er1
6412
 
  ac_status=$?
6413
 
  grep -v '^ *+' conftest.er1 >conftest.err
6414
 
  rm -f conftest.er1
6415
 
  cat conftest.err >&5
6416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417
 
  (exit $ac_status); } && {
6418
 
         test -z "$ac_c_werror_flag" ||
6419
 
         test ! -s conftest.err
6420
 
       } && test -s conftest.$ac_objext; then
6421
 
  ac_header_compiler=yes
6422
 
else
6423
 
  echo "$as_me: failed program was:" >&5
6424
 
sed 's/^/| /' conftest.$ac_ext >&5
6425
 
 
6426
 
        ac_header_compiler=no
6427
 
fi
6428
 
 
6429
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6430
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6431
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6432
 
 
6433
 
# Is the header present?
6434
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6435
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6436
 
cat >conftest.$ac_ext <<_ACEOF
6437
 
/* confdefs.h.  */
6438
 
_ACEOF
6439
 
cat confdefs.h >>conftest.$ac_ext
6440
 
cat >>conftest.$ac_ext <<_ACEOF
6441
 
/* end confdefs.h.  */
6442
 
#include <$ac_header>
6443
 
_ACEOF
6444
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6445
 
case "(($ac_try" in
6446
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6447
 
  *) ac_try_echo=$ac_try;;
6448
 
esac
6449
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6451
 
  ac_status=$?
6452
 
  grep -v '^ *+' conftest.er1 >conftest.err
6453
 
  rm -f conftest.er1
6454
 
  cat conftest.err >&5
6455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456
 
  (exit $ac_status); } >/dev/null && {
6457
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6458
 
         test ! -s conftest.err
6459
 
       }; then
6460
 
  ac_header_preproc=yes
6461
 
else
6462
 
  echo "$as_me: failed program was:" >&5
6463
 
sed 's/^/| /' conftest.$ac_ext >&5
6464
 
 
6465
 
  ac_header_preproc=no
6466
 
fi
6467
 
 
6468
 
rm -f conftest.err conftest.$ac_ext
6469
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6470
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6471
 
 
6472
 
# So?  What about this header?
6473
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6474
 
  yes:no: )
6475
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6476
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6477
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6478
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6479
 
    ac_header_preproc=yes
6480
 
    ;;
6481
 
  no:yes:* )
6482
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6483
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6484
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6485
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6486
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6487
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6488
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6489
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6490
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6491
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6492
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6493
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6494
 
 
6495
 
    ;;
6496
 
esac
6497
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6498
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6499
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6500
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6501
 
else
6502
 
  eval "$as_ac_Header=\$ac_header_preproc"
6503
 
fi
6504
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6505
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6506
 
echo "${ECHO_T}$ac_res" >&6; }
6507
 
 
6508
 
fi
6509
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6510
 
  cat >>confdefs.h <<_ACEOF
6511
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6512
 
_ACEOF
6513
 
 
6514
 
fi
6515
 
 
6516
 
done
6517
 
 
6518
 
ac_ext=cpp
6519
 
ac_cpp='$CXXCPP $CPPFLAGS'
6520
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6521
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6522
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6523
 
if test -z "$CXX"; then
6524
 
  if test -n "$CCC"; then
6525
 
    CXX=$CCC
6526
 
  else
6527
 
    if test -n "$ac_tool_prefix"; then
6528
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6529
 
  do
6530
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6531
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6532
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6533
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6534
 
if test "${ac_cv_prog_CXX+set}" = set; then
6535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6536
 
else
6537
 
  if test -n "$CXX"; then
6538
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6539
 
else
6540
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541
 
for as_dir in $PATH
6542
 
do
6543
 
  IFS=$as_save_IFS
6544
 
  test -z "$as_dir" && as_dir=.
6545
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6546
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6548
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6549
 
    break 2
6550
 
  fi
6551
 
done
6552
 
done
6553
 
IFS=$as_save_IFS
6554
 
 
6555
 
fi
6556
 
fi
6557
 
CXX=$ac_cv_prog_CXX
6558
 
if test -n "$CXX"; then
6559
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6560
 
echo "${ECHO_T}$CXX" >&6; }
6561
 
else
6562
 
  { echo "$as_me:$LINENO: result: no" >&5
6563
 
echo "${ECHO_T}no" >&6; }
6564
 
fi
6565
 
 
6566
 
 
6567
 
    test -n "$CXX" && break
6568
 
  done
6569
 
fi
6570
 
if test -z "$CXX"; then
6571
 
  ac_ct_CXX=$CXX
6572
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6573
 
do
6574
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6575
 
set dummy $ac_prog; ac_word=$2
6576
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6577
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6578
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6579
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6580
 
else
6581
 
  if test -n "$ac_ct_CXX"; then
6582
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6583
 
else
6584
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585
 
for as_dir in $PATH
6586
 
do
6587
 
  IFS=$as_save_IFS
6588
 
  test -z "$as_dir" && as_dir=.
6589
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6590
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6591
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6592
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6593
 
    break 2
6594
 
  fi
6595
 
done
6596
 
done
6597
 
IFS=$as_save_IFS
6598
 
 
6599
 
fi
6600
 
fi
6601
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6602
 
if test -n "$ac_ct_CXX"; then
6603
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6604
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
6605
 
else
6606
 
  { echo "$as_me:$LINENO: result: no" >&5
6607
 
echo "${ECHO_T}no" >&6; }
6608
 
fi
6609
 
 
6610
 
 
6611
 
  test -n "$ac_ct_CXX" && break
6612
 
done
6613
 
 
6614
 
  if test "x$ac_ct_CXX" = x; then
6615
 
    CXX="g++"
6616
 
  else
6617
 
    case $cross_compiling:$ac_tool_warned in
6618
 
yes:)
6619
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6620
 
whose name does not start with the host triplet.  If you think this
6621
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6622
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6623
 
whose name does not start with the host triplet.  If you think this
6624
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6625
 
ac_tool_warned=yes ;;
6626
 
esac
6627
 
    CXX=$ac_ct_CXX
6628
 
  fi
6629
 
fi
6630
 
 
6631
 
  fi
6632
 
fi
6633
 
# Provide some information about the compiler.
6634
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6635
 
ac_compiler=`set X $ac_compile; echo $2`
6636
 
{ (ac_try="$ac_compiler --version >&5"
6637
 
case "(($ac_try" in
6638
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6639
 
  *) ac_try_echo=$ac_try;;
6640
 
esac
6641
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6642
 
  (eval "$ac_compiler --version >&5") 2>&5
6643
 
  ac_status=$?
6644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645
 
  (exit $ac_status); }
6646
 
{ (ac_try="$ac_compiler -v >&5"
6647
 
case "(($ac_try" in
6648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6649
 
  *) ac_try_echo=$ac_try;;
6650
 
esac
6651
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6652
 
  (eval "$ac_compiler -v >&5") 2>&5
6653
 
  ac_status=$?
6654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655
 
  (exit $ac_status); }
6656
 
{ (ac_try="$ac_compiler -V >&5"
6657
 
case "(($ac_try" in
6658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6659
 
  *) ac_try_echo=$ac_try;;
6660
 
esac
6661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6662
 
  (eval "$ac_compiler -V >&5") 2>&5
6663
 
  ac_status=$?
6664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665
 
  (exit $ac_status); }
6666
 
 
6667
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6668
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6669
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6671
 
else
6672
 
  cat >conftest.$ac_ext <<_ACEOF
6673
 
/* confdefs.h.  */
6674
 
_ACEOF
6675
 
cat confdefs.h >>conftest.$ac_ext
6676
 
cat >>conftest.$ac_ext <<_ACEOF
6677
 
/* end confdefs.h.  */
6678
 
 
6679
 
int
6680
 
main ()
6681
 
{
6682
 
#ifndef __GNUC__
6683
 
       choke me
6684
 
#endif
6685
 
 
6686
 
  ;
6687
 
  return 0;
6688
 
}
6689
 
_ACEOF
6690
 
rm -f conftest.$ac_objext
6691
 
if { (ac_try="$ac_compile"
6692
 
case "(($ac_try" in
6693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6694
 
  *) ac_try_echo=$ac_try;;
6695
 
esac
6696
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6697
 
  (eval "$ac_compile") 2>conftest.er1
6698
 
  ac_status=$?
6699
 
  grep -v '^ *+' conftest.er1 >conftest.err
6700
 
  rm -f conftest.er1
6701
 
  cat conftest.err >&5
6702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703
 
  (exit $ac_status); } && {
6704
 
         test -z "$ac_cxx_werror_flag" ||
6705
 
         test ! -s conftest.err
6706
 
       } && test -s conftest.$ac_objext; then
6707
 
  ac_compiler_gnu=yes
6708
 
else
6709
 
  echo "$as_me: failed program was:" >&5
6710
 
sed 's/^/| /' conftest.$ac_ext >&5
6711
 
 
6712
 
        ac_compiler_gnu=no
6713
 
fi
6714
 
 
6715
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6716
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6717
 
 
6718
 
fi
6719
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6720
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6721
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
6722
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
6723
 
ac_save_CXXFLAGS=$CXXFLAGS
6724
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6725
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6726
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
6727
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6728
 
else
6729
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6730
 
   ac_cxx_werror_flag=yes
6731
 
   ac_cv_prog_cxx_g=no
6732
 
   CXXFLAGS="-g"
6733
 
   cat >conftest.$ac_ext <<_ACEOF
6734
 
/* confdefs.h.  */
6735
 
_ACEOF
6736
 
cat confdefs.h >>conftest.$ac_ext
6737
 
cat >>conftest.$ac_ext <<_ACEOF
6738
 
/* end confdefs.h.  */
6739
 
 
6740
 
int
6741
 
main ()
6742
 
{
6743
 
 
6744
 
  ;
6745
 
  return 0;
6746
 
}
6747
 
_ACEOF
6748
 
rm -f conftest.$ac_objext
6749
 
if { (ac_try="$ac_compile"
6750
 
case "(($ac_try" in
6751
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6752
 
  *) ac_try_echo=$ac_try;;
6753
 
esac
6754
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6755
 
  (eval "$ac_compile") 2>conftest.er1
6756
 
  ac_status=$?
6757
 
  grep -v '^ *+' conftest.er1 >conftest.err
6758
 
  rm -f conftest.er1
6759
 
  cat conftest.err >&5
6760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761
 
  (exit $ac_status); } && {
6762
 
         test -z "$ac_cxx_werror_flag" ||
6763
 
         test ! -s conftest.err
6764
 
       } && test -s conftest.$ac_objext; then
6765
 
  ac_cv_prog_cxx_g=yes
6766
 
else
6767
 
  echo "$as_me: failed program was:" >&5
6768
 
sed 's/^/| /' conftest.$ac_ext >&5
6769
 
 
6770
 
        CXXFLAGS=""
6771
 
      cat >conftest.$ac_ext <<_ACEOF
6772
 
/* confdefs.h.  */
6773
 
_ACEOF
6774
 
cat confdefs.h >>conftest.$ac_ext
6775
 
cat >>conftest.$ac_ext <<_ACEOF
6776
 
/* end confdefs.h.  */
6777
 
 
6778
 
int
6779
 
main ()
6780
 
{
6781
 
 
6782
 
  ;
6783
 
  return 0;
6784
 
}
6785
 
_ACEOF
6786
 
rm -f conftest.$ac_objext
6787
 
if { (ac_try="$ac_compile"
6788
 
case "(($ac_try" in
6789
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6790
 
  *) ac_try_echo=$ac_try;;
6791
 
esac
6792
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6793
 
  (eval "$ac_compile") 2>conftest.er1
6794
 
  ac_status=$?
6795
 
  grep -v '^ *+' conftest.er1 >conftest.err
6796
 
  rm -f conftest.er1
6797
 
  cat conftest.err >&5
6798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799
 
  (exit $ac_status); } && {
6800
 
         test -z "$ac_cxx_werror_flag" ||
6801
 
         test ! -s conftest.err
6802
 
       } && test -s conftest.$ac_objext; then
6803
 
  :
6804
 
else
6805
 
  echo "$as_me: failed program was:" >&5
6806
 
sed 's/^/| /' conftest.$ac_ext >&5
6807
 
 
6808
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6809
 
         CXXFLAGS="-g"
6810
 
         cat >conftest.$ac_ext <<_ACEOF
6811
 
/* confdefs.h.  */
6812
 
_ACEOF
6813
 
cat confdefs.h >>conftest.$ac_ext
6814
 
cat >>conftest.$ac_ext <<_ACEOF
6815
 
/* end confdefs.h.  */
6816
 
 
6817
 
int
6818
 
main ()
6819
 
{
6820
 
 
6821
 
  ;
6822
 
  return 0;
6823
 
}
6824
 
_ACEOF
6825
 
rm -f conftest.$ac_objext
6826
 
if { (ac_try="$ac_compile"
6827
 
case "(($ac_try" in
6828
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6829
 
  *) ac_try_echo=$ac_try;;
6830
 
esac
6831
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6832
 
  (eval "$ac_compile") 2>conftest.er1
6833
 
  ac_status=$?
6834
 
  grep -v '^ *+' conftest.er1 >conftest.err
6835
 
  rm -f conftest.er1
6836
 
  cat conftest.err >&5
6837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838
 
  (exit $ac_status); } && {
6839
 
         test -z "$ac_cxx_werror_flag" ||
6840
 
         test ! -s conftest.err
6841
 
       } && test -s conftest.$ac_objext; then
6842
 
  ac_cv_prog_cxx_g=yes
6843
 
else
6844
 
  echo "$as_me: failed program was:" >&5
6845
 
sed 's/^/| /' conftest.$ac_ext >&5
6846
 
 
6847
 
 
6848
 
fi
6849
 
 
6850
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6851
 
fi
6852
 
 
6853
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6854
 
fi
6855
 
 
6856
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6858
 
fi
6859
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6860
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6861
 
if test "$ac_test_CXXFLAGS" = set; then
6862
 
  CXXFLAGS=$ac_save_CXXFLAGS
6863
 
elif test $ac_cv_prog_cxx_g = yes; then
6864
 
  if test "$GXX" = yes; then
6865
 
    CXXFLAGS="-g -O2"
6866
 
  else
6867
 
    CXXFLAGS="-g"
6868
 
  fi
6869
 
else
6870
 
  if test "$GXX" = yes; then
6871
 
    CXXFLAGS="-O2"
6872
 
  else
6873
 
    CXXFLAGS=
6874
 
  fi
6875
 
fi
6876
 
ac_ext=cpp
6877
 
ac_cpp='$CXXCPP $CPPFLAGS'
6878
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6879
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6880
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6881
 
 
6882
 
depcc="$CXX"  am_compiler_list=
6883
 
 
6884
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6885
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6886
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6887
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6888
 
else
6889
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6890
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6891
 
  # making bogus files that we don't know about and never remove.  For
6892
 
  # instance it was reported that on HP-UX the gcc test will end up
6893
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6894
 
  # in D'.
6895
 
  mkdir conftest.dir
6896
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6897
 
  # using a relative directory.
6898
 
  cp "$am_depcomp" conftest.dir
6899
 
  cd conftest.dir
6900
 
  # We will build objects and dependencies in a subdirectory because
6901
 
  # it helps to detect inapplicable dependency modes.  For instance
6902
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6903
 
  # side effect of compilation, but ICC will put the dependencies in
6904
 
  # the current directory while Tru64 will put them in the object
6905
 
  # directory.
6906
 
  mkdir sub
6907
 
 
6908
 
  am_cv_CXX_dependencies_compiler_type=none
6909
 
  if test "$am_compiler_list" = ""; then
6910
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6911
 
  fi
6912
 
  for depmode in $am_compiler_list; do
6913
 
    # Setup a source with many dependencies, because some compilers
6914
 
    # like to wrap large dependency lists on column 80 (with \), and
6915
 
    # we should not choose a depcomp mode which is confused by this.
6916
 
    #
6917
 
    # We need to recreate these files for each test, as the compiler may
6918
 
    # overwrite some of them when testing with obscure command lines.
6919
 
    # This happens at least with the AIX C compiler.
6920
 
    : > sub/conftest.c
6921
 
    for i in 1 2 3 4 5 6; do
6922
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6923
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6924
 
      # Solaris 8's {/usr,}/bin/sh.
6925
 
      touch sub/conftst$i.h
6926
 
    done
6927
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6928
 
 
6929
 
    case $depmode in
6930
 
    nosideeffect)
6931
 
      # after this tag, mechanisms are not by side-effect, so they'll
6932
 
      # only be used when explicitly requested
6933
 
      if test "x$enable_dependency_tracking" = xyes; then
6934
 
        continue
6935
 
      else
6936
 
        break
6937
 
      fi
6938
 
      ;;
6939
 
    none) break ;;
6940
 
    esac
6941
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6942
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6943
 
    # handle `-M -o', and we need to detect this.
6944
 
    if depmode=$depmode \
6945
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6946
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6947
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6948
 
         >/dev/null 2>conftest.err &&
6949
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6950
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6951
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6952
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6953
 
      # icc doesn't choke on unknown options, it will just issue warnings
6954
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6955
 
      # that says an option was ignored or not supported.
6956
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6957
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6958
 
      # The diagnosis changed in icc 8.0:
6959
 
      #   icc: Command line remark: option '-MP' not supported
6960
 
      if (grep 'ignoring option' conftest.err ||
6961
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6962
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6963
 
        break
6964
 
      fi
6965
 
    fi
6966
 
  done
6967
 
 
6968
 
  cd ..
6969
 
  rm -rf conftest.dir
6970
 
else
6971
 
  am_cv_CXX_dependencies_compiler_type=none
6972
 
fi
6973
 
 
6974
 
fi
6975
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6976
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6977
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6978
 
 
6979
 
 if
6980
 
  test "x$enable_dependency_tracking" != xno \
6981
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6982
 
  am__fastdepCXX_TRUE=
6983
 
  am__fastdepCXX_FALSE='#'
6984
 
else
6985
 
  am__fastdepCXX_TRUE='#'
6986
 
  am__fastdepCXX_FALSE=
6987
 
fi
6988
 
 
6989
 
 
6990
 
 
6991
 
 
6992
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6993
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6994
 
    (test "X$CXX" != "Xg++"))) ; then
6995
 
  ac_ext=cpp
6996
 
ac_cpp='$CXXCPP $CPPFLAGS'
6997
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6998
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6999
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7000
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7001
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7002
 
if test -z "$CXXCPP"; then
7003
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7004
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7005
 
else
7006
 
      # Double quotes because CXXCPP needs to be expanded
7007
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7008
 
    do
7009
 
      ac_preproc_ok=false
7010
 
for ac_cxx_preproc_warn_flag in '' yes
7011
 
do
7012
 
  # Use a header file that comes with gcc, so configuring glibc
7013
 
  # with a fresh cross-compiler works.
7014
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7015
 
  # <limits.h> exists even on freestanding compilers.
7016
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7017
 
  # not just through cpp. "Syntax error" is here to catch this case.
7018
 
  cat >conftest.$ac_ext <<_ACEOF
7019
 
/* confdefs.h.  */
7020
 
_ACEOF
7021
 
cat confdefs.h >>conftest.$ac_ext
7022
 
cat >>conftest.$ac_ext <<_ACEOF
7023
 
/* end confdefs.h.  */
7024
 
#ifdef __STDC__
7025
 
# include <limits.h>
7026
 
#else
7027
 
# include <assert.h>
7028
 
#endif
7029
 
                     Syntax error
7030
 
_ACEOF
7031
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7032
 
case "(($ac_try" in
7033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7034
 
  *) ac_try_echo=$ac_try;;
7035
 
esac
7036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7037
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7038
 
  ac_status=$?
7039
 
  grep -v '^ *+' conftest.er1 >conftest.err
7040
 
  rm -f conftest.er1
7041
 
  cat conftest.err >&5
7042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043
 
  (exit $ac_status); } >/dev/null && {
7044
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7045
 
         test ! -s conftest.err
7046
 
       }; then
7047
 
  :
7048
 
else
7049
 
  echo "$as_me: failed program was:" >&5
7050
 
sed 's/^/| /' conftest.$ac_ext >&5
7051
 
 
7052
 
  # Broken: fails on valid input.
7053
 
continue
7054
 
fi
7055
 
 
7056
 
rm -f conftest.err conftest.$ac_ext
7057
 
 
7058
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7059
 
  # can be detected and how.
7060
 
  cat >conftest.$ac_ext <<_ACEOF
7061
 
/* confdefs.h.  */
7062
 
_ACEOF
7063
 
cat confdefs.h >>conftest.$ac_ext
7064
 
cat >>conftest.$ac_ext <<_ACEOF
7065
 
/* end confdefs.h.  */
7066
 
#include <ac_nonexistent.h>
7067
 
_ACEOF
7068
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7069
 
case "(($ac_try" in
7070
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7071
 
  *) ac_try_echo=$ac_try;;
7072
 
esac
7073
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7074
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7075
 
  ac_status=$?
7076
 
  grep -v '^ *+' conftest.er1 >conftest.err
7077
 
  rm -f conftest.er1
7078
 
  cat conftest.err >&5
7079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080
 
  (exit $ac_status); } >/dev/null && {
7081
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7082
 
         test ! -s conftest.err
7083
 
       }; then
7084
 
  # Broken: success on invalid input.
7085
 
continue
7086
 
else
7087
 
  echo "$as_me: failed program was:" >&5
7088
 
sed 's/^/| /' conftest.$ac_ext >&5
7089
 
 
7090
 
  # Passes both tests.
7091
 
ac_preproc_ok=:
7092
 
break
7093
 
fi
7094
 
 
7095
 
rm -f conftest.err conftest.$ac_ext
7096
 
 
7097
 
done
7098
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7099
 
rm -f conftest.err conftest.$ac_ext
7100
 
if $ac_preproc_ok; then
7101
 
  break
7102
 
fi
7103
 
 
7104
 
    done
7105
 
    ac_cv_prog_CXXCPP=$CXXCPP
7106
 
 
7107
 
fi
7108
 
  CXXCPP=$ac_cv_prog_CXXCPP
7109
 
else
7110
 
  ac_cv_prog_CXXCPP=$CXXCPP
7111
 
fi
7112
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7113
 
echo "${ECHO_T}$CXXCPP" >&6; }
7114
 
ac_preproc_ok=false
7115
 
for ac_cxx_preproc_warn_flag in '' yes
7116
 
do
7117
 
  # Use a header file that comes with gcc, so configuring glibc
7118
 
  # with a fresh cross-compiler works.
7119
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7120
 
  # <limits.h> exists even on freestanding compilers.
7121
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7122
 
  # not just through cpp. "Syntax error" is here to catch this case.
7123
 
  cat >conftest.$ac_ext <<_ACEOF
7124
 
/* confdefs.h.  */
7125
 
_ACEOF
7126
 
cat confdefs.h >>conftest.$ac_ext
7127
 
cat >>conftest.$ac_ext <<_ACEOF
7128
 
/* end confdefs.h.  */
7129
 
#ifdef __STDC__
7130
 
# include <limits.h>
7131
 
#else
7132
 
# include <assert.h>
7133
 
#endif
7134
 
                     Syntax error
7135
 
_ACEOF
7136
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7137
 
case "(($ac_try" in
7138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7139
 
  *) ac_try_echo=$ac_try;;
7140
 
esac
7141
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7142
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7143
 
  ac_status=$?
7144
 
  grep -v '^ *+' conftest.er1 >conftest.err
7145
 
  rm -f conftest.er1
7146
 
  cat conftest.err >&5
7147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148
 
  (exit $ac_status); } >/dev/null && {
7149
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7150
 
         test ! -s conftest.err
7151
 
       }; then
7152
 
  :
7153
 
else
7154
 
  echo "$as_me: failed program was:" >&5
7155
 
sed 's/^/| /' conftest.$ac_ext >&5
7156
 
 
7157
 
  # Broken: fails on valid input.
7158
 
continue
7159
 
fi
7160
 
 
7161
 
rm -f conftest.err conftest.$ac_ext
7162
 
 
7163
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7164
 
  # can be detected and how.
7165
 
  cat >conftest.$ac_ext <<_ACEOF
7166
 
/* confdefs.h.  */
7167
 
_ACEOF
7168
 
cat confdefs.h >>conftest.$ac_ext
7169
 
cat >>conftest.$ac_ext <<_ACEOF
7170
 
/* end confdefs.h.  */
7171
 
#include <ac_nonexistent.h>
7172
 
_ACEOF
7173
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7174
 
case "(($ac_try" in
7175
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176
 
  *) ac_try_echo=$ac_try;;
7177
 
esac
7178
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7180
 
  ac_status=$?
7181
 
  grep -v '^ *+' conftest.er1 >conftest.err
7182
 
  rm -f conftest.er1
7183
 
  cat conftest.err >&5
7184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185
 
  (exit $ac_status); } >/dev/null && {
7186
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7187
 
         test ! -s conftest.err
7188
 
       }; then
7189
 
  # Broken: success on invalid input.
7190
 
continue
7191
 
else
7192
 
  echo "$as_me: failed program was:" >&5
7193
 
sed 's/^/| /' conftest.$ac_ext >&5
7194
 
 
7195
 
  # Passes both tests.
7196
 
ac_preproc_ok=:
7197
 
break
7198
 
fi
7199
 
 
7200
 
rm -f conftest.err conftest.$ac_ext
7201
 
 
7202
 
done
7203
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7204
 
rm -f conftest.err conftest.$ac_ext
7205
 
if $ac_preproc_ok; then
7206
 
  :
7207
 
else
7208
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7209
 
See \`config.log' for more details." >&5
7210
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7211
 
See \`config.log' for more details." >&2;}
7212
 
   { (exit 1); exit 1; }; }
7213
 
fi
7214
 
 
7215
 
ac_ext=cpp
7216
 
ac_cpp='$CXXCPP $CPPFLAGS'
7217
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7218
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7219
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7220
 
 
7221
 
fi
7222
 
 
7223
 
 
7224
 
ac_ext=f
7225
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7226
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7228
 
if test -n "$ac_tool_prefix"; then
7229
 
  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
7230
 
  do
7231
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7232
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7233
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7235
 
if test "${ac_cv_prog_F77+set}" = set; then
7236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7237
 
else
7238
 
  if test -n "$F77"; then
7239
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7240
 
else
7241
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242
 
for as_dir in $PATH
7243
 
do
7244
 
  IFS=$as_save_IFS
7245
 
  test -z "$as_dir" && as_dir=.
7246
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7247
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7249
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7250
 
    break 2
7251
 
  fi
7252
 
done
7253
 
done
7254
 
IFS=$as_save_IFS
7255
 
 
7256
 
fi
7257
 
fi
7258
 
F77=$ac_cv_prog_F77
7259
 
if test -n "$F77"; then
7260
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7261
 
echo "${ECHO_T}$F77" >&6; }
7262
 
else
7263
 
  { echo "$as_me:$LINENO: result: no" >&5
7264
 
echo "${ECHO_T}no" >&6; }
7265
 
fi
7266
 
 
7267
 
 
7268
 
    test -n "$F77" && break
7269
 
  done
7270
 
fi
7271
 
if test -z "$F77"; then
7272
 
  ac_ct_F77=$F77
7273
 
  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
7274
 
do
7275
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7276
 
set dummy $ac_prog; ac_word=$2
7277
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7278
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7279
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7281
 
else
7282
 
  if test -n "$ac_ct_F77"; then
7283
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7284
 
else
7285
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286
 
for as_dir in $PATH
7287
 
do
7288
 
  IFS=$as_save_IFS
7289
 
  test -z "$as_dir" && as_dir=.
7290
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7291
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7293
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7294
 
    break 2
7295
 
  fi
7296
 
done
7297
 
done
7298
 
IFS=$as_save_IFS
7299
 
 
7300
 
fi
7301
 
fi
7302
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7303
 
if test -n "$ac_ct_F77"; then
7304
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7305
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
7306
 
else
7307
 
  { echo "$as_me:$LINENO: result: no" >&5
7308
 
echo "${ECHO_T}no" >&6; }
7309
 
fi
7310
 
 
7311
 
 
7312
 
  test -n "$ac_ct_F77" && break
7313
 
done
7314
 
 
7315
 
  if test "x$ac_ct_F77" = x; then
7316
 
    F77=""
7317
 
  else
7318
 
    case $cross_compiling:$ac_tool_warned in
7319
 
yes:)
7320
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7321
 
whose name does not start with the host triplet.  If you think this
7322
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7323
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7324
 
whose name does not start with the host triplet.  If you think this
7325
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7326
 
ac_tool_warned=yes ;;
7327
 
esac
7328
 
    F77=$ac_ct_F77
7329
 
  fi
7330
 
fi
7331
 
 
7332
 
 
7333
 
# Provide some information about the compiler.
7334
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7335
 
ac_compiler=`set X $ac_compile; echo $2`
7336
 
{ (ac_try="$ac_compiler --version >&5"
7337
 
case "(($ac_try" in
7338
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7339
 
  *) ac_try_echo=$ac_try;;
7340
 
esac
7341
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7342
 
  (eval "$ac_compiler --version >&5") 2>&5
7343
 
  ac_status=$?
7344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345
 
  (exit $ac_status); }
7346
 
{ (ac_try="$ac_compiler -v >&5"
7347
 
case "(($ac_try" in
7348
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7349
 
  *) ac_try_echo=$ac_try;;
7350
 
esac
7351
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7352
 
  (eval "$ac_compiler -v >&5") 2>&5
7353
 
  ac_status=$?
7354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355
 
  (exit $ac_status); }
7356
 
{ (ac_try="$ac_compiler -V >&5"
7357
 
case "(($ac_try" in
7358
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7359
 
  *) ac_try_echo=$ac_try;;
7360
 
esac
7361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7362
 
  (eval "$ac_compiler -V >&5") 2>&5
7363
 
  ac_status=$?
7364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365
 
  (exit $ac_status); }
7366
 
rm -f a.out
7367
 
 
7368
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7369
 
# input file.  (Note that this only needs to work for GNU compilers.)
7370
 
ac_save_ext=$ac_ext
7371
 
ac_ext=F
7372
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7373
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7374
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7376
 
else
7377
 
  cat >conftest.$ac_ext <<_ACEOF
7378
 
      program main
7379
 
#ifndef __GNUC__
7380
 
       choke me
7381
 
#endif
7382
 
 
7383
 
      end
7384
 
_ACEOF
7385
 
rm -f conftest.$ac_objext
7386
 
if { (ac_try="$ac_compile"
7387
 
case "(($ac_try" in
7388
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7389
 
  *) ac_try_echo=$ac_try;;
7390
 
esac
7391
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7392
 
  (eval "$ac_compile") 2>conftest.er1
7393
 
  ac_status=$?
7394
 
  grep -v '^ *+' conftest.er1 >conftest.err
7395
 
  rm -f conftest.er1
7396
 
  cat conftest.err >&5
7397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398
 
  (exit $ac_status); } && {
7399
 
         test -z "$ac_f77_werror_flag" ||
7400
 
         test ! -s conftest.err
7401
 
       } && test -s conftest.$ac_objext; then
7402
 
  ac_compiler_gnu=yes
7403
 
else
7404
 
  echo "$as_me: failed program was:" >&5
7405
 
sed 's/^/| /' conftest.$ac_ext >&5
7406
 
 
7407
 
        ac_compiler_gnu=no
7408
 
fi
7409
 
 
7410
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7411
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7412
 
 
7413
 
fi
7414
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7415
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7416
 
ac_ext=$ac_save_ext
7417
 
ac_test_FFLAGS=${FFLAGS+set}
7418
 
ac_save_FFLAGS=$FFLAGS
7419
 
FFLAGS=
7420
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7421
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7422
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7424
 
else
7425
 
  FFLAGS=-g
7426
 
cat >conftest.$ac_ext <<_ACEOF
7427
 
      program main
7428
 
 
7429
 
      end
7430
 
_ACEOF
7431
 
rm -f conftest.$ac_objext
7432
 
if { (ac_try="$ac_compile"
7433
 
case "(($ac_try" in
7434
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435
 
  *) ac_try_echo=$ac_try;;
7436
 
esac
7437
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438
 
  (eval "$ac_compile") 2>conftest.er1
7439
 
  ac_status=$?
7440
 
  grep -v '^ *+' conftest.er1 >conftest.err
7441
 
  rm -f conftest.er1
7442
 
  cat conftest.err >&5
7443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444
 
  (exit $ac_status); } && {
7445
 
         test -z "$ac_f77_werror_flag" ||
7446
 
         test ! -s conftest.err
7447
 
       } && test -s conftest.$ac_objext; then
7448
 
  ac_cv_prog_f77_g=yes
7449
 
else
7450
 
  echo "$as_me: failed program was:" >&5
7451
 
sed 's/^/| /' conftest.$ac_ext >&5
7452
 
 
7453
 
        ac_cv_prog_f77_g=no
7454
 
fi
7455
 
 
7456
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7457
 
 
7458
 
fi
7459
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7460
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7461
 
if test "$ac_test_FFLAGS" = set; then
7462
 
  FFLAGS=$ac_save_FFLAGS
7463
 
elif test $ac_cv_prog_f77_g = yes; then
7464
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7465
 
    FFLAGS="-g -O2"
7466
 
  else
7467
 
    FFLAGS="-g"
7468
 
  fi
7469
 
else
7470
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7471
 
    FFLAGS="-O2"
7472
 
  else
7473
 
    FFLAGS=
7474
 
  fi
7475
 
fi
7476
 
 
7477
 
G77=`test $ac_compiler_gnu = yes && echo yes`
7478
 
ac_ext=c
7479
 
ac_cpp='$CPP $CPPFLAGS'
7480
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7481
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7482
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7483
 
 
7484
 
 
7485
 
 
7486
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7487
 
# find the maximum length of command line arguments
7488
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7489
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7490
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7491
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7492
 
else
7493
 
    i=0
7494
 
  teststring="ABCD"
7495
 
 
7496
 
  case $build_os in
7497
 
  msdosdjgpp*)
7498
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7499
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7500
 
    # during glob expansion).  Even if it were fixed, the result of this
7501
 
    # check would be larger than it should be.
7502
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7503
 
    ;;
7504
 
 
7505
 
  gnu*)
7506
 
    # Under GNU Hurd, this test is not required because there is
7507
 
    # no limit to the length of command line arguments.
7508
 
    # Libtool will interpret -1 as no limit whatsoever
7509
 
    lt_cv_sys_max_cmd_len=-1;
7510
 
    ;;
7511
 
 
7512
 
  cygwin* | mingw*)
7513
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7514
 
    # about 5 minutes as the teststring grows exponentially.
7515
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7516
 
    # you end up with a "frozen" computer, even though with patience
7517
 
    # the test eventually succeeds (with a max line length of 256k).
7518
 
    # Instead, let's just punt: use the minimum linelength reported by
7519
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7520
 
    lt_cv_sys_max_cmd_len=8192;
7521
 
    ;;
7522
 
 
7523
 
  amigaos*)
7524
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7525
 
    # So we just punt and use a minimum line length of 8192.
7526
 
    lt_cv_sys_max_cmd_len=8192;
7527
 
    ;;
7528
 
 
7529
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7530
 
    # This has been around since 386BSD, at least.  Likely further.
7531
 
    if test -x /sbin/sysctl; then
7532
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7533
 
    elif test -x /usr/sbin/sysctl; then
7534
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7535
 
    else
7536
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7537
 
    fi
7538
 
    # And add a safety zone
7539
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7540
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7541
 
    ;;
7542
 
 
7543
 
  interix*)
7544
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7545
 
    lt_cv_sys_max_cmd_len=196608
7546
 
    ;;
7547
 
 
7548
 
  osf*)
7549
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7550
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7551
 
    # nice to cause kernel panics so lets avoid the loop below.
7552
 
    # First set a reasonable default.
7553
 
    lt_cv_sys_max_cmd_len=16384
7554
 
    #
7555
 
    if test -x /sbin/sysconfig; then
7556
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7557
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7558
 
      esac
7559
 
    fi
7560
 
    ;;
7561
 
  sco3.2v5*)
7562
 
    lt_cv_sys_max_cmd_len=102400
7563
 
    ;;
7564
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7565
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7566
 
    if test -n "$kargmax"; then
7567
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7568
 
    else
7569
 
      lt_cv_sys_max_cmd_len=32768
7570
 
    fi
7571
 
    ;;
7572
 
  *)
7573
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7574
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7575
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7576
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7577
 
    else
7578
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7579
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7580
 
               = "XX$teststring") >/dev/null 2>&1 &&
7581
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7582
 
              lt_cv_sys_max_cmd_len=$new_result &&
7583
 
              test $i != 17 # 1/2 MB should be enough
7584
 
      do
7585
 
        i=`expr $i + 1`
7586
 
        teststring=$teststring$teststring
7587
 
      done
7588
 
      teststring=
7589
 
      # Add a significant safety factor because C++ compilers can tack on massive
7590
 
      # amounts of additional arguments before passing them to the linker.
7591
 
      # It appears as though 1/2 is a usable value.
7592
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7593
 
    fi
7594
 
    ;;
7595
 
  esac
7596
 
 
7597
 
fi
7598
 
 
7599
 
if test -n $lt_cv_sys_max_cmd_len ; then
7600
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7601
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7602
 
else
7603
 
  { echo "$as_me:$LINENO: result: none" >&5
7604
 
echo "${ECHO_T}none" >&6; }
7605
 
fi
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
6911
 
7611
6912
# Check for command to grab the raw symbol name followed by C symbol from nm.
7612
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7613
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
6913
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6914
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7614
6915
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6916
  $as_echo_n "(cached) " >&6
7616
6917
else
7617
6918
 
7618
6919
# These are sane defaults that work on at least a few old systems.
7624
6925
# Regexp to match symbols that can be accessed directly from C.
7625
6926
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7626
6927
 
7627
 
# Transform an extracted symbol line into a proper C declaration
7628
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7629
 
 
7630
 
# Transform an extracted symbol line into symbol name and symbol address
7631
 
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'"
7632
 
 
7633
6928
# Define system-specific variables.
7634
6929
case $host_os in
7635
6930
aix*)
7636
6931
  symcode='[BCDT]'
7637
6932
  ;;
7638
 
cygwin* | mingw* | pw32*)
 
6933
cygwin* | mingw* | pw32* | cegcc*)
7639
6934
  symcode='[ABCDGISTW]'
7640
6935
  ;;
7641
 
hpux*) # Its linker distinguishes data from code symbols
 
6936
hpux*)
7642
6937
  if test "$host_cpu" = ia64; then
7643
6938
    symcode='[ABCDEGRST]'
7644
6939
  fi
7645
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7646
 
  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'"
7647
 
  ;;
7648
 
linux* | k*bsd*-gnu)
7649
 
  if test "$host_cpu" = ia64; then
7650
 
    symcode='[ABCDGIRSTW]'
7651
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7652
 
    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'"
7653
 
  fi
7654
6940
  ;;
7655
6941
irix* | nonstopux*)
7656
6942
  symcode='[BCDEGRST]'
7675
6961
  ;;
7676
6962
esac
7677
6963
 
 
6964
# If we're using GNU nm, then use its standard symbol codes.
 
6965
case `$NM -V 2>&1` in
 
6966
*GNU* | *'with BFD'*)
 
6967
  symcode='[ABCDGIRSTW]' ;;
 
6968
esac
 
6969
 
 
6970
# Transform an extracted symbol line into a proper C declaration.
 
6971
# Some systems (esp. on ia64) link data and code symbols differently,
 
6972
# so use this general approach.
 
6973
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6974
 
 
6975
# Transform an extracted symbol line into symbol name and symbol address
 
6976
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6977
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'"
 
6978
 
7678
6979
# Handle CRLF in mingw tool chain
7679
6980
opt_cr=
7680
6981
case $build_os in
7681
6982
mingw*)
7682
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6983
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7683
6984
  ;;
7684
6985
esac
7685
6986
 
7686
 
# If we're using GNU nm, then use its standard symbol codes.
7687
 
case `$NM -V 2>&1` in
7688
 
*GNU* | *'with BFD'*)
7689
 
  symcode='[ABCDGIRSTW]' ;;
7690
 
esac
7691
 
 
7692
 
# Try without a prefix undercore, then with it.
 
6987
# Try without a prefix underscore, then with it.
7693
6988
for ac_symprfx in "" "_"; do
7694
6989
 
7695
6990
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7696
6991
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7697
6992
 
7698
6993
  # Write the raw and C identifiers.
7699
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6994
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6995
    # Fake it for dumpbin and say T for any non-static function
 
6996
    # and D for any global variable.
 
6997
    # Also find C++ and __fastcall symbols from MSVC++,
 
6998
    # which start with @ or ?.
 
6999
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7000
"     {last_section=section; section=\$ 3};"\
 
7001
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7002
"     \$ 0!~/External *\|/{next};"\
 
7003
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7004
"     {if(hide[section]) next};"\
 
7005
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7006
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7007
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7008
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7009
"     ' prfx=^$ac_symprfx"
 
7010
  else
 
7011
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7012
  fi
7700
7013
 
7701
7014
  # Check to see that the pipe works correctly.
7702
7015
  pipe_works=no
7703
7016
 
7704
7017
  rm -f conftest*
7705
 
  cat > conftest.$ac_ext <<EOF
 
7018
  cat > conftest.$ac_ext <<_LT_EOF
7706
7019
#ifdef __cplusplus
7707
7020
extern "C" {
7708
7021
#endif
7709
7022
char nm_test_var;
7710
 
void nm_test_func(){}
 
7023
void nm_test_func(void);
 
7024
void nm_test_func(void){}
7711
7025
#ifdef __cplusplus
7712
7026
}
7713
7027
#endif
7714
7028
int main(){nm_test_var='a';nm_test_func();return(0);}
7715
 
EOF
 
7029
_LT_EOF
7716
7030
 
7717
7031
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7718
7032
  (eval $ac_compile) 2>&5
7719
7033
  ac_status=$?
7720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7034
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721
7035
  (exit $ac_status); }; then
7722
7036
    # Now try to grab the symbols.
7723
7037
    nlist=conftest.nm
7724
7038
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7725
7039
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7726
7040
  ac_status=$?
7727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7041
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728
7042
  (exit $ac_status); } && test -s "$nlist"; then
7729
7043
      # Try sorting and uniquifying the output.
7730
7044
      if sort "$nlist" | uniq > "$nlist"T; then
7734
7048
      fi
7735
7049
 
7736
7050
      # Make sure that we snagged all the symbols we need.
7737
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7738
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7739
 
          cat <<EOF > conftest.$ac_ext
 
7051
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7052
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7053
          cat <<_LT_EOF > conftest.$ac_ext
7740
7054
#ifdef __cplusplus
7741
7055
extern "C" {
7742
7056
#endif
7743
7057
 
7744
 
EOF
 
7058
_LT_EOF
7745
7059
          # Now generate the symbol file.
7746
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7747
 
 
7748
 
          cat <<EOF >> conftest.$ac_ext
7749
 
#if defined (__STDC__) && __STDC__
7750
 
# define lt_ptr_t void *
7751
 
#else
7752
 
# define lt_ptr_t char *
7753
 
# define const
7754
 
#endif
7755
 
 
7756
 
/* The mapping between symbol names and symbols. */
 
7060
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7061
 
 
7062
          cat <<_LT_EOF >> conftest.$ac_ext
 
7063
 
 
7064
/* The mapping between symbol names and symbols.  */
7757
7065
const struct {
7758
7066
  const char *name;
7759
 
  lt_ptr_t address;
 
7067
  void       *address;
7760
7068
}
7761
 
lt_preloaded_symbols[] =
 
7069
lt__PROGRAM__LTX_preloaded_symbols[] =
7762
7070
{
7763
 
EOF
7764
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7765
 
          cat <<\EOF >> conftest.$ac_ext
7766
 
  {0, (lt_ptr_t) 0}
 
7071
  { "@PROGRAM@", (void *) 0 },
 
7072
_LT_EOF
 
7073
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7074
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7075
  {0, (void *) 0}
7767
7076
};
7768
7077
 
 
7078
/* This works around a problem in FreeBSD linker */
 
7079
#ifdef FREEBSD_WORKAROUND
 
7080
static const void *lt_preloaded_setup() {
 
7081
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7082
}
 
7083
#endif
 
7084
 
7769
7085
#ifdef __cplusplus
7770
7086
}
7771
7087
#endif
7772
 
EOF
 
7088
_LT_EOF
7773
7089
          # Now try linking the two files.
7774
7090
          mv conftest.$ac_objext conftstm.$ac_objext
7775
7091
          lt_save_LIBS="$LIBS"
7779
7095
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7780
7096
  (eval $ac_link) 2>&5
7781
7097
  ac_status=$?
7782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7098
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783
7099
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
7784
7100
            pipe_works=yes
7785
7101
          fi
7814
7130
  lt_cv_sys_global_symbol_to_cdecl=
7815
7131
fi
7816
7132
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7817
 
  { echo "$as_me:$LINENO: result: failed" >&5
7818
 
echo "${ECHO_T}failed" >&6; }
7819
 
else
7820
 
  { echo "$as_me:$LINENO: result: ok" >&5
7821
 
echo "${ECHO_T}ok" >&6; }
7822
 
fi
7823
 
 
7824
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
7825
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7826
 
if test "${lt_cv_objdir+set}" = set; then
7827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7828
 
else
7829
 
  rm -f .libs 2>/dev/null
7830
 
mkdir .libs 2>/dev/null
7831
 
if test -d .libs; then
7832
 
  lt_cv_objdir=.libs
7833
 
else
7834
 
  # MS-DOS does not allow filenames that begin with a dot.
7835
 
  lt_cv_objdir=_libs
7836
 
fi
7837
 
rmdir .libs 2>/dev/null
7838
 
fi
7839
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7840
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7841
 
objdir=$lt_cv_objdir
7842
 
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
 
case $host_os in
7848
 
aix3*)
7849
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7850
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7851
 
  # vanish in a puff of smoke.
7852
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7853
 
    COLLECT_NAMES=
7854
 
    export COLLECT_NAMES
7855
 
  fi
7856
 
  ;;
7857
 
esac
7858
 
 
7859
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7860
 
# metacharacters that are still active within double-quoted strings.
7861
 
Xsed='sed -e 1s/^X//'
7862
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7863
 
 
7864
 
# Same as above, but do not quote variable references.
7865
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7866
 
 
7867
 
# Sed substitution to delay expansion of an escaped shell variable in a
7868
 
# double_quote_subst'ed string.
7869
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7870
 
 
7871
 
# Sed substitution to avoid accidental globbing in evaled expressions
7872
 
no_glob_subst='s/\*/\\\*/g'
7873
 
 
7874
 
# Constants:
7875
 
rm="rm -f"
7876
 
 
7877
 
# Global variables:
7878
 
default_ofile=libtool
7879
 
can_build_shared=yes
7880
 
 
7881
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7882
 
# which needs '.lib').
7883
 
libext=a
7884
 
ltmain="$ac_aux_dir/ltmain.sh"
7885
 
ofile="$default_ofile"
7886
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7887
 
 
7888
 
if test -n "$ac_tool_prefix"; then
7889
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7890
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7891
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7892
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7893
 
if test "${ac_cv_prog_AR+set}" = set; then
7894
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7895
 
else
7896
 
  if test -n "$AR"; then
7897
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7898
 
else
7899
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900
 
for as_dir in $PATH
7901
 
do
7902
 
  IFS=$as_save_IFS
7903
 
  test -z "$as_dir" && as_dir=.
7904
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7905
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7906
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7907
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7908
 
    break 2
7909
 
  fi
7910
 
done
7911
 
done
7912
 
IFS=$as_save_IFS
7913
 
 
7914
 
fi
7915
 
fi
7916
 
AR=$ac_cv_prog_AR
7917
 
if test -n "$AR"; then
7918
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7919
 
echo "${ECHO_T}$AR" >&6; }
7920
 
else
7921
 
  { echo "$as_me:$LINENO: result: no" >&5
7922
 
echo "${ECHO_T}no" >&6; }
7923
 
fi
7924
 
 
7925
 
 
7926
 
fi
7927
 
if test -z "$ac_cv_prog_AR"; then
7928
 
  ac_ct_AR=$AR
7929
 
  # Extract the first word of "ar", so it can be a program name with args.
7930
 
set dummy ar; ac_word=$2
7931
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7932
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7933
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7935
 
else
7936
 
  if test -n "$ac_ct_AR"; then
7937
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7938
 
else
7939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940
 
for as_dir in $PATH
7941
 
do
7942
 
  IFS=$as_save_IFS
7943
 
  test -z "$as_dir" && as_dir=.
7944
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7945
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7946
 
    ac_cv_prog_ac_ct_AR="ar"
7947
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7948
 
    break 2
7949
 
  fi
7950
 
done
7951
 
done
7952
 
IFS=$as_save_IFS
7953
 
 
7954
 
fi
7955
 
fi
7956
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7957
 
if test -n "$ac_ct_AR"; then
7958
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7959
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
7960
 
else
7961
 
  { echo "$as_me:$LINENO: result: no" >&5
7962
 
echo "${ECHO_T}no" >&6; }
7963
 
fi
7964
 
 
7965
 
  if test "x$ac_ct_AR" = x; then
7966
 
    AR="false"
7967
 
  else
7968
 
    case $cross_compiling:$ac_tool_warned in
7969
 
yes:)
7970
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7971
 
whose name does not start with the host triplet.  If you think this
7972
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7973
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7974
 
whose name does not start with the host triplet.  If you think this
7975
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7976
 
ac_tool_warned=yes ;;
7977
 
esac
7978
 
    AR=$ac_ct_AR
7979
 
  fi
7980
 
else
7981
 
  AR="$ac_cv_prog_AR"
7982
 
fi
7983
 
 
7984
 
if test -n "$ac_tool_prefix"; then
7985
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7986
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7987
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7988
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7989
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7991
 
else
7992
 
  if test -n "$RANLIB"; then
7993
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7994
 
else
7995
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996
 
for as_dir in $PATH
7997
 
do
7998
 
  IFS=$as_save_IFS
7999
 
  test -z "$as_dir" && as_dir=.
8000
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8001
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8002
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8003
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8004
 
    break 2
8005
 
  fi
8006
 
done
8007
 
done
8008
 
IFS=$as_save_IFS
8009
 
 
8010
 
fi
8011
 
fi
8012
 
RANLIB=$ac_cv_prog_RANLIB
8013
 
if test -n "$RANLIB"; then
8014
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8015
 
echo "${ECHO_T}$RANLIB" >&6; }
8016
 
else
8017
 
  { echo "$as_me:$LINENO: result: no" >&5
8018
 
echo "${ECHO_T}no" >&6; }
8019
 
fi
8020
 
 
8021
 
 
8022
 
fi
8023
 
if test -z "$ac_cv_prog_RANLIB"; then
8024
 
  ac_ct_RANLIB=$RANLIB
8025
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8026
 
set dummy ranlib; ac_word=$2
8027
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8028
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8029
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8030
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8031
 
else
8032
 
  if test -n "$ac_ct_RANLIB"; then
8033
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8034
 
else
8035
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036
 
for as_dir in $PATH
8037
 
do
8038
 
  IFS=$as_save_IFS
8039
 
  test -z "$as_dir" && as_dir=.
8040
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8041
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8042
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8043
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8044
 
    break 2
8045
 
  fi
8046
 
done
8047
 
done
8048
 
IFS=$as_save_IFS
8049
 
 
8050
 
fi
8051
 
fi
8052
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8053
 
if test -n "$ac_ct_RANLIB"; then
8054
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8055
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8056
 
else
8057
 
  { echo "$as_me:$LINENO: result: no" >&5
8058
 
echo "${ECHO_T}no" >&6; }
8059
 
fi
8060
 
 
8061
 
  if test "x$ac_ct_RANLIB" = x; then
8062
 
    RANLIB=":"
8063
 
  else
8064
 
    case $cross_compiling:$ac_tool_warned in
8065
 
yes:)
8066
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8067
 
whose name does not start with the host triplet.  If you think this
8068
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8069
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8070
 
whose name does not start with the host triplet.  If you think this
8071
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8072
 
ac_tool_warned=yes ;;
8073
 
esac
8074
 
    RANLIB=$ac_ct_RANLIB
8075
 
  fi
8076
 
else
8077
 
  RANLIB="$ac_cv_prog_RANLIB"
8078
 
fi
8079
 
 
8080
 
if test -n "$ac_tool_prefix"; then
8081
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8082
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8083
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8084
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8085
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8086
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8087
 
else
8088
 
  if test -n "$STRIP"; then
8089
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8090
 
else
8091
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8092
 
for as_dir in $PATH
8093
 
do
8094
 
  IFS=$as_save_IFS
8095
 
  test -z "$as_dir" && as_dir=.
8096
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8097
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8098
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8099
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8100
 
    break 2
8101
 
  fi
8102
 
done
8103
 
done
8104
 
IFS=$as_save_IFS
8105
 
 
8106
 
fi
8107
 
fi
8108
 
STRIP=$ac_cv_prog_STRIP
8109
 
if test -n "$STRIP"; then
8110
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8111
 
echo "${ECHO_T}$STRIP" >&6; }
8112
 
else
8113
 
  { echo "$as_me:$LINENO: result: no" >&5
8114
 
echo "${ECHO_T}no" >&6; }
8115
 
fi
8116
 
 
8117
 
 
8118
 
fi
8119
 
if test -z "$ac_cv_prog_STRIP"; then
8120
 
  ac_ct_STRIP=$STRIP
8121
 
  # Extract the first word of "strip", so it can be a program name with args.
8122
 
set dummy strip; ac_word=$2
8123
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8124
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8125
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8127
 
else
8128
 
  if test -n "$ac_ct_STRIP"; then
8129
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8130
 
else
8131
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132
 
for as_dir in $PATH
8133
 
do
8134
 
  IFS=$as_save_IFS
8135
 
  test -z "$as_dir" && as_dir=.
8136
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8137
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8138
 
    ac_cv_prog_ac_ct_STRIP="strip"
8139
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8140
 
    break 2
8141
 
  fi
8142
 
done
8143
 
done
8144
 
IFS=$as_save_IFS
8145
 
 
8146
 
fi
8147
 
fi
8148
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8149
 
if test -n "$ac_ct_STRIP"; then
8150
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8151
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8152
 
else
8153
 
  { echo "$as_me:$LINENO: result: no" >&5
8154
 
echo "${ECHO_T}no" >&6; }
8155
 
fi
8156
 
 
8157
 
  if test "x$ac_ct_STRIP" = x; then
8158
 
    STRIP=":"
8159
 
  else
8160
 
    case $cross_compiling:$ac_tool_warned in
8161
 
yes:)
8162
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8163
 
whose name does not start with the host triplet.  If you think this
8164
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8165
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8166
 
whose name does not start with the host triplet.  If you think this
8167
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8168
 
ac_tool_warned=yes ;;
8169
 
esac
8170
 
    STRIP=$ac_ct_STRIP
8171
 
  fi
8172
 
else
8173
 
  STRIP="$ac_cv_prog_STRIP"
8174
 
fi
8175
 
 
8176
 
 
8177
 
old_CC="$CC"
8178
 
old_CFLAGS="$CFLAGS"
8179
 
 
8180
 
# Set sane defaults for various variables
8181
 
test -z "$AR" && AR=ar
8182
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
8183
 
test -z "$AS" && AS=as
8184
 
test -z "$CC" && CC=cc
8185
 
test -z "$LTCC" && LTCC=$CC
8186
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8187
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
8188
 
test -z "$LD" && LD=ld
8189
 
test -z "$LN_S" && LN_S="ln -s"
8190
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8191
 
test -z "$NM" && NM=nm
8192
 
test -z "$SED" && SED=sed
8193
 
test -z "$OBJDUMP" && OBJDUMP=objdump
8194
 
test -z "$RANLIB" && RANLIB=:
8195
 
test -z "$STRIP" && STRIP=:
8196
 
test -z "$ac_objext" && ac_objext=o
8197
 
 
8198
 
# Determine commands to create old-style static archives.
8199
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8200
 
old_postinstall_cmds='chmod 644 $oldlib'
8201
 
old_postuninstall_cmds=
8202
 
 
8203
 
if test -n "$RANLIB"; then
8204
 
  case $host_os in
8205
 
  openbsd*)
8206
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8207
 
    ;;
8208
 
  *)
8209
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8210
 
    ;;
8211
 
  esac
8212
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8213
 
fi
8214
 
 
8215
 
for cc_temp in $compiler""; do
8216
 
  case $cc_temp in
8217
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8218
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8219
 
    \-*) ;;
8220
 
    *) break;;
8221
 
  esac
8222
 
done
8223
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8224
 
 
8225
 
 
8226
 
# Only perform the check for file, if the check method requires it
8227
 
case $deplibs_check_method in
8228
 
file_magic*)
8229
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8230
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8231
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8232
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8234
 
else
8235
 
  case $MAGIC_CMD in
8236
 
[\\/*] |  ?:[\\/]*)
8237
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8238
 
  ;;
8239
 
*)
8240
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8241
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8242
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8243
 
  for ac_dir in $ac_dummy; do
8244
 
    IFS="$lt_save_ifs"
8245
 
    test -z "$ac_dir" && ac_dir=.
8246
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8247
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8248
 
      if test -n "$file_magic_test_file"; then
8249
 
        case $deplibs_check_method in
8250
 
        "file_magic "*)
8251
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8252
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8253
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8254
 
            $EGREP "$file_magic_regex" > /dev/null; then
8255
 
            :
8256
 
          else
8257
 
            cat <<EOF 1>&2
8258
 
 
8259
 
*** Warning: the command libtool uses to detect shared libraries,
8260
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8261
 
*** The result is that libtool may fail to recognize shared libraries
8262
 
*** as such.  This will affect the creation of libtool libraries that
8263
 
*** depend on shared libraries, but programs linked with such libtool
8264
 
*** libraries will work regardless of this problem.  Nevertheless, you
8265
 
*** may want to report the problem to your system manager and/or to
8266
 
*** bug-libtool@gnu.org
8267
 
 
8268
 
EOF
8269
 
          fi ;;
8270
 
        esac
8271
 
      fi
8272
 
      break
8273
 
    fi
8274
 
  done
8275
 
  IFS="$lt_save_ifs"
8276
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8277
 
  ;;
8278
 
esac
8279
 
fi
8280
 
 
8281
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8282
 
if test -n "$MAGIC_CMD"; then
8283
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8284
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8285
 
else
8286
 
  { echo "$as_me:$LINENO: result: no" >&5
8287
 
echo "${ECHO_T}no" >&6; }
8288
 
fi
8289
 
 
8290
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8291
 
  if test -n "$ac_tool_prefix"; then
8292
 
    { echo "$as_me:$LINENO: checking for file" >&5
8293
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8294
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8296
 
else
8297
 
  case $MAGIC_CMD in
8298
 
[\\/*] |  ?:[\\/]*)
8299
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8300
 
  ;;
8301
 
*)
8302
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8303
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8304
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8305
 
  for ac_dir in $ac_dummy; do
8306
 
    IFS="$lt_save_ifs"
8307
 
    test -z "$ac_dir" && ac_dir=.
8308
 
    if test -f $ac_dir/file; then
8309
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8310
 
      if test -n "$file_magic_test_file"; then
8311
 
        case $deplibs_check_method in
8312
 
        "file_magic "*)
8313
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8314
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8315
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8316
 
            $EGREP "$file_magic_regex" > /dev/null; then
8317
 
            :
8318
 
          else
8319
 
            cat <<EOF 1>&2
8320
 
 
8321
 
*** Warning: the command libtool uses to detect shared libraries,
8322
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8323
 
*** The result is that libtool may fail to recognize shared libraries
8324
 
*** as such.  This will affect the creation of libtool libraries that
8325
 
*** depend on shared libraries, but programs linked with such libtool
8326
 
*** libraries will work regardless of this problem.  Nevertheless, you
8327
 
*** may want to report the problem to your system manager and/or to
8328
 
*** bug-libtool@gnu.org
8329
 
 
8330
 
EOF
8331
 
          fi ;;
8332
 
        esac
8333
 
      fi
8334
 
      break
8335
 
    fi
8336
 
  done
8337
 
  IFS="$lt_save_ifs"
8338
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8339
 
  ;;
8340
 
esac
8341
 
fi
8342
 
 
8343
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8344
 
if test -n "$MAGIC_CMD"; then
8345
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8346
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8347
 
else
8348
 
  { echo "$as_me:$LINENO: result: no" >&5
8349
 
echo "${ECHO_T}no" >&6; }
8350
 
fi
8351
 
 
8352
 
  else
8353
 
    MAGIC_CMD=:
8354
 
  fi
8355
 
fi
8356
 
 
8357
 
  fi
8358
 
  ;;
8359
 
esac
 
7133
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7134
$as_echo "failed" >&6; }
 
7135
else
 
7136
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7137
$as_echo "ok" >&6; }
 
7138
fi
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
 
 
7145
 
 
7146
 
 
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
 
 
7152
 
 
7153
 
 
7154
 
 
7155
 
 
7156
 
 
7157
 
 
7158
 
 
7159
 
 
7160
 
 
7161
# Check whether --enable-libtool-lock was given.
 
7162
if test "${enable_libtool_lock+set}" = set; then
 
7163
  enableval=$enable_libtool_lock;
 
7164
fi
 
7165
 
 
7166
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7167
 
 
7168
# Some flags need to be propagated to the compiler or linker for good
 
7169
# libtool support.
 
7170
case $host in
 
7171
ia64-*-hpux*)
 
7172
  # Find out which ABI we are using.
 
7173
  echo 'int i;' > conftest.$ac_ext
 
7174
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7175
  (eval $ac_compile) 2>&5
 
7176
  ac_status=$?
 
7177
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7178
  (exit $ac_status); }; then
 
7179
    case `/usr/bin/file conftest.$ac_objext` in
 
7180
      *ELF-32*)
 
7181
        HPUX_IA64_MODE="32"
 
7182
        ;;
 
7183
      *ELF-64*)
 
7184
        HPUX_IA64_MODE="64"
 
7185
        ;;
 
7186
    esac
 
7187
  fi
 
7188
  rm -rf conftest*
 
7189
  ;;
 
7190
*-*-irix6*)
 
7191
  # Find out which ABI we are using.
 
7192
  echo '#line 7192 "configure"' > conftest.$ac_ext
 
7193
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7194
  (eval $ac_compile) 2>&5
 
7195
  ac_status=$?
 
7196
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7197
  (exit $ac_status); }; then
 
7198
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7199
      case `/usr/bin/file conftest.$ac_objext` in
 
7200
        *32-bit*)
 
7201
          LD="${LD-ld} -melf32bsmip"
 
7202
          ;;
 
7203
        *N32*)
 
7204
          LD="${LD-ld} -melf32bmipn32"
 
7205
          ;;
 
7206
        *64-bit*)
 
7207
          LD="${LD-ld} -melf64bmip"
 
7208
        ;;
 
7209
      esac
 
7210
    else
 
7211
      case `/usr/bin/file conftest.$ac_objext` in
 
7212
        *32-bit*)
 
7213
          LD="${LD-ld} -32"
 
7214
          ;;
 
7215
        *N32*)
 
7216
          LD="${LD-ld} -n32"
 
7217
          ;;
 
7218
        *64-bit*)
 
7219
          LD="${LD-ld} -64"
 
7220
          ;;
 
7221
      esac
 
7222
    fi
 
7223
  fi
 
7224
  rm -rf conftest*
 
7225
  ;;
 
7226
 
 
7227
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7228
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7229
  # Find out which ABI we are using.
 
7230
  echo 'int i;' > conftest.$ac_ext
 
7231
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7232
  (eval $ac_compile) 2>&5
 
7233
  ac_status=$?
 
7234
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7235
  (exit $ac_status); }; then
 
7236
    case `/usr/bin/file conftest.o` in
 
7237
      *32-bit*)
 
7238
        case $host in
 
7239
          x86_64-*kfreebsd*-gnu)
 
7240
            LD="${LD-ld} -m elf_i386_fbsd"
 
7241
            ;;
 
7242
          x86_64-*linux*)
 
7243
            LD="${LD-ld} -m elf_i386"
 
7244
            ;;
 
7245
          ppc64-*linux*|powerpc64-*linux*)
 
7246
            LD="${LD-ld} -m elf32ppclinux"
 
7247
            ;;
 
7248
          s390x-*linux*)
 
7249
            LD="${LD-ld} -m elf_s390"
 
7250
            ;;
 
7251
          sparc64-*linux*)
 
7252
            LD="${LD-ld} -m elf32_sparc"
 
7253
            ;;
 
7254
        esac
 
7255
        ;;
 
7256
      *64-bit*)
 
7257
        case $host in
 
7258
          x86_64-*kfreebsd*-gnu)
 
7259
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7260
            ;;
 
7261
          x86_64-*linux*)
 
7262
            LD="${LD-ld} -m elf_x86_64"
 
7263
            ;;
 
7264
          ppc*-*linux*|powerpc*-*linux*)
 
7265
            LD="${LD-ld} -m elf64ppc"
 
7266
            ;;
 
7267
          s390*-*linux*|s390*-*tpf*)
 
7268
            LD="${LD-ld} -m elf64_s390"
 
7269
            ;;
 
7270
          sparc*-*linux*)
 
7271
            LD="${LD-ld} -m elf64_sparc"
 
7272
            ;;
 
7273
        esac
 
7274
        ;;
 
7275
    esac
 
7276
  fi
 
7277
  rm -rf conftest*
 
7278
  ;;
 
7279
 
 
7280
*-*-sco3.2v5*)
 
7281
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7282
  SAVE_CFLAGS="$CFLAGS"
 
7283
  CFLAGS="$CFLAGS -belf"
 
7284
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7285
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7286
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7287
  $as_echo_n "(cached) " >&6
 
7288
else
 
7289
  ac_ext=c
 
7290
ac_cpp='$CPP $CPPFLAGS'
 
7291
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7292
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7293
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7294
 
 
7295
     cat >conftest.$ac_ext <<_ACEOF
 
7296
/* confdefs.h.  */
 
7297
_ACEOF
 
7298
cat confdefs.h >>conftest.$ac_ext
 
7299
cat >>conftest.$ac_ext <<_ACEOF
 
7300
/* end confdefs.h.  */
 
7301
 
 
7302
int
 
7303
main ()
 
7304
{
 
7305
 
 
7306
  ;
 
7307
  return 0;
 
7308
}
 
7309
_ACEOF
 
7310
rm -f conftest.$ac_objext conftest$ac_exeext
 
7311
if { (ac_try="$ac_link"
 
7312
case "(($ac_try" in
 
7313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7314
  *) ac_try_echo=$ac_try;;
 
7315
esac
 
7316
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7317
$as_echo "$ac_try_echo") >&5
 
7318
  (eval "$ac_link") 2>conftest.er1
 
7319
  ac_status=$?
 
7320
  grep -v '^ *+' conftest.er1 >conftest.err
 
7321
  rm -f conftest.er1
 
7322
  cat conftest.err >&5
 
7323
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7324
  (exit $ac_status); } && {
 
7325
         test -z "$ac_c_werror_flag" ||
 
7326
         test ! -s conftest.err
 
7327
       } && test -s conftest$ac_exeext && {
 
7328
         test "$cross_compiling" = yes ||
 
7329
         $as_test_x conftest$ac_exeext
 
7330
       }; then
 
7331
  lt_cv_cc_needs_belf=yes
 
7332
else
 
7333
  $as_echo "$as_me: failed program was:" >&5
 
7334
sed 's/^/| /' conftest.$ac_ext >&5
 
7335
 
 
7336
        lt_cv_cc_needs_belf=no
 
7337
fi
 
7338
 
 
7339
rm -rf conftest.dSYM
 
7340
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7341
      conftest$ac_exeext conftest.$ac_ext
 
7342
     ac_ext=c
 
7343
ac_cpp='$CPP $CPPFLAGS'
 
7344
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7345
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7346
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7347
 
 
7348
fi
 
7349
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7350
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7351
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7352
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7353
    CFLAGS="$SAVE_CFLAGS"
 
7354
  fi
 
7355
  ;;
 
7356
sparc*-*solaris*)
 
7357
  # Find out which ABI we are using.
 
7358
  echo 'int i;' > conftest.$ac_ext
 
7359
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7360
  (eval $ac_compile) 2>&5
 
7361
  ac_status=$?
 
7362
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7363
  (exit $ac_status); }; then
 
7364
    case `/usr/bin/file conftest.o` in
 
7365
    *64-bit*)
 
7366
      case $lt_cv_prog_gnu_ld in
 
7367
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7368
      *)
 
7369
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7370
          LD="${LD-ld} -64"
 
7371
        fi
 
7372
        ;;
 
7373
      esac
 
7374
      ;;
 
7375
    esac
 
7376
  fi
 
7377
  rm -rf conftest*
 
7378
  ;;
 
7379
esac
 
7380
 
 
7381
need_locks="$enable_libtool_lock"
8360
7382
 
8361
7383
 
8362
7384
  case $host_os in
8364
7386
    if test -n "$ac_tool_prefix"; then
8365
7387
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8366
7388
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8367
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8368
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7389
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7390
$as_echo_n "checking for $ac_word... " >&6; }
8369
7391
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8370
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7392
  $as_echo_n "(cached) " >&6
8371
7393
else
8372
7394
  if test -n "$DSYMUTIL"; then
8373
7395
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8380
7402
  for ac_exec_ext in '' $ac_executable_extensions; do
8381
7403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8382
7404
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8383
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7405
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8384
7406
    break 2
8385
7407
  fi
8386
7408
done
8391
7413
fi
8392
7414
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8393
7415
if test -n "$DSYMUTIL"; then
8394
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8395
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7416
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7417
$as_echo "$DSYMUTIL" >&6; }
8396
7418
else
8397
 
  { echo "$as_me:$LINENO: result: no" >&5
8398
 
echo "${ECHO_T}no" >&6; }
 
7419
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7420
$as_echo "no" >&6; }
8399
7421
fi
8400
7422
 
8401
7423
 
8404
7426
  ac_ct_DSYMUTIL=$DSYMUTIL
8405
7427
  # Extract the first word of "dsymutil", so it can be a program name with args.
8406
7428
set dummy dsymutil; ac_word=$2
8407
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8408
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7429
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7430
$as_echo_n "checking for $ac_word... " >&6; }
8409
7431
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8410
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7432
  $as_echo_n "(cached) " >&6
8411
7433
else
8412
7434
  if test -n "$ac_ct_DSYMUTIL"; then
8413
7435
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8420
7442
  for ac_exec_ext in '' $ac_executable_extensions; do
8421
7443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8422
7444
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8423
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7445
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8424
7446
    break 2
8425
7447
  fi
8426
7448
done
8431
7453
fi
8432
7454
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8433
7455
if test -n "$ac_ct_DSYMUTIL"; then
8434
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8435
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7456
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7457
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8436
7458
else
8437
 
  { echo "$as_me:$LINENO: result: no" >&5
8438
 
echo "${ECHO_T}no" >&6; }
 
7459
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7460
$as_echo "no" >&6; }
8439
7461
fi
8440
7462
 
8441
7463
  if test "x$ac_ct_DSYMUTIL" = x; then
8443
7465
  else
8444
7466
    case $cross_compiling:$ac_tool_warned in
8445
7467
yes:)
8446
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8447
 
whose name does not start with the host triplet.  If you think this
8448
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8449
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8450
 
whose name does not start with the host triplet.  If you think this
8451
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7468
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7469
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8452
7470
ac_tool_warned=yes ;;
8453
7471
esac
8454
7472
    DSYMUTIL=$ac_ct_DSYMUTIL
8460
7478
    if test -n "$ac_tool_prefix"; then
8461
7479
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8462
7480
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8463
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8464
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7481
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7482
$as_echo_n "checking for $ac_word... " >&6; }
8465
7483
if test "${ac_cv_prog_NMEDIT+set}" = set; then
8466
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7484
  $as_echo_n "(cached) " >&6
8467
7485
else
8468
7486
  if test -n "$NMEDIT"; then
8469
7487
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8476
7494
  for ac_exec_ext in '' $ac_executable_extensions; do
8477
7495
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8478
7496
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8479
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7497
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8480
7498
    break 2
8481
7499
  fi
8482
7500
done
8487
7505
fi
8488
7506
NMEDIT=$ac_cv_prog_NMEDIT
8489
7507
if test -n "$NMEDIT"; then
8490
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8491
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
7508
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7509
$as_echo "$NMEDIT" >&6; }
8492
7510
else
8493
 
  { echo "$as_me:$LINENO: result: no" >&5
8494
 
echo "${ECHO_T}no" >&6; }
 
7511
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7512
$as_echo "no" >&6; }
8495
7513
fi
8496
7514
 
8497
7515
 
8500
7518
  ac_ct_NMEDIT=$NMEDIT
8501
7519
  # Extract the first word of "nmedit", so it can be a program name with args.
8502
7520
set dummy nmedit; ac_word=$2
8503
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8504
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7521
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7522
$as_echo_n "checking for $ac_word... " >&6; }
8505
7523
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8506
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7524
  $as_echo_n "(cached) " >&6
8507
7525
else
8508
7526
  if test -n "$ac_ct_NMEDIT"; then
8509
7527
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8516
7534
  for ac_exec_ext in '' $ac_executable_extensions; do
8517
7535
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8518
7536
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8519
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7537
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8520
7538
    break 2
8521
7539
  fi
8522
7540
done
8527
7545
fi
8528
7546
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8529
7547
if test -n "$ac_ct_NMEDIT"; then
8530
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8531
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7548
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7549
$as_echo "$ac_ct_NMEDIT" >&6; }
8532
7550
else
8533
 
  { echo "$as_me:$LINENO: result: no" >&5
8534
 
echo "${ECHO_T}no" >&6; }
 
7551
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7552
$as_echo "no" >&6; }
8535
7553
fi
8536
7554
 
8537
7555
  if test "x$ac_ct_NMEDIT" = x; then
8539
7557
  else
8540
7558
    case $cross_compiling:$ac_tool_warned in
8541
7559
yes:)
8542
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8543
 
whose name does not start with the host triplet.  If you think this
8544
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8545
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8546
 
whose name does not start with the host triplet.  If you think this
8547
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7560
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7561
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8548
7562
ac_tool_warned=yes ;;
8549
7563
esac
8550
7564
    NMEDIT=$ac_ct_NMEDIT
8553
7567
  NMEDIT="$ac_cv_prog_NMEDIT"
8554
7568
fi
8555
7569
 
8556
 
 
8557
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8558
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7570
    if test -n "$ac_tool_prefix"; then
 
7571
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7572
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7573
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7574
$as_echo_n "checking for $ac_word... " >&6; }
 
7575
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7576
  $as_echo_n "(cached) " >&6
 
7577
else
 
7578
  if test -n "$LIPO"; then
 
7579
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7580
else
 
7581
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7582
for as_dir in $PATH
 
7583
do
 
7584
  IFS=$as_save_IFS
 
7585
  test -z "$as_dir" && as_dir=.
 
7586
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7587
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7588
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7589
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7590
    break 2
 
7591
  fi
 
7592
done
 
7593
done
 
7594
IFS=$as_save_IFS
 
7595
 
 
7596
fi
 
7597
fi
 
7598
LIPO=$ac_cv_prog_LIPO
 
7599
if test -n "$LIPO"; then
 
7600
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7601
$as_echo "$LIPO" >&6; }
 
7602
else
 
7603
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7604
$as_echo "no" >&6; }
 
7605
fi
 
7606
 
 
7607
 
 
7608
fi
 
7609
if test -z "$ac_cv_prog_LIPO"; then
 
7610
  ac_ct_LIPO=$LIPO
 
7611
  # Extract the first word of "lipo", so it can be a program name with args.
 
7612
set dummy lipo; ac_word=$2
 
7613
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7614
$as_echo_n "checking for $ac_word... " >&6; }
 
7615
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7616
  $as_echo_n "(cached) " >&6
 
7617
else
 
7618
  if test -n "$ac_ct_LIPO"; then
 
7619
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7620
else
 
7621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7622
for as_dir in $PATH
 
7623
do
 
7624
  IFS=$as_save_IFS
 
7625
  test -z "$as_dir" && as_dir=.
 
7626
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7627
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7628
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7629
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7630
    break 2
 
7631
  fi
 
7632
done
 
7633
done
 
7634
IFS=$as_save_IFS
 
7635
 
 
7636
fi
 
7637
fi
 
7638
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7639
if test -n "$ac_ct_LIPO"; then
 
7640
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7641
$as_echo "$ac_ct_LIPO" >&6; }
 
7642
else
 
7643
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7644
$as_echo "no" >&6; }
 
7645
fi
 
7646
 
 
7647
  if test "x$ac_ct_LIPO" = x; then
 
7648
    LIPO=":"
 
7649
  else
 
7650
    case $cross_compiling:$ac_tool_warned in
 
7651
yes:)
 
7652
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7653
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7654
ac_tool_warned=yes ;;
 
7655
esac
 
7656
    LIPO=$ac_ct_LIPO
 
7657
  fi
 
7658
else
 
7659
  LIPO="$ac_cv_prog_LIPO"
 
7660
fi
 
7661
 
 
7662
    if test -n "$ac_tool_prefix"; then
 
7663
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7664
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7665
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7666
$as_echo_n "checking for $ac_word... " >&6; }
 
7667
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7668
  $as_echo_n "(cached) " >&6
 
7669
else
 
7670
  if test -n "$OTOOL"; then
 
7671
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7672
else
 
7673
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7674
for as_dir in $PATH
 
7675
do
 
7676
  IFS=$as_save_IFS
 
7677
  test -z "$as_dir" && as_dir=.
 
7678
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7679
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7680
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7681
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7682
    break 2
 
7683
  fi
 
7684
done
 
7685
done
 
7686
IFS=$as_save_IFS
 
7687
 
 
7688
fi
 
7689
fi
 
7690
OTOOL=$ac_cv_prog_OTOOL
 
7691
if test -n "$OTOOL"; then
 
7692
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7693
$as_echo "$OTOOL" >&6; }
 
7694
else
 
7695
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7696
$as_echo "no" >&6; }
 
7697
fi
 
7698
 
 
7699
 
 
7700
fi
 
7701
if test -z "$ac_cv_prog_OTOOL"; then
 
7702
  ac_ct_OTOOL=$OTOOL
 
7703
  # Extract the first word of "otool", so it can be a program name with args.
 
7704
set dummy otool; ac_word=$2
 
7705
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7706
$as_echo_n "checking for $ac_word... " >&6; }
 
7707
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7708
  $as_echo_n "(cached) " >&6
 
7709
else
 
7710
  if test -n "$ac_ct_OTOOL"; then
 
7711
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7712
else
 
7713
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7714
for as_dir in $PATH
 
7715
do
 
7716
  IFS=$as_save_IFS
 
7717
  test -z "$as_dir" && as_dir=.
 
7718
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7719
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7720
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7721
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7722
    break 2
 
7723
  fi
 
7724
done
 
7725
done
 
7726
IFS=$as_save_IFS
 
7727
 
 
7728
fi
 
7729
fi
 
7730
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7731
if test -n "$ac_ct_OTOOL"; then
 
7732
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7733
$as_echo "$ac_ct_OTOOL" >&6; }
 
7734
else
 
7735
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7736
$as_echo "no" >&6; }
 
7737
fi
 
7738
 
 
7739
  if test "x$ac_ct_OTOOL" = x; then
 
7740
    OTOOL=":"
 
7741
  else
 
7742
    case $cross_compiling:$ac_tool_warned in
 
7743
yes:)
 
7744
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7745
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7746
ac_tool_warned=yes ;;
 
7747
esac
 
7748
    OTOOL=$ac_ct_OTOOL
 
7749
  fi
 
7750
else
 
7751
  OTOOL="$ac_cv_prog_OTOOL"
 
7752
fi
 
7753
 
 
7754
    if test -n "$ac_tool_prefix"; then
 
7755
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7756
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7757
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7758
$as_echo_n "checking for $ac_word... " >&6; }
 
7759
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7760
  $as_echo_n "(cached) " >&6
 
7761
else
 
7762
  if test -n "$OTOOL64"; then
 
7763
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7764
else
 
7765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7766
for as_dir in $PATH
 
7767
do
 
7768
  IFS=$as_save_IFS
 
7769
  test -z "$as_dir" && as_dir=.
 
7770
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7771
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7772
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7773
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7774
    break 2
 
7775
  fi
 
7776
done
 
7777
done
 
7778
IFS=$as_save_IFS
 
7779
 
 
7780
fi
 
7781
fi
 
7782
OTOOL64=$ac_cv_prog_OTOOL64
 
7783
if test -n "$OTOOL64"; then
 
7784
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7785
$as_echo "$OTOOL64" >&6; }
 
7786
else
 
7787
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7788
$as_echo "no" >&6; }
 
7789
fi
 
7790
 
 
7791
 
 
7792
fi
 
7793
if test -z "$ac_cv_prog_OTOOL64"; then
 
7794
  ac_ct_OTOOL64=$OTOOL64
 
7795
  # Extract the first word of "otool64", so it can be a program name with args.
 
7796
set dummy otool64; ac_word=$2
 
7797
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7798
$as_echo_n "checking for $ac_word... " >&6; }
 
7799
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7800
  $as_echo_n "(cached) " >&6
 
7801
else
 
7802
  if test -n "$ac_ct_OTOOL64"; then
 
7803
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7804
else
 
7805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7806
for as_dir in $PATH
 
7807
do
 
7808
  IFS=$as_save_IFS
 
7809
  test -z "$as_dir" && as_dir=.
 
7810
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7811
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7812
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7813
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7814
    break 2
 
7815
  fi
 
7816
done
 
7817
done
 
7818
IFS=$as_save_IFS
 
7819
 
 
7820
fi
 
7821
fi
 
7822
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7823
if test -n "$ac_ct_OTOOL64"; then
 
7824
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7825
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7826
else
 
7827
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7828
$as_echo "no" >&6; }
 
7829
fi
 
7830
 
 
7831
  if test "x$ac_ct_OTOOL64" = x; then
 
7832
    OTOOL64=":"
 
7833
  else
 
7834
    case $cross_compiling:$ac_tool_warned in
 
7835
yes:)
 
7836
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7837
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7838
ac_tool_warned=yes ;;
 
7839
esac
 
7840
    OTOOL64=$ac_ct_OTOOL64
 
7841
  fi
 
7842
else
 
7843
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7844
fi
 
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
 
 
7850
 
 
7851
 
 
7852
 
 
7853
 
 
7854
 
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
7862
 
 
7863
 
 
7864
 
 
7865
 
 
7866
 
 
7867
 
 
7868
 
 
7869
 
 
7870
 
 
7871
 
 
7872
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7873
$as_echo_n "checking for -single_module linker flag... " >&6; }
8559
7874
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8560
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7875
  $as_echo_n "(cached) " >&6
8561
7876
else
8562
7877
  lt_cv_apple_cc_single_mod=no
8563
7878
      if test -z "${LT_MULTI_MODULE}"; then
8564
 
   # By default we will add the -single_module flag. You can override
8565
 
   # by either setting the environment variable LT_MULTI_MODULE
8566
 
   # non-empty at configure time, or by adding -multi_module to the
8567
 
   # link flags.
8568
 
   echo "int foo(void){return 1;}" > conftest.c
8569
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8570
 
     -dynamiclib ${wl}-single_module conftest.c
8571
 
   if test -f libconftest.dylib; then
8572
 
     lt_cv_apple_cc_single_mod=yes
8573
 
     rm -rf libconftest.dylib*
8574
 
   fi
8575
 
   rm conftest.c
 
7879
        # By default we will add the -single_module flag. You can override
 
7880
        # by either setting the environment variable LT_MULTI_MODULE
 
7881
        # non-empty at configure time, or by adding -multi_module to the
 
7882
        # link flags.
 
7883
        rm -rf libconftest.dylib*
 
7884
        echo "int foo(void){return 1;}" > conftest.c
 
7885
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7886
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7887
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7888
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7889
        _lt_result=$?
 
7890
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7891
          lt_cv_apple_cc_single_mod=yes
 
7892
        else
 
7893
          cat conftest.err >&5
 
7894
        fi
 
7895
        rm -rf libconftest.dylib*
 
7896
        rm -f conftest.*
8576
7897
      fi
8577
7898
fi
8578
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8579
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8580
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8581
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7899
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7900
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7901
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7902
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8582
7903
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7904
  $as_echo_n "(cached) " >&6
8584
7905
else
8585
7906
  lt_cv_ld_exported_symbols_list=no
8586
7907
      save_LDFLAGS=$LDFLAGS
8607
7928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8608
7929
  *) ac_try_echo=$ac_try;;
8609
7930
esac
8610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7931
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7932
$as_echo "$ac_try_echo") >&5
8611
7933
  (eval "$ac_link") 2>conftest.er1
8612
7934
  ac_status=$?
8613
7935
  grep -v '^ *+' conftest.er1 >conftest.err
8614
7936
  rm -f conftest.er1
8615
7937
  cat conftest.err >&5
8616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7938
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617
7939
  (exit $ac_status); } && {
8618
7940
         test -z "$ac_c_werror_flag" ||
8619
7941
         test ! -s conftest.err
8620
 
       } && test -s conftest$ac_exeext &&
8621
 
       $as_test_x conftest$ac_exeext; then
 
7942
       } && test -s conftest$ac_exeext && {
 
7943
         test "$cross_compiling" = yes ||
 
7944
         $as_test_x conftest$ac_exeext
 
7945
       }; then
8622
7946
  lt_cv_ld_exported_symbols_list=yes
8623
7947
else
8624
 
  echo "$as_me: failed program was:" >&5
 
7948
  $as_echo "$as_me: failed program was:" >&5
8625
7949
sed 's/^/| /' conftest.$ac_ext >&5
8626
7950
 
8627
7951
        lt_cv_ld_exported_symbols_list=no
8628
7952
fi
8629
7953
 
 
7954
rm -rf conftest.dSYM
8630
7955
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8631
7956
      conftest$ac_exeext conftest.$ac_ext
8632
 
   LDFLAGS="$save_LDFLAGS"
 
7957
        LDFLAGS="$save_LDFLAGS"
8633
7958
 
8634
7959
fi
8635
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8636
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7960
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7961
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8637
7962
    case $host_os in
8638
 
    rhapsody* | darwin1.[0123])
 
7963
    rhapsody* | darwin1.[012])
8639
7964
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8640
7965
    darwin1.*)
8641
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8642
 
    darwin*)
 
7966
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7967
    darwin*) # darwin 5.x on
8643
7968
      # if running on 10.5 or later, the deployment target defaults
8644
7969
      # to the OS version, if on x86, and 10.4, the deployment
8645
7970
      # target defaults to 10.4. Don't you love it?
8646
7971
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8647
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8648
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8649
 
   10.[012]*)
8650
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8651
 
   10.*)
8652
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7972
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7973
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7974
        10.[012]*)
 
7975
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7976
        10.*)
 
7977
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8653
7978
      esac
8654
7979
    ;;
8655
7980
  esac
8659
7984
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8660
7985
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8661
7986
    else
8662
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7987
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8663
7988
    fi
8664
7989
    if test "$DSYMUTIL" != ":"; then
8665
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7990
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8666
7991
    else
8667
7992
      _lt_dsymutil=
8668
7993
    fi
8670
7995
  esac
8671
7996
 
8672
7997
 
8673
 
enable_dlopen=no
 
7998
for ac_header in dlfcn.h
 
7999
do
 
8000
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8001
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8002
$as_echo_n "checking for $ac_header... " >&6; }
 
8003
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8004
  $as_echo_n "(cached) " >&6
 
8005
else
 
8006
  cat >conftest.$ac_ext <<_ACEOF
 
8007
/* confdefs.h.  */
 
8008
_ACEOF
 
8009
cat confdefs.h >>conftest.$ac_ext
 
8010
cat >>conftest.$ac_ext <<_ACEOF
 
8011
/* end confdefs.h.  */
 
8012
$ac_includes_default
 
8013
 
 
8014
#include <$ac_header>
 
8015
_ACEOF
 
8016
rm -f conftest.$ac_objext
 
8017
if { (ac_try="$ac_compile"
 
8018
case "(($ac_try" in
 
8019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8020
  *) ac_try_echo=$ac_try;;
 
8021
esac
 
8022
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8023
$as_echo "$ac_try_echo") >&5
 
8024
  (eval "$ac_compile") 2>conftest.er1
 
8025
  ac_status=$?
 
8026
  grep -v '^ *+' conftest.er1 >conftest.err
 
8027
  rm -f conftest.er1
 
8028
  cat conftest.err >&5
 
8029
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8030
  (exit $ac_status); } && {
 
8031
         test -z "$ac_c_werror_flag" ||
 
8032
         test ! -s conftest.err
 
8033
       } && test -s conftest.$ac_objext; then
 
8034
  eval "$as_ac_Header=yes"
 
8035
else
 
8036
  $as_echo "$as_me: failed program was:" >&5
 
8037
sed 's/^/| /' conftest.$ac_ext >&5
 
8038
 
 
8039
        eval "$as_ac_Header=no"
 
8040
fi
 
8041
 
 
8042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8043
fi
 
8044
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8045
                 $as_echo "$as_val"'`
 
8046
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8047
$as_echo "$ac_res" >&6; }
 
8048
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8049
                 $as_echo "$as_val"'`
 
8050
   if test "x$as_val" = x""yes; then
 
8051
  cat >>confdefs.h <<_ACEOF
 
8052
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8053
_ACEOF
 
8054
 
 
8055
fi
 
8056
 
 
8057
done
 
8058
 
 
8059
 
 
8060
 
 
8061
# Set options
8674
8062
enable_win32_dll=yes
8675
8063
 
8676
 
# Check whether --enable-libtool-lock was given.
8677
 
if test "${enable_libtool_lock+set}" = set; then
8678
 
  enableval=$enable_libtool_lock;
8679
 
fi
8680
 
 
8681
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8064
case $host in
 
8065
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
8066
  if test -n "$ac_tool_prefix"; then
 
8067
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
8068
set dummy ${ac_tool_prefix}as; ac_word=$2
 
8069
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8070
$as_echo_n "checking for $ac_word... " >&6; }
 
8071
if test "${ac_cv_prog_AS+set}" = set; then
 
8072
  $as_echo_n "(cached) " >&6
 
8073
else
 
8074
  if test -n "$AS"; then
 
8075
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
8076
else
 
8077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8078
for as_dir in $PATH
 
8079
do
 
8080
  IFS=$as_save_IFS
 
8081
  test -z "$as_dir" && as_dir=.
 
8082
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8083
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8084
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
8085
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8086
    break 2
 
8087
  fi
 
8088
done
 
8089
done
 
8090
IFS=$as_save_IFS
 
8091
 
 
8092
fi
 
8093
fi
 
8094
AS=$ac_cv_prog_AS
 
8095
if test -n "$AS"; then
 
8096
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
 
8097
$as_echo "$AS" >&6; }
 
8098
else
 
8099
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8100
$as_echo "no" >&6; }
 
8101
fi
 
8102
 
 
8103
 
 
8104
fi
 
8105
if test -z "$ac_cv_prog_AS"; then
 
8106
  ac_ct_AS=$AS
 
8107
  # Extract the first word of "as", so it can be a program name with args.
 
8108
set dummy as; ac_word=$2
 
8109
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8110
$as_echo_n "checking for $ac_word... " >&6; }
 
8111
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 
8112
  $as_echo_n "(cached) " >&6
 
8113
else
 
8114
  if test -n "$ac_ct_AS"; then
 
8115
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
8116
else
 
8117
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8118
for as_dir in $PATH
 
8119
do
 
8120
  IFS=$as_save_IFS
 
8121
  test -z "$as_dir" && as_dir=.
 
8122
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8123
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8124
    ac_cv_prog_ac_ct_AS="as"
 
8125
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8126
    break 2
 
8127
  fi
 
8128
done
 
8129
done
 
8130
IFS=$as_save_IFS
 
8131
 
 
8132
fi
 
8133
fi
 
8134
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
8135
if test -n "$ac_ct_AS"; then
 
8136
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
8137
$as_echo "$ac_ct_AS" >&6; }
 
8138
else
 
8139
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8140
$as_echo "no" >&6; }
 
8141
fi
 
8142
 
 
8143
  if test "x$ac_ct_AS" = x; then
 
8144
    AS="false"
 
8145
  else
 
8146
    case $cross_compiling:$ac_tool_warned in
 
8147
yes:)
 
8148
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8149
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8150
ac_tool_warned=yes ;;
 
8151
esac
 
8152
    AS=$ac_ct_AS
 
8153
  fi
 
8154
else
 
8155
  AS="$ac_cv_prog_AS"
 
8156
fi
 
8157
 
 
8158
  if test -n "$ac_tool_prefix"; then
 
8159
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
8160
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
8161
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8162
$as_echo_n "checking for $ac_word... " >&6; }
 
8163
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
8164
  $as_echo_n "(cached) " >&6
 
8165
else
 
8166
  if test -n "$DLLTOOL"; then
 
8167
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
8168
else
 
8169
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8170
for as_dir in $PATH
 
8171
do
 
8172
  IFS=$as_save_IFS
 
8173
  test -z "$as_dir" && as_dir=.
 
8174
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8175
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8176
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
8177
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8178
    break 2
 
8179
  fi
 
8180
done
 
8181
done
 
8182
IFS=$as_save_IFS
 
8183
 
 
8184
fi
 
8185
fi
 
8186
DLLTOOL=$ac_cv_prog_DLLTOOL
 
8187
if test -n "$DLLTOOL"; then
 
8188
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
8189
$as_echo "$DLLTOOL" >&6; }
 
8190
else
 
8191
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8192
$as_echo "no" >&6; }
 
8193
fi
 
8194
 
 
8195
 
 
8196
fi
 
8197
if test -z "$ac_cv_prog_DLLTOOL"; then
 
8198
  ac_ct_DLLTOOL=$DLLTOOL
 
8199
  # Extract the first word of "dlltool", so it can be a program name with args.
 
8200
set dummy dlltool; ac_word=$2
 
8201
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8202
$as_echo_n "checking for $ac_word... " >&6; }
 
8203
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
8204
  $as_echo_n "(cached) " >&6
 
8205
else
 
8206
  if test -n "$ac_ct_DLLTOOL"; then
 
8207
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
8208
else
 
8209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8210
for as_dir in $PATH
 
8211
do
 
8212
  IFS=$as_save_IFS
 
8213
  test -z "$as_dir" && as_dir=.
 
8214
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8215
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8216
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
8217
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8218
    break 2
 
8219
  fi
 
8220
done
 
8221
done
 
8222
IFS=$as_save_IFS
 
8223
 
 
8224
fi
 
8225
fi
 
8226
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
8227
if test -n "$ac_ct_DLLTOOL"; then
 
8228
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
8229
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
8230
else
 
8231
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8232
$as_echo "no" >&6; }
 
8233
fi
 
8234
 
 
8235
  if test "x$ac_ct_DLLTOOL" = x; then
 
8236
    DLLTOOL="false"
 
8237
  else
 
8238
    case $cross_compiling:$ac_tool_warned in
 
8239
yes:)
 
8240
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8241
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8242
ac_tool_warned=yes ;;
 
8243
esac
 
8244
    DLLTOOL=$ac_ct_DLLTOOL
 
8245
  fi
 
8246
else
 
8247
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
8248
fi
 
8249
 
 
8250
  if test -n "$ac_tool_prefix"; then
 
8251
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
8252
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
8253
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8254
$as_echo_n "checking for $ac_word... " >&6; }
 
8255
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
8256
  $as_echo_n "(cached) " >&6
 
8257
else
 
8258
  if test -n "$OBJDUMP"; then
 
8259
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
8260
else
 
8261
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8262
for as_dir in $PATH
 
8263
do
 
8264
  IFS=$as_save_IFS
 
8265
  test -z "$as_dir" && as_dir=.
 
8266
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8268
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
8269
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8270
    break 2
 
8271
  fi
 
8272
done
 
8273
done
 
8274
IFS=$as_save_IFS
 
8275
 
 
8276
fi
 
8277
fi
 
8278
OBJDUMP=$ac_cv_prog_OBJDUMP
 
8279
if test -n "$OBJDUMP"; then
 
8280
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
8281
$as_echo "$OBJDUMP" >&6; }
 
8282
else
 
8283
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8284
$as_echo "no" >&6; }
 
8285
fi
 
8286
 
 
8287
 
 
8288
fi
 
8289
if test -z "$ac_cv_prog_OBJDUMP"; then
 
8290
  ac_ct_OBJDUMP=$OBJDUMP
 
8291
  # Extract the first word of "objdump", so it can be a program name with args.
 
8292
set dummy objdump; ac_word=$2
 
8293
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8294
$as_echo_n "checking for $ac_word... " >&6; }
 
8295
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
8296
  $as_echo_n "(cached) " >&6
 
8297
else
 
8298
  if test -n "$ac_ct_OBJDUMP"; then
 
8299
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
8300
else
 
8301
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8302
for as_dir in $PATH
 
8303
do
 
8304
  IFS=$as_save_IFS
 
8305
  test -z "$as_dir" && as_dir=.
 
8306
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8308
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
8309
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8310
    break 2
 
8311
  fi
 
8312
done
 
8313
done
 
8314
IFS=$as_save_IFS
 
8315
 
 
8316
fi
 
8317
fi
 
8318
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
8319
if test -n "$ac_ct_OBJDUMP"; then
 
8320
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
8321
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
8322
else
 
8323
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8324
$as_echo "no" >&6; }
 
8325
fi
 
8326
 
 
8327
  if test "x$ac_ct_OBJDUMP" = x; then
 
8328
    OBJDUMP="false"
 
8329
  else
 
8330
    case $cross_compiling:$ac_tool_warned in
 
8331
yes:)
 
8332
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8333
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8334
ac_tool_warned=yes ;;
 
8335
esac
 
8336
    OBJDUMP=$ac_ct_OBJDUMP
 
8337
  fi
 
8338
else
 
8339
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
8340
fi
 
8341
 
 
8342
  ;;
 
8343
esac
 
8344
 
 
8345
test -z "$AS" && AS=as
 
8346
 
 
8347
 
 
8348
 
 
8349
 
 
8350
 
 
8351
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
8352
 
 
8353
 
 
8354
 
 
8355
 
 
8356
 
 
8357
test -z "$OBJDUMP" && OBJDUMP=objdump
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
        enable_dlopen=no
 
8366
 
 
8367
 
 
8368
 
 
8369
            # Check whether --enable-shared was given.
 
8370
if test "${enable_shared+set}" = set; then
 
8371
  enableval=$enable_shared; p=${PACKAGE-default}
 
8372
    case $enableval in
 
8373
    yes) enable_shared=yes ;;
 
8374
    no) enable_shared=no ;;
 
8375
    *)
 
8376
      enable_shared=no
 
8377
      # Look at the argument we got.  We use all the common list separators.
 
8378
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8379
      for pkg in $enableval; do
 
8380
        IFS="$lt_save_ifs"
 
8381
        if test "X$pkg" = "X$p"; then
 
8382
          enable_shared=yes
 
8383
        fi
 
8384
      done
 
8385
      IFS="$lt_save_ifs"
 
8386
      ;;
 
8387
    esac
 
8388
else
 
8389
  enable_shared=yes
 
8390
fi
 
8391
 
 
8392
 
 
8393
 
 
8394
 
 
8395
 
 
8396
 
 
8397
 
 
8398
 
 
8399
 
 
8400
  # Check whether --enable-static was given.
 
8401
if test "${enable_static+set}" = set; then
 
8402
  enableval=$enable_static; p=${PACKAGE-default}
 
8403
    case $enableval in
 
8404
    yes) enable_static=yes ;;
 
8405
    no) enable_static=no ;;
 
8406
    *)
 
8407
     enable_static=no
 
8408
      # Look at the argument we got.  We use all the common list separators.
 
8409
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8410
      for pkg in $enableval; do
 
8411
        IFS="$lt_save_ifs"
 
8412
        if test "X$pkg" = "X$p"; then
 
8413
          enable_static=yes
 
8414
        fi
 
8415
      done
 
8416
      IFS="$lt_save_ifs"
 
8417
      ;;
 
8418
    esac
 
8419
else
 
8420
  enable_static=yes
 
8421
fi
 
8422
 
 
8423
 
 
8424
 
 
8425
 
 
8426
 
 
8427
 
 
8428
 
 
8429
 
8682
8430
 
8683
8431
 
8684
8432
# Check whether --with-pic was given.
8688
8436
  pic_mode=default
8689
8437
fi
8690
8438
 
 
8439
 
8691
8440
test -z "$pic_mode" && pic_mode=default
8692
8441
 
 
8442
 
 
8443
 
 
8444
 
 
8445
 
 
8446
 
 
8447
 
 
8448
  # Check whether --enable-fast-install was given.
 
8449
if test "${enable_fast_install+set}" = set; then
 
8450
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8451
    case $enableval in
 
8452
    yes) enable_fast_install=yes ;;
 
8453
    no) enable_fast_install=no ;;
 
8454
    *)
 
8455
      enable_fast_install=no
 
8456
      # Look at the argument we got.  We use all the common list separators.
 
8457
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8458
      for pkg in $enableval; do
 
8459
        IFS="$lt_save_ifs"
 
8460
        if test "X$pkg" = "X$p"; then
 
8461
          enable_fast_install=yes
 
8462
        fi
 
8463
      done
 
8464
      IFS="$lt_save_ifs"
 
8465
      ;;
 
8466
    esac
 
8467
else
 
8468
  enable_fast_install=yes
 
8469
fi
 
8470
 
 
8471
 
 
8472
 
 
8473
 
 
8474
 
 
8475
 
 
8476
 
 
8477
 
 
8478
 
 
8479
 
 
8480
 
 
8481
# This can be used to rebuild libtool when needed
 
8482
LIBTOOL_DEPS="$ltmain"
 
8483
 
 
8484
# Always use our own libtool.
 
8485
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8486
 
 
8487
 
 
8488
 
 
8489
 
 
8490
 
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
 
 
8500
 
 
8501
 
 
8502
 
 
8503
 
 
8504
 
 
8505
 
 
8506
 
 
8507
 
 
8508
 
 
8509
 
 
8510
 
 
8511
test -z "$LN_S" && LN_S="ln -s"
 
8512
 
 
8513
 
 
8514
 
 
8515
 
 
8516
 
 
8517
 
 
8518
 
 
8519
 
 
8520
 
 
8521
 
 
8522
 
 
8523
 
 
8524
 
 
8525
 
 
8526
if test -n "${ZSH_VERSION+set}" ; then
 
8527
   setopt NO_GLOB_SUBST
 
8528
fi
 
8529
 
 
8530
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8531
$as_echo_n "checking for objdir... " >&6; }
 
8532
if test "${lt_cv_objdir+set}" = set; then
 
8533
  $as_echo_n "(cached) " >&6
 
8534
else
 
8535
  rm -f .libs 2>/dev/null
 
8536
mkdir .libs 2>/dev/null
 
8537
if test -d .libs; then
 
8538
  lt_cv_objdir=.libs
 
8539
else
 
8540
  # MS-DOS does not allow filenames that begin with a dot.
 
8541
  lt_cv_objdir=_libs
 
8542
fi
 
8543
rmdir .libs 2>/dev/null
 
8544
fi
 
8545
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8546
$as_echo "$lt_cv_objdir" >&6; }
 
8547
objdir=$lt_cv_objdir
 
8548
 
 
8549
 
 
8550
 
 
8551
 
 
8552
 
 
8553
cat >>confdefs.h <<_ACEOF
 
8554
#define LT_OBJDIR "$lt_cv_objdir/"
 
8555
_ACEOF
 
8556
 
 
8557
 
 
8558
 
 
8559
 
 
8560
 
 
8561
 
 
8562
 
 
8563
 
 
8564
 
 
8565
 
 
8566
 
 
8567
 
 
8568
 
 
8569
 
 
8570
 
 
8571
 
 
8572
 
 
8573
case $host_os in
 
8574
aix3*)
 
8575
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8576
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8577
  # vanish in a puff of smoke.
 
8578
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8579
    COLLECT_NAMES=
 
8580
    export COLLECT_NAMES
 
8581
  fi
 
8582
  ;;
 
8583
esac
 
8584
 
 
8585
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8586
# metacharacters that are still active within double-quoted strings.
 
8587
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8588
 
 
8589
# Same as above, but do not quote variable references.
 
8590
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8591
 
 
8592
# Sed substitution to delay expansion of an escaped shell variable in a
 
8593
# double_quote_subst'ed string.
 
8594
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8595
 
 
8596
# Sed substitution to delay expansion of an escaped single quote.
 
8597
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8598
 
 
8599
# Sed substitution to avoid accidental globbing in evaled expressions
 
8600
no_glob_subst='s/\*/\\\*/g'
 
8601
 
 
8602
# Global variables:
 
8603
ofile=libtool
 
8604
can_build_shared=yes
 
8605
 
 
8606
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8607
# which needs '.lib').
 
8608
libext=a
 
8609
 
 
8610
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8611
 
 
8612
old_CC="$CC"
 
8613
old_CFLAGS="$CFLAGS"
 
8614
 
 
8615
# Set sane defaults for various variables
 
8616
test -z "$CC" && CC=cc
 
8617
test -z "$LTCC" && LTCC=$CC
 
8618
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8619
test -z "$LD" && LD=ld
 
8620
test -z "$ac_objext" && ac_objext=o
 
8621
 
 
8622
for cc_temp in $compiler""; do
 
8623
  case $cc_temp in
 
8624
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8625
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8626
    \-*) ;;
 
8627
    *) break;;
 
8628
  esac
 
8629
done
 
8630
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8631
 
 
8632
 
 
8633
# Only perform the check for file, if the check method requires it
 
8634
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8635
case $deplibs_check_method in
 
8636
file_magic*)
 
8637
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8638
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8639
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8640
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8641
  $as_echo_n "(cached) " >&6
 
8642
else
 
8643
  case $MAGIC_CMD in
 
8644
[\\/*] |  ?:[\\/]*)
 
8645
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8646
  ;;
 
8647
*)
 
8648
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8649
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8650
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8651
  for ac_dir in $ac_dummy; do
 
8652
    IFS="$lt_save_ifs"
 
8653
    test -z "$ac_dir" && ac_dir=.
 
8654
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8655
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8656
      if test -n "$file_magic_test_file"; then
 
8657
        case $deplibs_check_method in
 
8658
        "file_magic "*)
 
8659
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8660
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8661
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8662
            $EGREP "$file_magic_regex" > /dev/null; then
 
8663
            :
 
8664
          else
 
8665
            cat <<_LT_EOF 1>&2
 
8666
 
 
8667
*** Warning: the command libtool uses to detect shared libraries,
 
8668
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8669
*** The result is that libtool may fail to recognize shared libraries
 
8670
*** as such.  This will affect the creation of libtool libraries that
 
8671
*** depend on shared libraries, but programs linked with such libtool
 
8672
*** libraries will work regardless of this problem.  Nevertheless, you
 
8673
*** may want to report the problem to your system manager and/or to
 
8674
*** bug-libtool@gnu.org
 
8675
 
 
8676
_LT_EOF
 
8677
          fi ;;
 
8678
        esac
 
8679
      fi
 
8680
      break
 
8681
    fi
 
8682
  done
 
8683
  IFS="$lt_save_ifs"
 
8684
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8685
  ;;
 
8686
esac
 
8687
fi
 
8688
 
 
8689
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8690
if test -n "$MAGIC_CMD"; then
 
8691
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8692
$as_echo "$MAGIC_CMD" >&6; }
 
8693
else
 
8694
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8695
$as_echo "no" >&6; }
 
8696
fi
 
8697
 
 
8698
 
 
8699
 
 
8700
 
 
8701
 
 
8702
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8703
  if test -n "$ac_tool_prefix"; then
 
8704
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8705
$as_echo_n "checking for file... " >&6; }
 
8706
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8707
  $as_echo_n "(cached) " >&6
 
8708
else
 
8709
  case $MAGIC_CMD in
 
8710
[\\/*] |  ?:[\\/]*)
 
8711
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8712
  ;;
 
8713
*)
 
8714
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8715
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8716
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8717
  for ac_dir in $ac_dummy; do
 
8718
    IFS="$lt_save_ifs"
 
8719
    test -z "$ac_dir" && ac_dir=.
 
8720
    if test -f $ac_dir/file; then
 
8721
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8722
      if test -n "$file_magic_test_file"; then
 
8723
        case $deplibs_check_method in
 
8724
        "file_magic "*)
 
8725
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8726
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8727
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8728
            $EGREP "$file_magic_regex" > /dev/null; then
 
8729
            :
 
8730
          else
 
8731
            cat <<_LT_EOF 1>&2
 
8732
 
 
8733
*** Warning: the command libtool uses to detect shared libraries,
 
8734
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8735
*** The result is that libtool may fail to recognize shared libraries
 
8736
*** as such.  This will affect the creation of libtool libraries that
 
8737
*** depend on shared libraries, but programs linked with such libtool
 
8738
*** libraries will work regardless of this problem.  Nevertheless, you
 
8739
*** may want to report the problem to your system manager and/or to
 
8740
*** bug-libtool@gnu.org
 
8741
 
 
8742
_LT_EOF
 
8743
          fi ;;
 
8744
        esac
 
8745
      fi
 
8746
      break
 
8747
    fi
 
8748
  done
 
8749
  IFS="$lt_save_ifs"
 
8750
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8751
  ;;
 
8752
esac
 
8753
fi
 
8754
 
 
8755
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8756
if test -n "$MAGIC_CMD"; then
 
8757
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8758
$as_echo "$MAGIC_CMD" >&6; }
 
8759
else
 
8760
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8761
$as_echo "no" >&6; }
 
8762
fi
 
8763
 
 
8764
 
 
8765
  else
 
8766
    MAGIC_CMD=:
 
8767
  fi
 
8768
fi
 
8769
 
 
8770
  fi
 
8771
  ;;
 
8772
esac
 
8773
 
8693
8774
# Use C for the default configuration in the libtool script
8694
 
tagname=
 
8775
 
8695
8776
lt_save_CC="$CC"
8696
8777
ac_ext=c
8697
8778
ac_cpp='$CPP $CPPFLAGS'
8714
8795
lt_simple_link_test_code='int main(){return(0);}'
8715
8796
 
8716
8797
 
 
8798
 
 
8799
 
 
8800
 
 
8801
 
 
8802
 
8717
8803
# If no C compiler was specified, use CC.
8718
8804
LTCC=${LTCC-"$CC"}
8719
8805
 
8723
8809
# Allow CC to be a program name with arguments.
8724
8810
compiler=$CC
8725
8811
 
 
8812
# Save the default compiler, since it gets overwritten when the other
 
8813
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8814
compiler_DEFAULT=$CC
8726
8815
 
8727
8816
# save warnings/boilerplate of simple test code
8728
8817
ac_outfile=conftest.$ac_objext
8729
8818
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8730
8819
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8731
8820
_lt_compiler_boilerplate=`cat conftest.err`
8732
 
$rm conftest*
 
8821
$RM conftest*
8733
8822
 
8734
8823
ac_outfile=conftest.$ac_objext
8735
8824
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8736
8825
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8737
8826
_lt_linker_boilerplate=`cat conftest.err`
8738
 
$rm -r conftest*
8739
 
 
8740
 
 
 
8827
$RM -r conftest*
 
8828
 
 
8829
 
 
8830
## CAVEAT EMPTOR:
 
8831
## There is no encapsulation within the following macros, do not change
 
8832
## the running order or otherwise move them around unless you know exactly
 
8833
## what you are doing...
 
8834
if test -n "$compiler"; then
8741
8835
 
8742
8836
lt_prog_compiler_no_builtin_flag=
8743
8837
 
8744
8838
if test "$GCC" = yes; then
8745
8839
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8746
8840
 
8747
 
 
8748
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8749
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
8841
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8842
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8750
8843
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8751
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8844
  $as_echo_n "(cached) " >&6
8752
8845
else
8753
8846
  lt_cv_prog_compiler_rtti_exceptions=no
8754
 
  ac_outfile=conftest.$ac_objext
 
8847
   ac_outfile=conftest.$ac_objext
8755
8848
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8756
8849
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8757
8850
   # Insert the option either (1) after the last *FLAGS variable, or
8763
8856
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764
8857
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765
8858
   -e 's:$: $lt_compiler_flag:'`
8766
 
   (eval echo "\"\$as_me:8766: $lt_compile\"" >&5)
 
8859
   (eval echo "\"\$as_me:8859: $lt_compile\"" >&5)
8767
8860
   (eval "$lt_compile" 2>conftest.err)
8768
8861
   ac_status=$?
8769
8862
   cat conftest.err >&5
8770
 
   echo "$as_me:8770: \$? = $ac_status" >&5
 
8863
   echo "$as_me:8863: \$? = $ac_status" >&5
8771
8864
   if (exit $ac_status) && test -s "$ac_outfile"; then
8772
8865
     # The compiler can only warn and ignore the option if not recognized
8773
8866
     # So say no if there are warnings other than the usual output.
8774
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8867
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8775
8868
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8776
8869
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8777
8870
       lt_cv_prog_compiler_rtti_exceptions=yes
8778
8871
     fi
8779
8872
   fi
8780
 
   $rm conftest*
 
8873
   $RM conftest*
8781
8874
 
8782
8875
fi
8783
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8784
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8876
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8877
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8785
8878
 
8786
8879
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8787
8880
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8791
8884
 
8792
8885
fi
8793
8886
 
8794
 
lt_prog_compiler_wl=
 
8887
 
 
8888
 
 
8889
 
 
8890
 
 
8891
 
 
8892
  lt_prog_compiler_wl=
8795
8893
lt_prog_compiler_pic=
8796
8894
lt_prog_compiler_static=
8797
8895
 
8798
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8799
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
8896
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8897
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8800
8898
 
8801
8899
  if test "$GCC" = yes; then
8802
8900
    lt_prog_compiler_wl='-Wl,'
8812
8910
      ;;
8813
8911
 
8814
8912
    amigaos*)
8815
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8816
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8817
 
      # like `-m68040'.
8818
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8913
      case $host_cpu in
 
8914
      powerpc)
 
8915
            # see comment about AmigaOS4 .so support
 
8916
            lt_prog_compiler_pic='-fPIC'
 
8917
        ;;
 
8918
      m68k)
 
8919
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8920
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8921
            # like `-m68040'.
 
8922
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8923
        ;;
 
8924
      esac
8819
8925
      ;;
8820
8926
 
8821
8927
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8822
8928
      # PIC is the default for these OSes.
8823
8929
      ;;
8824
8930
 
8825
 
    mingw* | cygwin* | pw32* | os2*)
 
8931
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8826
8932
      # This hack is so that the source file can tell whether it is being
8827
8933
      # built for inclusion in a dll (and should export symbols for example).
8828
8934
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8836
8942
      lt_prog_compiler_pic='-fno-common'
8837
8943
      ;;
8838
8944
 
 
8945
    hpux*)
 
8946
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8947
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8948
      # sets the default TLS model and affects inlining.
 
8949
      case $host_cpu in
 
8950
      hppa*64*)
 
8951
        # +Z the default
 
8952
        ;;
 
8953
      *)
 
8954
        lt_prog_compiler_pic='-fPIC'
 
8955
        ;;
 
8956
      esac
 
8957
      ;;
 
8958
 
8839
8959
    interix[3-9]*)
8840
8960
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8841
8961
      # Instead, we relocate shared libraries at runtime.
8848
8968
      enable_shared=no
8849
8969
      ;;
8850
8970
 
 
8971
    *nto* | *qnx*)
 
8972
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8973
      # it will coredump.
 
8974
      lt_prog_compiler_pic='-fPIC -shared'
 
8975
      ;;
 
8976
 
8851
8977
    sysv4*MP*)
8852
8978
      if test -d /usr/nec; then
8853
8979
        lt_prog_compiler_pic=-Kconform_pic
8854
8980
      fi
8855
8981
      ;;
8856
8982
 
8857
 
    hpux*)
8858
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8859
 
      # not for PA HP-UX.
8860
 
      case $host_cpu in
8861
 
      hppa*64*|ia64*)
8862
 
        # +Z the default
8863
 
        ;;
8864
 
      *)
8865
 
        lt_prog_compiler_pic='-fPIC'
8866
 
        ;;
8867
 
      esac
8868
 
      ;;
8869
 
 
8870
8983
    *)
8871
8984
      lt_prog_compiler_pic='-fPIC'
8872
8985
      ;;
8883
8996
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8884
8997
      fi
8885
8998
      ;;
8886
 
      darwin*)
8887
 
        # PIC is the default on this platform
8888
 
        # Common symbols not allowed in MH_DYLIB files
8889
 
       case $cc_basename in
8890
 
         xlc*)
8891
 
         lt_prog_compiler_pic='-qnocommon'
8892
 
         lt_prog_compiler_wl='-Wl,'
8893
 
         ;;
8894
 
       esac
8895
 
       ;;
8896
8999
 
8897
 
    mingw* | cygwin* | pw32* | os2*)
 
9000
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8898
9001
      # This hack is so that the source file can tell whether it is being
8899
9002
      # built for inclusion in a dll (and should export symbols for example).
8900
9003
      lt_prog_compiler_pic='-DDLL_EXPORT'
8922
9025
      lt_prog_compiler_static='-non_shared'
8923
9026
      ;;
8924
9027
 
8925
 
    newsos6)
8926
 
      lt_prog_compiler_pic='-KPIC'
8927
 
      lt_prog_compiler_static='-Bstatic'
8928
 
      ;;
8929
 
 
8930
9028
    linux* | k*bsd*-gnu)
8931
9029
      case $cc_basename in
8932
 
      icc* | ecc*)
 
9030
      # old Intel for x86_64 which still supported -KPIC.
 
9031
      ecc*)
8933
9032
        lt_prog_compiler_wl='-Wl,'
8934
9033
        lt_prog_compiler_pic='-KPIC'
8935
9034
        lt_prog_compiler_static='-static'
8936
9035
        ;;
 
9036
      # icc used to be incompatible with GCC.
 
9037
      # ICC 10 doesn't accept -KPIC any more.
 
9038
      icc* | ifort*)
 
9039
        lt_prog_compiler_wl='-Wl,'
 
9040
        lt_prog_compiler_pic='-fPIC'
 
9041
        lt_prog_compiler_static='-static'
 
9042
        ;;
 
9043
      # Lahey Fortran 8.1.
 
9044
      lf95*)
 
9045
        lt_prog_compiler_wl='-Wl,'
 
9046
        lt_prog_compiler_pic='--shared'
 
9047
        lt_prog_compiler_static='--static'
 
9048
        ;;
8937
9049
      pgcc* | pgf77* | pgf90* | pgf95*)
8938
9050
        # Portland Group compilers (*not* the Pentium gcc compiler,
8939
9051
        # which looks to be a dead project)
8946
9058
        # All Alpha code is PIC.
8947
9059
        lt_prog_compiler_static='-non_shared'
8948
9060
        ;;
 
9061
      xl*)
 
9062
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9063
        lt_prog_compiler_wl='-Wl,'
 
9064
        lt_prog_compiler_pic='-qpic'
 
9065
        lt_prog_compiler_static='-qstaticlink'
 
9066
        ;;
8949
9067
      *)
8950
 
        case `$CC -V 2>&1 | sed 5q` in
 
9068
        case `$CC -V 2>&1 | sed 5q` in
8951
9069
        *Sun\ C*)
8952
9070
          # Sun C 5.9
8953
9071
          lt_prog_compiler_pic='-KPIC'
8965
9083
      esac
8966
9084
      ;;
8967
9085
 
 
9086
    newsos6)
 
9087
      lt_prog_compiler_pic='-KPIC'
 
9088
      lt_prog_compiler_static='-Bstatic'
 
9089
      ;;
 
9090
 
 
9091
    *nto* | *qnx*)
 
9092
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9093
      # it will coredump.
 
9094
      lt_prog_compiler_pic='-fPIC -shared'
 
9095
      ;;
 
9096
 
8968
9097
    osf3* | osf4* | osf5*)
8969
9098
      lt_prog_compiler_wl='-Wl,'
8970
9099
      # All OSF/1 code is PIC.
9027
9156
    esac
9028
9157
  fi
9029
9158
 
9030
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9031
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9159
case $host_os in
 
9160
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9161
  *djgpp*)
 
9162
    lt_prog_compiler_pic=
 
9163
    ;;
 
9164
  *)
 
9165
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9166
    ;;
 
9167
esac
 
9168
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9169
$as_echo "$lt_prog_compiler_pic" >&6; }
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
 
9032
9175
 
9033
9176
#
9034
9177
# Check to make sure the PIC flag actually works.
9035
9178
#
9036
9179
if test -n "$lt_prog_compiler_pic"; then
9037
 
 
9038
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9039
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
9180
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9181
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9040
9182
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9041
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9183
  $as_echo_n "(cached) " >&6
9042
9184
else
9043
9185
  lt_cv_prog_compiler_pic_works=no
9044
 
  ac_outfile=conftest.$ac_objext
 
9186
   ac_outfile=conftest.$ac_objext
9045
9187
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9046
9188
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9047
9189
   # Insert the option either (1) after the last *FLAGS variable, or
9053
9195
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9054
9196
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9055
9197
   -e 's:$: $lt_compiler_flag:'`
9056
 
   (eval echo "\"\$as_me:9056: $lt_compile\"" >&5)
 
9198
   (eval echo "\"\$as_me:9198: $lt_compile\"" >&5)
9057
9199
   (eval "$lt_compile" 2>conftest.err)
9058
9200
   ac_status=$?
9059
9201
   cat conftest.err >&5
9060
 
   echo "$as_me:9060: \$? = $ac_status" >&5
 
9202
   echo "$as_me:9202: \$? = $ac_status" >&5
9061
9203
   if (exit $ac_status) && test -s "$ac_outfile"; then
9062
9204
     # The compiler can only warn and ignore the option if not recognized
9063
9205
     # So say no if there are warnings other than the usual output.
9064
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9206
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9065
9207
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9066
9208
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9067
9209
       lt_cv_prog_compiler_pic_works=yes
9068
9210
     fi
9069
9211
   fi
9070
 
   $rm conftest*
 
9212
   $RM conftest*
9071
9213
 
9072
9214
fi
9073
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9074
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
9215
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9216
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9075
9217
 
9076
9218
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9077
9219
    case $lt_prog_compiler_pic in
9084
9226
fi
9085
9227
 
9086
9228
fi
9087
 
case $host_os in
9088
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9089
 
  *djgpp*)
9090
 
    lt_prog_compiler_pic=
9091
 
    ;;
9092
 
  *)
9093
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9094
 
    ;;
9095
 
esac
 
9229
 
 
9230
 
 
9231
 
 
9232
 
 
9233
 
9096
9234
 
9097
9235
#
9098
9236
# Check to make sure the static flag actually works.
9099
9237
#
9100
9238
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9101
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9102
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
9239
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9240
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9103
9241
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9242
  $as_echo_n "(cached) " >&6
9105
9243
else
9106
9244
  lt_cv_prog_compiler_static_works=no
9107
9245
   save_LDFLAGS="$LDFLAGS"
9113
9251
     if test -s conftest.err; then
9114
9252
       # Append any errors to the config.log.
9115
9253
       cat conftest.err 1>&5
9116
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9254
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9117
9255
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9118
9256
       if diff conftest.exp conftest.er2 >/dev/null; then
9119
9257
         lt_cv_prog_compiler_static_works=yes
9122
9260
       lt_cv_prog_compiler_static_works=yes
9123
9261
     fi
9124
9262
   fi
9125
 
   $rm -r conftest*
 
9263
   $RM -r conftest*
9126
9264
   LDFLAGS="$save_LDFLAGS"
9127
9265
 
9128
9266
fi
9129
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9130
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
9267
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9268
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9131
9269
 
9132
9270
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9133
9271
    :
9136
9274
fi
9137
9275
 
9138
9276
 
9139
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9140
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9141
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9143
 
else
9144
 
  lt_cv_prog_compiler_c_o=no
9145
 
   $rm -r conftest 2>/dev/null
9146
 
   mkdir conftest
9147
 
   cd conftest
9148
 
   mkdir out
9149
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9150
 
 
9151
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9152
 
   # Insert the option either (1) after the last *FLAGS variable, or
9153
 
   # (2) before a word containing "conftest.", or (3) at the end.
9154
 
   # Note that $ac_compile itself does not contain backslashes and begins
9155
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9156
 
   lt_compile=`echo "$ac_compile" | $SED \
9157
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9158
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9159
 
   -e 's:$: $lt_compiler_flag:'`
9160
 
   (eval echo "\"\$as_me:9160: $lt_compile\"" >&5)
9161
 
   (eval "$lt_compile" 2>out/conftest.err)
9162
 
   ac_status=$?
9163
 
   cat out/conftest.err >&5
9164
 
   echo "$as_me:9164: \$? = $ac_status" >&5
9165
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9166
 
   then
9167
 
     # The compiler can only warn and ignore the option if not recognized
9168
 
     # So say no if there are warnings
9169
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9170
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9171
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9172
 
       lt_cv_prog_compiler_c_o=yes
9173
 
     fi
9174
 
   fi
9175
 
   chmod u+w . 2>&5
9176
 
   $rm conftest*
9177
 
   # SGI C++ compiler will create directory out/ii_files/ for
9178
 
   # template instantiation
9179
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9180
 
   $rm out/* && rmdir out
9181
 
   cd ..
9182
 
   rmdir conftest
9183
 
   $rm conftest*
9184
 
 
9185
 
fi
9186
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9187
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9277
 
 
9278
 
 
9279
 
 
9280
 
 
9281
 
 
9282
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9283
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9284
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9285
  $as_echo_n "(cached) " >&6
 
9286
else
 
9287
  lt_cv_prog_compiler_c_o=no
 
9288
   $RM -r conftest 2>/dev/null
 
9289
   mkdir conftest
 
9290
   cd conftest
 
9291
   mkdir out
 
9292
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9293
 
 
9294
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9295
   # Insert the option either (1) after the last *FLAGS variable, or
 
9296
   # (2) before a word containing "conftest.", or (3) at the end.
 
9297
   # Note that $ac_compile itself does not contain backslashes and begins
 
9298
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9299
   lt_compile=`echo "$ac_compile" | $SED \
 
9300
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9301
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9302
   -e 's:$: $lt_compiler_flag:'`
 
9303
   (eval echo "\"\$as_me:9303: $lt_compile\"" >&5)
 
9304
   (eval "$lt_compile" 2>out/conftest.err)
 
9305
   ac_status=$?
 
9306
   cat out/conftest.err >&5
 
9307
   echo "$as_me:9307: \$? = $ac_status" >&5
 
9308
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9309
   then
 
9310
     # The compiler can only warn and ignore the option if not recognized
 
9311
     # So say no if there are warnings
 
9312
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9313
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9314
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9315
       lt_cv_prog_compiler_c_o=yes
 
9316
     fi
 
9317
   fi
 
9318
   chmod u+w . 2>&5
 
9319
   $RM conftest*
 
9320
   # SGI C++ compiler will create directory out/ii_files/ for
 
9321
   # template instantiation
 
9322
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9323
   $RM out/* && rmdir out
 
9324
   cd ..
 
9325
   $RM -r conftest
 
9326
   $RM conftest*
 
9327
 
 
9328
fi
 
9329
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9330
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9331
 
 
9332
 
 
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9338
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9339
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9340
  $as_echo_n "(cached) " >&6
 
9341
else
 
9342
  lt_cv_prog_compiler_c_o=no
 
9343
   $RM -r conftest 2>/dev/null
 
9344
   mkdir conftest
 
9345
   cd conftest
 
9346
   mkdir out
 
9347
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9348
 
 
9349
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9350
   # Insert the option either (1) after the last *FLAGS variable, or
 
9351
   # (2) before a word containing "conftest.", or (3) at the end.
 
9352
   # Note that $ac_compile itself does not contain backslashes and begins
 
9353
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9354
   lt_compile=`echo "$ac_compile" | $SED \
 
9355
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9356
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9357
   -e 's:$: $lt_compiler_flag:'`
 
9358
   (eval echo "\"\$as_me:9358: $lt_compile\"" >&5)
 
9359
   (eval "$lt_compile" 2>out/conftest.err)
 
9360
   ac_status=$?
 
9361
   cat out/conftest.err >&5
 
9362
   echo "$as_me:9362: \$? = $ac_status" >&5
 
9363
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9364
   then
 
9365
     # The compiler can only warn and ignore the option if not recognized
 
9366
     # So say no if there are warnings
 
9367
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9368
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9369
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9370
       lt_cv_prog_compiler_c_o=yes
 
9371
     fi
 
9372
   fi
 
9373
   chmod u+w . 2>&5
 
9374
   $RM conftest*
 
9375
   # SGI C++ compiler will create directory out/ii_files/ for
 
9376
   # template instantiation
 
9377
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9378
   $RM out/* && rmdir out
 
9379
   cd ..
 
9380
   $RM -r conftest
 
9381
   $RM conftest*
 
9382
 
 
9383
fi
 
9384
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9385
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9386
 
 
9387
 
9188
9388
 
9189
9389
 
9190
9390
hard_links="nottested"
9191
9391
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9192
9392
  # do not overwrite the value of need_locks provided by the user
9193
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9194
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9393
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9394
$as_echo_n "checking if we can lock with hard links... " >&6; }
9195
9395
  hard_links=yes
9196
 
  $rm conftest*
 
9396
  $RM conftest*
9197
9397
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9198
9398
  touch conftest.a
9199
9399
  ln conftest.a conftest.b 2>&5 || hard_links=no
9200
9400
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9201
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
9202
 
echo "${ECHO_T}$hard_links" >&6; }
 
9401
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9402
$as_echo "$hard_links" >&6; }
9203
9403
  if test "$hard_links" = no; then
9204
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9205
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9404
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9405
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9206
9406
    need_locks=warn
9207
9407
  fi
9208
9408
else
9209
9409
  need_locks=no
9210
9410
fi
9211
9411
 
9212
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9213
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9412
 
 
9413
 
 
9414
 
 
9415
 
 
9416
 
 
9417
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9418
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9214
9419
 
9215
9420
  runpath_var=
9216
9421
  allow_undefined_flag=
9217
 
  enable_shared_with_static_runtimes=no
 
9422
  always_export_symbols=no
9218
9423
  archive_cmds=
9219
9424
  archive_expsym_cmds=
9220
 
  old_archive_From_new_cmds=
9221
 
  old_archive_from_expsyms_cmds=
 
9425
  compiler_needs_object=no
 
9426
  enable_shared_with_static_runtimes=no
9222
9427
  export_dynamic_flag_spec=
9223
 
  whole_archive_flag_spec=
9224
 
  thread_safe_flag_spec=
 
9428
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9429
  hardcode_automatic=no
 
9430
  hardcode_direct=no
 
9431
  hardcode_direct_absolute=no
9225
9432
  hardcode_libdir_flag_spec=
9226
9433
  hardcode_libdir_flag_spec_ld=
9227
9434
  hardcode_libdir_separator=
9228
 
  hardcode_direct=no
9229
9435
  hardcode_minus_L=no
9230
9436
  hardcode_shlibpath_var=unsupported
 
9437
  inherit_rpath=no
9231
9438
  link_all_deplibs=unknown
9232
 
  hardcode_automatic=no
9233
9439
  module_cmds=
9234
9440
  module_expsym_cmds=
9235
 
  always_export_symbols=no
9236
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9441
  old_archive_from_new_cmds=
 
9442
  old_archive_from_expsyms_cmds=
 
9443
  thread_safe_flag_spec=
 
9444
  whole_archive_flag_spec=
9237
9445
  # include_expsyms should be a list of space-separated symbols to be *always*
9238
9446
  # included in the symbol list
9239
9447
  include_expsyms=
9249
9457
  # preloaded symbol tables.
9250
9458
  # Exclude shared library initialization/finalization symbols.
9251
9459
  extract_expsyms_cmds=
9252
 
  # Just being paranoid about ensuring that cc_basename is set.
9253
 
  for cc_temp in $compiler""; do
9254
 
  case $cc_temp in
9255
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9256
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9257
 
    \-*) ;;
9258
 
    *) break;;
9259
 
  esac
9260
 
done
9261
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9262
9460
 
9263
9461
  case $host_os in
9264
 
  cygwin* | mingw* | pw32*)
 
9462
  cygwin* | mingw* | pw32* | cegcc*)
9265
9463
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9266
9464
    # When not using gcc, we currently assume that we are using
9267
9465
    # Microsoft Visual C++.
9287
9485
    # are reset later if shared libraries are not supported. Putting them
9288
9486
    # here allows them to be overridden if necessary.
9289
9487
    runpath_var=LD_RUN_PATH
9290
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9488
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9291
9489
    export_dynamic_flag_spec='${wl}--export-dynamic'
9292
9490
    # ancient GNU ld didn't support --whole-archive et. al.
9293
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9294
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9295
 
      else
9296
 
        whole_archive_flag_spec=
 
9491
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9492
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9493
    else
 
9494
      whole_archive_flag_spec=
9297
9495
    fi
9298
9496
    supports_anon_versioning=no
9299
 
    case `$LD -v 2>/dev/null` in
 
9497
    case `$LD -v 2>&1` in
9300
9498
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9301
9499
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9302
9500
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9310
9508
      # On AIX/PPC, the GNU linker is very broken
9311
9509
      if test "$host_cpu" != ia64; then
9312
9510
        ld_shlibs=no
9313
 
        cat <<EOF 1>&2
 
9511
        cat <<_LT_EOF 1>&2
9314
9512
 
9315
9513
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9316
9514
*** to be unable to reliably create shared libraries on AIX.
9318
9516
*** really care for shared libraries, you may want to modify your PATH
9319
9517
*** so that a non-GNU linker is found, and then restart.
9320
9518
 
9321
 
EOF
 
9519
_LT_EOF
9322
9520
      fi
9323
9521
      ;;
9324
9522
 
9325
9523
    amigaos*)
9326
 
      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)'
9327
 
      hardcode_libdir_flag_spec='-L$libdir'
9328
 
      hardcode_minus_L=yes
9329
 
 
9330
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9331
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9332
 
      # to version 4, is to share data among multiple programs linked
9333
 
      # with the same dynamic library.  Since this doesn't match the
9334
 
      # behavior of shared libraries on other platforms, we can't use
9335
 
      # them.
9336
 
      ld_shlibs=no
 
9524
      case $host_cpu in
 
9525
      powerpc)
 
9526
            # see comment about AmigaOS4 .so support
 
9527
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9528
            archive_expsym_cmds=''
 
9529
        ;;
 
9530
      m68k)
 
9531
            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)'
 
9532
            hardcode_libdir_flag_spec='-L$libdir'
 
9533
            hardcode_minus_L=yes
 
9534
        ;;
 
9535
      esac
9337
9536
      ;;
9338
9537
 
9339
9538
    beos*)
9340
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9539
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9341
9540
        allow_undefined_flag=unsupported
9342
9541
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9343
9542
        # support --undefined.  This deserves some investigation.  FIXME
9347
9546
      fi
9348
9547
      ;;
9349
9548
 
9350
 
    cygwin* | mingw* | pw32*)
9351
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9549
    cygwin* | mingw* | pw32* | cegcc*)
 
9550
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9352
9551
      # as there is no search path for DLLs.
9353
9552
      hardcode_libdir_flag_spec='-L$libdir'
9354
9553
      allow_undefined_flag=unsupported
9355
9554
      always_export_symbols=no
9356
9555
      enable_shared_with_static_runtimes=yes
9357
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9556
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9358
9557
 
9359
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9558
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9360
9559
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9361
9560
        # If the export-symbols file already is a .def file (1st line
9362
9561
        # is EXPORTS), use it as is; otherwise, prepend...
9387
9586
      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'
9388
9587
      ;;
9389
9588
 
9390
 
    gnu* | linux* | k*bsd*-gnu)
9391
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9589
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9590
      tmp_diet=no
 
9591
      if test "$host_os" = linux-dietlibc; then
 
9592
        case $cc_basename in
 
9593
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9594
        esac
 
9595
      fi
 
9596
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9597
         && test "$tmp_diet" = no
 
9598
      then
9392
9599
        tmp_addflag=
 
9600
        tmp_sharedflag='-shared'
9393
9601
        case $cc_basename,$host_cpu in
9394
 
        pgcc*)                          # Portland Group C compiler
9395
 
          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'
 
9602
        pgcc*)                          # Portland Group C compiler
 
9603
          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'
9396
9604
          tmp_addflag=' $pic_flag'
9397
9605
          ;;
9398
9606
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9399
 
          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'
 
9607
          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'
9400
9608
          tmp_addflag=' $pic_flag -Mnomain' ;;
9401
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9609
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9402
9610
          tmp_addflag=' -i_dynamic' ;;
9403
9611
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9404
9612
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9405
9613
        ifc* | ifort*)                  # Intel Fortran compiler
9406
9614
          tmp_addflag=' -nofor_main' ;;
 
9615
        lf95*)                          # Lahey Fortran 8.1
 
9616
          whole_archive_flag_spec=
 
9617
          tmp_sharedflag='--shared' ;;
 
9618
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9619
          tmp_sharedflag='-qmkshrobj'
 
9620
          tmp_addflag= ;;
9407
9621
        esac
9408
9622
        case `$CC -V 2>&1 | sed 5q` in
9409
9623
        *Sun\ C*)                       # Sun C 5.9
9410
 
          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'
 
9624
          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'
 
9625
          compiler_needs_object=yes
9411
9626
          tmp_sharedflag='-G' ;;
9412
9627
        *Sun\ F*)                       # Sun Fortran 8.3
9413
9628
          tmp_sharedflag='-G' ;;
9414
 
        *)
9415
 
          tmp_sharedflag='-shared' ;;
9416
9629
        esac
9417
9630
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418
9631
 
9419
 
        if test $supports_anon_versioning = yes; then
9420
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9421
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9422
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9423
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9424
 
        fi
9425
 
        link_all_deplibs=no
 
9632
        if test "x$supports_anon_versioning" = xyes; then
 
9633
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9634
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9635
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9636
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9637
        fi
 
9638
 
 
9639
        case $cc_basename in
 
9640
        xlf*)
 
9641
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9642
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9643
          hardcode_libdir_flag_spec=
 
9644
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9645
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9646
          if test "x$supports_anon_versioning" = xyes; then
 
9647
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9648
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9649
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9650
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9651
          fi
 
9652
          ;;
 
9653
        esac
9426
9654
      else
9427
 
        ld_shlibs=no
 
9655
        ld_shlibs=no
9428
9656
      fi
9429
9657
      ;;
9430
9658
 
9431
9659
    netbsd* | netbsdelf*-gnu)
9432
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9660
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9433
9661
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9434
9662
        wlarc=
9435
9663
      else
9439
9667
      ;;
9440
9668
 
9441
9669
    solaris*)
9442
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9670
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9443
9671
        ld_shlibs=no
9444
 
        cat <<EOF 1>&2
 
9672
        cat <<_LT_EOF 1>&2
9445
9673
 
9446
9674
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9447
9675
*** create shared libraries on Solaris systems.  Therefore, libtool
9450
9678
*** your PATH or compiler configuration so that the native linker is
9451
9679
*** used, and then restart.
9452
9680
 
9453
 
EOF
9454
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9681
_LT_EOF
 
9682
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9455
9683
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9456
9684
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9457
9685
      else
9475
9703
_LT_EOF
9476
9704
        ;;
9477
9705
        *)
9478
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9479
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9480
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9481
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9706
          # For security reasons, it is highly recommended that you always
 
9707
          # use absolute paths for naming shared libraries, and exclude the
 
9708
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9709
          # requires that you compile everything twice, which is a pain.
 
9710
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9711
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9712
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9713
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482
9714
          else
9483
9715
            ld_shlibs=no
9484
9716
          fi
9494
9726
      ;;
9495
9727
 
9496
9728
    *)
9497
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9729
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498
9730
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499
9731
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500
9732
      else
9536
9768
      else
9537
9769
        # If we're using GNU nm, then we don't want the "-C" option.
9538
9770
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9539
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9540
 
          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'
 
9771
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9772
          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'
9541
9773
        else
9542
 
          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'
 
9774
          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'
9543
9775
        fi
9544
9776
        aix_use_runtimelinking=no
9545
9777
 
9548
9780
        # need to do runtime linking.
9549
9781
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550
9782
          for ld_flag in $LDFLAGS; do
9551
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552
 
            aix_use_runtimelinking=yes
9553
 
            break
9554
 
          fi
 
9783
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9784
            aix_use_runtimelinking=yes
 
9785
            break
 
9786
          fi
9555
9787
          done
9556
9788
          ;;
9557
9789
        esac
9568
9800
 
9569
9801
      archive_cmds=''
9570
9802
      hardcode_direct=yes
 
9803
      hardcode_direct_absolute=yes
9571
9804
      hardcode_libdir_separator=':'
9572
9805
      link_all_deplibs=yes
 
9806
      file_list_spec='${wl}-f,'
9573
9807
 
9574
9808
      if test "$GCC" = yes; then
9575
9809
        case $host_os in aix4.[012]|aix4.[012].*)
9576
9810
        # We only want to do this on AIX 4.2 and lower, the check
9577
9811
        # below for broken collect2 doesn't work under 4.3+
9578
9812
          collect2name=`${CC} -print-prog-name=collect2`
9579
 
          if test -f "$collect2name" && \
9580
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9813
          if test -f "$collect2name" &&
 
9814
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9581
9815
          then
9582
 
          # We have reworked collect2
9583
 
          :
 
9816
          # We have reworked collect2
 
9817
          :
9584
9818
          else
9585
 
          # We have old collect2
9586
 
          hardcode_direct=unsupported
9587
 
          # It fails to find uninstalled libraries when the uninstalled
9588
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9589
 
          # to unsupported forces relinking
9590
 
          hardcode_minus_L=yes
9591
 
          hardcode_libdir_flag_spec='-L$libdir'
9592
 
          hardcode_libdir_separator=
 
9819
          # We have old collect2
 
9820
          hardcode_direct=unsupported
 
9821
          # It fails to find uninstalled libraries when the uninstalled
 
9822
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9823
          # to unsupported forces relinking
 
9824
          hardcode_minus_L=yes
 
9825
          hardcode_libdir_flag_spec='-L$libdir'
 
9826
          hardcode_libdir_separator=
9593
9827
          fi
9594
9828
          ;;
9595
9829
        esac
9597
9831
        if test "$aix_use_runtimelinking" = yes; then
9598
9832
          shared_flag="$shared_flag "'${wl}-G'
9599
9833
        fi
 
9834
        link_all_deplibs=no
9600
9835
      else
9601
9836
        # not using gcc
9602
9837
        if test "$host_cpu" = ia64; then
9603
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9604
 
        # chokes on -Wl,-G. The following line is correct:
 
9838
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9839
        # chokes on -Wl,-G. The following line is correct:
9605
9840
          shared_flag='-G'
9606
9841
        else
9607
9842
          if test "$aix_use_runtimelinking" = yes; then
9612
9847
        fi
9613
9848
      fi
9614
9849
 
 
9850
      export_dynamic_flag_spec='${wl}-bexpall'
9615
9851
      # It seems that -bexpall does not export symbols beginning with
9616
9852
      # underscore (_), so it is better to generate a list of symbols to export.
9617
9853
      always_export_symbols=yes
9619
9855
        # Warning - without using the other runtime loading flags (-brtl),
9620
9856
        # -berok will link without error, but may produce a broken library.
9621
9857
        allow_undefined_flag='-berok'
9622
 
       # Determine the default libpath from the value encoded in an empty executable.
9623
 
       cat >conftest.$ac_ext <<_ACEOF
 
9858
        # Determine the default libpath from the value encoded in an
 
9859
        # empty executable.
 
9860
        cat >conftest.$ac_ext <<_ACEOF
9624
9861
/* confdefs.h.  */
9625
9862
_ACEOF
9626
9863
cat confdefs.h >>conftest.$ac_ext
9641
9878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9642
9879
  *) ac_try_echo=$ac_try;;
9643
9880
esac
9644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9881
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9882
$as_echo "$ac_try_echo") >&5
9645
9883
  (eval "$ac_link") 2>conftest.er1
9646
9884
  ac_status=$?
9647
9885
  grep -v '^ *+' conftest.er1 >conftest.err
9648
9886
  rm -f conftest.er1
9649
9887
  cat conftest.err >&5
9650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9888
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651
9889
  (exit $ac_status); } && {
9652
9890
         test -z "$ac_c_werror_flag" ||
9653
9891
         test ! -s conftest.err
9654
 
       } && test -s conftest$ac_exeext &&
9655
 
       $as_test_x conftest$ac_exeext; then
 
9892
       } && test -s conftest$ac_exeext && {
 
9893
         test "$cross_compiling" = yes ||
 
9894
         $as_test_x conftest$ac_exeext
 
9895
       }; then
9656
9896
 
9657
9897
lt_aix_libpath_sed='
9658
9898
    /Import File Strings/,/^$/ {
9667
9907
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9668
9908
fi
9669
9909
else
9670
 
  echo "$as_me: failed program was:" >&5
 
9910
  $as_echo "$as_me: failed program was:" >&5
9671
9911
sed 's/^/| /' conftest.$ac_ext >&5
9672
9912
 
9673
9913
 
9674
9914
fi
9675
9915
 
 
9916
rm -rf conftest.dSYM
9676
9917
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9677
9918
      conftest$ac_exeext conftest.$ac_ext
9678
9919
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9679
9920
 
9680
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9681
 
        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"
9682
 
       else
 
9921
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9922
        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"
 
9923
      else
9683
9924
        if test "$host_cpu" = ia64; then
9684
9925
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9685
9926
          allow_undefined_flag="-z nodefs"
9686
9927
          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"
9687
9928
        else
9688
 
         # Determine the default libpath from the value encoded in an empty executable.
 
9929
         # Determine the default libpath from the value encoded in an
 
9930
         # empty executable.
9689
9931
         cat >conftest.$ac_ext <<_ACEOF
9690
9932
/* confdefs.h.  */
9691
9933
_ACEOF
9707
9949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9708
9950
  *) ac_try_echo=$ac_try;;
9709
9951
esac
9710
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9952
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9953
$as_echo "$ac_try_echo") >&5
9711
9954
  (eval "$ac_link") 2>conftest.er1
9712
9955
  ac_status=$?
9713
9956
  grep -v '^ *+' conftest.er1 >conftest.err
9714
9957
  rm -f conftest.er1
9715
9958
  cat conftest.err >&5
9716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9959
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717
9960
  (exit $ac_status); } && {
9718
9961
         test -z "$ac_c_werror_flag" ||
9719
9962
         test ! -s conftest.err
9720
 
       } && test -s conftest$ac_exeext &&
9721
 
       $as_test_x conftest$ac_exeext; then
 
9963
       } && test -s conftest$ac_exeext && {
 
9964
         test "$cross_compiling" = yes ||
 
9965
         $as_test_x conftest$ac_exeext
 
9966
       }; then
9722
9967
 
9723
9968
lt_aix_libpath_sed='
9724
9969
    /Import File Strings/,/^$/ {
9733
9978
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9734
9979
fi
9735
9980
else
9736
 
  echo "$as_me: failed program was:" >&5
 
9981
  $as_echo "$as_me: failed program was:" >&5
9737
9982
sed 's/^/| /' conftest.$ac_ext >&5
9738
9983
 
9739
9984
 
9740
9985
fi
9741
9986
 
 
9987
rm -rf conftest.dSYM
9742
9988
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9743
9989
      conftest$ac_exeext conftest.$ac_ext
9744
9990
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9758
10004
      ;;
9759
10005
 
9760
10006
    amigaos*)
9761
 
      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)'
9762
 
      hardcode_libdir_flag_spec='-L$libdir'
9763
 
      hardcode_minus_L=yes
9764
 
      # see comment about different semantics on the GNU ld section
9765
 
      ld_shlibs=no
 
10007
      case $host_cpu in
 
10008
      powerpc)
 
10009
            # see comment about AmigaOS4 .so support
 
10010
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10011
            archive_expsym_cmds=''
 
10012
        ;;
 
10013
      m68k)
 
10014
            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)'
 
10015
            hardcode_libdir_flag_spec='-L$libdir'
 
10016
            hardcode_minus_L=yes
 
10017
        ;;
 
10018
      esac
9766
10019
      ;;
9767
10020
 
9768
10021
    bsdi[45]*)
9769
10022
      export_dynamic_flag_spec=-rdynamic
9770
10023
      ;;
9771
10024
 
9772
 
    cygwin* | mingw* | pw32*)
 
10025
    cygwin* | mingw* | pw32* | cegcc*)
9773
10026
      # When not using gcc, we currently assume that we are using
9774
10027
      # Microsoft Visual C++.
9775
10028
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9781
10034
      # Tell ltmain to make .dll files, not .so files.
9782
10035
      shrext_cmds=".dll"
9783
10036
      # FIXME: Setting linknames here is a bad hack.
9784
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10037
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9785
10038
      # The linker will automatically build a .lib file if we build a DLL.
9786
 
      old_archive_From_new_cmds='true'
 
10039
      old_archive_from_new_cmds='true'
9787
10040
      # FIXME: Should let the user specify the lib program.
9788
10041
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9789
10042
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9791
10044
      ;;
9792
10045
 
9793
10046
    darwin* | rhapsody*)
9794
 
      case $host_os in
9795
 
        rhapsody* | darwin1.[012])
9796
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9797
 
         ;;
9798
 
       *) # Darwin 1.3 on
9799
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9800
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9801
 
         else
9802
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9803
 
             10.[012])
9804
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9805
 
               ;;
9806
 
             10.*)
9807
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9808
 
               ;;
9809
 
           esac
9810
 
         fi
9811
 
         ;;
9812
 
      esac
9813
 
      archive_cmds_need_lc=no
9814
 
      hardcode_direct=no
9815
 
      hardcode_automatic=yes
9816
 
      hardcode_shlibpath_var=unsupported
9817
 
      whole_archive_flag_spec=''
9818
 
      link_all_deplibs=yes
9819
 
    if test "$GCC" = yes ; then
9820
 
        output_verbose_link_cmd='echo'
9821
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9822
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9823
 
        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}"
9824
 
        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}"
9825
 
    else
9826
 
      case $cc_basename in
9827
 
        xlc*)
9828
 
         output_verbose_link_cmd='echo'
9829
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9830
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9831
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9832
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9833
 
          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}'
9834
 
          ;;
9835
 
       *)
9836
 
         ld_shlibs=no
9837
 
          ;;
9838
 
      esac
9839
 
    fi
 
10047
 
 
10048
 
 
10049
  archive_cmds_need_lc=no
 
10050
  hardcode_direct=no
 
10051
  hardcode_automatic=yes
 
10052
  hardcode_shlibpath_var=unsupported
 
10053
  whole_archive_flag_spec=''
 
10054
  link_all_deplibs=yes
 
10055
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10056
  case $cc_basename in
 
10057
     ifort*) _lt_dar_can_shared=yes ;;
 
10058
     *) _lt_dar_can_shared=$GCC ;;
 
10059
  esac
 
10060
  if test "$_lt_dar_can_shared" = "yes"; then
 
10061
    output_verbose_link_cmd=echo
 
10062
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10063
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10064
    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}"
 
10065
    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}"
 
10066
 
 
10067
  else
 
10068
  ld_shlibs=no
 
10069
  fi
 
10070
 
9840
10071
      ;;
9841
10072
 
9842
10073
    dgux*)
9878
10109
 
9879
10110
    hpux9*)
9880
10111
      if test "$GCC" = yes; then
9881
 
        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'
 
10112
        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'
9882
10113
      else
9883
 
        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'
 
10114
        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'
9884
10115
      fi
9885
10116
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9886
10117
      hardcode_libdir_separator=:
9900
10131
      fi
9901
10132
      if test "$with_gnu_ld" = no; then
9902
10133
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10134
        hardcode_libdir_flag_spec_ld='+b $libdir'
9903
10135
        hardcode_libdir_separator=:
9904
 
 
9905
10136
        hardcode_direct=yes
 
10137
        hardcode_direct_absolute=yes
9906
10138
        export_dynamic_flag_spec='${wl}-E'
9907
 
 
9908
10139
        # hardcode_minus_L: Not really in the search PATH,
9909
10140
        # but as the default location of the library.
9910
10141
        hardcode_minus_L=yes
9918
10149
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9919
10150
          ;;
9920
10151
        ia64*)
9921
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10152
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9922
10153
          ;;
9923
10154
        *)
9924
10155
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9943
10174
 
9944
10175
        case $host_cpu in
9945
10176
        hppa*64*|ia64*)
9946
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9947
10177
          hardcode_direct=no
9948
10178
          hardcode_shlibpath_var=no
9949
10179
          ;;
9950
10180
        *)
9951
10181
          hardcode_direct=yes
 
10182
          hardcode_direct_absolute=yes
9952
10183
          export_dynamic_flag_spec='${wl}-E'
9953
10184
 
9954
10185
          # hardcode_minus_L: Not really in the search PATH,
9961
10192
 
9962
10193
    irix5* | irix6* | nonstopux*)
9963
10194
      if test "$GCC" = yes; then
9964
 
        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'
 
10195
        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'
 
10196
        # Try to use the -exported_symbol ld option, if it does not
 
10197
        # work, assume that -exports_file does not work either and
 
10198
        # implicitly export all symbols.
 
10199
        save_LDFLAGS="$LDFLAGS"
 
10200
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10201
        cat >conftest.$ac_ext <<_ACEOF
 
10202
int foo(void) {}
 
10203
_ACEOF
 
10204
rm -f conftest.$ac_objext conftest$ac_exeext
 
10205
if { (ac_try="$ac_link"
 
10206
case "(($ac_try" in
 
10207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10208
  *) ac_try_echo=$ac_try;;
 
10209
esac
 
10210
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10211
$as_echo "$ac_try_echo") >&5
 
10212
  (eval "$ac_link") 2>conftest.er1
 
10213
  ac_status=$?
 
10214
  grep -v '^ *+' conftest.er1 >conftest.err
 
10215
  rm -f conftest.er1
 
10216
  cat conftest.err >&5
 
10217
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10218
  (exit $ac_status); } && {
 
10219
         test -z "$ac_c_werror_flag" ||
 
10220
         test ! -s conftest.err
 
10221
       } && test -s conftest$ac_exeext && {
 
10222
         test "$cross_compiling" = yes ||
 
10223
         $as_test_x conftest$ac_exeext
 
10224
       }; then
 
10225
  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'
 
10226
 
 
10227
else
 
10228
  $as_echo "$as_me: failed program was:" >&5
 
10229
sed 's/^/| /' conftest.$ac_ext >&5
 
10230
 
 
10231
 
 
10232
fi
 
10233
 
 
10234
rm -rf conftest.dSYM
 
10235
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10236
      conftest$ac_exeext conftest.$ac_ext
 
10237
        LDFLAGS="$save_LDFLAGS"
9965
10238
      else
9966
 
        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'
9967
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10239
        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'
 
10240
        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'
9968
10241
      fi
 
10242
      archive_cmds_need_lc='no'
9969
10243
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9970
10244
      hardcode_libdir_separator=:
 
10245
      inherit_rpath=yes
9971
10246
      link_all_deplibs=yes
9972
10247
      ;;
9973
10248
 
9974
10249
    netbsd* | netbsdelf*-gnu)
9975
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10250
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9976
10251
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9977
10252
      else
9978
10253
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9990
10265
      hardcode_shlibpath_var=no
9991
10266
      ;;
9992
10267
 
 
10268
    *nto* | *qnx*)
 
10269
      ;;
 
10270
 
9993
10271
    openbsd*)
9994
10272
      if test -f /usr/libexec/ld.so; then
9995
10273
        hardcode_direct=yes
9996
10274
        hardcode_shlibpath_var=no
9997
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10275
        hardcode_direct_absolute=yes
 
10276
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9998
10277
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9999
10278
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10000
10279
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10010
10289
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10011
10290
             ;;
10012
10291
          esac
10013
 
        fi
 
10292
        fi
10014
10293
      else
10015
10294
        ld_shlibs=no
10016
10295
      fi
10020
10299
      hardcode_libdir_flag_spec='-L$libdir'
10021
10300
      hardcode_minus_L=yes
10022
10301
      allow_undefined_flag=unsupported
10023
 
      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'
10024
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10302
      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'
 
10303
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10025
10304
      ;;
10026
10305
 
10027
10306
    osf3*)
10028
10307
      if test "$GCC" = yes; then
10029
10308
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10030
 
        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'
 
10309
        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'
10031
10310
      else
10032
10311
        allow_undefined_flag=' -expect_unresolved \*'
10033
 
        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'
 
10312
        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'
10034
10313
      fi
 
10314
      archive_cmds_need_lc='no'
10035
10315
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10036
10316
      hardcode_libdir_separator=:
10037
10317
      ;;
10039
10319
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10040
10320
      if test "$GCC" = yes; then
10041
10321
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10042
 
        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'
 
10322
        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'
10043
10323
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10044
10324
      else
10045
10325
        allow_undefined_flag=' -expect_unresolved \*'
10046
 
        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'
10047
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10048
 
        $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'
 
10326
        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'
 
10327
        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~
 
10328
        $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'
10049
10329
 
10050
10330
        # Both c and cxx compiler support -rpath directly
10051
10331
        hardcode_libdir_flag_spec='-rpath $libdir'
10052
10332
      fi
 
10333
      archive_cmds_need_lc='no'
10053
10334
      hardcode_libdir_separator=:
10054
10335
      ;;
10055
10336
 
10056
10337
    solaris*)
10057
 
      no_undefined_flag=' -z text'
 
10338
      no_undefined_flag=' -z defs'
10058
10339
      if test "$GCC" = yes; then
10059
10340
        wlarc='${wl}'
10060
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10061
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10062
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10341
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10342
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10343
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10063
10344
      else
10064
 
        wlarc=''
10065
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10067
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10345
        case `$CC -V 2>&1` in
 
10346
        *"Compilers 5.0"*)
 
10347
          wlarc=''
 
10348
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10349
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10350
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10351
          ;;
 
10352
        *)
 
10353
          wlarc='${wl}'
 
10354
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10355
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10356
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10357
          ;;
 
10358
        esac
10068
10359
      fi
10069
10360
      hardcode_libdir_flag_spec='-R$libdir'
10070
10361
      hardcode_shlibpath_var=no
10074
10365
        # The compiler driver will combine and reorder linker options,
10075
10366
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10076
10367
        # but is careful enough not to reorder.
10077
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10368
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10078
10369
        if test "$GCC" = yes; then
10079
10370
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10080
10371
        else
10163
10454
      allow_undefined_flag='${wl}-z,nodefs'
10164
10455
      archive_cmds_need_lc=no
10165
10456
      hardcode_shlibpath_var=no
10166
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10457
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10167
10458
      hardcode_libdir_separator=':'
10168
10459
      link_all_deplibs=yes
10169
10460
      export_dynamic_flag_spec='${wl}-Bexport'
10170
10461
      runpath_var='LD_RUN_PATH'
10171
10462
 
10172
10463
      if test "$GCC" = yes; then
10173
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10174
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10464
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10465
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175
10466
      else
10176
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10177
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10467
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10468
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178
10469
      fi
10179
10470
      ;;
10180
10471
 
10188
10479
      ld_shlibs=no
10189
10480
      ;;
10190
10481
    esac
 
10482
 
 
10483
    if test x$host_vendor = xsni; then
 
10484
      case $host in
 
10485
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10486
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10487
        ;;
 
10488
      esac
 
10489
    fi
10191
10490
  fi
10192
10491
 
10193
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10194
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10492
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10493
$as_echo "$ld_shlibs" >&6; }
10195
10494
test "$ld_shlibs" = no && can_build_shared=no
10196
10495
 
 
10496
with_gnu_ld=$with_gnu_ld
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
10197
10512
#
10198
10513
# Do we need to explicitly link libc?
10199
10514
#
10211
10526
      # Test whether the compiler implicitly links with -lc since on some
10212
10527
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10213
10528
      # to ld, don't add -lc before -lgcc.
10214
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10215
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10216
 
      $rm conftest*
 
10529
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10530
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10531
      $RM conftest*
10217
10532
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10218
10533
 
10219
10534
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10220
10535
  (eval $ac_compile) 2>&5
10221
10536
  ac_status=$?
10222
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223
10538
  (exit $ac_status); } 2>conftest.err; then
10224
10539
        soname=conftest
10225
10540
        lib=conftest
10234
10549
        libname=conftest
10235
10550
        lt_save_allow_undefined_flag=$allow_undefined_flag
10236
10551
        allow_undefined_flag=
10237
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10238
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10552
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10553
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10239
10554
  ac_status=$?
10240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10555
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241
10556
  (exit $ac_status); }
10242
10557
        then
10243
10558
          archive_cmds_need_lc=no
10248
10563
      else
10249
10564
        cat conftest.err 1>&5
10250
10565
      fi
10251
 
      $rm conftest*
10252
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10253
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10566
      $RM conftest*
 
10567
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10568
$as_echo "$archive_cmds_need_lc" >&6; }
10254
10569
      ;;
10255
10570
    esac
10256
10571
  fi
10257
10572
  ;;
10258
10573
esac
10259
10574
 
10260
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10261
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10262
 
library_names_spec=
10263
 
libname_spec='lib$name'
10264
 
soname_spec=
10265
 
shrext_cmds=".so"
10266
 
postinstall_cmds=
10267
 
postuninstall_cmds=
10268
 
finish_cmds=
10269
 
finish_eval=
10270
 
shlibpath_var=
10271
 
shlibpath_overrides_runpath=unknown
10272
 
version_type=none
10273
 
dynamic_linker="$host_os ld.so"
10274
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
 
10589
 
 
10590
 
 
10591
 
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
 
10607
 
 
10608
 
 
10609
 
 
10610
 
 
10611
 
 
10612
 
 
10613
 
 
10614
 
 
10615
 
 
10616
 
 
10617
 
 
10618
 
 
10619
 
 
10620
 
 
10621
 
 
10622
 
 
10623
 
 
10624
 
 
10625
 
 
10626
 
 
10627
 
 
10628
 
 
10629
 
 
10630
 
 
10631
 
 
10632
 
 
10633
 
 
10634
 
 
10635
 
 
10636
 
 
10637
 
 
10638
 
 
10639
 
 
10640
 
 
10641
 
 
10642
 
 
10643
 
 
10644
 
 
10645
 
 
10646
 
 
10647
 
 
10648
 
 
10649
 
 
10650
 
 
10651
 
 
10652
 
 
10653
 
 
10654
 
 
10655
 
 
10656
 
 
10657
 
 
10658
 
 
10659
 
 
10660
 
 
10661
 
 
10662
 
 
10663
 
 
10664
 
 
10665
 
 
10666
 
 
10667
 
 
10668
 
 
10669
 
 
10670
 
 
10671
 
 
10672
 
 
10673
 
 
10674
 
 
10675
 
 
10676
 
 
10677
 
 
10678
 
 
10679
 
 
10680
 
 
10681
 
 
10682
 
 
10683
 
 
10684
 
 
10685
 
 
10686
 
 
10687
 
 
10688
 
 
10689
 
 
10690
 
 
10691
 
 
10692
 
 
10693
 
 
10694
 
 
10695
 
 
10696
 
 
10697
 
 
10698
 
 
10699
 
 
10700
 
 
10701
 
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
 
 
10708
 
 
10709
 
 
10710
 
 
10711
 
 
10712
 
 
10713
 
 
10714
 
 
10715
 
 
10716
 
 
10717
 
 
10718
 
 
10719
 
 
10720
 
 
10721
 
 
10722
 
 
10723
 
 
10724
 
 
10725
 
 
10726
 
 
10727
 
 
10728
 
 
10729
 
 
10730
 
 
10731
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10732
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10275
10733
 
10276
10734
if test "$GCC" = yes; then
10277
10735
  case $host_os in
10279
10737
    *) lt_awk_arg="/^libraries:/" ;;
10280
10738
  esac
10281
10739
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10282
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
10740
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10283
10741
    # if the path contains ";" then we assume it to be the separator
10284
10742
    # otherwise default to the standard path separator (i.e. ":") - it is
10285
10743
    # assumed that no part of a normal pathname contains ";" but that should
10286
10744
    # okay in the real world where ";" in dirpaths is itself problematic.
10287
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10745
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10288
10746
  else
10289
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10747
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10290
10748
  fi
10291
10749
  # Ok, now we have the path, separated by spaces, we can step through it
10292
10750
  # and add multilib dir if necessary.
10300
10758
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10301
10759
    fi
10302
10760
  done
10303
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10761
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10304
10762
BEGIN {RS=" "; FS="/|\n";} {
10305
10763
  lt_foo="";
10306
10764
  lt_count=0;
10320
10778
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10321
10779
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10322
10780
}'`
10323
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
10781
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10324
10782
else
10325
10783
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10326
10784
fi
 
10785
library_names_spec=
 
10786
libname_spec='lib$name'
 
10787
soname_spec=
 
10788
shrext_cmds=".so"
 
10789
postinstall_cmds=
 
10790
postuninstall_cmds=
 
10791
finish_cmds=
 
10792
finish_eval=
 
10793
shlibpath_var=
 
10794
shlibpath_overrides_runpath=unknown
 
10795
version_type=none
 
10796
dynamic_linker="$host_os ld.so"
 
10797
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10327
10798
need_lib_prefix=unknown
10328
10799
hardcode_into_libs=no
10329
10800
 
10360
10831
      aix4 | aix4.[01] | aix4.[01].*)
10361
10832
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10362
10833
           echo ' yes '
10363
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10834
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10364
10835
        :
10365
10836
      else
10366
10837
        can_build_shared=no
10386
10857
  ;;
10387
10858
 
10388
10859
amigaos*)
10389
 
  library_names_spec='$libname.ixlibrary $libname.a'
10390
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10391
 
  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'
 
10860
  case $host_cpu in
 
10861
  powerpc)
 
10862
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10863
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10864
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10865
    ;;
 
10866
  m68k)
 
10867
    library_names_spec='$libname.ixlibrary $libname.a'
 
10868
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10869
    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'
 
10870
    ;;
 
10871
  esac
10392
10872
  ;;
10393
10873
 
10394
10874
beos*)
10411
10891
  # libtool to hard-code these into programs
10412
10892
  ;;
10413
10893
 
10414
 
cygwin* | mingw* | pw32*)
 
10894
cygwin* | mingw* | pw32* | cegcc*)
10415
10895
  version_type=windows
10416
10896
  shrext_cmds=".dll"
10417
10897
  need_version=no
10418
10898
  need_lib_prefix=no
10419
10899
 
10420
10900
  case $GCC,$host_os in
10421
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10901
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10422
10902
    library_names_spec='$libname.dll.a'
10423
10903
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10424
10904
    postinstall_cmds='base_file=`basename \${file}`~
10425
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10905
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10426
10906
      dldir=$destdir/`dirname \$dlpath`~
10427
10907
      test -d \$dldir || mkdir -p \$dldir~
10428
10908
      $install_prog $dir/$dlname \$dldir/$dlname~
10429
 
      chmod a+x \$dldir/$dlname'
 
10909
      chmod a+x \$dldir/$dlname~
 
10910
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10911
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10912
      fi'
10430
10913
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10431
10914
      dlpath=$dir/\$dldll~
10432
 
       $rm \$dlpath'
 
10915
       $RM \$dlpath'
10433
10916
    shlibpath_overrides_runpath=yes
10434
10917
 
10435
10918
    case $host_os in
10438
10921
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10439
10922
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10440
10923
      ;;
10441
 
    mingw*)
 
10924
    mingw* | cegcc*)
10442
10925
      # MinGW DLLs use traditional 'lib' prefix
10443
10926
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10444
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10445
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10927
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10928
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10446
10929
        # It is most probably a Windows format PATH printed by
10447
10930
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10448
10931
        # path with ; separators, and with drive letters. We can handle the
10449
10932
        # drive letters (cygwin fileutils understands them), so leave them,
10450
10933
        # especially as we might pass files found there to a mingw objdump,
10451
10934
        # which wouldn't understand a cygwinified path. Ahh.
10452
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10935
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10453
10936
      else
10454
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10937
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10455
10938
      fi
10456
10939
      ;;
10457
10940
    pw32*)
10475
10958
  version_type=darwin
10476
10959
  need_lib_prefix=no
10477
10960
  need_version=no
10478
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10961
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10479
10962
  soname_spec='${libname}${release}${major}$shared_ext'
10480
10963
  shlibpath_overrides_runpath=yes
10481
10964
  shlibpath_var=DYLD_LIBRARY_PATH
10574
11057
    fi
10575
11058
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10576
11059
    ;;
10577
 
   hppa*64*)
10578
 
     shrext_cmds='.sl'
10579
 
     hardcode_into_libs=yes
10580
 
     dynamic_linker="$host_os dld.sl"
10581
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10582
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10583
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584
 
     soname_spec='${libname}${release}${shared_ext}$major'
10585
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10586
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10587
 
     ;;
10588
 
   *)
 
11060
  hppa*64*)
 
11061
    shrext_cmds='.sl'
 
11062
    hardcode_into_libs=yes
 
11063
    dynamic_linker="$host_os dld.sl"
 
11064
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11065
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11066
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11067
    soname_spec='${libname}${release}${shared_ext}$major'
 
11068
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11069
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11070
    ;;
 
11071
  *)
10589
11072
    shrext_cmds='.sl'
10590
11073
    dynamic_linker="$host_os dld.sl"
10591
11074
    shlibpath_var=SHLIB_PATH
10662
11145
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10663
11146
  shlibpath_var=LD_LIBRARY_PATH
10664
11147
  shlibpath_overrides_runpath=no
 
11148
  # Some binutils ld are patched to set DT_RUNPATH
 
11149
  save_LDFLAGS=$LDFLAGS
 
11150
  save_libdir=$libdir
 
11151
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11152
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11153
  cat >conftest.$ac_ext <<_ACEOF
 
11154
/* confdefs.h.  */
 
11155
_ACEOF
 
11156
cat confdefs.h >>conftest.$ac_ext
 
11157
cat >>conftest.$ac_ext <<_ACEOF
 
11158
/* end confdefs.h.  */
 
11159
 
 
11160
int
 
11161
main ()
 
11162
{
 
11163
 
 
11164
  ;
 
11165
  return 0;
 
11166
}
 
11167
_ACEOF
 
11168
rm -f conftest.$ac_objext conftest$ac_exeext
 
11169
if { (ac_try="$ac_link"
 
11170
case "(($ac_try" in
 
11171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11172
  *) ac_try_echo=$ac_try;;
 
11173
esac
 
11174
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11175
$as_echo "$ac_try_echo") >&5
 
11176
  (eval "$ac_link") 2>conftest.er1
 
11177
  ac_status=$?
 
11178
  grep -v '^ *+' conftest.er1 >conftest.err
 
11179
  rm -f conftest.er1
 
11180
  cat conftest.err >&5
 
11181
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11182
  (exit $ac_status); } && {
 
11183
         test -z "$ac_c_werror_flag" ||
 
11184
         test ! -s conftest.err
 
11185
       } && test -s conftest$ac_exeext && {
 
11186
         test "$cross_compiling" = yes ||
 
11187
         $as_test_x conftest$ac_exeext
 
11188
       }; then
 
11189
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11190
  shlibpath_overrides_runpath=yes
 
11191
fi
 
11192
 
 
11193
else
 
11194
  $as_echo "$as_me: failed program was:" >&5
 
11195
sed 's/^/| /' conftest.$ac_ext >&5
 
11196
 
 
11197
 
 
11198
fi
 
11199
 
 
11200
rm -rf conftest.dSYM
 
11201
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11202
      conftest$ac_exeext conftest.$ac_ext
 
11203
  LDFLAGS=$save_LDFLAGS
 
11204
  libdir=$save_libdir
 
11205
 
10665
11206
  # This implies no fast_install, which is unacceptable.
10666
11207
  # Some rework will be needed to allow for fast_install
10667
11208
  # before this can be enabled.
10669
11210
 
10670
11211
  # Append ld.so.conf contents to the search path
10671
11212
  if test -f /etc/ld.so.conf; then
10672
 
    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' ' '`
 
11213
    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' ' '`
10673
11214
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10674
11215
  fi
10675
11216
 
10698
11239
  version_type=sunos
10699
11240
  need_lib_prefix=no
10700
11241
  need_version=no
10701
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11242
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10702
11243
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10703
11244
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10704
11245
    dynamic_linker='NetBSD (a.out) ld.so'
10719
11260
  shlibpath_overrides_runpath=yes
10720
11261
  ;;
10721
11262
 
10722
 
nto-qnx*)
10723
 
  version_type=linux
 
11263
*nto* | *qnx*)
 
11264
  version_type=qnx
10724
11265
  need_lib_prefix=no
10725
11266
  need_version=no
10726
11267
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727
11268
  soname_spec='${libname}${release}${shared_ext}$major'
10728
11269
  shlibpath_var=LD_LIBRARY_PATH
10729
 
  shlibpath_overrides_runpath=yes
 
11270
  shlibpath_overrides_runpath=no
 
11271
  hardcode_into_libs=yes
 
11272
  dynamic_linker='ldqnx.so'
10730
11273
  ;;
10731
11274
 
10732
11275
openbsd*)
10735
11278
  need_lib_prefix=no
10736
11279
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10737
11280
  case $host_os in
10738
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10739
 
    *)                         need_version=no  ;;
 
11281
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11282
    *)                          need_version=no  ;;
10740
11283
  esac
10741
11284
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742
11285
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743
11286
  shlibpath_var=LD_LIBRARY_PATH
10744
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11287
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10745
11288
    case $host_os in
10746
11289
      openbsd2.[89] | openbsd2.[89].*)
10747
11290
        shlibpath_overrides_runpath=no
10813
11356
    sni)
10814
11357
      shlibpath_overrides_runpath=no
10815
11358
      need_lib_prefix=no
10816
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10817
11359
      runpath_var=LD_RUN_PATH
10818
11360
      ;;
10819
11361
    siemens)
10844
11386
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10845
11387
  soname_spec='${libname}${release}${shared_ext}$major'
10846
11388
  shlibpath_var=LD_LIBRARY_PATH
 
11389
  shlibpath_overrides_runpath=yes
10847
11390
  hardcode_into_libs=yes
10848
11391
  if test "$with_gnu_ld" = yes; then
10849
11392
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10850
 
    shlibpath_overrides_runpath=no
10851
11393
  else
10852
11394
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10853
 
    shlibpath_overrides_runpath=yes
10854
11395
    case $host_os in
10855
11396
      sco3.2v5*)
10856
11397
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10860
11401
  sys_lib_dlsearch_path_spec='/usr/lib'
10861
11402
  ;;
10862
11403
 
 
11404
tpf*)
 
11405
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11406
  version_type=linux
 
11407
  need_lib_prefix=no
 
11408
  need_version=no
 
11409
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11410
  shlibpath_var=LD_LIBRARY_PATH
 
11411
  shlibpath_overrides_runpath=no
 
11412
  hardcode_into_libs=yes
 
11413
  ;;
 
11414
 
10863
11415
uts4*)
10864
11416
  version_type=linux
10865
11417
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871
11423
  dynamic_linker=no
10872
11424
  ;;
10873
11425
esac
10874
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10875
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11426
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11427
$as_echo "$dynamic_linker" >&6; }
10876
11428
test "$dynamic_linker" = no && can_build_shared=no
10877
11429
 
10878
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10879
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10880
 
else
10881
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10882
 
fi
10883
 
 
10884
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10885
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10887
 
else
10888
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10889
 
fi
10890
 
 
10891
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10892
 
 
10893
11430
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10894
11431
if test "$GCC" = yes; then
10895
11432
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10896
11433
fi
10897
11434
 
10898
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10899
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11435
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11436
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11437
fi
 
11438
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11439
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11440
fi
 
11441
 
 
11442
 
 
11443
 
 
11444
 
 
11445
 
 
11446
 
 
11447
 
 
11448
 
 
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
 
11454
 
 
11455
 
 
11456
 
 
11457
 
 
11458
 
 
11459
 
 
11460
 
 
11461
 
 
11462
 
 
11463
 
 
11464
 
 
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
 
 
11471
 
 
11472
 
 
11473
 
 
11474
 
 
11475
 
 
11476
 
 
11477
 
 
11478
 
 
11479
 
 
11480
 
 
11481
 
 
11482
 
 
11483
 
 
11484
 
 
11485
 
 
11486
 
 
11487
 
 
11488
 
 
11489
 
 
11490
 
 
11491
 
 
11492
 
 
11493
 
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
 
11505
 
 
11506
 
 
11507
 
 
11508
 
 
11509
 
 
11510
 
 
11511
 
 
11512
 
 
11513
 
 
11514
 
 
11515
 
 
11516
 
 
11517
 
 
11518
 
 
11519
 
 
11520
 
 
11521
 
 
11522
 
 
11523
 
 
11524
 
 
11525
 
 
11526
 
 
11527
 
 
11528
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11529
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10900
11530
hardcode_action=
10901
 
if test -n "$hardcode_libdir_flag_spec" || \
10902
 
   test -n "$runpath_var" || \
 
11531
if test -n "$hardcode_libdir_flag_spec" ||
 
11532
   test -n "$runpath_var" ||
10903
11533
   test "X$hardcode_automatic" = "Xyes" ; then
10904
11534
 
10905
 
  # We can hardcode non-existant directories.
 
11535
  # We can hardcode non-existent directories.
10906
11536
  if test "$hardcode_direct" != no &&
10907
11537
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10908
11538
     # have to relink, otherwise we might link with an installed library
10909
11539
     # when we should be linking with a yet-to-be-installed one
10910
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11540
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10911
11541
     test "$hardcode_minus_L" != no; then
10912
11542
    # Linking always hardcodes the temporary library directory.
10913
11543
    hardcode_action=relink
10920
11550
  # directories.
10921
11551
  hardcode_action=unsupported
10922
11552
fi
10923
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10924
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11553
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11554
$as_echo "$hardcode_action" >&6; }
10925
11555
 
10926
 
if test "$hardcode_action" = relink; then
 
11556
if test "$hardcode_action" = relink ||
 
11557
   test "$inherit_rpath" = yes; then
10927
11558
  # Fast installation is not supported
10928
11559
  enable_fast_install=no
10929
11560
elif test "$shlibpath_overrides_runpath" = yes ||
10932
11563
  enable_fast_install=needless
10933
11564
fi
10934
11565
 
10935
 
striplib=
10936
 
old_striplib=
10937
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10938
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10939
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10940
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10941
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10942
 
  { echo "$as_me:$LINENO: result: yes" >&5
10943
 
echo "${ECHO_T}yes" >&6; }
10944
 
else
10945
 
# FIXME - insert some real tests, host_os isn't really good enough
10946
 
  case $host_os in
10947
 
   darwin*)
10948
 
       if test -n "$STRIP" ; then
10949
 
         striplib="$STRIP -x"
10950
 
         old_striplib="$STRIP -S"
10951
 
         { echo "$as_me:$LINENO: result: yes" >&5
10952
 
echo "${ECHO_T}yes" >&6; }
10953
 
       else
10954
 
  { echo "$as_me:$LINENO: result: no" >&5
10955
 
echo "${ECHO_T}no" >&6; }
10956
 
fi
10957
 
       ;;
10958
 
   *)
10959
 
  { echo "$as_me:$LINENO: result: no" >&5
10960
 
echo "${ECHO_T}no" >&6; }
10961
 
    ;;
10962
 
  esac
10963
 
fi
10964
 
 
10965
 
if test "x$enable_dlopen" != xyes; then
 
11566
 
 
11567
 
 
11568
 
 
11569
 
 
11570
 
 
11571
  if test "x$enable_dlopen" != xyes; then
10966
11572
  enable_dlopen=unknown
10967
11573
  enable_dlopen_self=unknown
10968
11574
  enable_dlopen_self_static=unknown
10977
11583
    lt_cv_dlopen_self=yes
10978
11584
    ;;
10979
11585
 
10980
 
  mingw* | pw32*)
 
11586
  mingw* | pw32* | cegcc*)
10981
11587
    lt_cv_dlopen="LoadLibrary"
10982
11588
    lt_cv_dlopen_libs=
10983
 
   ;;
 
11589
    ;;
10984
11590
 
10985
11591
  cygwin*)
10986
11592
    lt_cv_dlopen="dlopen"
10987
11593
    lt_cv_dlopen_libs=
10988
 
   ;;
 
11594
    ;;
10989
11595
 
10990
11596
  darwin*)
10991
11597
  # if libdl is installed we need to link against it
10992
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10993
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11598
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11599
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10994
11600
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10995
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11601
  $as_echo_n "(cached) " >&6
10996
11602
else
10997
11603
  ac_check_lib_save_LIBS=$LIBS
10998
11604
LIBS="-ldl  $LIBS"
11024
11630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11025
11631
  *) ac_try_echo=$ac_try;;
11026
11632
esac
11027
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11633
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11634
$as_echo "$ac_try_echo") >&5
11028
11635
  (eval "$ac_link") 2>conftest.er1
11029
11636
  ac_status=$?
11030
11637
  grep -v '^ *+' conftest.er1 >conftest.err
11031
11638
  rm -f conftest.er1
11032
11639
  cat conftest.err >&5
11033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11640
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034
11641
  (exit $ac_status); } && {
11035
11642
         test -z "$ac_c_werror_flag" ||
11036
11643
         test ! -s conftest.err
11037
 
       } && test -s conftest$ac_exeext &&
11038
 
       $as_test_x conftest$ac_exeext; then
 
11644
       } && test -s conftest$ac_exeext && {
 
11645
         test "$cross_compiling" = yes ||
 
11646
         $as_test_x conftest$ac_exeext
 
11647
       }; then
11039
11648
  ac_cv_lib_dl_dlopen=yes
11040
11649
else
11041
 
  echo "$as_me: failed program was:" >&5
 
11650
  $as_echo "$as_me: failed program was:" >&5
11042
11651
sed 's/^/| /' conftest.$ac_ext >&5
11043
11652
 
11044
11653
        ac_cv_lib_dl_dlopen=no
11045
11654
fi
11046
11655
 
 
11656
rm -rf conftest.dSYM
11047
11657
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11048
11658
      conftest$ac_exeext conftest.$ac_ext
11049
11659
LIBS=$ac_check_lib_save_LIBS
11050
11660
fi
11051
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11052
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11053
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11661
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11662
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11663
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11054
11664
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11055
11665
else
11056
11666
 
11060
11670
 
11061
11671
fi
11062
11672
 
11063
 
   ;;
 
11673
    ;;
11064
11674
 
11065
11675
  *)
11066
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
11067
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
11676
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11677
$as_echo_n "checking for shl_load... " >&6; }
11068
11678
if test "${ac_cv_func_shl_load+set}" = set; then
11069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11679
  $as_echo_n "(cached) " >&6
11070
11680
else
11071
11681
  cat >conftest.$ac_ext <<_ACEOF
11072
11682
/* confdefs.h.  */
11119
11729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11120
11730
  *) ac_try_echo=$ac_try;;
11121
11731
esac
11122
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11732
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11733
$as_echo "$ac_try_echo") >&5
11123
11734
  (eval "$ac_link") 2>conftest.er1
11124
11735
  ac_status=$?
11125
11736
  grep -v '^ *+' conftest.er1 >conftest.err
11126
11737
  rm -f conftest.er1
11127
11738
  cat conftest.err >&5
11128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11739
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129
11740
  (exit $ac_status); } && {
11130
11741
         test -z "$ac_c_werror_flag" ||
11131
11742
         test ! -s conftest.err
11132
 
       } && test -s conftest$ac_exeext &&
11133
 
       $as_test_x conftest$ac_exeext; then
 
11743
       } && test -s conftest$ac_exeext && {
 
11744
         test "$cross_compiling" = yes ||
 
11745
         $as_test_x conftest$ac_exeext
 
11746
       }; then
11134
11747
  ac_cv_func_shl_load=yes
11135
11748
else
11136
 
  echo "$as_me: failed program was:" >&5
 
11749
  $as_echo "$as_me: failed program was:" >&5
11137
11750
sed 's/^/| /' conftest.$ac_ext >&5
11138
11751
 
11139
11752
        ac_cv_func_shl_load=no
11140
11753
fi
11141
11754
 
 
11755
rm -rf conftest.dSYM
11142
11756
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11143
11757
      conftest$ac_exeext conftest.$ac_ext
11144
11758
fi
11145
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11146
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11147
 
if test $ac_cv_func_shl_load = yes; then
 
11759
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11760
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11761
if test "x$ac_cv_func_shl_load" = x""yes; then
11148
11762
  lt_cv_dlopen="shl_load"
11149
11763
else
11150
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11151
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
11764
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11765
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11152
11766
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11767
  $as_echo_n "(cached) " >&6
11154
11768
else
11155
11769
  ac_check_lib_save_LIBS=$LIBS
11156
11770
LIBS="-ldld  $LIBS"
11182
11796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11183
11797
  *) ac_try_echo=$ac_try;;
11184
11798
esac
11185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11799
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11800
$as_echo "$ac_try_echo") >&5
11186
11801
  (eval "$ac_link") 2>conftest.er1
11187
11802
  ac_status=$?
11188
11803
  grep -v '^ *+' conftest.er1 >conftest.err
11189
11804
  rm -f conftest.er1
11190
11805
  cat conftest.err >&5
11191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11806
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192
11807
  (exit $ac_status); } && {
11193
11808
         test -z "$ac_c_werror_flag" ||
11194
11809
         test ! -s conftest.err
11195
 
       } && test -s conftest$ac_exeext &&
11196
 
       $as_test_x conftest$ac_exeext; then
 
11810
       } && test -s conftest$ac_exeext && {
 
11811
         test "$cross_compiling" = yes ||
 
11812
         $as_test_x conftest$ac_exeext
 
11813
       }; then
11197
11814
  ac_cv_lib_dld_shl_load=yes
11198
11815
else
11199
 
  echo "$as_me: failed program was:" >&5
 
11816
  $as_echo "$as_me: failed program was:" >&5
11200
11817
sed 's/^/| /' conftest.$ac_ext >&5
11201
11818
 
11202
11819
        ac_cv_lib_dld_shl_load=no
11203
11820
fi
11204
11821
 
 
11822
rm -rf conftest.dSYM
11205
11823
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11206
11824
      conftest$ac_exeext conftest.$ac_ext
11207
11825
LIBS=$ac_check_lib_save_LIBS
11208
11826
fi
11209
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11210
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11211
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
11827
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11828
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11829
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11212
11830
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11213
11831
else
11214
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
11215
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
11832
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11833
$as_echo_n "checking for dlopen... " >&6; }
11216
11834
if test "${ac_cv_func_dlopen+set}" = set; then
11217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11835
  $as_echo_n "(cached) " >&6
11218
11836
else
11219
11837
  cat >conftest.$ac_ext <<_ACEOF
11220
11838
/* confdefs.h.  */
11267
11885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11268
11886
  *) ac_try_echo=$ac_try;;
11269
11887
esac
11270
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11888
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11889
$as_echo "$ac_try_echo") >&5
11271
11890
  (eval "$ac_link") 2>conftest.er1
11272
11891
  ac_status=$?
11273
11892
  grep -v '^ *+' conftest.er1 >conftest.err
11274
11893
  rm -f conftest.er1
11275
11894
  cat conftest.err >&5
11276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11895
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277
11896
  (exit $ac_status); } && {
11278
11897
         test -z "$ac_c_werror_flag" ||
11279
11898
         test ! -s conftest.err
11280
 
       } && test -s conftest$ac_exeext &&
11281
 
       $as_test_x conftest$ac_exeext; then
 
11899
       } && test -s conftest$ac_exeext && {
 
11900
         test "$cross_compiling" = yes ||
 
11901
         $as_test_x conftest$ac_exeext
 
11902
       }; then
11282
11903
  ac_cv_func_dlopen=yes
11283
11904
else
11284
 
  echo "$as_me: failed program was:" >&5
 
11905
  $as_echo "$as_me: failed program was:" >&5
11285
11906
sed 's/^/| /' conftest.$ac_ext >&5
11286
11907
 
11287
11908
        ac_cv_func_dlopen=no
11288
11909
fi
11289
11910
 
 
11911
rm -rf conftest.dSYM
11290
11912
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11291
11913
      conftest$ac_exeext conftest.$ac_ext
11292
11914
fi
11293
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11294
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11295
 
if test $ac_cv_func_dlopen = yes; then
 
11915
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11916
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11917
if test "x$ac_cv_func_dlopen" = x""yes; then
11296
11918
  lt_cv_dlopen="dlopen"
11297
11919
else
11298
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11299
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11920
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11921
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11300
11922
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11301
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11923
  $as_echo_n "(cached) " >&6
11302
11924
else
11303
11925
  ac_check_lib_save_LIBS=$LIBS
11304
11926
LIBS="-ldl  $LIBS"
11330
11952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11331
11953
  *) ac_try_echo=$ac_try;;
11332
11954
esac
11333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11955
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11956
$as_echo "$ac_try_echo") >&5
11334
11957
  (eval "$ac_link") 2>conftest.er1
11335
11958
  ac_status=$?
11336
11959
  grep -v '^ *+' conftest.er1 >conftest.err
11337
11960
  rm -f conftest.er1
11338
11961
  cat conftest.err >&5
11339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11962
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340
11963
  (exit $ac_status); } && {
11341
11964
         test -z "$ac_c_werror_flag" ||
11342
11965
         test ! -s conftest.err
11343
 
       } && test -s conftest$ac_exeext &&
11344
 
       $as_test_x conftest$ac_exeext; then
 
11966
       } && test -s conftest$ac_exeext && {
 
11967
         test "$cross_compiling" = yes ||
 
11968
         $as_test_x conftest$ac_exeext
 
11969
       }; then
11345
11970
  ac_cv_lib_dl_dlopen=yes
11346
11971
else
11347
 
  echo "$as_me: failed program was:" >&5
 
11972
  $as_echo "$as_me: failed program was:" >&5
11348
11973
sed 's/^/| /' conftest.$ac_ext >&5
11349
11974
 
11350
11975
        ac_cv_lib_dl_dlopen=no
11351
11976
fi
11352
11977
 
 
11978
rm -rf conftest.dSYM
11353
11979
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11354
11980
      conftest$ac_exeext conftest.$ac_ext
11355
11981
LIBS=$ac_check_lib_save_LIBS
11356
11982
fi
11357
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11358
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11359
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11983
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11984
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11985
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11360
11986
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11361
11987
else
11362
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11363
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
11988
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11989
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11364
11990
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11991
  $as_echo_n "(cached) " >&6
11366
11992
else
11367
11993
  ac_check_lib_save_LIBS=$LIBS
11368
11994
LIBS="-lsvld  $LIBS"
11394
12020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11395
12021
  *) ac_try_echo=$ac_try;;
11396
12022
esac
11397
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12024
$as_echo "$ac_try_echo") >&5
11398
12025
  (eval "$ac_link") 2>conftest.er1
11399
12026
  ac_status=$?
11400
12027
  grep -v '^ *+' conftest.er1 >conftest.err
11401
12028
  rm -f conftest.er1
11402
12029
  cat conftest.err >&5
11403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12030
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404
12031
  (exit $ac_status); } && {
11405
12032
         test -z "$ac_c_werror_flag" ||
11406
12033
         test ! -s conftest.err
11407
 
       } && test -s conftest$ac_exeext &&
11408
 
       $as_test_x conftest$ac_exeext; then
 
12034
       } && test -s conftest$ac_exeext && {
 
12035
         test "$cross_compiling" = yes ||
 
12036
         $as_test_x conftest$ac_exeext
 
12037
       }; then
11409
12038
  ac_cv_lib_svld_dlopen=yes
11410
12039
else
11411
 
  echo "$as_me: failed program was:" >&5
 
12040
  $as_echo "$as_me: failed program was:" >&5
11412
12041
sed 's/^/| /' conftest.$ac_ext >&5
11413
12042
 
11414
12043
        ac_cv_lib_svld_dlopen=no
11415
12044
fi
11416
12045
 
 
12046
rm -rf conftest.dSYM
11417
12047
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11418
12048
      conftest$ac_exeext conftest.$ac_ext
11419
12049
LIBS=$ac_check_lib_save_LIBS
11420
12050
fi
11421
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11422
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11423
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
12051
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12052
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12053
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11424
12054
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11425
12055
else
11426
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11427
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
12056
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12057
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11428
12058
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12059
  $as_echo_n "(cached) " >&6
11430
12060
else
11431
12061
  ac_check_lib_save_LIBS=$LIBS
11432
12062
LIBS="-ldld  $LIBS"
11458
12088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11459
12089
  *) ac_try_echo=$ac_try;;
11460
12090
esac
11461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12092
$as_echo "$ac_try_echo") >&5
11462
12093
  (eval "$ac_link") 2>conftest.er1
11463
12094
  ac_status=$?
11464
12095
  grep -v '^ *+' conftest.er1 >conftest.err
11465
12096
  rm -f conftest.er1
11466
12097
  cat conftest.err >&5
11467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12098
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468
12099
  (exit $ac_status); } && {
11469
12100
         test -z "$ac_c_werror_flag" ||
11470
12101
         test ! -s conftest.err
11471
 
       } && test -s conftest$ac_exeext &&
11472
 
       $as_test_x conftest$ac_exeext; then
 
12102
       } && test -s conftest$ac_exeext && {
 
12103
         test "$cross_compiling" = yes ||
 
12104
         $as_test_x conftest$ac_exeext
 
12105
       }; then
11473
12106
  ac_cv_lib_dld_dld_link=yes
11474
12107
else
11475
 
  echo "$as_me: failed program was:" >&5
 
12108
  $as_echo "$as_me: failed program was:" >&5
11476
12109
sed 's/^/| /' conftest.$ac_ext >&5
11477
12110
 
11478
12111
        ac_cv_lib_dld_dld_link=no
11479
12112
fi
11480
12113
 
 
12114
rm -rf conftest.dSYM
11481
12115
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11482
12116
      conftest$ac_exeext conftest.$ac_ext
11483
12117
LIBS=$ac_check_lib_save_LIBS
11484
12118
fi
11485
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11486
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11487
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
12119
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12120
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12121
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11488
12122
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11489
12123
fi
11490
12124
 
11523
12157
    save_LIBS="$LIBS"
11524
12158
    LIBS="$lt_cv_dlopen_libs $LIBS"
11525
12159
 
11526
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11527
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
12160
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12161
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11528
12162
if test "${lt_cv_dlopen_self+set}" = set; then
11529
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12163
  $as_echo_n "(cached) " >&6
11530
12164
else
11531
12165
          if test "$cross_compiling" = yes; then :
11532
12166
  lt_cv_dlopen_self=cross
11533
12167
else
11534
12168
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11535
12169
  lt_status=$lt_dlunknown
11536
 
  cat > conftest.$ac_ext <<EOF
11537
 
#line 11537 "configure"
 
12170
  cat > conftest.$ac_ext <<_LT_EOF
 
12171
#line 12171 "configure"
11538
12172
#include "confdefs.h"
11539
12173
 
11540
12174
#if HAVE_DLFCN_H
11575
12209
#  endif
11576
12210
#endif
11577
12211
 
11578
 
#ifdef __cplusplus
11579
 
extern "C" void exit (int);
11580
 
#endif
11581
 
 
11582
12212
void fnord() { int i=42;}
11583
12213
int main ()
11584
12214
{
11594
12224
  else
11595
12225
    puts (dlerror ());
11596
12226
 
11597
 
    exit (status);
 
12227
  return status;
11598
12228
}
11599
 
EOF
 
12229
_LT_EOF
11600
12230
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11601
12231
  (eval $ac_link) 2>&5
11602
12232
  ac_status=$?
11603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12233
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604
12234
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11605
12235
    (./conftest; exit; ) >&5 2>/dev/null
11606
12236
    lt_status=$?
11618
12248
 
11619
12249
 
11620
12250
fi
11621
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11622
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
12251
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12252
$as_echo "$lt_cv_dlopen_self" >&6; }
11623
12253
 
11624
12254
    if test "x$lt_cv_dlopen_self" = xyes; then
11625
12255
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11626
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11627
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
12256
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12257
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11628
12258
if test "${lt_cv_dlopen_self_static+set}" = set; then
11629
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12259
  $as_echo_n "(cached) " >&6
11630
12260
else
11631
12261
          if test "$cross_compiling" = yes; then :
11632
12262
  lt_cv_dlopen_self_static=cross
11633
12263
else
11634
12264
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11635
12265
  lt_status=$lt_dlunknown
11636
 
  cat > conftest.$ac_ext <<EOF
11637
 
#line 11637 "configure"
 
12266
  cat > conftest.$ac_ext <<_LT_EOF
 
12267
#line 12267 "configure"
11638
12268
#include "confdefs.h"
11639
12269
 
11640
12270
#if HAVE_DLFCN_H
11675
12305
#  endif
11676
12306
#endif
11677
12307
 
11678
 
#ifdef __cplusplus
11679
 
extern "C" void exit (int);
11680
 
#endif
11681
 
 
11682
12308
void fnord() { int i=42;}
11683
12309
int main ()
11684
12310
{
11694
12320
  else
11695
12321
    puts (dlerror ());
11696
12322
 
11697
 
    exit (status);
 
12323
  return status;
11698
12324
}
11699
 
EOF
 
12325
_LT_EOF
11700
12326
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11701
12327
  (eval $ac_link) 2>&5
11702
12328
  ac_status=$?
11703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704
12330
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11705
12331
    (./conftest; exit; ) >&5 2>/dev/null
11706
12332
    lt_status=$?
11718
12344
 
11719
12345
 
11720
12346
fi
11721
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11722
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12347
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12348
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11723
12349
    fi
11724
12350
 
11725
12351
    CPPFLAGS="$save_CPPFLAGS"
11740
12366
fi
11741
12367
 
11742
12368
 
11743
 
# Report which library types will actually be built
11744
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11745
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11746
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11747
 
echo "${ECHO_T}$can_build_shared" >&6; }
11748
 
 
11749
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11750
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11751
 
test "$can_build_shared" = "no" && enable_shared=no
11752
 
 
11753
 
# On AIX, shared libraries and static libraries use the same namespace, and
11754
 
# are all built from PIC.
11755
 
case $host_os in
11756
 
aix3*)
11757
 
  test "$enable_shared" = yes && enable_static=no
11758
 
  if test -n "$RANLIB"; then
11759
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11760
 
    postinstall_cmds='$RANLIB $lib'
11761
 
  fi
11762
 
  ;;
11763
 
 
11764
 
aix[4-9]*)
11765
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11766
 
    test "$enable_shared" = yes && enable_static=no
11767
 
  fi
11768
 
    ;;
11769
 
esac
11770
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11771
 
echo "${ECHO_T}$enable_shared" >&6; }
11772
 
 
11773
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11774
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11775
 
# Make sure either enable_shared or enable_static is yes.
11776
 
test "$enable_shared" = yes || enable_static=yes
11777
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11778
 
echo "${ECHO_T}$enable_static" >&6; }
11779
 
 
11780
 
# The else clause should only fire when bootstrapping the
11781
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11782
 
# with your package, and you will get complaints that there are
11783
 
# no rules to generate ltmain.sh.
11784
 
if test -f "$ltmain"; then
11785
 
  # See if we are running on zsh, and set the options which allow our commands through
11786
 
  # without removal of \ escapes.
11787
 
  if test -n "${ZSH_VERSION+set}" ; then
11788
 
    setopt NO_GLOB_SUBST
11789
 
  fi
11790
 
  # Now quote all the things that may contain metacharacters while being
11791
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11792
 
  # variables and quote the copies for generation of the libtool script.
11793
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11794
 
    SED SHELL STRIP \
11795
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11796
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11797
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11798
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11799
 
    lt_cv_sys_global_symbol_to_c_name_address \
11800
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11801
 
    old_postinstall_cmds old_postuninstall_cmds \
11802
 
    compiler \
11803
 
    CC \
11804
 
    LD \
11805
 
    lt_prog_compiler_wl \
11806
 
    lt_prog_compiler_pic \
11807
 
    lt_prog_compiler_static \
11808
 
    lt_prog_compiler_no_builtin_flag \
11809
 
    export_dynamic_flag_spec \
11810
 
    thread_safe_flag_spec \
11811
 
    whole_archive_flag_spec \
11812
 
    enable_shared_with_static_runtimes \
11813
 
    old_archive_cmds \
11814
 
    old_archive_from_new_cmds \
11815
 
    predep_objects \
11816
 
    postdep_objects \
11817
 
    predeps \
11818
 
    postdeps \
11819
 
    compiler_lib_search_path \
11820
 
    compiler_lib_search_dirs \
11821
 
    archive_cmds \
11822
 
    archive_expsym_cmds \
11823
 
    postinstall_cmds \
11824
 
    postuninstall_cmds \
11825
 
    old_archive_from_expsyms_cmds \
11826
 
    allow_undefined_flag \
11827
 
    no_undefined_flag \
11828
 
    export_symbols_cmds \
11829
 
    hardcode_libdir_flag_spec \
11830
 
    hardcode_libdir_flag_spec_ld \
11831
 
    hardcode_libdir_separator \
11832
 
    hardcode_automatic \
11833
 
    module_cmds \
11834
 
    module_expsym_cmds \
11835
 
    lt_cv_prog_compiler_c_o \
11836
 
    fix_srcfile_path \
11837
 
    exclude_expsyms \
11838
 
    include_expsyms; do
11839
 
 
11840
 
    case $var in
11841
 
    old_archive_cmds | \
11842
 
    old_archive_from_new_cmds | \
11843
 
    archive_cmds | \
11844
 
    archive_expsym_cmds | \
11845
 
    module_cmds | \
11846
 
    module_expsym_cmds | \
11847
 
    old_archive_from_expsyms_cmds | \
11848
 
    export_symbols_cmds | \
11849
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11850
 
    postinstall_cmds | postuninstall_cmds | \
11851
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11852
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11853
 
      # Double-quote double-evaled strings.
11854
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11855
 
      ;;
11856
 
    *)
11857
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11858
 
      ;;
11859
 
    esac
11860
 
  done
11861
 
 
11862
 
  case $lt_echo in
11863
 
  *'\$0 --fallback-echo"')
11864
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11865
 
    ;;
11866
 
  esac
11867
 
 
11868
 
cfgfile="${ofile}T"
11869
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11870
 
  $rm -f "$cfgfile"
11871
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11872
 
echo "$as_me: creating $ofile" >&6;}
11873
 
 
11874
 
  cat <<__EOF__ >> "$cfgfile"
11875
 
#! $SHELL
11876
 
 
11877
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11878
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11879
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11880
 
#
11881
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11882
 
# Free Software Foundation, Inc.
11883
 
#
11884
 
# This file is part of GNU Libtool:
11885
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11886
 
#
11887
 
# This program is free software; you can redistribute it and/or modify
11888
 
# it under the terms of the GNU General Public License as published by
11889
 
# the Free Software Foundation; either version 2 of the License, or
11890
 
# (at your option) any later version.
11891
 
#
11892
 
# This program is distributed in the hope that it will be useful, but
11893
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11894
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11895
 
# General Public License for more details.
11896
 
#
11897
 
# You should have received a copy of the GNU General Public License
11898
 
# along with this program; if not, write to the Free Software
11899
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11900
 
#
11901
 
# As a special exception to the GNU General Public License, if you
11902
 
# distribute this file as part of a program that contains a
11903
 
# configuration script generated by Autoconf, you may include it under
11904
 
# the same distribution terms that you use for the rest of that program.
11905
 
 
11906
 
# A sed program that does not truncate output.
11907
 
SED=$lt_SED
11908
 
 
11909
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11910
 
Xsed="$SED -e 1s/^X//"
11911
 
 
11912
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11913
 
# if CDPATH is set.
11914
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11915
 
 
11916
 
# The names of the tagged configurations supported by this script.
11917
 
available_tags=
11918
 
 
11919
 
# ### BEGIN LIBTOOL CONFIG
11920
 
 
11921
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11922
 
 
11923
 
# Shell to use when invoking shell scripts.
11924
 
SHELL=$lt_SHELL
11925
 
 
11926
 
# Whether or not to build shared libraries.
11927
 
build_libtool_libs=$enable_shared
11928
 
 
11929
 
# Whether or not to build static libraries.
11930
 
build_old_libs=$enable_static
11931
 
 
11932
 
# Whether or not to add -lc for building shared libraries.
11933
 
build_libtool_need_lc=$archive_cmds_need_lc
11934
 
 
11935
 
# Whether or not to disallow shared libs when runtime libs are static
11936
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11937
 
 
11938
 
# Whether or not to optimize for fast installation.
11939
 
fast_install=$enable_fast_install
11940
 
 
11941
 
# The host system.
11942
 
host_alias=$host_alias
11943
 
host=$host
11944
 
host_os=$host_os
11945
 
 
11946
 
# The build system.
11947
 
build_alias=$build_alias
11948
 
build=$build
11949
 
build_os=$build_os
11950
 
 
11951
 
# An echo program that does not interpret backslashes.
11952
 
echo=$lt_echo
11953
 
 
11954
 
# The archiver.
11955
 
AR=$lt_AR
11956
 
AR_FLAGS=$lt_AR_FLAGS
11957
 
 
11958
 
# A C compiler.
11959
 
LTCC=$lt_LTCC
11960
 
 
11961
 
# LTCC compiler flags.
11962
 
LTCFLAGS=$lt_LTCFLAGS
11963
 
 
11964
 
# A language-specific compiler.
11965
 
CC=$lt_compiler
11966
 
 
11967
 
# Is the compiler the GNU C compiler?
11968
 
with_gcc=$GCC
11969
 
 
11970
 
# An ERE matcher.
11971
 
EGREP=$lt_EGREP
11972
 
 
11973
 
# The linker used to build libraries.
11974
 
LD=$lt_LD
11975
 
 
11976
 
# Whether we need hard or soft links.
11977
 
LN_S=$lt_LN_S
11978
 
 
11979
 
# A BSD-compatible nm program.
11980
 
NM=$lt_NM
11981
 
 
11982
 
# A symbol stripping program
11983
 
STRIP=$lt_STRIP
11984
 
 
11985
 
# Used to examine libraries when file_magic_cmd begins "file"
11986
 
MAGIC_CMD=$MAGIC_CMD
11987
 
 
11988
 
# Used on cygwin: DLL creation program.
11989
 
DLLTOOL="$DLLTOOL"
11990
 
 
11991
 
# Used on cygwin: object dumper.
11992
 
OBJDUMP="$OBJDUMP"
11993
 
 
11994
 
# Used on cygwin: assembler.
11995
 
AS="$AS"
11996
 
 
11997
 
# The name of the directory that contains temporary libtool files.
11998
 
objdir=$objdir
11999
 
 
12000
 
# How to create reloadable object files.
12001
 
reload_flag=$lt_reload_flag
12002
 
reload_cmds=$lt_reload_cmds
12003
 
 
12004
 
# How to pass a linker flag through the compiler.
12005
 
wl=$lt_lt_prog_compiler_wl
12006
 
 
12007
 
# Object file suffix (normally "o").
12008
 
objext="$ac_objext"
12009
 
 
12010
 
# Old archive suffix (normally "a").
12011
 
libext="$libext"
12012
 
 
12013
 
# Shared library suffix (normally ".so").
12014
 
shrext_cmds='$shrext_cmds'
12015
 
 
12016
 
# Executable file suffix (normally "").
12017
 
exeext="$exeext"
12018
 
 
12019
 
# Additional compiler flags for building library objects.
12020
 
pic_flag=$lt_lt_prog_compiler_pic
12021
 
pic_mode=$pic_mode
12022
 
 
12023
 
# What is the maximum length of a command?
12024
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12025
 
 
12026
 
# Does compiler simultaneously support -c and -o options?
12027
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12028
 
 
12029
 
# Must we lock files when doing compilation?
12030
 
need_locks=$lt_need_locks
12031
 
 
12032
 
# Do we need the lib prefix for modules?
12033
 
need_lib_prefix=$need_lib_prefix
12034
 
 
12035
 
# Do we need a version for libraries?
12036
 
need_version=$need_version
12037
 
 
12038
 
# Whether dlopen is supported.
12039
 
dlopen_support=$enable_dlopen
12040
 
 
12041
 
# Whether dlopen of programs is supported.
12042
 
dlopen_self=$enable_dlopen_self
12043
 
 
12044
 
# Whether dlopen of statically linked programs is supported.
12045
 
dlopen_self_static=$enable_dlopen_self_static
12046
 
 
12047
 
# Compiler flag to prevent dynamic linking.
12048
 
link_static_flag=$lt_lt_prog_compiler_static
12049
 
 
12050
 
# Compiler flag to turn off builtin functions.
12051
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12052
 
 
12053
 
# Compiler flag to allow reflexive dlopens.
12054
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12055
 
 
12056
 
# Compiler flag to generate shared objects directly from archives.
12057
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12058
 
 
12059
 
# Compiler flag to generate thread-safe objects.
12060
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12061
 
 
12062
 
# Library versioning type.
12063
 
version_type=$version_type
12064
 
 
12065
 
# Format of library name prefix.
12066
 
libname_spec=$lt_libname_spec
12067
 
 
12068
 
# List of archive names.  First name is the real one, the rest are links.
12069
 
# The last name is the one that the linker finds with -lNAME.
12070
 
library_names_spec=$lt_library_names_spec
12071
 
 
12072
 
# The coded name of the library, if different from the real name.
12073
 
soname_spec=$lt_soname_spec
12074
 
 
12075
 
# Commands used to build and install an old-style archive.
12076
 
RANLIB=$lt_RANLIB
12077
 
old_archive_cmds=$lt_old_archive_cmds
12078
 
old_postinstall_cmds=$lt_old_postinstall_cmds
12079
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12080
 
 
12081
 
# Create an old-style archive from a shared archive.
12082
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12083
 
 
12084
 
# Create a temporary old-style archive to link instead of a shared archive.
12085
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12086
 
 
12087
 
# Commands used to build and install a shared archive.
12088
 
archive_cmds=$lt_archive_cmds
12089
 
archive_expsym_cmds=$lt_archive_expsym_cmds
12090
 
postinstall_cmds=$lt_postinstall_cmds
12091
 
postuninstall_cmds=$lt_postuninstall_cmds
12092
 
 
12093
 
# Commands used to build a loadable module (assumed same as above if empty)
12094
 
module_cmds=$lt_module_cmds
12095
 
module_expsym_cmds=$lt_module_expsym_cmds
12096
 
 
12097
 
# Commands to strip libraries.
12098
 
old_striplib=$lt_old_striplib
12099
 
striplib=$lt_striplib
12100
 
 
12101
 
# Dependencies to place before the objects being linked to create a
12102
 
# shared library.
12103
 
predep_objects=$lt_predep_objects
12104
 
 
12105
 
# Dependencies to place after the objects being linked to create a
12106
 
# shared library.
12107
 
postdep_objects=$lt_postdep_objects
12108
 
 
12109
 
# Dependencies to place before the objects being linked to create a
12110
 
# shared library.
12111
 
predeps=$lt_predeps
12112
 
 
12113
 
# Dependencies to place after the objects being linked to create a
12114
 
# shared library.
12115
 
postdeps=$lt_postdeps
12116
 
 
12117
 
# The directories searched by this compiler when creating a shared
12118
 
# library
12119
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12120
 
 
12121
 
# The library search path used internally by the compiler when linking
12122
 
# a shared library.
12123
 
compiler_lib_search_path=$lt_compiler_lib_search_path
12124
 
 
12125
 
# Method to check whether dependent libraries are shared objects.
12126
 
deplibs_check_method=$lt_deplibs_check_method
12127
 
 
12128
 
# Command to use when deplibs_check_method == file_magic.
12129
 
file_magic_cmd=$lt_file_magic_cmd
12130
 
 
12131
 
# Flag that allows shared libraries with undefined symbols to be built.
12132
 
allow_undefined_flag=$lt_allow_undefined_flag
12133
 
 
12134
 
# Flag that forces no undefined symbols.
12135
 
no_undefined_flag=$lt_no_undefined_flag
12136
 
 
12137
 
# Commands used to finish a libtool library installation in a directory.
12138
 
finish_cmds=$lt_finish_cmds
12139
 
 
12140
 
# Same as above, but a single script fragment to be evaled but not shown.
12141
 
finish_eval=$lt_finish_eval
12142
 
 
12143
 
# Take the output of nm and produce a listing of raw symbols and C names.
12144
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12145
 
 
12146
 
# Transform the output of nm in a proper C declaration
12147
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12148
 
 
12149
 
# Transform the output of nm in a C name address pair
12150
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12151
 
 
12152
 
# This is the shared library runtime path variable.
12153
 
runpath_var=$runpath_var
12154
 
 
12155
 
# This is the shared library path variable.
12156
 
shlibpath_var=$shlibpath_var
12157
 
 
12158
 
# Is shlibpath searched before the hard-coded library search path?
12159
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12160
 
 
12161
 
# How to hardcode a shared library path into an executable.
12162
 
hardcode_action=$hardcode_action
12163
 
 
12164
 
# Whether we should hardcode library paths into libraries.
12165
 
hardcode_into_libs=$hardcode_into_libs
12166
 
 
12167
 
# Flag to hardcode \$libdir into a binary during linking.
12168
 
# This must work even if \$libdir does not exist.
12169
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12170
 
 
12171
 
# If ld is used when linking, flag to hardcode \$libdir into
12172
 
# a binary during linking. This must work even if \$libdir does
12173
 
# not exist.
12174
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12175
 
 
12176
 
# Whether we need a single -rpath flag with a separated argument.
12177
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12178
 
 
12179
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12180
 
# resulting binary.
12181
 
hardcode_direct=$hardcode_direct
12182
 
 
12183
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12184
 
# resulting binary.
12185
 
hardcode_minus_L=$hardcode_minus_L
12186
 
 
12187
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12188
 
# the resulting binary.
12189
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
12190
 
 
12191
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
12192
 
# and all subsequent libraries and executables linked against it.
12193
 
hardcode_automatic=$hardcode_automatic
12194
 
 
12195
 
# Variables whose values should be saved in libtool wrapper scripts and
12196
 
# restored at relink time.
12197
 
variables_saved_for_relink="$variables_saved_for_relink"
12198
 
 
12199
 
# Whether libtool must link a program against all its dependency libraries.
12200
 
link_all_deplibs=$link_all_deplibs
12201
 
 
12202
 
# Compile-time system search path for libraries
12203
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12204
 
 
12205
 
# Run-time system search path for libraries
12206
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12207
 
 
12208
 
# Fix the shell variable \$srcfile for the compiler.
12209
 
fix_srcfile_path=$lt_fix_srcfile_path
12210
 
 
12211
 
# Set to yes if exported symbols are required.
12212
 
always_export_symbols=$always_export_symbols
12213
 
 
12214
 
# The commands to list exported symbols.
12215
 
export_symbols_cmds=$lt_export_symbols_cmds
12216
 
 
12217
 
# The commands to extract the exported symbol list from a shared archive.
12218
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12219
 
 
12220
 
# Symbols that should not be listed in the preloaded symbols.
12221
 
exclude_expsyms=$lt_exclude_expsyms
12222
 
 
12223
 
# Symbols that must always be exported.
12224
 
include_expsyms=$lt_include_expsyms
12225
 
 
12226
 
# ### END LIBTOOL CONFIG
12227
 
 
12228
 
__EOF__
12229
 
 
12230
 
 
12231
 
  case $host_os in
12232
 
  aix3*)
12233
 
    cat <<\EOF >> "$cfgfile"
12234
 
 
12235
 
# AIX sometimes has problems with the GCC collect2 program.  For some
12236
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
12237
 
# vanish in a puff of smoke.
12238
 
if test "X${COLLECT_NAMES+set}" != Xset; then
12239
 
  COLLECT_NAMES=
12240
 
  export COLLECT_NAMES
12241
 
fi
12242
 
EOF
12243
 
    ;;
12244
 
  esac
12245
 
 
12246
 
  # We use sed instead of cat because bash on DJGPP gets confused if
12247
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12248
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
12249
 
  # is reportedly fixed, but why not run on old versions too?
12250
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12251
 
 
12252
 
  mv -f "$cfgfile" "$ofile" || \
12253
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12254
 
  chmod +x "$ofile"
12255
 
 
12256
 
else
12257
 
  # If there is no Makefile yet, we rely on a make rule to execute
12258
 
  # `config.status --recheck' to rerun these tests and create the
12259
 
  # libtool script then.
12260
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12261
 
  if test -f "$ltmain_in"; then
12262
 
    test -f Makefile && make "$ltmain"
12263
 
  fi
12264
 
fi
12265
 
 
12266
 
 
12267
 
ac_ext=c
12268
 
ac_cpp='$CPP $CPPFLAGS'
12269
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12272
 
 
12273
 
CC="$lt_save_CC"
12274
 
 
12275
 
 
12276
 
# Check whether --with-tags was given.
12277
 
if test "${with_tags+set}" = set; then
12278
 
  withval=$with_tags; tagnames="$withval"
12279
 
fi
12280
 
 
12281
 
 
12282
 
if test -f "$ltmain" && test -n "$tagnames"; then
12283
 
  if test ! -f "${ofile}"; then
12284
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12285
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12286
 
  fi
12287
 
 
12288
 
  if test -z "$LTCC"; then
12289
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12290
 
    if test -z "$LTCC"; then
12291
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12292
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12293
 
    else
12294
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12295
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12296
 
    fi
12297
 
  fi
12298
 
  if test -z "$LTCFLAGS"; then
12299
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12300
 
  fi
12301
 
 
12302
 
  # Extract list of available tagged configurations in $ofile.
12303
 
  # Note that this assumes the entire list is on one line.
12304
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12305
 
 
12306
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12307
 
  for tagname in $tagnames; do
12308
 
    IFS="$lt_save_ifs"
12309
 
    # Check whether tagname contains only valid characters
12310
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12311
 
    "") ;;
12312
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12313
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12314
 
   { (exit 1); exit 1; }; }
12315
 
        ;;
12316
 
    esac
12317
 
 
12318
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12319
 
    then
12320
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12321
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12322
 
   { (exit 1); exit 1; }; }
12323
 
    fi
12324
 
 
12325
 
    # Update the list of available tags.
12326
 
    if test -n "$tagname"; then
12327
 
      echo appending configuration tag \"$tagname\" to $ofile
12328
 
 
12329
 
      case $tagname in
12330
 
      CXX)
12331
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12332
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12333
 
            (test "X$CXX" != "Xg++"))) ; then
12334
 
          ac_ext=cpp
12335
 
ac_cpp='$CXXCPP $CPPFLAGS'
12336
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12337
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12338
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12339
 
 
12340
 
 
12341
 
 
12342
 
 
12343
 
archive_cmds_need_lc_CXX=no
12344
 
allow_undefined_flag_CXX=
12345
 
always_export_symbols_CXX=no
12346
 
archive_expsym_cmds_CXX=
12347
 
export_dynamic_flag_spec_CXX=
12348
 
hardcode_direct_CXX=no
12349
 
hardcode_libdir_flag_spec_CXX=
12350
 
hardcode_libdir_flag_spec_ld_CXX=
12351
 
hardcode_libdir_separator_CXX=
12352
 
hardcode_minus_L_CXX=no
12353
 
hardcode_shlibpath_var_CXX=unsupported
12354
 
hardcode_automatic_CXX=no
12355
 
module_cmds_CXX=
12356
 
module_expsym_cmds_CXX=
12357
 
link_all_deplibs_CXX=unknown
12358
 
old_archive_cmds_CXX=$old_archive_cmds
12359
 
no_undefined_flag_CXX=
12360
 
whole_archive_flag_spec_CXX=
12361
 
enable_shared_with_static_runtimes_CXX=no
12362
 
 
12363
 
# Dependencies to place before and after the object being linked:
12364
 
predep_objects_CXX=
12365
 
postdep_objects_CXX=
12366
 
predeps_CXX=
12367
 
postdeps_CXX=
12368
 
compiler_lib_search_path_CXX=
12369
 
compiler_lib_search_dirs_CXX=
12370
 
 
12371
 
# Source file extension for C++ test sources.
12372
 
ac_ext=cpp
12373
 
 
12374
 
# Object file extension for compiled C++ test sources.
12375
 
objext=o
12376
 
objext_CXX=$objext
12377
 
 
12378
 
# Code to be used in simple compile tests
12379
 
lt_simple_compile_test_code="int some_variable = 0;"
12380
 
 
12381
 
# Code to be used in simple link tests
12382
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12383
 
 
12384
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12385
 
 
12386
 
# If no C compiler was specified, use CC.
12387
 
LTCC=${LTCC-"$CC"}
12388
 
 
12389
 
# If no C compiler flags were specified, use CFLAGS.
12390
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12391
 
 
12392
 
# Allow CC to be a program name with arguments.
12393
 
compiler=$CC
12394
 
 
12395
 
 
12396
 
# save warnings/boilerplate of simple test code
12397
 
ac_outfile=conftest.$ac_objext
12398
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12399
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12400
 
_lt_compiler_boilerplate=`cat conftest.err`
12401
 
$rm conftest*
12402
 
 
12403
 
ac_outfile=conftest.$ac_objext
12404
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12405
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12406
 
_lt_linker_boilerplate=`cat conftest.err`
12407
 
$rm -r conftest*
12408
 
 
12409
 
 
12410
 
# Allow CC to be a program name with arguments.
12411
 
lt_save_CC=$CC
12412
 
lt_save_LD=$LD
12413
 
lt_save_GCC=$GCC
12414
 
GCC=$GXX
12415
 
lt_save_with_gnu_ld=$with_gnu_ld
12416
 
lt_save_path_LD=$lt_cv_path_LD
12417
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12418
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12419
 
else
12420
 
  $as_unset lt_cv_prog_gnu_ld
12421
 
fi
12422
 
if test -n "${lt_cv_path_LDCXX+set}"; then
12423
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
12424
 
else
12425
 
  $as_unset lt_cv_path_LD
12426
 
fi
12427
 
test -z "${LDCXX+set}" || LD=$LDCXX
12428
 
CC=${CXX-"c++"}
12429
 
compiler=$CC
12430
 
compiler_CXX=$CC
12431
 
for cc_temp in $compiler""; do
12432
 
  case $cc_temp in
12433
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12434
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12435
 
    \-*) ;;
12436
 
    *) break;;
12437
 
  esac
12438
 
done
12439
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12440
 
 
12441
 
 
12442
 
# We don't want -fno-exception wen compiling C++ code, so set the
12443
 
# no_builtin_flag separately
12444
 
if test "$GXX" = yes; then
12445
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12446
 
else
12447
 
  lt_prog_compiler_no_builtin_flag_CXX=
12448
 
fi
12449
 
 
12450
 
if test "$GXX" = yes; then
12451
 
  # Set up default GNU C++ configuration
12452
 
 
12453
 
 
12454
 
# Check whether --with-gnu-ld was given.
12455
 
if test "${with_gnu_ld+set}" = set; then
12456
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12457
 
else
12458
 
  with_gnu_ld=no
12459
 
fi
12460
 
 
12461
 
ac_prog=ld
12462
 
if test "$GCC" = yes; then
12463
 
  # Check if gcc -print-prog-name=ld gives a path.
12464
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12465
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12466
 
  case $host in
12467
 
  *-*-mingw*)
12468
 
    # gcc leaves a trailing carriage return which upsets mingw
12469
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12470
 
  *)
12471
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12472
 
  esac
12473
 
  case $ac_prog in
12474
 
    # Accept absolute paths.
12475
 
    [\\/]* | ?:[\\/]*)
12476
 
      re_direlt='/[^/][^/]*/\.\./'
12477
 
      # Canonicalize the pathname of ld
12478
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12479
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12480
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12481
 
      done
12482
 
      test -z "$LD" && LD="$ac_prog"
12483
 
      ;;
12484
 
  "")
12485
 
    # If it fails, then pretend we aren't using GCC.
12486
 
    ac_prog=ld
12487
 
    ;;
12488
 
  *)
12489
 
    # If it is relative, then search for the first ld in PATH.
12490
 
    with_gnu_ld=unknown
12491
 
    ;;
12492
 
  esac
12493
 
elif test "$with_gnu_ld" = yes; then
12494
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12495
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12496
 
else
12497
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12498
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12499
 
fi
12500
 
if test "${lt_cv_path_LD+set}" = set; then
12501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12502
 
else
12503
 
  if test -z "$LD"; then
12504
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12505
 
  for ac_dir in $PATH; do
12506
 
    IFS="$lt_save_ifs"
12507
 
    test -z "$ac_dir" && ac_dir=.
12508
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12509
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12510
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12511
 
      # but apparently some variants of GNU ld only accept -v.
12512
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12513
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12514
 
      *GNU* | *'with BFD'*)
12515
 
        test "$with_gnu_ld" != no && break
12516
 
        ;;
12517
 
      *)
12518
 
        test "$with_gnu_ld" != yes && break
12519
 
        ;;
12520
 
      esac
12521
 
    fi
12522
 
  done
12523
 
  IFS="$lt_save_ifs"
12524
 
else
12525
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12526
 
fi
12527
 
fi
12528
 
 
12529
 
LD="$lt_cv_path_LD"
12530
 
if test -n "$LD"; then
12531
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12532
 
echo "${ECHO_T}$LD" >&6; }
12533
 
else
12534
 
  { echo "$as_me:$LINENO: result: no" >&5
12535
 
echo "${ECHO_T}no" >&6; }
12536
 
fi
12537
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12538
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12539
 
   { (exit 1); exit 1; }; }
12540
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12541
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12542
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12544
 
else
12545
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12546
 
case `$LD -v 2>&1 </dev/null` in
12547
 
*GNU* | *'with BFD'*)
12548
 
  lt_cv_prog_gnu_ld=yes
12549
 
  ;;
12550
 
*)
12551
 
  lt_cv_prog_gnu_ld=no
12552
 
  ;;
12553
 
esac
12554
 
fi
12555
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12556
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12557
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12558
 
 
12559
 
 
12560
 
 
12561
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12562
 
  # archiving commands below assume that GNU ld is being used.
12563
 
  if test "$with_gnu_ld" = yes; then
12564
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12565
 
    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'
12566
 
 
12567
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12568
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12569
 
 
12570
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12571
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12572
 
    #     investigate it a little bit more. (MM)
12573
 
    wlarc='${wl}'
12574
 
 
12575
 
    # ancient GNU ld didn't support --whole-archive et. al.
12576
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12577
 
        grep 'no-whole-archive' > /dev/null; then
12578
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12579
 
    else
12580
 
      whole_archive_flag_spec_CXX=
12581
 
    fi
12582
 
  else
12583
 
    with_gnu_ld=no
12584
 
    wlarc=
12585
 
 
12586
 
    # A generic and very simple default shared library creation
12587
 
    # command for GNU C++ for the case where it uses the native
12588
 
    # linker, instead of GNU ld.  If possible, this setting should
12589
 
    # overridden to take advantage of the native linker features on
12590
 
    # the platform it is being used on.
12591
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12592
 
  fi
12593
 
 
12594
 
  # Commands to make compiler produce verbose output that lists
12595
 
  # what "hidden" libraries, object files and flags are used when
12596
 
  # linking a shared library.
12597
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12598
 
 
12599
 
else
12600
 
  GXX=no
12601
 
  with_gnu_ld=no
12602
 
  wlarc=
12603
 
fi
12604
 
 
12605
 
# PORTME: fill in a description of your system's C++ link characteristics
12606
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12607
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12608
 
ld_shlibs_CXX=yes
12609
 
case $host_os in
12610
 
  aix3*)
12611
 
    # FIXME: insert proper C++ library support
12612
 
    ld_shlibs_CXX=no
12613
 
    ;;
12614
 
  aix[4-9]*)
12615
 
    if test "$host_cpu" = ia64; then
12616
 
      # On IA64, the linker does run time linking by default, so we don't
12617
 
      # have to do anything special.
12618
 
      aix_use_runtimelinking=no
12619
 
      exp_sym_flag='-Bexport'
12620
 
      no_entry_flag=""
12621
 
    else
12622
 
      aix_use_runtimelinking=no
12623
 
 
12624
 
      # Test if we are trying to use run time linking or normal
12625
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12626
 
      # need to do runtime linking.
12627
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12628
 
        for ld_flag in $LDFLAGS; do
12629
 
          case $ld_flag in
12630
 
          *-brtl*)
12631
 
            aix_use_runtimelinking=yes
12632
 
            break
12633
 
            ;;
12634
 
          esac
12635
 
        done
12636
 
        ;;
12637
 
      esac
12638
 
 
12639
 
      exp_sym_flag='-bexport'
12640
 
      no_entry_flag='-bnoentry'
12641
 
    fi
12642
 
 
12643
 
    # When large executables or shared objects are built, AIX ld can
12644
 
    # have problems creating the table of contents.  If linking a library
12645
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12646
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12647
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12648
 
 
12649
 
    archive_cmds_CXX=''
12650
 
    hardcode_direct_CXX=yes
12651
 
    hardcode_libdir_separator_CXX=':'
12652
 
    link_all_deplibs_CXX=yes
12653
 
 
12654
 
    if test "$GXX" = yes; then
12655
 
      case $host_os in aix4.[012]|aix4.[012].*)
12656
 
      # We only want to do this on AIX 4.2 and lower, the check
12657
 
      # below for broken collect2 doesn't work under 4.3+
12658
 
        collect2name=`${CC} -print-prog-name=collect2`
12659
 
        if test -f "$collect2name" && \
12660
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12661
 
        then
12662
 
          # We have reworked collect2
12663
 
          :
12664
 
        else
12665
 
          # We have old collect2
12666
 
          hardcode_direct_CXX=unsupported
12667
 
          # It fails to find uninstalled libraries when the uninstalled
12668
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12669
 
          # to unsupported forces relinking
12670
 
          hardcode_minus_L_CXX=yes
12671
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12672
 
          hardcode_libdir_separator_CXX=
12673
 
        fi
12674
 
        ;;
12675
 
      esac
12676
 
      shared_flag='-shared'
12677
 
      if test "$aix_use_runtimelinking" = yes; then
12678
 
        shared_flag="$shared_flag "'${wl}-G'
12679
 
      fi
12680
 
    else
12681
 
      # not using gcc
12682
 
      if test "$host_cpu" = ia64; then
12683
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12684
 
        # chokes on -Wl,-G. The following line is correct:
12685
 
        shared_flag='-G'
12686
 
      else
12687
 
        if test "$aix_use_runtimelinking" = yes; then
12688
 
          shared_flag='${wl}-G'
12689
 
        else
12690
 
          shared_flag='${wl}-bM:SRE'
12691
 
        fi
12692
 
      fi
12693
 
    fi
12694
 
 
12695
 
    # It seems that -bexpall does not export symbols beginning with
12696
 
    # underscore (_), so it is better to generate a list of symbols to export.
12697
 
    always_export_symbols_CXX=yes
12698
 
    if test "$aix_use_runtimelinking" = yes; then
12699
 
      # Warning - without using the other runtime loading flags (-brtl),
12700
 
      # -berok will link without error, but may produce a broken library.
12701
 
      allow_undefined_flag_CXX='-berok'
12702
 
      # Determine the default libpath from the value encoded in an empty executable.
12703
 
      cat >conftest.$ac_ext <<_ACEOF
12704
 
/* confdefs.h.  */
12705
 
_ACEOF
12706
 
cat confdefs.h >>conftest.$ac_ext
12707
 
cat >>conftest.$ac_ext <<_ACEOF
12708
 
/* end confdefs.h.  */
12709
 
 
12710
 
int
12711
 
main ()
12712
 
{
12713
 
 
12714
 
  ;
12715
 
  return 0;
12716
 
}
12717
 
_ACEOF
12718
 
rm -f conftest.$ac_objext conftest$ac_exeext
12719
 
if { (ac_try="$ac_link"
12720
 
case "(($ac_try" in
12721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12722
 
  *) ac_try_echo=$ac_try;;
12723
 
esac
12724
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12725
 
  (eval "$ac_link") 2>conftest.er1
12726
 
  ac_status=$?
12727
 
  grep -v '^ *+' conftest.er1 >conftest.err
12728
 
  rm -f conftest.er1
12729
 
  cat conftest.err >&5
12730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731
 
  (exit $ac_status); } && {
12732
 
         test -z "$ac_cxx_werror_flag" ||
12733
 
         test ! -s conftest.err
12734
 
       } && test -s conftest$ac_exeext &&
12735
 
       $as_test_x conftest$ac_exeext; then
12736
 
 
12737
 
lt_aix_libpath_sed='
12738
 
    /Import File Strings/,/^$/ {
12739
 
        /^0/ {
12740
 
            s/^0  *\(.*\)$/\1/
12741
 
            p
12742
 
        }
12743
 
    }'
12744
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12745
 
# Check for a 64-bit object if we didn't find anything.
12746
 
if test -z "$aix_libpath"; then
12747
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12748
 
fi
12749
 
else
12750
 
  echo "$as_me: failed program was:" >&5
12751
 
sed 's/^/| /' conftest.$ac_ext >&5
12752
 
 
12753
 
 
12754
 
fi
12755
 
 
12756
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12757
 
      conftest$ac_exeext conftest.$ac_ext
12758
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12759
 
 
12760
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12761
 
 
12762
 
      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"
12763
 
     else
12764
 
      if test "$host_cpu" = ia64; then
12765
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12766
 
        allow_undefined_flag_CXX="-z nodefs"
12767
 
        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"
12768
 
      else
12769
 
        # Determine the default libpath from the value encoded in an empty executable.
12770
 
        cat >conftest.$ac_ext <<_ACEOF
12771
 
/* confdefs.h.  */
12772
 
_ACEOF
12773
 
cat confdefs.h >>conftest.$ac_ext
12774
 
cat >>conftest.$ac_ext <<_ACEOF
12775
 
/* end confdefs.h.  */
12776
 
 
12777
 
int
12778
 
main ()
12779
 
{
12780
 
 
12781
 
  ;
12782
 
  return 0;
12783
 
}
12784
 
_ACEOF
12785
 
rm -f conftest.$ac_objext conftest$ac_exeext
12786
 
if { (ac_try="$ac_link"
12787
 
case "(($ac_try" in
12788
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12789
 
  *) ac_try_echo=$ac_try;;
12790
 
esac
12791
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12792
 
  (eval "$ac_link") 2>conftest.er1
12793
 
  ac_status=$?
12794
 
  grep -v '^ *+' conftest.er1 >conftest.err
12795
 
  rm -f conftest.er1
12796
 
  cat conftest.err >&5
12797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798
 
  (exit $ac_status); } && {
12799
 
         test -z "$ac_cxx_werror_flag" ||
12800
 
         test ! -s conftest.err
12801
 
       } && test -s conftest$ac_exeext &&
12802
 
       $as_test_x conftest$ac_exeext; then
12803
 
 
12804
 
lt_aix_libpath_sed='
12805
 
    /Import File Strings/,/^$/ {
12806
 
        /^0/ {
12807
 
            s/^0  *\(.*\)$/\1/
12808
 
            p
12809
 
        }
12810
 
    }'
12811
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12812
 
# Check for a 64-bit object if we didn't find anything.
12813
 
if test -z "$aix_libpath"; then
12814
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12815
 
fi
12816
 
else
12817
 
  echo "$as_me: failed program was:" >&5
12818
 
sed 's/^/| /' conftest.$ac_ext >&5
12819
 
 
12820
 
 
12821
 
fi
12822
 
 
12823
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12824
 
      conftest$ac_exeext conftest.$ac_ext
12825
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12826
 
 
12827
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12828
 
        # Warning - without using the other run time loading flags,
12829
 
        # -berok will link without error, but may produce a broken library.
12830
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12831
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12832
 
        # Exported symbols can be pulled into shared objects from archives
12833
 
        whole_archive_flag_spec_CXX='$convenience'
12834
 
        archive_cmds_need_lc_CXX=yes
12835
 
        # This is similar to how AIX traditionally builds its shared libraries.
12836
 
        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'
12837
 
      fi
12838
 
    fi
12839
 
    ;;
12840
 
 
12841
 
  beos*)
12842
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12843
 
      allow_undefined_flag_CXX=unsupported
12844
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12845
 
      # support --undefined.  This deserves some investigation.  FIXME
12846
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12847
 
    else
12848
 
      ld_shlibs_CXX=no
12849
 
    fi
12850
 
    ;;
12851
 
 
12852
 
  chorus*)
12853
 
    case $cc_basename in
12854
 
      *)
12855
 
        # FIXME: insert proper C++ library support
12856
 
        ld_shlibs_CXX=no
12857
 
        ;;
12858
 
    esac
12859
 
    ;;
12860
 
 
12861
 
  cygwin* | mingw* | pw32*)
12862
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12863
 
    # as there is no search path for DLLs.
12864
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12865
 
    allow_undefined_flag_CXX=unsupported
12866
 
    always_export_symbols_CXX=no
12867
 
    enable_shared_with_static_runtimes_CXX=yes
12868
 
 
12869
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12870
 
      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'
12871
 
      # If the export-symbols file already is a .def file (1st line
12872
 
      # is EXPORTS), use it as is; otherwise, prepend...
12873
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12874
 
        cp $export_symbols $output_objdir/$soname.def;
12875
 
      else
12876
 
        echo EXPORTS > $output_objdir/$soname.def;
12877
 
        cat $export_symbols >> $output_objdir/$soname.def;
12878
 
      fi~
12879
 
      $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'
12880
 
    else
12881
 
      ld_shlibs_CXX=no
12882
 
    fi
12883
 
  ;;
12884
 
      darwin* | rhapsody*)
12885
 
      archive_cmds_need_lc_CXX=no
12886
 
      hardcode_direct_CXX=no
12887
 
      hardcode_automatic_CXX=yes
12888
 
      hardcode_shlibpath_var_CXX=unsupported
12889
 
      whole_archive_flag_spec_CXX=''
12890
 
      link_all_deplibs_CXX=yes
12891
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12892
 
      if test "$GXX" = yes ; then
12893
 
      output_verbose_link_cmd='echo'
12894
 
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12895
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12896
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12897
 
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12898
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12899
 
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12900
 
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12901
 
      fi
12902
 
      else
12903
 
      case $cc_basename in
12904
 
        xlc*)
12905
 
         output_verbose_link_cmd='echo'
12906
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12907
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12908
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12909
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12910
 
          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}'
12911
 
          ;;
12912
 
       *)
12913
 
         ld_shlibs_CXX=no
12914
 
          ;;
12915
 
      esac
12916
 
      fi
12917
 
        ;;
12918
 
 
12919
 
  dgux*)
12920
 
    case $cc_basename in
12921
 
      ec++*)
12922
 
        # FIXME: insert proper C++ library support
12923
 
        ld_shlibs_CXX=no
12924
 
        ;;
12925
 
      ghcx*)
12926
 
        # Green Hills C++ Compiler
12927
 
        # FIXME: insert proper C++ library support
12928
 
        ld_shlibs_CXX=no
12929
 
        ;;
12930
 
      *)
12931
 
        # FIXME: insert proper C++ library support
12932
 
        ld_shlibs_CXX=no
12933
 
        ;;
12934
 
    esac
12935
 
    ;;
12936
 
  freebsd[12]*)
12937
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12938
 
    ld_shlibs_CXX=no
12939
 
    ;;
12940
 
  freebsd-elf*)
12941
 
    archive_cmds_need_lc_CXX=no
12942
 
    ;;
12943
 
  freebsd* | dragonfly*)
12944
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12945
 
    # conventions
12946
 
    ld_shlibs_CXX=yes
12947
 
    ;;
12948
 
  gnu*)
12949
 
    ;;
12950
 
  hpux9*)
12951
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12952
 
    hardcode_libdir_separator_CXX=:
12953
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12954
 
    hardcode_direct_CXX=yes
12955
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12956
 
                                # but as the default
12957
 
                                # location of the library.
12958
 
 
12959
 
    case $cc_basename in
12960
 
    CC*)
12961
 
      # FIXME: insert proper C++ library support
12962
 
      ld_shlibs_CXX=no
12963
 
      ;;
12964
 
    aCC*)
12965
 
      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'
12966
 
      # Commands to make compiler produce verbose output that lists
12967
 
      # what "hidden" libraries, object files and flags are used when
12968
 
      # linking a shared library.
12969
 
      #
12970
 
      # There doesn't appear to be a way to prevent this compiler from
12971
 
      # explicitly linking system object files so we need to strip them
12972
 
      # from the output so that they don't get included in the library
12973
 
      # dependencies.
12974
 
      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'
12975
 
      ;;
12976
 
    *)
12977
 
      if test "$GXX" = yes; then
12978
 
        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'
12979
 
      else
12980
 
        # FIXME: insert proper C++ library support
12981
 
        ld_shlibs_CXX=no
12982
 
      fi
12983
 
      ;;
12984
 
    esac
12985
 
    ;;
12986
 
  hpux10*|hpux11*)
12987
 
    if test $with_gnu_ld = no; then
12988
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12989
 
      hardcode_libdir_separator_CXX=:
12990
 
 
12991
 
      case $host_cpu in
12992
 
      hppa*64*|ia64*) ;;
12993
 
      *)
12994
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12995
 
        ;;
12996
 
      esac
12997
 
    fi
12998
 
    case $host_cpu in
12999
 
    hppa*64*|ia64*)
13000
 
      hardcode_direct_CXX=no
13001
 
      hardcode_shlibpath_var_CXX=no
13002
 
      ;;
13003
 
    *)
13004
 
      hardcode_direct_CXX=yes
13005
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13006
 
                                              # but as the default
13007
 
                                              # location of the library.
13008
 
      ;;
13009
 
    esac
13010
 
 
13011
 
    case $cc_basename in
13012
 
      CC*)
13013
 
        # FIXME: insert proper C++ library support
13014
 
        ld_shlibs_CXX=no
13015
 
        ;;
13016
 
      aCC*)
13017
 
        case $host_cpu in
13018
 
        hppa*64*)
13019
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13020
 
          ;;
13021
 
        ia64*)
13022
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13023
 
          ;;
13024
 
        *)
13025
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13026
 
          ;;
13027
 
        esac
13028
 
        # Commands to make compiler produce verbose output that lists
13029
 
        # what "hidden" libraries, object files and flags are used when
13030
 
        # linking a shared library.
13031
 
        #
13032
 
        # There doesn't appear to be a way to prevent this compiler from
13033
 
        # explicitly linking system object files so we need to strip them
13034
 
        # from the output so that they don't get included in the library
13035
 
        # dependencies.
13036
 
        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'
13037
 
        ;;
13038
 
      *)
13039
 
        if test "$GXX" = yes; then
13040
 
          if test $with_gnu_ld = no; then
13041
 
            case $host_cpu in
13042
 
            hppa*64*)
13043
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13044
 
              ;;
13045
 
            ia64*)
13046
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13047
 
              ;;
13048
 
            *)
13049
 
              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'
13050
 
              ;;
13051
 
            esac
13052
 
          fi
13053
 
        else
13054
 
          # FIXME: insert proper C++ library support
13055
 
          ld_shlibs_CXX=no
13056
 
        fi
13057
 
        ;;
13058
 
    esac
13059
 
    ;;
13060
 
  interix[3-9]*)
13061
 
    hardcode_direct_CXX=no
13062
 
    hardcode_shlibpath_var_CXX=no
13063
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13064
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13065
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13066
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
13067
 
    # default) and relocated if they conflict, which is a slow very memory
13068
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
13069
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13070
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13071
 
    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'
13072
 
    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'
13073
 
    ;;
13074
 
  irix5* | irix6*)
13075
 
    case $cc_basename in
13076
 
      CC*)
13077
 
        # SGI C++
13078
 
        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'
13079
 
 
13080
 
        # Archives containing C++ object files must be created using
13081
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13082
 
        # necessary to make sure instantiated templates are included
13083
 
        # in the archive.
13084
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13085
 
        ;;
13086
 
      *)
13087
 
        if test "$GXX" = yes; then
13088
 
          if test "$with_gnu_ld" = no; then
13089
 
            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'
13090
 
          else
13091
 
            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'
13092
 
          fi
13093
 
        fi
13094
 
        link_all_deplibs_CXX=yes
13095
 
        ;;
13096
 
    esac
13097
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13098
 
    hardcode_libdir_separator_CXX=:
13099
 
    ;;
13100
 
  linux* | k*bsd*-gnu)
13101
 
    case $cc_basename in
13102
 
      KCC*)
13103
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13104
 
 
13105
 
        # KCC will only create a shared library if the output file
13106
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13107
 
        # to its proper name (with version) after linking.
13108
 
        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'
13109
 
        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'
13110
 
        # Commands to make compiler produce verbose output that lists
13111
 
        # what "hidden" libraries, object files and flags are used when
13112
 
        # linking a shared library.
13113
 
        #
13114
 
        # There doesn't appear to be a way to prevent this compiler from
13115
 
        # explicitly linking system object files so we need to strip them
13116
 
        # from the output so that they don't get included in the library
13117
 
        # dependencies.
13118
 
        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'
13119
 
 
13120
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13121
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13122
 
 
13123
 
        # Archives containing C++ object files must be created using
13124
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13125
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13126
 
        ;;
13127
 
      icpc*)
13128
 
        # Intel C++
13129
 
        with_gnu_ld=yes
13130
 
        # version 8.0 and above of icpc choke on multiply defined symbols
13131
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
13132
 
        # earlier do not add the objects themselves.
13133
 
        case `$CC -V 2>&1` in
13134
 
        *"Version 7."*)
13135
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13136
 
          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'
13137
 
          ;;
13138
 
        *)  # Version 8.0 or newer
13139
 
          tmp_idyn=
13140
 
          case $host_cpu in
13141
 
            ia64*) tmp_idyn=' -i_dynamic';;
13142
 
          esac
13143
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13144
 
          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'
13145
 
          ;;
13146
 
        esac
13147
 
        archive_cmds_need_lc_CXX=no
13148
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13149
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13150
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13151
 
        ;;
13152
 
      pgCC* | pgcpp*)
13153
 
        # Portland Group C++ compiler
13154
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13155
 
        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'
13156
 
 
13157
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13158
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13159
 
        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'
13160
 
        ;;
13161
 
      cxx*)
13162
 
        # Compaq C++
13163
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13164
 
        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'
13165
 
 
13166
 
        runpath_var=LD_RUN_PATH
13167
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13168
 
        hardcode_libdir_separator_CXX=:
13169
 
 
13170
 
        # Commands to make compiler produce verbose output that lists
13171
 
        # what "hidden" libraries, object files and flags are used when
13172
 
        # linking a shared library.
13173
 
        #
13174
 
        # There doesn't appear to be a way to prevent this compiler from
13175
 
        # explicitly linking system object files so we need to strip them
13176
 
        # from the output so that they don't get included in the library
13177
 
        # dependencies.
13178
 
        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'
13179
 
        ;;
13180
 
      *)
13181
 
        case `$CC -V 2>&1 | sed 5q` in
13182
 
        *Sun\ C*)
13183
 
          # Sun C++ 5.9
13184
 
          no_undefined_flag_CXX=' -zdefs'
13185
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13186
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13187
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13188
 
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13189
 
 
13190
 
          # Not sure whether something based on
13191
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13192
 
          # would be better.
13193
 
          output_verbose_link_cmd='echo'
13194
 
 
13195
 
          # Archives containing C++ object files must be created using
13196
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13197
 
          # necessary to make sure instantiated templates are included
13198
 
          # in the archive.
13199
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13200
 
          ;;
13201
 
        esac
13202
 
        ;;
13203
 
    esac
13204
 
    ;;
13205
 
  lynxos*)
13206
 
    # FIXME: insert proper C++ library support
13207
 
    ld_shlibs_CXX=no
13208
 
    ;;
13209
 
  m88k*)
13210
 
    # FIXME: insert proper C++ library support
13211
 
    ld_shlibs_CXX=no
13212
 
    ;;
13213
 
  mvs*)
13214
 
    case $cc_basename in
13215
 
      cxx*)
13216
 
        # FIXME: insert proper C++ library support
13217
 
        ld_shlibs_CXX=no
13218
 
        ;;
13219
 
      *)
13220
 
        # FIXME: insert proper C++ library support
13221
 
        ld_shlibs_CXX=no
13222
 
        ;;
13223
 
    esac
13224
 
    ;;
13225
 
  netbsd* | netbsdelf*-gnu)
13226
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13227
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13228
 
      wlarc=
13229
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
13230
 
      hardcode_direct_CXX=yes
13231
 
      hardcode_shlibpath_var_CXX=no
13232
 
    fi
13233
 
    # Workaround some broken pre-1.5 toolchains
13234
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13235
 
    ;;
13236
 
  openbsd2*)
13237
 
    # C++ shared libraries are fairly broken
13238
 
    ld_shlibs_CXX=no
13239
 
    ;;
13240
 
  openbsd*)
13241
 
    if test -f /usr/libexec/ld.so; then
13242
 
      hardcode_direct_CXX=yes
13243
 
      hardcode_shlibpath_var_CXX=no
13244
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13245
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13246
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13247
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13248
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13249
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13250
 
      fi
13251
 
      output_verbose_link_cmd='echo'
13252
 
    else
13253
 
      ld_shlibs_CXX=no
13254
 
    fi
13255
 
    ;;
13256
 
  osf3*)
13257
 
    case $cc_basename in
13258
 
      KCC*)
13259
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13260
 
 
13261
 
        # KCC will only create a shared library if the output file
13262
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13263
 
        # to its proper name (with version) after linking.
13264
 
        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'
13265
 
 
13266
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13267
 
        hardcode_libdir_separator_CXX=:
13268
 
 
13269
 
        # Archives containing C++ object files must be created using
13270
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13271
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13272
 
 
13273
 
        ;;
13274
 
      RCC*)
13275
 
        # Rational C++ 2.4.1
13276
 
        # FIXME: insert proper C++ library support
13277
 
        ld_shlibs_CXX=no
13278
 
        ;;
13279
 
      cxx*)
13280
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13281
 
        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'
13282
 
 
13283
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13284
 
        hardcode_libdir_separator_CXX=:
13285
 
 
13286
 
        # Commands to make compiler produce verbose output that lists
13287
 
        # what "hidden" libraries, object files and flags are used when
13288
 
        # linking a shared library.
13289
 
        #
13290
 
        # There doesn't appear to be a way to prevent this compiler from
13291
 
        # explicitly linking system object files so we need to strip them
13292
 
        # from the output so that they don't get included in the library
13293
 
        # dependencies.
13294
 
        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'
13295
 
        ;;
13296
 
      *)
13297
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13298
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13299
 
          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'
13300
 
 
13301
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13302
 
          hardcode_libdir_separator_CXX=:
13303
 
 
13304
 
          # Commands to make compiler produce verbose output that lists
13305
 
          # what "hidden" libraries, object files and flags are used when
13306
 
          # linking a shared library.
13307
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13308
 
 
13309
 
        else
13310
 
          # FIXME: insert proper C++ library support
13311
 
          ld_shlibs_CXX=no
13312
 
        fi
13313
 
        ;;
13314
 
    esac
13315
 
    ;;
13316
 
  osf4* | osf5*)
13317
 
    case $cc_basename in
13318
 
      KCC*)
13319
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13320
 
 
13321
 
        # KCC will only create a shared library if the output file
13322
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13323
 
        # to its proper name (with version) after linking.
13324
 
        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'
13325
 
 
13326
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13327
 
        hardcode_libdir_separator_CXX=:
13328
 
 
13329
 
        # Archives containing C++ object files must be created using
13330
 
        # the KAI C++ compiler.
13331
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13332
 
        ;;
13333
 
      RCC*)
13334
 
        # Rational C++ 2.4.1
13335
 
        # FIXME: insert proper C++ library support
13336
 
        ld_shlibs_CXX=no
13337
 
        ;;
13338
 
      cxx*)
13339
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13340
 
        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'
13341
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13342
 
          echo "-hidden">> $lib.exp~
13343
 
          $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~
13344
 
          $rm $lib.exp'
13345
 
 
13346
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13347
 
        hardcode_libdir_separator_CXX=:
13348
 
 
13349
 
        # Commands to make compiler produce verbose output that lists
13350
 
        # what "hidden" libraries, object files and flags are used when
13351
 
        # linking a shared library.
13352
 
        #
13353
 
        # There doesn't appear to be a way to prevent this compiler from
13354
 
        # explicitly linking system object files so we need to strip them
13355
 
        # from the output so that they don't get included in the library
13356
 
        # dependencies.
13357
 
        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'
13358
 
        ;;
13359
 
      *)
13360
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13361
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13362
 
         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'
13363
 
 
13364
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13365
 
          hardcode_libdir_separator_CXX=:
13366
 
 
13367
 
          # Commands to make compiler produce verbose output that lists
13368
 
          # what "hidden" libraries, object files and flags are used when
13369
 
          # linking a shared library.
13370
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13371
 
 
13372
 
        else
13373
 
          # FIXME: insert proper C++ library support
13374
 
          ld_shlibs_CXX=no
13375
 
        fi
13376
 
        ;;
13377
 
    esac
13378
 
    ;;
13379
 
  psos*)
13380
 
    # FIXME: insert proper C++ library support
13381
 
    ld_shlibs_CXX=no
13382
 
    ;;
13383
 
  sunos4*)
13384
 
    case $cc_basename in
13385
 
      CC*)
13386
 
        # Sun C++ 4.x
13387
 
        # FIXME: insert proper C++ library support
13388
 
        ld_shlibs_CXX=no
13389
 
        ;;
13390
 
      lcc*)
13391
 
        # Lucid
13392
 
        # FIXME: insert proper C++ library support
13393
 
        ld_shlibs_CXX=no
13394
 
        ;;
13395
 
      *)
13396
 
        # FIXME: insert proper C++ library support
13397
 
        ld_shlibs_CXX=no
13398
 
        ;;
13399
 
    esac
13400
 
    ;;
13401
 
  solaris*)
13402
 
    case $cc_basename in
13403
 
      CC*)
13404
 
        # Sun C++ 4.2, 5.x and Centerline C++
13405
 
        archive_cmds_need_lc_CXX=yes
13406
 
        no_undefined_flag_CXX=' -zdefs'
13407
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13408
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13409
 
        $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'
13410
 
 
13411
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13412
 
        hardcode_shlibpath_var_CXX=no
13413
 
        case $host_os in
13414
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13415
 
          *)
13416
 
            # The compiler driver will combine and reorder linker options,
13417
 
            # but understands `-z linker_flag'.
13418
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13419
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13420
 
            ;;
13421
 
        esac
13422
 
        link_all_deplibs_CXX=yes
13423
 
 
13424
 
        output_verbose_link_cmd='echo'
13425
 
 
13426
 
        # Archives containing C++ object files must be created using
13427
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13428
 
        # necessary to make sure instantiated templates are included
13429
 
        # in the archive.
13430
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13431
 
        ;;
13432
 
      gcx*)
13433
 
        # Green Hills C++ Compiler
13434
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13435
 
 
13436
 
        # The C++ compiler must be used to create the archive.
13437
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13438
 
        ;;
13439
 
      *)
13440
 
        # GNU C++ compiler with Solaris linker
13441
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13442
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13443
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13444
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13445
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13446
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13447
 
 
13448
 
            # Commands to make compiler produce verbose output that lists
13449
 
            # what "hidden" libraries, object files and flags are used when
13450
 
            # linking a shared library.
13451
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13452
 
          else
13453
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13454
 
            # platform.
13455
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13456
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13457
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13458
 
 
13459
 
            # Commands to make compiler produce verbose output that lists
13460
 
            # what "hidden" libraries, object files and flags are used when
13461
 
            # linking a shared library.
13462
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13463
 
          fi
13464
 
 
13465
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13466
 
          case $host_os in
13467
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13468
 
          *)
13469
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13470
 
            ;;
13471
 
          esac
13472
 
        fi
13473
 
        ;;
13474
 
    esac
13475
 
    ;;
13476
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13477
 
    no_undefined_flag_CXX='${wl}-z,text'
13478
 
    archive_cmds_need_lc_CXX=no
13479
 
    hardcode_shlibpath_var_CXX=no
13480
 
    runpath_var='LD_RUN_PATH'
13481
 
 
13482
 
    case $cc_basename in
13483
 
      CC*)
13484
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13485
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13486
 
        ;;
13487
 
      *)
13488
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13489
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13490
 
        ;;
13491
 
    esac
13492
 
    ;;
13493
 
  sysv5* | sco3.2v5* | sco5v6*)
13494
 
    # Note: We can NOT use -z defs as we might desire, because we do not
13495
 
    # link with -lc, and that would cause any symbols used from libc to
13496
 
    # always be unresolved, which means just about no library would
13497
 
    # ever link correctly.  If we're not using GNU ld we use -z text
13498
 
    # though, which does catch some bad symbols but isn't as heavy-handed
13499
 
    # as -z defs.
13500
 
    # For security reasons, it is highly recommended that you always
13501
 
    # use absolute paths for naming shared libraries, and exclude the
13502
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
13503
 
    # requires that you compile everything twice, which is a pain.
13504
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
13505
 
    # non-empty value in the environment.  Most likely only useful for
13506
 
    # creating official distributions of packages.
13507
 
    # This is a hack until libtool officially supports absolute path
13508
 
    # names for shared libraries.
13509
 
    no_undefined_flag_CXX='${wl}-z,text'
13510
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
13511
 
    archive_cmds_need_lc_CXX=no
13512
 
    hardcode_shlibpath_var_CXX=no
13513
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13514
 
    hardcode_libdir_separator_CXX=':'
13515
 
    link_all_deplibs_CXX=yes
13516
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
13517
 
    runpath_var='LD_RUN_PATH'
13518
 
 
13519
 
    case $cc_basename in
13520
 
      CC*)
13521
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13522
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13523
 
        ;;
13524
 
      *)
13525
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13526
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13527
 
        ;;
13528
 
    esac
13529
 
    ;;
13530
 
  tandem*)
13531
 
    case $cc_basename in
13532
 
      NCC*)
13533
 
        # NonStop-UX NCC 3.20
13534
 
        # FIXME: insert proper C++ library support
13535
 
        ld_shlibs_CXX=no
13536
 
        ;;
13537
 
      *)
13538
 
        # FIXME: insert proper C++ library support
13539
 
        ld_shlibs_CXX=no
13540
 
        ;;
13541
 
    esac
13542
 
    ;;
13543
 
  vxworks*)
13544
 
    # FIXME: insert proper C++ library support
13545
 
    ld_shlibs_CXX=no
13546
 
    ;;
13547
 
  *)
13548
 
    # FIXME: insert proper C++ library support
13549
 
    ld_shlibs_CXX=no
13550
 
    ;;
13551
 
esac
13552
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13553
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13554
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13555
 
 
13556
 
GCC_CXX="$GXX"
13557
 
LD_CXX="$LD"
13558
 
 
13559
 
cat > conftest.$ac_ext <<EOF
13560
 
class Foo
13561
 
{
13562
 
public:
13563
 
  Foo (void) { a = 0; }
13564
 
private:
13565
 
  int a;
13566
 
};
13567
 
EOF
13568
 
 
13569
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13570
 
  (eval $ac_compile) 2>&5
13571
 
  ac_status=$?
13572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573
 
  (exit $ac_status); }; then
13574
 
  # Parse the compiler output and extract the necessary
13575
 
  # objects, libraries and library flags.
13576
 
 
13577
 
  # Sentinel used to keep track of whether or not we are before
13578
 
  # the conftest object file.
13579
 
  pre_test_object_deps_done=no
13580
 
 
13581
 
  # The `*' in the case matches for architectures that use `case' in
13582
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13583
 
  # eval without this substitution.
13584
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13585
 
 
13586
 
  for p in `eval $output_verbose_link_cmd`; do
13587
 
    case $p in
13588
 
 
13589
 
    -L* | -R* | -l*)
13590
 
       # Some compilers place space between "-{L,R}" and the path.
13591
 
       # Remove the space.
13592
 
       if test $p = "-L" \
13593
 
          || test $p = "-R"; then
13594
 
         prev=$p
13595
 
         continue
13596
 
       else
13597
 
         prev=
13598
 
       fi
13599
 
 
13600
 
       if test "$pre_test_object_deps_done" = no; then
13601
 
         case $p in
13602
 
         -L* | -R*)
13603
 
           # Internal compiler library paths should come after those
13604
 
           # provided the user.  The postdeps already come after the
13605
 
           # user supplied libs so there is no need to process them.
13606
 
           if test -z "$compiler_lib_search_path_CXX"; then
13607
 
             compiler_lib_search_path_CXX="${prev}${p}"
13608
 
           else
13609
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13610
 
           fi
13611
 
           ;;
13612
 
         # The "-l" case would never come before the object being
13613
 
         # linked, so don't bother handling this case.
13614
 
         esac
13615
 
       else
13616
 
         if test -z "$postdeps_CXX"; then
13617
 
           postdeps_CXX="${prev}${p}"
13618
 
         else
13619
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13620
 
         fi
13621
 
       fi
13622
 
       ;;
13623
 
 
13624
 
    *.$objext)
13625
 
       # This assumes that the test object file only shows up
13626
 
       # once in the compiler output.
13627
 
       if test "$p" = "conftest.$objext"; then
13628
 
         pre_test_object_deps_done=yes
13629
 
         continue
13630
 
       fi
13631
 
 
13632
 
       if test "$pre_test_object_deps_done" = no; then
13633
 
         if test -z "$predep_objects_CXX"; then
13634
 
           predep_objects_CXX="$p"
13635
 
         else
13636
 
           predep_objects_CXX="$predep_objects_CXX $p"
13637
 
         fi
13638
 
       else
13639
 
         if test -z "$postdep_objects_CXX"; then
13640
 
           postdep_objects_CXX="$p"
13641
 
         else
13642
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13643
 
         fi
13644
 
       fi
13645
 
       ;;
13646
 
 
13647
 
    *) ;; # Ignore the rest.
13648
 
 
13649
 
    esac
13650
 
  done
13651
 
 
13652
 
  # Clean up.
13653
 
  rm -f a.out a.exe
13654
 
else
13655
 
  echo "libtool.m4: error: problem compiling CXX test program"
13656
 
fi
13657
 
 
13658
 
$rm -f confest.$objext
13659
 
 
13660
 
compiler_lib_search_dirs_CXX=
13661
 
if test -n "$compiler_lib_search_path_CXX"; then
13662
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13663
 
fi
13664
 
 
13665
 
# PORTME: override above test on systems where it is broken
13666
 
case $host_os in
13667
 
interix[3-9]*)
13668
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13669
 
  # hack all around it, let's just trust "g++" to DTRT.
13670
 
  predep_objects_CXX=
13671
 
  postdep_objects_CXX=
13672
 
  postdeps_CXX=
13673
 
  ;;
13674
 
 
13675
 
linux*)
13676
 
  case `$CC -V 2>&1 | sed 5q` in
13677
 
  *Sun\ C*)
13678
 
    # Sun C++ 5.9
13679
 
    #
13680
 
    # The more standards-conforming stlport4 library is
13681
 
    # incompatible with the Cstd library. Avoid specifying
13682
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13683
 
    # -library=stlport4 depends on it.
13684
 
    case " $CXX $CXXFLAGS " in
13685
 
    *" -library=stlport4 "*)
13686
 
      solaris_use_stlport4=yes
13687
 
      ;;
13688
 
    esac
13689
 
    if test "$solaris_use_stlport4" != yes; then
13690
 
      postdeps_CXX='-library=Cstd -library=Crun'
13691
 
    fi
13692
 
    ;;
13693
 
  esac
13694
 
  ;;
13695
 
 
13696
 
solaris*)
13697
 
  case $cc_basename in
13698
 
  CC*)
13699
 
    # The more standards-conforming stlport4 library is
13700
 
    # incompatible with the Cstd library. Avoid specifying
13701
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13702
 
    # -library=stlport4 depends on it.
13703
 
    case " $CXX $CXXFLAGS " in
13704
 
    *" -library=stlport4 "*)
13705
 
      solaris_use_stlport4=yes
13706
 
      ;;
13707
 
    esac
13708
 
 
13709
 
    # Adding this requires a known-good setup of shared libraries for
13710
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13711
 
    # archive will be linked into the output, leading to subtle bugs.
13712
 
    if test "$solaris_use_stlport4" != yes; then
13713
 
      postdeps_CXX='-library=Cstd -library=Crun'
13714
 
    fi
13715
 
    ;;
13716
 
  esac
13717
 
  ;;
13718
 
esac
13719
 
 
13720
 
case " $postdeps_CXX " in
13721
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13722
 
esac
13723
 
 
13724
 
lt_prog_compiler_wl_CXX=
13725
 
lt_prog_compiler_pic_CXX=
13726
 
lt_prog_compiler_static_CXX=
13727
 
 
13728
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13729
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13730
 
 
13731
 
  # C++ specific cases for pic, static, wl, etc.
13732
 
  if test "$GXX" = yes; then
13733
 
    lt_prog_compiler_wl_CXX='-Wl,'
13734
 
    lt_prog_compiler_static_CXX='-static'
13735
 
 
13736
 
    case $host_os in
13737
 
    aix*)
13738
 
      # All AIX code is PIC.
13739
 
      if test "$host_cpu" = ia64; then
13740
 
        # AIX 5 now supports IA64 processor
13741
 
        lt_prog_compiler_static_CXX='-Bstatic'
13742
 
      fi
13743
 
      ;;
13744
 
    amigaos*)
13745
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13746
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13747
 
      # like `-m68040'.
13748
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13749
 
      ;;
13750
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13751
 
      # PIC is the default for these OSes.
13752
 
      ;;
13753
 
    mingw* | cygwin* | os2* | pw32*)
13754
 
      # This hack is so that the source file can tell whether it is being
13755
 
      # built for inclusion in a dll (and should export symbols for example).
13756
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13757
 
      # (--disable-auto-import) libraries
13758
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13759
 
      ;;
13760
 
    darwin* | rhapsody*)
13761
 
      # PIC is the default on this platform
13762
 
      # Common symbols not allowed in MH_DYLIB files
13763
 
      lt_prog_compiler_pic_CXX='-fno-common'
13764
 
      ;;
13765
 
    *djgpp*)
13766
 
      # DJGPP does not support shared libraries at all
13767
 
      lt_prog_compiler_pic_CXX=
13768
 
      ;;
13769
 
    interix[3-9]*)
13770
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13771
 
      # Instead, we relocate shared libraries at runtime.
13772
 
      ;;
13773
 
    sysv4*MP*)
13774
 
      if test -d /usr/nec; then
13775
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13776
 
      fi
13777
 
      ;;
13778
 
    hpux*)
13779
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13780
 
      # not for PA HP-UX.
13781
 
      case $host_cpu in
13782
 
      hppa*64*|ia64*)
13783
 
        ;;
13784
 
      *)
13785
 
        lt_prog_compiler_pic_CXX='-fPIC'
13786
 
        ;;
13787
 
      esac
13788
 
      ;;
13789
 
    *)
13790
 
      lt_prog_compiler_pic_CXX='-fPIC'
13791
 
      ;;
13792
 
    esac
13793
 
  else
13794
 
    case $host_os in
13795
 
      aix[4-9]*)
13796
 
        # All AIX code is PIC.
13797
 
        if test "$host_cpu" = ia64; then
13798
 
          # AIX 5 now supports IA64 processor
13799
 
          lt_prog_compiler_static_CXX='-Bstatic'
13800
 
        else
13801
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13802
 
        fi
13803
 
        ;;
13804
 
      chorus*)
13805
 
        case $cc_basename in
13806
 
        cxch68*)
13807
 
          # Green Hills C++ Compiler
13808
 
          # _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"
13809
 
          ;;
13810
 
        esac
13811
 
        ;;
13812
 
       darwin*)
13813
 
         # PIC is the default on this platform
13814
 
         # Common symbols not allowed in MH_DYLIB files
13815
 
         case $cc_basename in
13816
 
           xlc*)
13817
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13818
 
           lt_prog_compiler_wl_CXX='-Wl,'
13819
 
           ;;
13820
 
         esac
13821
 
       ;;
13822
 
      dgux*)
13823
 
        case $cc_basename in
13824
 
          ec++*)
13825
 
            lt_prog_compiler_pic_CXX='-KPIC'
13826
 
            ;;
13827
 
          ghcx*)
13828
 
            # Green Hills C++ Compiler
13829
 
            lt_prog_compiler_pic_CXX='-pic'
13830
 
            ;;
13831
 
          *)
13832
 
            ;;
13833
 
        esac
13834
 
        ;;
13835
 
      freebsd* | dragonfly*)
13836
 
        # FreeBSD uses GNU C++
13837
 
        ;;
13838
 
      hpux9* | hpux10* | hpux11*)
13839
 
        case $cc_basename in
13840
 
          CC*)
13841
 
            lt_prog_compiler_wl_CXX='-Wl,'
13842
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13843
 
            if test "$host_cpu" != ia64; then
13844
 
              lt_prog_compiler_pic_CXX='+Z'
13845
 
            fi
13846
 
            ;;
13847
 
          aCC*)
13848
 
            lt_prog_compiler_wl_CXX='-Wl,'
13849
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13850
 
            case $host_cpu in
13851
 
            hppa*64*|ia64*)
13852
 
              # +Z the default
13853
 
              ;;
13854
 
            *)
13855
 
              lt_prog_compiler_pic_CXX='+Z'
13856
 
              ;;
13857
 
            esac
13858
 
            ;;
13859
 
          *)
13860
 
            ;;
13861
 
        esac
13862
 
        ;;
13863
 
      interix*)
13864
 
        # This is c89, which is MS Visual C++ (no shared libs)
13865
 
        # Anyone wants to do a port?
13866
 
        ;;
13867
 
      irix5* | irix6* | nonstopux*)
13868
 
        case $cc_basename in
13869
 
          CC*)
13870
 
            lt_prog_compiler_wl_CXX='-Wl,'
13871
 
            lt_prog_compiler_static_CXX='-non_shared'
13872
 
            # CC pic flag -KPIC is the default.
13873
 
            ;;
13874
 
          *)
13875
 
            ;;
13876
 
        esac
13877
 
        ;;
13878
 
      linux* | k*bsd*-gnu)
13879
 
        case $cc_basename in
13880
 
          KCC*)
13881
 
            # KAI C++ Compiler
13882
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13883
 
            lt_prog_compiler_pic_CXX='-fPIC'
13884
 
            ;;
13885
 
          icpc* | ecpc*)
13886
 
            # Intel C++
13887
 
            lt_prog_compiler_wl_CXX='-Wl,'
13888
 
            lt_prog_compiler_pic_CXX='-KPIC'
13889
 
            lt_prog_compiler_static_CXX='-static'
13890
 
            ;;
13891
 
          pgCC* | pgcpp*)
13892
 
            # Portland Group C++ compiler.
13893
 
            lt_prog_compiler_wl_CXX='-Wl,'
13894
 
            lt_prog_compiler_pic_CXX='-fpic'
13895
 
            lt_prog_compiler_static_CXX='-Bstatic'
13896
 
            ;;
13897
 
          cxx*)
13898
 
            # Compaq C++
13899
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13900
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13901
 
            lt_prog_compiler_pic_CXX=
13902
 
            lt_prog_compiler_static_CXX='-non_shared'
13903
 
            ;;
13904
 
          *)
13905
 
            case `$CC -V 2>&1 | sed 5q` in
13906
 
            *Sun\ C*)
13907
 
              # Sun C++ 5.9
13908
 
              lt_prog_compiler_pic_CXX='-KPIC'
13909
 
              lt_prog_compiler_static_CXX='-Bstatic'
13910
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13911
 
              ;;
13912
 
            esac
13913
 
            ;;
13914
 
        esac
13915
 
        ;;
13916
 
      lynxos*)
13917
 
        ;;
13918
 
      m88k*)
13919
 
        ;;
13920
 
      mvs*)
13921
 
        case $cc_basename in
13922
 
          cxx*)
13923
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13924
 
            ;;
13925
 
          *)
13926
 
            ;;
13927
 
        esac
13928
 
        ;;
13929
 
      netbsd* | netbsdelf*-gnu)
13930
 
        ;;
13931
 
      osf3* | osf4* | osf5*)
13932
 
        case $cc_basename in
13933
 
          KCC*)
13934
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13935
 
            ;;
13936
 
          RCC*)
13937
 
            # Rational C++ 2.4.1
13938
 
            lt_prog_compiler_pic_CXX='-pic'
13939
 
            ;;
13940
 
          cxx*)
13941
 
            # Digital/Compaq C++
13942
 
            lt_prog_compiler_wl_CXX='-Wl,'
13943
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13944
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13945
 
            lt_prog_compiler_pic_CXX=
13946
 
            lt_prog_compiler_static_CXX='-non_shared'
13947
 
            ;;
13948
 
          *)
13949
 
            ;;
13950
 
        esac
13951
 
        ;;
13952
 
      psos*)
13953
 
        ;;
13954
 
      solaris*)
13955
 
        case $cc_basename in
13956
 
          CC*)
13957
 
            # Sun C++ 4.2, 5.x and Centerline C++
13958
 
            lt_prog_compiler_pic_CXX='-KPIC'
13959
 
            lt_prog_compiler_static_CXX='-Bstatic'
13960
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13961
 
            ;;
13962
 
          gcx*)
13963
 
            # Green Hills C++ Compiler
13964
 
            lt_prog_compiler_pic_CXX='-PIC'
13965
 
            ;;
13966
 
          *)
13967
 
            ;;
13968
 
        esac
13969
 
        ;;
13970
 
      sunos4*)
13971
 
        case $cc_basename in
13972
 
          CC*)
13973
 
            # Sun C++ 4.x
13974
 
            lt_prog_compiler_pic_CXX='-pic'
13975
 
            lt_prog_compiler_static_CXX='-Bstatic'
13976
 
            ;;
13977
 
          lcc*)
13978
 
            # Lucid
13979
 
            lt_prog_compiler_pic_CXX='-pic'
13980
 
            ;;
13981
 
          *)
13982
 
            ;;
13983
 
        esac
13984
 
        ;;
13985
 
      tandem*)
13986
 
        case $cc_basename in
13987
 
          NCC*)
13988
 
            # NonStop-UX NCC 3.20
13989
 
            lt_prog_compiler_pic_CXX='-KPIC'
13990
 
            ;;
13991
 
          *)
13992
 
            ;;
13993
 
        esac
13994
 
        ;;
13995
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13996
 
        case $cc_basename in
13997
 
          CC*)
13998
 
            lt_prog_compiler_wl_CXX='-Wl,'
13999
 
            lt_prog_compiler_pic_CXX='-KPIC'
14000
 
            lt_prog_compiler_static_CXX='-Bstatic'
14001
 
            ;;
14002
 
        esac
14003
 
        ;;
14004
 
      vxworks*)
14005
 
        ;;
14006
 
      *)
14007
 
        lt_prog_compiler_can_build_shared_CXX=no
14008
 
        ;;
14009
 
    esac
14010
 
  fi
14011
 
 
14012
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14013
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14014
 
 
14015
 
#
14016
 
# Check to make sure the PIC flag actually works.
14017
 
#
14018
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14019
 
 
14020
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14021
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14022
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14023
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14024
 
else
14025
 
  lt_cv_prog_compiler_pic_works_CXX=no
14026
 
  ac_outfile=conftest.$ac_objext
14027
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14028
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14029
 
   # Insert the option either (1) after the last *FLAGS variable, or
14030
 
   # (2) before a word containing "conftest.", or (3) at the end.
14031
 
   # Note that $ac_compile itself does not contain backslashes and begins
14032
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14033
 
   # The option is referenced via a variable to avoid confusing sed.
14034
 
   lt_compile=`echo "$ac_compile" | $SED \
14035
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14036
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14037
 
   -e 's:$: $lt_compiler_flag:'`
14038
 
   (eval echo "\"\$as_me:14038: $lt_compile\"" >&5)
14039
 
   (eval "$lt_compile" 2>conftest.err)
14040
 
   ac_status=$?
14041
 
   cat conftest.err >&5
14042
 
   echo "$as_me:14042: \$? = $ac_status" >&5
14043
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14044
 
     # The compiler can only warn and ignore the option if not recognized
14045
 
     # So say no if there are warnings other than the usual output.
14046
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14047
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14048
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14049
 
       lt_cv_prog_compiler_pic_works_CXX=yes
14050
 
     fi
14051
 
   fi
14052
 
   $rm conftest*
14053
 
 
14054
 
fi
14055
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14056
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14057
 
 
14058
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14059
 
    case $lt_prog_compiler_pic_CXX in
14060
 
     "" | " "*) ;;
14061
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14062
 
     esac
14063
 
else
14064
 
    lt_prog_compiler_pic_CXX=
14065
 
     lt_prog_compiler_can_build_shared_CXX=no
14066
 
fi
14067
 
 
14068
 
fi
14069
 
case $host_os in
14070
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14071
 
  *djgpp*)
14072
 
    lt_prog_compiler_pic_CXX=
14073
 
    ;;
14074
 
  *)
14075
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14076
 
    ;;
14077
 
esac
14078
 
 
14079
 
#
14080
 
# Check to make sure the static flag actually works.
14081
 
#
14082
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14083
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14084
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14085
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14086
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14087
 
else
14088
 
  lt_cv_prog_compiler_static_works_CXX=no
14089
 
   save_LDFLAGS="$LDFLAGS"
14090
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14091
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14092
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14093
 
     # The linker can only warn and ignore the option if not recognized
14094
 
     # So say no if there are warnings
14095
 
     if test -s conftest.err; then
14096
 
       # Append any errors to the config.log.
14097
 
       cat conftest.err 1>&5
14098
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14099
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14100
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14101
 
         lt_cv_prog_compiler_static_works_CXX=yes
14102
 
       fi
14103
 
     else
14104
 
       lt_cv_prog_compiler_static_works_CXX=yes
14105
 
     fi
14106
 
   fi
14107
 
   $rm -r conftest*
14108
 
   LDFLAGS="$save_LDFLAGS"
14109
 
 
14110
 
fi
14111
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14112
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14113
 
 
14114
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14115
 
    :
14116
 
else
14117
 
    lt_prog_compiler_static_CXX=
14118
 
fi
14119
 
 
14120
 
 
14121
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14122
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14123
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14125
 
else
14126
 
  lt_cv_prog_compiler_c_o_CXX=no
14127
 
   $rm -r conftest 2>/dev/null
14128
 
   mkdir conftest
14129
 
   cd conftest
14130
 
   mkdir out
14131
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14132
 
 
14133
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14134
 
   # Insert the option either (1) after the last *FLAGS variable, or
14135
 
   # (2) before a word containing "conftest.", or (3) at the end.
14136
 
   # Note that $ac_compile itself does not contain backslashes and begins
14137
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14138
 
   lt_compile=`echo "$ac_compile" | $SED \
14139
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14140
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14141
 
   -e 's:$: $lt_compiler_flag:'`
14142
 
   (eval echo "\"\$as_me:14142: $lt_compile\"" >&5)
14143
 
   (eval "$lt_compile" 2>out/conftest.err)
14144
 
   ac_status=$?
14145
 
   cat out/conftest.err >&5
14146
 
   echo "$as_me:14146: \$? = $ac_status" >&5
14147
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14148
 
   then
14149
 
     # The compiler can only warn and ignore the option if not recognized
14150
 
     # So say no if there are warnings
14151
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14152
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14153
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14154
 
       lt_cv_prog_compiler_c_o_CXX=yes
14155
 
     fi
14156
 
   fi
14157
 
   chmod u+w . 2>&5
14158
 
   $rm conftest*
14159
 
   # SGI C++ compiler will create directory out/ii_files/ for
14160
 
   # template instantiation
14161
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14162
 
   $rm out/* && rmdir out
14163
 
   cd ..
14164
 
   rmdir conftest
14165
 
   $rm conftest*
14166
 
 
14167
 
fi
14168
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14169
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14170
 
 
14171
 
 
14172
 
hard_links="nottested"
14173
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14174
 
  # do not overwrite the value of need_locks provided by the user
14175
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14176
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14177
 
  hard_links=yes
14178
 
  $rm conftest*
14179
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14180
 
  touch conftest.a
14181
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14182
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14183
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14184
 
echo "${ECHO_T}$hard_links" >&6; }
14185
 
  if test "$hard_links" = no; then
14186
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14187
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14188
 
    need_locks=warn
14189
 
  fi
14190
 
else
14191
 
  need_locks=no
14192
 
fi
14193
 
 
14194
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14195
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14196
 
 
14197
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14198
 
  case $host_os in
14199
 
  aix[4-9]*)
14200
 
    # If we're using GNU nm, then we don't want the "-C" option.
14201
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14202
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14203
 
      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'
14204
 
    else
14205
 
      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'
14206
 
    fi
14207
 
    ;;
14208
 
  pw32*)
14209
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14210
 
  ;;
14211
 
  cygwin* | mingw*)
14212
 
    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'
14213
 
  ;;
14214
 
  linux* | k*bsd*-gnu)
14215
 
    link_all_deplibs_CXX=no
14216
 
  ;;
14217
 
  *)
14218
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14219
 
  ;;
14220
 
  esac
14221
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14222
 
 
14223
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14224
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14225
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14226
 
 
14227
 
#
14228
 
# Do we need to explicitly link libc?
14229
 
#
14230
 
case "x$archive_cmds_need_lc_CXX" in
14231
 
x|xyes)
14232
 
  # Assume -lc should be added
14233
 
  archive_cmds_need_lc_CXX=yes
14234
 
 
14235
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14236
 
    case $archive_cmds_CXX in
14237
 
    *'~'*)
14238
 
      # FIXME: we may have to deal with multi-command sequences.
14239
 
      ;;
14240
 
    '$CC '*)
14241
 
      # Test whether the compiler implicitly links with -lc since on some
14242
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14243
 
      # to ld, don't add -lc before -lgcc.
14244
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14245
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14246
 
      $rm conftest*
14247
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14248
 
 
14249
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14250
 
  (eval $ac_compile) 2>&5
14251
 
  ac_status=$?
14252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253
 
  (exit $ac_status); } 2>conftest.err; then
14254
 
        soname=conftest
14255
 
        lib=conftest
14256
 
        libobjs=conftest.$ac_objext
14257
 
        deplibs=
14258
 
        wl=$lt_prog_compiler_wl_CXX
14259
 
        pic_flag=$lt_prog_compiler_pic_CXX
14260
 
        compiler_flags=-v
14261
 
        linker_flags=-v
14262
 
        verstring=
14263
 
        output_objdir=.
14264
 
        libname=conftest
14265
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14266
 
        allow_undefined_flag_CXX=
14267
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14268
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14269
 
  ac_status=$?
14270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271
 
  (exit $ac_status); }
14272
 
        then
14273
 
          archive_cmds_need_lc_CXX=no
14274
 
        else
14275
 
          archive_cmds_need_lc_CXX=yes
14276
 
        fi
14277
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14278
 
      else
14279
 
        cat conftest.err 1>&5
14280
 
      fi
14281
 
      $rm conftest*
14282
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14283
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14284
 
      ;;
14285
 
    esac
14286
 
  fi
14287
 
  ;;
14288
 
esac
14289
 
 
14290
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14291
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14292
 
library_names_spec=
14293
 
libname_spec='lib$name'
14294
 
soname_spec=
14295
 
shrext_cmds=".so"
14296
 
postinstall_cmds=
14297
 
postuninstall_cmds=
14298
 
finish_cmds=
14299
 
finish_eval=
14300
 
shlibpath_var=
14301
 
shlibpath_overrides_runpath=unknown
14302
 
version_type=none
14303
 
dynamic_linker="$host_os ld.so"
14304
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14305
 
 
14306
 
need_lib_prefix=unknown
14307
 
hardcode_into_libs=no
14308
 
 
14309
 
# when you set need_version to no, make sure it does not cause -set_version
14310
 
# flags to be left without arguments
14311
 
need_version=unknown
14312
 
 
14313
 
case $host_os in
14314
 
aix3*)
14315
 
  version_type=linux
14316
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14317
 
  shlibpath_var=LIBPATH
14318
 
 
14319
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14320
 
  soname_spec='${libname}${release}${shared_ext}$major'
14321
 
  ;;
14322
 
 
14323
 
aix[4-9]*)
14324
 
  version_type=linux
14325
 
  need_lib_prefix=no
14326
 
  need_version=no
14327
 
  hardcode_into_libs=yes
14328
 
  if test "$host_cpu" = ia64; then
14329
 
    # AIX 5 supports IA64
14330
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14331
 
    shlibpath_var=LD_LIBRARY_PATH
14332
 
  else
14333
 
    # With GCC up to 2.95.x, collect2 would create an import file
14334
 
    # for dependence libraries.  The import file would start with
14335
 
    # the line `#! .'.  This would cause the generated library to
14336
 
    # depend on `.', always an invalid library.  This was fixed in
14337
 
    # development snapshots of GCC prior to 3.0.
14338
 
    case $host_os in
14339
 
      aix4 | aix4.[01] | aix4.[01].*)
14340
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14341
 
           echo ' yes '
14342
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14343
 
        :
14344
 
      else
14345
 
        can_build_shared=no
14346
 
      fi
14347
 
      ;;
14348
 
    esac
14349
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14350
 
    # soname into executable. Probably we can add versioning support to
14351
 
    # collect2, so additional links can be useful in future.
14352
 
    if test "$aix_use_runtimelinking" = yes; then
14353
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14354
 
      # instead of lib<name>.a to let people know that these are not
14355
 
      # typical AIX shared libraries.
14356
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14357
 
    else
14358
 
      # We preserve .a as extension for shared libraries through AIX4.2
14359
 
      # and later when we are not doing run time linking.
14360
 
      library_names_spec='${libname}${release}.a $libname.a'
14361
 
      soname_spec='${libname}${release}${shared_ext}$major'
14362
 
    fi
14363
 
    shlibpath_var=LIBPATH
14364
 
  fi
14365
 
  ;;
14366
 
 
14367
 
amigaos*)
14368
 
  library_names_spec='$libname.ixlibrary $libname.a'
14369
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14370
 
  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'
14371
 
  ;;
14372
 
 
14373
 
beos*)
14374
 
  library_names_spec='${libname}${shared_ext}'
14375
 
  dynamic_linker="$host_os ld.so"
14376
 
  shlibpath_var=LIBRARY_PATH
14377
 
  ;;
14378
 
 
14379
 
bsdi[45]*)
14380
 
  version_type=linux
14381
 
  need_version=no
14382
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14383
 
  soname_spec='${libname}${release}${shared_ext}$major'
14384
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14385
 
  shlibpath_var=LD_LIBRARY_PATH
14386
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14387
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14388
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14389
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14390
 
  # libtool to hard-code these into programs
14391
 
  ;;
14392
 
 
14393
 
cygwin* | mingw* | pw32*)
14394
 
  version_type=windows
14395
 
  shrext_cmds=".dll"
14396
 
  need_version=no
14397
 
  need_lib_prefix=no
14398
 
 
14399
 
  case $GCC,$host_os in
14400
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14401
 
    library_names_spec='$libname.dll.a'
14402
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14403
 
    postinstall_cmds='base_file=`basename \${file}`~
14404
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14405
 
      dldir=$destdir/`dirname \$dlpath`~
14406
 
      test -d \$dldir || mkdir -p \$dldir~
14407
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14408
 
      chmod a+x \$dldir/$dlname'
14409
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14410
 
      dlpath=$dir/\$dldll~
14411
 
       $rm \$dlpath'
14412
 
    shlibpath_overrides_runpath=yes
14413
 
 
14414
 
    case $host_os in
14415
 
    cygwin*)
14416
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14417
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14418
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14419
 
      ;;
14420
 
    mingw*)
14421
 
      # MinGW DLLs use traditional 'lib' prefix
14422
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14423
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14424
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14425
 
        # It is most probably a Windows format PATH printed by
14426
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14427
 
        # path with ; separators, and with drive letters. We can handle the
14428
 
        # drive letters (cygwin fileutils understands them), so leave them,
14429
 
        # especially as we might pass files found there to a mingw objdump,
14430
 
        # which wouldn't understand a cygwinified path. Ahh.
14431
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14432
 
      else
14433
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14434
 
      fi
14435
 
      ;;
14436
 
    pw32*)
14437
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14438
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14439
 
      ;;
14440
 
    esac
14441
 
    ;;
14442
 
 
14443
 
  *)
14444
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14445
 
    ;;
14446
 
  esac
14447
 
  dynamic_linker='Win32 ld.exe'
14448
 
  # FIXME: first we should search . and the directory the executable is in
14449
 
  shlibpath_var=PATH
14450
 
  ;;
14451
 
 
14452
 
darwin* | rhapsody*)
14453
 
  dynamic_linker="$host_os dyld"
14454
 
  version_type=darwin
14455
 
  need_lib_prefix=no
14456
 
  need_version=no
14457
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14458
 
  soname_spec='${libname}${release}${major}$shared_ext'
14459
 
  shlibpath_overrides_runpath=yes
14460
 
  shlibpath_var=DYLD_LIBRARY_PATH
14461
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14462
 
 
14463
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14464
 
  ;;
14465
 
 
14466
 
dgux*)
14467
 
  version_type=linux
14468
 
  need_lib_prefix=no
14469
 
  need_version=no
14470
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14471
 
  soname_spec='${libname}${release}${shared_ext}$major'
14472
 
  shlibpath_var=LD_LIBRARY_PATH
14473
 
  ;;
14474
 
 
14475
 
freebsd1*)
14476
 
  dynamic_linker=no
14477
 
  ;;
14478
 
 
14479
 
freebsd* | dragonfly*)
14480
 
  # DragonFly does not have aout.  When/if they implement a new
14481
 
  # versioning mechanism, adjust this.
14482
 
  if test -x /usr/bin/objformat; then
14483
 
    objformat=`/usr/bin/objformat`
14484
 
  else
14485
 
    case $host_os in
14486
 
    freebsd[123]*) objformat=aout ;;
14487
 
    *) objformat=elf ;;
14488
 
    esac
14489
 
  fi
14490
 
  version_type=freebsd-$objformat
14491
 
  case $version_type in
14492
 
    freebsd-elf*)
14493
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14494
 
      need_version=no
14495
 
      need_lib_prefix=no
14496
 
      ;;
14497
 
    freebsd-*)
14498
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14499
 
      need_version=yes
14500
 
      ;;
14501
 
  esac
14502
 
  shlibpath_var=LD_LIBRARY_PATH
14503
 
  case $host_os in
14504
 
  freebsd2*)
14505
 
    shlibpath_overrides_runpath=yes
14506
 
    ;;
14507
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14508
 
    shlibpath_overrides_runpath=yes
14509
 
    hardcode_into_libs=yes
14510
 
    ;;
14511
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14512
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14513
 
    shlibpath_overrides_runpath=no
14514
 
    hardcode_into_libs=yes
14515
 
    ;;
14516
 
  *) # from 4.6 on, and DragonFly
14517
 
    shlibpath_overrides_runpath=yes
14518
 
    hardcode_into_libs=yes
14519
 
    ;;
14520
 
  esac
14521
 
  ;;
14522
 
 
14523
 
gnu*)
14524
 
  version_type=linux
14525
 
  need_lib_prefix=no
14526
 
  need_version=no
14527
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14528
 
  soname_spec='${libname}${release}${shared_ext}$major'
14529
 
  shlibpath_var=LD_LIBRARY_PATH
14530
 
  hardcode_into_libs=yes
14531
 
  ;;
14532
 
 
14533
 
hpux9* | hpux10* | hpux11*)
14534
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14535
 
  # link against other versions.
14536
 
  version_type=sunos
14537
 
  need_lib_prefix=no
14538
 
  need_version=no
14539
 
  case $host_cpu in
14540
 
  ia64*)
14541
 
    shrext_cmds='.so'
14542
 
    hardcode_into_libs=yes
14543
 
    dynamic_linker="$host_os dld.so"
14544
 
    shlibpath_var=LD_LIBRARY_PATH
14545
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14546
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14547
 
    soname_spec='${libname}${release}${shared_ext}$major'
14548
 
    if test "X$HPUX_IA64_MODE" = X32; then
14549
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14550
 
    else
14551
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14552
 
    fi
14553
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14554
 
    ;;
14555
 
   hppa*64*)
14556
 
     shrext_cmds='.sl'
14557
 
     hardcode_into_libs=yes
14558
 
     dynamic_linker="$host_os dld.sl"
14559
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14560
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14561
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14562
 
     soname_spec='${libname}${release}${shared_ext}$major'
14563
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14564
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14565
 
     ;;
14566
 
   *)
14567
 
    shrext_cmds='.sl'
14568
 
    dynamic_linker="$host_os dld.sl"
14569
 
    shlibpath_var=SHLIB_PATH
14570
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14571
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14572
 
    soname_spec='${libname}${release}${shared_ext}$major'
14573
 
    ;;
14574
 
  esac
14575
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14576
 
  postinstall_cmds='chmod 555 $lib'
14577
 
  ;;
14578
 
 
14579
 
interix[3-9]*)
14580
 
  version_type=linux
14581
 
  need_lib_prefix=no
14582
 
  need_version=no
14583
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14584
 
  soname_spec='${libname}${release}${shared_ext}$major'
14585
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14586
 
  shlibpath_var=LD_LIBRARY_PATH
14587
 
  shlibpath_overrides_runpath=no
14588
 
  hardcode_into_libs=yes
14589
 
  ;;
14590
 
 
14591
 
irix5* | irix6* | nonstopux*)
14592
 
  case $host_os in
14593
 
    nonstopux*) version_type=nonstopux ;;
14594
 
    *)
14595
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14596
 
                version_type=linux
14597
 
        else
14598
 
                version_type=irix
14599
 
        fi ;;
14600
 
  esac
14601
 
  need_lib_prefix=no
14602
 
  need_version=no
14603
 
  soname_spec='${libname}${release}${shared_ext}$major'
14604
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14605
 
  case $host_os in
14606
 
  irix5* | nonstopux*)
14607
 
    libsuff= shlibsuff=
14608
 
    ;;
14609
 
  *)
14610
 
    case $LD in # libtool.m4 will add one of these switches to LD
14611
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14612
 
      libsuff= shlibsuff= libmagic=32-bit;;
14613
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14614
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14615
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14616
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14617
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14618
 
    esac
14619
 
    ;;
14620
 
  esac
14621
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14622
 
  shlibpath_overrides_runpath=no
14623
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14624
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14625
 
  hardcode_into_libs=yes
14626
 
  ;;
14627
 
 
14628
 
# No shared lib support for Linux oldld, aout, or coff.
14629
 
linux*oldld* | linux*aout* | linux*coff*)
14630
 
  dynamic_linker=no
14631
 
  ;;
14632
 
 
14633
 
# This must be Linux ELF.
14634
 
linux* | k*bsd*-gnu)
14635
 
  version_type=linux
14636
 
  need_lib_prefix=no
14637
 
  need_version=no
14638
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14639
 
  soname_spec='${libname}${release}${shared_ext}$major'
14640
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14641
 
  shlibpath_var=LD_LIBRARY_PATH
14642
 
  shlibpath_overrides_runpath=no
14643
 
  # This implies no fast_install, which is unacceptable.
14644
 
  # Some rework will be needed to allow for fast_install
14645
 
  # before this can be enabled.
14646
 
  hardcode_into_libs=yes
14647
 
 
14648
 
  # Append ld.so.conf contents to the search path
14649
 
  if test -f /etc/ld.so.conf; then
14650
 
    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' ' '`
14651
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14652
 
  fi
14653
 
 
14654
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14655
 
  # powerpc, because MkLinux only supported shared libraries with the
14656
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14657
 
  # most powerpc-linux boxes support dynamic linking these days and
14658
 
  # people can always --disable-shared, the test was removed, and we
14659
 
  # assume the GNU/Linux dynamic linker is in use.
14660
 
  dynamic_linker='GNU/Linux ld.so'
14661
 
  ;;
14662
 
 
14663
 
netbsdelf*-gnu)
14664
 
  version_type=linux
14665
 
  need_lib_prefix=no
14666
 
  need_version=no
14667
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14668
 
  soname_spec='${libname}${release}${shared_ext}$major'
14669
 
  shlibpath_var=LD_LIBRARY_PATH
14670
 
  shlibpath_overrides_runpath=no
14671
 
  hardcode_into_libs=yes
14672
 
  dynamic_linker='NetBSD ld.elf_so'
14673
 
  ;;
14674
 
 
14675
 
netbsd*)
14676
 
  version_type=sunos
14677
 
  need_lib_prefix=no
14678
 
  need_version=no
14679
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14680
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14681
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14682
 
    dynamic_linker='NetBSD (a.out) ld.so'
14683
 
  else
14684
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14685
 
    soname_spec='${libname}${release}${shared_ext}$major'
14686
 
    dynamic_linker='NetBSD ld.elf_so'
14687
 
  fi
14688
 
  shlibpath_var=LD_LIBRARY_PATH
14689
 
  shlibpath_overrides_runpath=yes
14690
 
  hardcode_into_libs=yes
14691
 
  ;;
14692
 
 
14693
 
newsos6)
14694
 
  version_type=linux
14695
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14696
 
  shlibpath_var=LD_LIBRARY_PATH
14697
 
  shlibpath_overrides_runpath=yes
14698
 
  ;;
14699
 
 
14700
 
nto-qnx*)
14701
 
  version_type=linux
14702
 
  need_lib_prefix=no
14703
 
  need_version=no
14704
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14705
 
  soname_spec='${libname}${release}${shared_ext}$major'
14706
 
  shlibpath_var=LD_LIBRARY_PATH
14707
 
  shlibpath_overrides_runpath=yes
14708
 
  ;;
14709
 
 
14710
 
openbsd*)
14711
 
  version_type=sunos
14712
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14713
 
  need_lib_prefix=no
14714
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14715
 
  case $host_os in
14716
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14717
 
    *)                         need_version=no  ;;
14718
 
  esac
14719
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14720
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14721
 
  shlibpath_var=LD_LIBRARY_PATH
14722
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14723
 
    case $host_os in
14724
 
      openbsd2.[89] | openbsd2.[89].*)
14725
 
        shlibpath_overrides_runpath=no
14726
 
        ;;
14727
 
      *)
14728
 
        shlibpath_overrides_runpath=yes
14729
 
        ;;
14730
 
      esac
14731
 
  else
14732
 
    shlibpath_overrides_runpath=yes
14733
 
  fi
14734
 
  ;;
14735
 
 
14736
 
os2*)
14737
 
  libname_spec='$name'
14738
 
  shrext_cmds=".dll"
14739
 
  need_lib_prefix=no
14740
 
  library_names_spec='$libname${shared_ext} $libname.a'
14741
 
  dynamic_linker='OS/2 ld.exe'
14742
 
  shlibpath_var=LIBPATH
14743
 
  ;;
14744
 
 
14745
 
osf3* | osf4* | osf5*)
14746
 
  version_type=osf
14747
 
  need_lib_prefix=no
14748
 
  need_version=no
14749
 
  soname_spec='${libname}${release}${shared_ext}$major'
14750
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14751
 
  shlibpath_var=LD_LIBRARY_PATH
14752
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14753
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14754
 
  ;;
14755
 
 
14756
 
rdos*)
14757
 
  dynamic_linker=no
14758
 
  ;;
14759
 
 
14760
 
solaris*)
14761
 
  version_type=linux
14762
 
  need_lib_prefix=no
14763
 
  need_version=no
14764
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14765
 
  soname_spec='${libname}${release}${shared_ext}$major'
14766
 
  shlibpath_var=LD_LIBRARY_PATH
14767
 
  shlibpath_overrides_runpath=yes
14768
 
  hardcode_into_libs=yes
14769
 
  # ldd complains unless libraries are executable
14770
 
  postinstall_cmds='chmod +x $lib'
14771
 
  ;;
14772
 
 
14773
 
sunos4*)
14774
 
  version_type=sunos
14775
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14776
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14777
 
  shlibpath_var=LD_LIBRARY_PATH
14778
 
  shlibpath_overrides_runpath=yes
14779
 
  if test "$with_gnu_ld" = yes; then
14780
 
    need_lib_prefix=no
14781
 
  fi
14782
 
  need_version=yes
14783
 
  ;;
14784
 
 
14785
 
sysv4 | sysv4.3*)
14786
 
  version_type=linux
14787
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14788
 
  soname_spec='${libname}${release}${shared_ext}$major'
14789
 
  shlibpath_var=LD_LIBRARY_PATH
14790
 
  case $host_vendor in
14791
 
    sni)
14792
 
      shlibpath_overrides_runpath=no
14793
 
      need_lib_prefix=no
14794
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14795
 
      runpath_var=LD_RUN_PATH
14796
 
      ;;
14797
 
    siemens)
14798
 
      need_lib_prefix=no
14799
 
      ;;
14800
 
    motorola)
14801
 
      need_lib_prefix=no
14802
 
      need_version=no
14803
 
      shlibpath_overrides_runpath=no
14804
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14805
 
      ;;
14806
 
  esac
14807
 
  ;;
14808
 
 
14809
 
sysv4*MP*)
14810
 
  if test -d /usr/nec ;then
14811
 
    version_type=linux
14812
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14813
 
    soname_spec='$libname${shared_ext}.$major'
14814
 
    shlibpath_var=LD_LIBRARY_PATH
14815
 
  fi
14816
 
  ;;
14817
 
 
14818
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14819
 
  version_type=freebsd-elf
14820
 
  need_lib_prefix=no
14821
 
  need_version=no
14822
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14823
 
  soname_spec='${libname}${release}${shared_ext}$major'
14824
 
  shlibpath_var=LD_LIBRARY_PATH
14825
 
  hardcode_into_libs=yes
14826
 
  if test "$with_gnu_ld" = yes; then
14827
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14828
 
    shlibpath_overrides_runpath=no
14829
 
  else
14830
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14831
 
    shlibpath_overrides_runpath=yes
14832
 
    case $host_os in
14833
 
      sco3.2v5*)
14834
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14835
 
        ;;
14836
 
    esac
14837
 
  fi
14838
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14839
 
  ;;
14840
 
 
14841
 
uts4*)
14842
 
  version_type=linux
14843
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14844
 
  soname_spec='${libname}${release}${shared_ext}$major'
14845
 
  shlibpath_var=LD_LIBRARY_PATH
14846
 
  ;;
14847
 
 
14848
 
*)
14849
 
  dynamic_linker=no
14850
 
  ;;
14851
 
esac
14852
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14853
 
echo "${ECHO_T}$dynamic_linker" >&6; }
14854
 
test "$dynamic_linker" = no && can_build_shared=no
14855
 
 
14856
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14858
 
else
14859
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
14860
 
fi
14861
 
 
14862
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14863
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14864
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14865
 
else
14866
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
14867
 
fi
14868
 
 
14869
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14870
 
 
14871
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14872
 
if test "$GCC" = yes; then
14873
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14874
 
fi
14875
 
 
14876
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14877
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14878
 
hardcode_action_CXX=
14879
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14880
 
   test -n "$runpath_var_CXX" || \
14881
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14882
 
 
14883
 
  # We can hardcode non-existant directories.
14884
 
  if test "$hardcode_direct_CXX" != no &&
14885
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14886
 
     # have to relink, otherwise we might link with an installed library
14887
 
     # when we should be linking with a yet-to-be-installed one
14888
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14889
 
     test "$hardcode_minus_L_CXX" != no; then
14890
 
    # Linking always hardcodes the temporary library directory.
14891
 
    hardcode_action_CXX=relink
14892
 
  else
14893
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14894
 
    hardcode_action_CXX=immediate
14895
 
  fi
14896
 
else
14897
 
  # We cannot hardcode anything, or else we can only hardcode existing
14898
 
  # directories.
14899
 
  hardcode_action_CXX=unsupported
14900
 
fi
14901
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14902
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14903
 
 
14904
 
if test "$hardcode_action_CXX" = relink; then
14905
 
  # Fast installation is not supported
14906
 
  enable_fast_install=no
14907
 
elif test "$shlibpath_overrides_runpath" = yes ||
14908
 
     test "$enable_shared" = no; then
14909
 
  # Fast installation is not necessary
14910
 
  enable_fast_install=needless
14911
 
fi
14912
 
 
14913
 
 
14914
 
# The else clause should only fire when bootstrapping the
14915
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14916
 
# with your package, and you will get complaints that there are
14917
 
# no rules to generate ltmain.sh.
14918
 
if test -f "$ltmain"; then
14919
 
  # See if we are running on zsh, and set the options which allow our commands through
14920
 
  # without removal of \ escapes.
14921
 
  if test -n "${ZSH_VERSION+set}" ; then
14922
 
    setopt NO_GLOB_SUBST
14923
 
  fi
14924
 
  # Now quote all the things that may contain metacharacters while being
14925
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14926
 
  # variables and quote the copies for generation of the libtool script.
14927
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14928
 
    SED SHELL STRIP \
14929
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14930
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14931
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14932
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14933
 
    lt_cv_sys_global_symbol_to_c_name_address \
14934
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14935
 
    old_postinstall_cmds old_postuninstall_cmds \
14936
 
    compiler_CXX \
14937
 
    CC_CXX \
14938
 
    LD_CXX \
14939
 
    lt_prog_compiler_wl_CXX \
14940
 
    lt_prog_compiler_pic_CXX \
14941
 
    lt_prog_compiler_static_CXX \
14942
 
    lt_prog_compiler_no_builtin_flag_CXX \
14943
 
    export_dynamic_flag_spec_CXX \
14944
 
    thread_safe_flag_spec_CXX \
14945
 
    whole_archive_flag_spec_CXX \
14946
 
    enable_shared_with_static_runtimes_CXX \
14947
 
    old_archive_cmds_CXX \
14948
 
    old_archive_from_new_cmds_CXX \
14949
 
    predep_objects_CXX \
14950
 
    postdep_objects_CXX \
14951
 
    predeps_CXX \
14952
 
    postdeps_CXX \
14953
 
    compiler_lib_search_path_CXX \
14954
 
    compiler_lib_search_dirs_CXX \
14955
 
    archive_cmds_CXX \
14956
 
    archive_expsym_cmds_CXX \
14957
 
    postinstall_cmds_CXX \
14958
 
    postuninstall_cmds_CXX \
14959
 
    old_archive_from_expsyms_cmds_CXX \
14960
 
    allow_undefined_flag_CXX \
14961
 
    no_undefined_flag_CXX \
14962
 
    export_symbols_cmds_CXX \
14963
 
    hardcode_libdir_flag_spec_CXX \
14964
 
    hardcode_libdir_flag_spec_ld_CXX \
14965
 
    hardcode_libdir_separator_CXX \
14966
 
    hardcode_automatic_CXX \
14967
 
    module_cmds_CXX \
14968
 
    module_expsym_cmds_CXX \
14969
 
    lt_cv_prog_compiler_c_o_CXX \
14970
 
    fix_srcfile_path_CXX \
14971
 
    exclude_expsyms_CXX \
14972
 
    include_expsyms_CXX; do
14973
 
 
14974
 
    case $var in
14975
 
    old_archive_cmds_CXX | \
14976
 
    old_archive_from_new_cmds_CXX | \
14977
 
    archive_cmds_CXX | \
14978
 
    archive_expsym_cmds_CXX | \
14979
 
    module_cmds_CXX | \
14980
 
    module_expsym_cmds_CXX | \
14981
 
    old_archive_from_expsyms_cmds_CXX | \
14982
 
    export_symbols_cmds_CXX | \
14983
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14984
 
    postinstall_cmds | postuninstall_cmds | \
14985
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14986
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14987
 
      # Double-quote double-evaled strings.
14988
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14989
 
      ;;
14990
 
    *)
14991
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14992
 
      ;;
14993
 
    esac
14994
 
  done
14995
 
 
14996
 
  case $lt_echo in
14997
 
  *'\$0 --fallback-echo"')
14998
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14999
 
    ;;
15000
 
  esac
15001
 
 
15002
 
cfgfile="$ofile"
15003
 
 
15004
 
  cat <<__EOF__ >> "$cfgfile"
15005
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15006
 
 
15007
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15008
 
 
15009
 
# Shell to use when invoking shell scripts.
15010
 
SHELL=$lt_SHELL
15011
 
 
15012
 
# Whether or not to build shared libraries.
15013
 
build_libtool_libs=$enable_shared
15014
 
 
15015
 
# Whether or not to build static libraries.
15016
 
build_old_libs=$enable_static
15017
 
 
15018
 
# Whether or not to add -lc for building shared libraries.
15019
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15020
 
 
15021
 
# Whether or not to disallow shared libs when runtime libs are static
15022
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15023
 
 
15024
 
# Whether or not to optimize for fast installation.
15025
 
fast_install=$enable_fast_install
15026
 
 
15027
 
# The host system.
15028
 
host_alias=$host_alias
15029
 
host=$host
15030
 
host_os=$host_os
15031
 
 
15032
 
# The build system.
15033
 
build_alias=$build_alias
15034
 
build=$build
15035
 
build_os=$build_os
15036
 
 
15037
 
# An echo program that does not interpret backslashes.
15038
 
echo=$lt_echo
15039
 
 
15040
 
# The archiver.
15041
 
AR=$lt_AR
15042
 
AR_FLAGS=$lt_AR_FLAGS
15043
 
 
15044
 
# A C compiler.
15045
 
LTCC=$lt_LTCC
15046
 
 
15047
 
# LTCC compiler flags.
15048
 
LTCFLAGS=$lt_LTCFLAGS
15049
 
 
15050
 
# A language-specific compiler.
15051
 
CC=$lt_compiler_CXX
15052
 
 
15053
 
# Is the compiler the GNU C compiler?
15054
 
with_gcc=$GCC_CXX
15055
 
 
15056
 
# An ERE matcher.
15057
 
EGREP=$lt_EGREP
15058
 
 
15059
 
# The linker used to build libraries.
15060
 
LD=$lt_LD_CXX
15061
 
 
15062
 
# Whether we need hard or soft links.
15063
 
LN_S=$lt_LN_S
15064
 
 
15065
 
# A BSD-compatible nm program.
15066
 
NM=$lt_NM
15067
 
 
15068
 
# A symbol stripping program
15069
 
STRIP=$lt_STRIP
15070
 
 
15071
 
# Used to examine libraries when file_magic_cmd begins "file"
15072
 
MAGIC_CMD=$MAGIC_CMD
15073
 
 
15074
 
# Used on cygwin: DLL creation program.
15075
 
DLLTOOL="$DLLTOOL"
15076
 
 
15077
 
# Used on cygwin: object dumper.
15078
 
OBJDUMP="$OBJDUMP"
15079
 
 
15080
 
# Used on cygwin: assembler.
15081
 
AS="$AS"
15082
 
 
15083
 
# The name of the directory that contains temporary libtool files.
15084
 
objdir=$objdir
15085
 
 
15086
 
# How to create reloadable object files.
15087
 
reload_flag=$lt_reload_flag
15088
 
reload_cmds=$lt_reload_cmds
15089
 
 
15090
 
# How to pass a linker flag through the compiler.
15091
 
wl=$lt_lt_prog_compiler_wl_CXX
15092
 
 
15093
 
# Object file suffix (normally "o").
15094
 
objext="$ac_objext"
15095
 
 
15096
 
# Old archive suffix (normally "a").
15097
 
libext="$libext"
15098
 
 
15099
 
# Shared library suffix (normally ".so").
15100
 
shrext_cmds='$shrext_cmds'
15101
 
 
15102
 
# Executable file suffix (normally "").
15103
 
exeext="$exeext"
15104
 
 
15105
 
# Additional compiler flags for building library objects.
15106
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
15107
 
pic_mode=$pic_mode
15108
 
 
15109
 
# What is the maximum length of a command?
15110
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15111
 
 
15112
 
# Does compiler simultaneously support -c and -o options?
15113
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15114
 
 
15115
 
# Must we lock files when doing compilation?
15116
 
need_locks=$lt_need_locks
15117
 
 
15118
 
# Do we need the lib prefix for modules?
15119
 
need_lib_prefix=$need_lib_prefix
15120
 
 
15121
 
# Do we need a version for libraries?
15122
 
need_version=$need_version
15123
 
 
15124
 
# Whether dlopen is supported.
15125
 
dlopen_support=$enable_dlopen
15126
 
 
15127
 
# Whether dlopen of programs is supported.
15128
 
dlopen_self=$enable_dlopen_self
15129
 
 
15130
 
# Whether dlopen of statically linked programs is supported.
15131
 
dlopen_self_static=$enable_dlopen_self_static
15132
 
 
15133
 
# Compiler flag to prevent dynamic linking.
15134
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
15135
 
 
15136
 
# Compiler flag to turn off builtin functions.
15137
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15138
 
 
15139
 
# Compiler flag to allow reflexive dlopens.
15140
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15141
 
 
15142
 
# Compiler flag to generate shared objects directly from archives.
15143
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15144
 
 
15145
 
# Compiler flag to generate thread-safe objects.
15146
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15147
 
 
15148
 
# Library versioning type.
15149
 
version_type=$version_type
15150
 
 
15151
 
# Format of library name prefix.
15152
 
libname_spec=$lt_libname_spec
15153
 
 
15154
 
# List of archive names.  First name is the real one, the rest are links.
15155
 
# The last name is the one that the linker finds with -lNAME.
15156
 
library_names_spec=$lt_library_names_spec
15157
 
 
15158
 
# The coded name of the library, if different from the real name.
15159
 
soname_spec=$lt_soname_spec
15160
 
 
15161
 
# Commands used to build and install an old-style archive.
15162
 
RANLIB=$lt_RANLIB
15163
 
old_archive_cmds=$lt_old_archive_cmds_CXX
15164
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15165
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15166
 
 
15167
 
# Create an old-style archive from a shared archive.
15168
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15169
 
 
15170
 
# Create a temporary old-style archive to link instead of a shared archive.
15171
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15172
 
 
15173
 
# Commands used to build and install a shared archive.
15174
 
archive_cmds=$lt_archive_cmds_CXX
15175
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15176
 
postinstall_cmds=$lt_postinstall_cmds
15177
 
postuninstall_cmds=$lt_postuninstall_cmds
15178
 
 
15179
 
# Commands used to build a loadable module (assumed same as above if empty)
15180
 
module_cmds=$lt_module_cmds_CXX
15181
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
15182
 
 
15183
 
# Commands to strip libraries.
15184
 
old_striplib=$lt_old_striplib
15185
 
striplib=$lt_striplib
15186
 
 
15187
 
# Dependencies to place before the objects being linked to create a
15188
 
# shared library.
15189
 
predep_objects=$lt_predep_objects_CXX
15190
 
 
15191
 
# Dependencies to place after the objects being linked to create a
15192
 
# shared library.
15193
 
postdep_objects=$lt_postdep_objects_CXX
15194
 
 
15195
 
# Dependencies to place before the objects being linked to create a
15196
 
# shared library.
15197
 
predeps=$lt_predeps_CXX
15198
 
 
15199
 
# Dependencies to place after the objects being linked to create a
15200
 
# shared library.
15201
 
postdeps=$lt_postdeps_CXX
15202
 
 
15203
 
# The directories searched by this compiler when creating a shared
15204
 
# library
15205
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15206
 
 
15207
 
# The library search path used internally by the compiler when linking
15208
 
# a shared library.
15209
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15210
 
 
15211
 
# Method to check whether dependent libraries are shared objects.
15212
 
deplibs_check_method=$lt_deplibs_check_method
15213
 
 
15214
 
# Command to use when deplibs_check_method == file_magic.
15215
 
file_magic_cmd=$lt_file_magic_cmd
15216
 
 
15217
 
# Flag that allows shared libraries with undefined symbols to be built.
15218
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
15219
 
 
15220
 
# Flag that forces no undefined symbols.
15221
 
no_undefined_flag=$lt_no_undefined_flag_CXX
15222
 
 
15223
 
# Commands used to finish a libtool library installation in a directory.
15224
 
finish_cmds=$lt_finish_cmds
15225
 
 
15226
 
# Same as above, but a single script fragment to be evaled but not shown.
15227
 
finish_eval=$lt_finish_eval
15228
 
 
15229
 
# Take the output of nm and produce a listing of raw symbols and C names.
15230
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15231
 
 
15232
 
# Transform the output of nm in a proper C declaration
15233
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15234
 
 
15235
 
# Transform the output of nm in a C name address pair
15236
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15237
 
 
15238
 
# This is the shared library runtime path variable.
15239
 
runpath_var=$runpath_var
15240
 
 
15241
 
# This is the shared library path variable.
15242
 
shlibpath_var=$shlibpath_var
15243
 
 
15244
 
# Is shlibpath searched before the hard-coded library search path?
15245
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15246
 
 
15247
 
# How to hardcode a shared library path into an executable.
15248
 
hardcode_action=$hardcode_action_CXX
15249
 
 
15250
 
# Whether we should hardcode library paths into libraries.
15251
 
hardcode_into_libs=$hardcode_into_libs
15252
 
 
15253
 
# Flag to hardcode \$libdir into a binary during linking.
15254
 
# This must work even if \$libdir does not exist.
15255
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15256
 
 
15257
 
# If ld is used when linking, flag to hardcode \$libdir into
15258
 
# a binary during linking. This must work even if \$libdir does
15259
 
# not exist.
15260
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15261
 
 
15262
 
# Whether we need a single -rpath flag with a separated argument.
15263
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15264
 
 
15265
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15266
 
# resulting binary.
15267
 
hardcode_direct=$hardcode_direct_CXX
15268
 
 
15269
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15270
 
# resulting binary.
15271
 
hardcode_minus_L=$hardcode_minus_L_CXX
15272
 
 
15273
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15274
 
# the resulting binary.
15275
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15276
 
 
15277
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
15278
 
# and all subsequent libraries and executables linked against it.
15279
 
hardcode_automatic=$hardcode_automatic_CXX
15280
 
 
15281
 
# Variables whose values should be saved in libtool wrapper scripts and
15282
 
# restored at relink time.
15283
 
variables_saved_for_relink="$variables_saved_for_relink"
15284
 
 
15285
 
# Whether libtool must link a program against all its dependency libraries.
15286
 
link_all_deplibs=$link_all_deplibs_CXX
15287
 
 
15288
 
# Compile-time system search path for libraries
15289
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15290
 
 
15291
 
# Run-time system search path for libraries
15292
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15293
 
 
15294
 
# Fix the shell variable \$srcfile for the compiler.
15295
 
fix_srcfile_path=$lt_fix_srcfile_path
15296
 
 
15297
 
# Set to yes if exported symbols are required.
15298
 
always_export_symbols=$always_export_symbols_CXX
15299
 
 
15300
 
# The commands to list exported symbols.
15301
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15302
 
 
15303
 
# The commands to extract the exported symbol list from a shared archive.
15304
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15305
 
 
15306
 
# Symbols that should not be listed in the preloaded symbols.
15307
 
exclude_expsyms=$lt_exclude_expsyms_CXX
15308
 
 
15309
 
# Symbols that must always be exported.
15310
 
include_expsyms=$lt_include_expsyms_CXX
15311
 
 
15312
 
# ### END LIBTOOL TAG CONFIG: $tagname
15313
 
 
15314
 
__EOF__
15315
 
 
15316
 
 
15317
 
else
15318
 
  # If there is no Makefile yet, we rely on a make rule to execute
15319
 
  # `config.status --recheck' to rerun these tests and create the
15320
 
  # libtool script then.
15321
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15322
 
  if test -f "$ltmain_in"; then
15323
 
    test -f Makefile && make "$ltmain"
15324
 
  fi
15325
 
fi
15326
 
 
15327
 
 
15328
 
ac_ext=c
15329
 
ac_cpp='$CPP $CPPFLAGS'
15330
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15331
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15332
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15333
 
 
15334
 
CC=$lt_save_CC
15335
 
LDCXX=$LD
15336
 
LD=$lt_save_LD
15337
 
GCC=$lt_save_GCC
15338
 
with_gnu_ldcxx=$with_gnu_ld
15339
 
with_gnu_ld=$lt_save_with_gnu_ld
15340
 
lt_cv_path_LDCXX=$lt_cv_path_LD
15341
 
lt_cv_path_LD=$lt_save_path_LD
15342
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15343
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15344
 
 
15345
 
        else
15346
 
          tagname=""
15347
 
        fi
15348
 
        ;;
15349
 
 
15350
 
      F77)
15351
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
15352
 
 
15353
 
ac_ext=f
15354
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15355
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15356
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15357
 
 
15358
 
 
15359
 
archive_cmds_need_lc_F77=no
15360
 
allow_undefined_flag_F77=
15361
 
always_export_symbols_F77=no
15362
 
archive_expsym_cmds_F77=
15363
 
export_dynamic_flag_spec_F77=
15364
 
hardcode_direct_F77=no
15365
 
hardcode_libdir_flag_spec_F77=
15366
 
hardcode_libdir_flag_spec_ld_F77=
15367
 
hardcode_libdir_separator_F77=
15368
 
hardcode_minus_L_F77=no
15369
 
hardcode_automatic_F77=no
15370
 
module_cmds_F77=
15371
 
module_expsym_cmds_F77=
15372
 
link_all_deplibs_F77=unknown
15373
 
old_archive_cmds_F77=$old_archive_cmds
15374
 
no_undefined_flag_F77=
15375
 
whole_archive_flag_spec_F77=
15376
 
enable_shared_with_static_runtimes_F77=no
15377
 
 
15378
 
# Source file extension for f77 test sources.
15379
 
ac_ext=f
15380
 
 
15381
 
# Object file extension for compiled f77 test sources.
15382
 
objext=o
15383
 
objext_F77=$objext
15384
 
 
15385
 
# Code to be used in simple compile tests
15386
 
lt_simple_compile_test_code="\
15387
 
      subroutine t
15388
 
      return
15389
 
      end
15390
 
"
15391
 
 
15392
 
# Code to be used in simple link tests
15393
 
lt_simple_link_test_code="\
15394
 
      program t
15395
 
      end
15396
 
"
15397
 
 
15398
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15399
 
 
15400
 
# If no C compiler was specified, use CC.
15401
 
LTCC=${LTCC-"$CC"}
15402
 
 
15403
 
# If no C compiler flags were specified, use CFLAGS.
15404
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15405
 
 
15406
 
# Allow CC to be a program name with arguments.
15407
 
compiler=$CC
15408
 
 
15409
 
 
15410
 
# save warnings/boilerplate of simple test code
15411
 
ac_outfile=conftest.$ac_objext
15412
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15413
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15414
 
_lt_compiler_boilerplate=`cat conftest.err`
15415
 
$rm conftest*
15416
 
 
15417
 
ac_outfile=conftest.$ac_objext
15418
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15419
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15420
 
_lt_linker_boilerplate=`cat conftest.err`
15421
 
$rm -r conftest*
15422
 
 
15423
 
 
15424
 
# Allow CC to be a program name with arguments.
15425
 
lt_save_CC="$CC"
15426
 
CC=${F77-"f77"}
15427
 
compiler=$CC
15428
 
compiler_F77=$CC
15429
 
for cc_temp in $compiler""; do
15430
 
  case $cc_temp in
15431
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15432
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15433
 
    \-*) ;;
15434
 
    *) break;;
15435
 
  esac
15436
 
done
15437
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15438
 
 
15439
 
 
15440
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15441
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15442
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15443
 
echo "${ECHO_T}$can_build_shared" >&6; }
15444
 
 
15445
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15446
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15447
 
test "$can_build_shared" = "no" && enable_shared=no
15448
 
 
15449
 
# On AIX, shared libraries and static libraries use the same namespace, and
15450
 
# are all built from PIC.
15451
 
case $host_os in
15452
 
aix3*)
15453
 
  test "$enable_shared" = yes && enable_static=no
15454
 
  if test -n "$RANLIB"; then
15455
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
15456
 
    postinstall_cmds='$RANLIB $lib'
15457
 
  fi
15458
 
  ;;
15459
 
aix[4-9]*)
15460
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15461
 
    test "$enable_shared" = yes && enable_static=no
15462
 
  fi
15463
 
  ;;
15464
 
esac
15465
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15466
 
echo "${ECHO_T}$enable_shared" >&6; }
15467
 
 
15468
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15469
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15470
 
# Make sure either enable_shared or enable_static is yes.
15471
 
test "$enable_shared" = yes || enable_static=yes
15472
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15473
 
echo "${ECHO_T}$enable_static" >&6; }
15474
 
 
15475
 
GCC_F77="$G77"
15476
 
LD_F77="$LD"
15477
 
 
15478
 
lt_prog_compiler_wl_F77=
15479
 
lt_prog_compiler_pic_F77=
15480
 
lt_prog_compiler_static_F77=
15481
 
 
15482
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15483
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15484
 
 
15485
 
  if test "$GCC" = yes; then
15486
 
    lt_prog_compiler_wl_F77='-Wl,'
15487
 
    lt_prog_compiler_static_F77='-static'
15488
 
 
15489
 
    case $host_os in
15490
 
      aix*)
15491
 
      # All AIX code is PIC.
15492
 
      if test "$host_cpu" = ia64; then
15493
 
        # AIX 5 now supports IA64 processor
15494
 
        lt_prog_compiler_static_F77='-Bstatic'
15495
 
      fi
15496
 
      ;;
15497
 
 
15498
 
    amigaos*)
15499
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15500
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15501
 
      # like `-m68040'.
15502
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15503
 
      ;;
15504
 
 
15505
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15506
 
      # PIC is the default for these OSes.
15507
 
      ;;
15508
 
 
15509
 
    mingw* | cygwin* | pw32* | os2*)
15510
 
      # This hack is so that the source file can tell whether it is being
15511
 
      # built for inclusion in a dll (and should export symbols for example).
15512
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15513
 
      # (--disable-auto-import) libraries
15514
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15515
 
      ;;
15516
 
 
15517
 
    darwin* | rhapsody*)
15518
 
      # PIC is the default on this platform
15519
 
      # Common symbols not allowed in MH_DYLIB files
15520
 
      lt_prog_compiler_pic_F77='-fno-common'
15521
 
      ;;
15522
 
 
15523
 
    interix[3-9]*)
15524
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15525
 
      # Instead, we relocate shared libraries at runtime.
15526
 
      ;;
15527
 
 
15528
 
    msdosdjgpp*)
15529
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15530
 
      # on systems that don't support them.
15531
 
      lt_prog_compiler_can_build_shared_F77=no
15532
 
      enable_shared=no
15533
 
      ;;
15534
 
 
15535
 
    sysv4*MP*)
15536
 
      if test -d /usr/nec; then
15537
 
        lt_prog_compiler_pic_F77=-Kconform_pic
15538
 
      fi
15539
 
      ;;
15540
 
 
15541
 
    hpux*)
15542
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15543
 
      # not for PA HP-UX.
15544
 
      case $host_cpu in
15545
 
      hppa*64*|ia64*)
15546
 
        # +Z the default
15547
 
        ;;
15548
 
      *)
15549
 
        lt_prog_compiler_pic_F77='-fPIC'
15550
 
        ;;
15551
 
      esac
15552
 
      ;;
15553
 
 
15554
 
    *)
15555
 
      lt_prog_compiler_pic_F77='-fPIC'
15556
 
      ;;
15557
 
    esac
15558
 
  else
15559
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15560
 
    case $host_os in
15561
 
    aix*)
15562
 
      lt_prog_compiler_wl_F77='-Wl,'
15563
 
      if test "$host_cpu" = ia64; then
15564
 
        # AIX 5 now supports IA64 processor
15565
 
        lt_prog_compiler_static_F77='-Bstatic'
15566
 
      else
15567
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15568
 
      fi
15569
 
      ;;
15570
 
      darwin*)
15571
 
        # PIC is the default on this platform
15572
 
        # Common symbols not allowed in MH_DYLIB files
15573
 
       case $cc_basename in
15574
 
         xlc*)
15575
 
         lt_prog_compiler_pic_F77='-qnocommon'
15576
 
         lt_prog_compiler_wl_F77='-Wl,'
15577
 
         ;;
15578
 
       esac
15579
 
       ;;
15580
 
 
15581
 
    mingw* | cygwin* | pw32* | os2*)
15582
 
      # This hack is so that the source file can tell whether it is being
15583
 
      # built for inclusion in a dll (and should export symbols for example).
15584
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15585
 
      ;;
15586
 
 
15587
 
    hpux9* | hpux10* | hpux11*)
15588
 
      lt_prog_compiler_wl_F77='-Wl,'
15589
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15590
 
      # not for PA HP-UX.
15591
 
      case $host_cpu in
15592
 
      hppa*64*|ia64*)
15593
 
        # +Z the default
15594
 
        ;;
15595
 
      *)
15596
 
        lt_prog_compiler_pic_F77='+Z'
15597
 
        ;;
15598
 
      esac
15599
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15600
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15601
 
      ;;
15602
 
 
15603
 
    irix5* | irix6* | nonstopux*)
15604
 
      lt_prog_compiler_wl_F77='-Wl,'
15605
 
      # PIC (with -KPIC) is the default.
15606
 
      lt_prog_compiler_static_F77='-non_shared'
15607
 
      ;;
15608
 
 
15609
 
    newsos6)
15610
 
      lt_prog_compiler_pic_F77='-KPIC'
15611
 
      lt_prog_compiler_static_F77='-Bstatic'
15612
 
      ;;
15613
 
 
15614
 
    linux* | k*bsd*-gnu)
15615
 
      case $cc_basename in
15616
 
      icc* | ecc*)
15617
 
        lt_prog_compiler_wl_F77='-Wl,'
15618
 
        lt_prog_compiler_pic_F77='-KPIC'
15619
 
        lt_prog_compiler_static_F77='-static'
15620
 
        ;;
15621
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15622
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15623
 
        # which looks to be a dead project)
15624
 
        lt_prog_compiler_wl_F77='-Wl,'
15625
 
        lt_prog_compiler_pic_F77='-fpic'
15626
 
        lt_prog_compiler_static_F77='-Bstatic'
15627
 
        ;;
15628
 
      ccc*)
15629
 
        lt_prog_compiler_wl_F77='-Wl,'
15630
 
        # All Alpha code is PIC.
15631
 
        lt_prog_compiler_static_F77='-non_shared'
15632
 
        ;;
15633
 
      *)
15634
 
        case `$CC -V 2>&1 | sed 5q` in
15635
 
        *Sun\ C*)
15636
 
          # Sun C 5.9
15637
 
          lt_prog_compiler_pic_F77='-KPIC'
15638
 
          lt_prog_compiler_static_F77='-Bstatic'
15639
 
          lt_prog_compiler_wl_F77='-Wl,'
15640
 
          ;;
15641
 
        *Sun\ F*)
15642
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15643
 
          lt_prog_compiler_pic_F77='-KPIC'
15644
 
          lt_prog_compiler_static_F77='-Bstatic'
15645
 
          lt_prog_compiler_wl_F77=''
15646
 
          ;;
15647
 
        esac
15648
 
        ;;
15649
 
      esac
15650
 
      ;;
15651
 
 
15652
 
    osf3* | osf4* | osf5*)
15653
 
      lt_prog_compiler_wl_F77='-Wl,'
15654
 
      # All OSF/1 code is PIC.
15655
 
      lt_prog_compiler_static_F77='-non_shared'
15656
 
      ;;
15657
 
 
15658
 
    rdos*)
15659
 
      lt_prog_compiler_static_F77='-non_shared'
15660
 
      ;;
15661
 
 
15662
 
    solaris*)
15663
 
      lt_prog_compiler_pic_F77='-KPIC'
15664
 
      lt_prog_compiler_static_F77='-Bstatic'
15665
 
      case $cc_basename in
15666
 
      f77* | f90* | f95*)
15667
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15668
 
      *)
15669
 
        lt_prog_compiler_wl_F77='-Wl,';;
15670
 
      esac
15671
 
      ;;
15672
 
 
15673
 
    sunos4*)
15674
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15675
 
      lt_prog_compiler_pic_F77='-PIC'
15676
 
      lt_prog_compiler_static_F77='-Bstatic'
15677
 
      ;;
15678
 
 
15679
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15680
 
      lt_prog_compiler_wl_F77='-Wl,'
15681
 
      lt_prog_compiler_pic_F77='-KPIC'
15682
 
      lt_prog_compiler_static_F77='-Bstatic'
15683
 
      ;;
15684
 
 
15685
 
    sysv4*MP*)
15686
 
      if test -d /usr/nec ;then
15687
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15688
 
        lt_prog_compiler_static_F77='-Bstatic'
15689
 
      fi
15690
 
      ;;
15691
 
 
15692
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15693
 
      lt_prog_compiler_wl_F77='-Wl,'
15694
 
      lt_prog_compiler_pic_F77='-KPIC'
15695
 
      lt_prog_compiler_static_F77='-Bstatic'
15696
 
      ;;
15697
 
 
15698
 
    unicos*)
15699
 
      lt_prog_compiler_wl_F77='-Wl,'
15700
 
      lt_prog_compiler_can_build_shared_F77=no
15701
 
      ;;
15702
 
 
15703
 
    uts4*)
15704
 
      lt_prog_compiler_pic_F77='-pic'
15705
 
      lt_prog_compiler_static_F77='-Bstatic'
15706
 
      ;;
15707
 
 
15708
 
    *)
15709
 
      lt_prog_compiler_can_build_shared_F77=no
15710
 
      ;;
15711
 
    esac
15712
 
  fi
15713
 
 
15714
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15715
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15716
 
 
15717
 
#
15718
 
# Check to make sure the PIC flag actually works.
15719
 
#
15720
 
if test -n "$lt_prog_compiler_pic_F77"; then
15721
 
 
15722
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15723
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15724
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15726
 
else
15727
 
  lt_cv_prog_compiler_pic_works_F77=no
15728
 
  ac_outfile=conftest.$ac_objext
15729
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15730
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15731
 
   # Insert the option either (1) after the last *FLAGS variable, or
15732
 
   # (2) before a word containing "conftest.", or (3) at the end.
15733
 
   # Note that $ac_compile itself does not contain backslashes and begins
15734
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15735
 
   # The option is referenced via a variable to avoid confusing sed.
15736
 
   lt_compile=`echo "$ac_compile" | $SED \
15737
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15738
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15739
 
   -e 's:$: $lt_compiler_flag:'`
15740
 
   (eval echo "\"\$as_me:15740: $lt_compile\"" >&5)
15741
 
   (eval "$lt_compile" 2>conftest.err)
15742
 
   ac_status=$?
15743
 
   cat conftest.err >&5
15744
 
   echo "$as_me:15744: \$? = $ac_status" >&5
15745
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15746
 
     # The compiler can only warn and ignore the option if not recognized
15747
 
     # So say no if there are warnings other than the usual output.
15748
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15749
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15750
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15751
 
       lt_cv_prog_compiler_pic_works_F77=yes
15752
 
     fi
15753
 
   fi
15754
 
   $rm conftest*
15755
 
 
15756
 
fi
15757
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
15758
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15759
 
 
15760
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15761
 
    case $lt_prog_compiler_pic_F77 in
15762
 
     "" | " "*) ;;
15763
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15764
 
     esac
15765
 
else
15766
 
    lt_prog_compiler_pic_F77=
15767
 
     lt_prog_compiler_can_build_shared_F77=no
15768
 
fi
15769
 
 
15770
 
fi
15771
 
case $host_os in
15772
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15773
 
  *djgpp*)
15774
 
    lt_prog_compiler_pic_F77=
15775
 
    ;;
15776
 
  *)
15777
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15778
 
    ;;
15779
 
esac
15780
 
 
15781
 
#
15782
 
# Check to make sure the static flag actually works.
15783
 
#
15784
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15785
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15786
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15787
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15788
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15789
 
else
15790
 
  lt_cv_prog_compiler_static_works_F77=no
15791
 
   save_LDFLAGS="$LDFLAGS"
15792
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15793
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15794
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15795
 
     # The linker can only warn and ignore the option if not recognized
15796
 
     # So say no if there are warnings
15797
 
     if test -s conftest.err; then
15798
 
       # Append any errors to the config.log.
15799
 
       cat conftest.err 1>&5
15800
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15801
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15802
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15803
 
         lt_cv_prog_compiler_static_works_F77=yes
15804
 
       fi
15805
 
     else
15806
 
       lt_cv_prog_compiler_static_works_F77=yes
15807
 
     fi
15808
 
   fi
15809
 
   $rm -r conftest*
15810
 
   LDFLAGS="$save_LDFLAGS"
15811
 
 
15812
 
fi
15813
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
15814
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15815
 
 
15816
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15817
 
    :
15818
 
else
15819
 
    lt_prog_compiler_static_F77=
15820
 
fi
15821
 
 
15822
 
 
15823
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15824
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15825
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15826
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15827
 
else
15828
 
  lt_cv_prog_compiler_c_o_F77=no
15829
 
   $rm -r conftest 2>/dev/null
15830
 
   mkdir conftest
15831
 
   cd conftest
15832
 
   mkdir out
15833
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15834
 
 
15835
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15836
 
   # Insert the option either (1) after the last *FLAGS variable, or
15837
 
   # (2) before a word containing "conftest.", or (3) at the end.
15838
 
   # Note that $ac_compile itself does not contain backslashes and begins
15839
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15840
 
   lt_compile=`echo "$ac_compile" | $SED \
15841
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15842
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15843
 
   -e 's:$: $lt_compiler_flag:'`
15844
 
   (eval echo "\"\$as_me:15844: $lt_compile\"" >&5)
15845
 
   (eval "$lt_compile" 2>out/conftest.err)
15846
 
   ac_status=$?
15847
 
   cat out/conftest.err >&5
15848
 
   echo "$as_me:15848: \$? = $ac_status" >&5
15849
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15850
 
   then
15851
 
     # The compiler can only warn and ignore the option if not recognized
15852
 
     # So say no if there are warnings
15853
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15854
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15855
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15856
 
       lt_cv_prog_compiler_c_o_F77=yes
15857
 
     fi
15858
 
   fi
15859
 
   chmod u+w . 2>&5
15860
 
   $rm conftest*
15861
 
   # SGI C++ compiler will create directory out/ii_files/ for
15862
 
   # template instantiation
15863
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15864
 
   $rm out/* && rmdir out
15865
 
   cd ..
15866
 
   rmdir conftest
15867
 
   $rm conftest*
15868
 
 
15869
 
fi
15870
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15871
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15872
 
 
15873
 
 
15874
 
hard_links="nottested"
15875
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15876
 
  # do not overwrite the value of need_locks provided by the user
15877
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15878
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15879
 
  hard_links=yes
15880
 
  $rm conftest*
15881
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15882
 
  touch conftest.a
15883
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15884
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15885
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15886
 
echo "${ECHO_T}$hard_links" >&6; }
15887
 
  if test "$hard_links" = no; then
15888
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15889
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15890
 
    need_locks=warn
15891
 
  fi
15892
 
else
15893
 
  need_locks=no
15894
 
fi
15895
 
 
15896
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15897
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15898
 
 
15899
 
  runpath_var=
15900
 
  allow_undefined_flag_F77=
15901
 
  enable_shared_with_static_runtimes_F77=no
15902
 
  archive_cmds_F77=
15903
 
  archive_expsym_cmds_F77=
15904
 
  old_archive_From_new_cmds_F77=
15905
 
  old_archive_from_expsyms_cmds_F77=
15906
 
  export_dynamic_flag_spec_F77=
15907
 
  whole_archive_flag_spec_F77=
15908
 
  thread_safe_flag_spec_F77=
15909
 
  hardcode_libdir_flag_spec_F77=
15910
 
  hardcode_libdir_flag_spec_ld_F77=
15911
 
  hardcode_libdir_separator_F77=
15912
 
  hardcode_direct_F77=no
15913
 
  hardcode_minus_L_F77=no
15914
 
  hardcode_shlibpath_var_F77=unsupported
15915
 
  link_all_deplibs_F77=unknown
15916
 
  hardcode_automatic_F77=no
15917
 
  module_cmds_F77=
15918
 
  module_expsym_cmds_F77=
15919
 
  always_export_symbols_F77=no
15920
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15921
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15922
 
  # included in the symbol list
15923
 
  include_expsyms_F77=
15924
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15925
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15926
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15927
 
  # as well as any symbol that contains `d'.
15928
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15929
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15930
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15931
 
  # the symbol is explicitly referenced.  Since portable code cannot
15932
 
  # rely on this symbol name, it's probably fine to never include it in
15933
 
  # preloaded symbol tables.
15934
 
  # Exclude shared library initialization/finalization symbols.
15935
 
  extract_expsyms_cmds=
15936
 
  # Just being paranoid about ensuring that cc_basename is set.
15937
 
  for cc_temp in $compiler""; do
15938
 
  case $cc_temp in
15939
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15940
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15941
 
    \-*) ;;
15942
 
    *) break;;
15943
 
  esac
15944
 
done
15945
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15946
 
 
15947
 
  case $host_os in
15948
 
  cygwin* | mingw* | pw32*)
15949
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15950
 
    # When not using gcc, we currently assume that we are using
15951
 
    # Microsoft Visual C++.
15952
 
    if test "$GCC" != yes; then
15953
 
      with_gnu_ld=no
15954
 
    fi
15955
 
    ;;
15956
 
  interix*)
15957
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15958
 
    with_gnu_ld=yes
15959
 
    ;;
15960
 
  openbsd*)
15961
 
    with_gnu_ld=no
15962
 
    ;;
15963
 
  esac
15964
 
 
15965
 
  ld_shlibs_F77=yes
15966
 
  if test "$with_gnu_ld" = yes; then
15967
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15968
 
    wlarc='${wl}'
15969
 
 
15970
 
    # Set some defaults for GNU ld with shared library support. These
15971
 
    # are reset later if shared libraries are not supported. Putting them
15972
 
    # here allows them to be overridden if necessary.
15973
 
    runpath_var=LD_RUN_PATH
15974
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15975
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15976
 
    # ancient GNU ld didn't support --whole-archive et. al.
15977
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15978
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15979
 
      else
15980
 
        whole_archive_flag_spec_F77=
15981
 
    fi
15982
 
    supports_anon_versioning=no
15983
 
    case `$LD -v 2>/dev/null` in
15984
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15985
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15986
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15987
 
      *\ 2.11.*) ;; # other 2.11 versions
15988
 
      *) supports_anon_versioning=yes ;;
15989
 
    esac
15990
 
 
15991
 
    # See if GNU ld supports shared libraries.
15992
 
    case $host_os in
15993
 
    aix[3-9]*)
15994
 
      # On AIX/PPC, the GNU linker is very broken
15995
 
      if test "$host_cpu" != ia64; then
15996
 
        ld_shlibs_F77=no
15997
 
        cat <<EOF 1>&2
15998
 
 
15999
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16000
 
*** to be unable to reliably create shared libraries on AIX.
16001
 
*** Therefore, libtool is disabling shared libraries support.  If you
16002
 
*** really care for shared libraries, you may want to modify your PATH
16003
 
*** so that a non-GNU linker is found, and then restart.
16004
 
 
16005
 
EOF
16006
 
      fi
16007
 
      ;;
16008
 
 
16009
 
    amigaos*)
16010
 
      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)'
16011
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16012
 
      hardcode_minus_L_F77=yes
16013
 
 
16014
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16015
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16016
 
      # to version 4, is to share data among multiple programs linked
16017
 
      # with the same dynamic library.  Since this doesn't match the
16018
 
      # behavior of shared libraries on other platforms, we can't use
16019
 
      # them.
16020
 
      ld_shlibs_F77=no
16021
 
      ;;
16022
 
 
16023
 
    beos*)
16024
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16025
 
        allow_undefined_flag_F77=unsupported
16026
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16027
 
        # support --undefined.  This deserves some investigation.  FIXME
16028
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16029
 
      else
16030
 
        ld_shlibs_F77=no
16031
 
      fi
16032
 
      ;;
16033
 
 
16034
 
    cygwin* | mingw* | pw32*)
16035
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16036
 
      # as there is no search path for DLLs.
16037
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16038
 
      allow_undefined_flag_F77=unsupported
16039
 
      always_export_symbols_F77=no
16040
 
      enable_shared_with_static_runtimes_F77=yes
16041
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16042
 
 
16043
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16044
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16045
 
        # If the export-symbols file already is a .def file (1st line
16046
 
        # is EXPORTS), use it as is; otherwise, prepend...
16047
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16048
 
          cp $export_symbols $output_objdir/$soname.def;
16049
 
        else
16050
 
          echo EXPORTS > $output_objdir/$soname.def;
16051
 
          cat $export_symbols >> $output_objdir/$soname.def;
16052
 
        fi~
16053
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16054
 
      else
16055
 
        ld_shlibs_F77=no
16056
 
      fi
16057
 
      ;;
16058
 
 
16059
 
    interix[3-9]*)
16060
 
      hardcode_direct_F77=no
16061
 
      hardcode_shlibpath_var_F77=no
16062
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16063
 
      export_dynamic_flag_spec_F77='${wl}-E'
16064
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16065
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16066
 
      # default) and relocated if they conflict, which is a slow very memory
16067
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16068
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16069
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16070
 
      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'
16071
 
      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'
16072
 
      ;;
16073
 
 
16074
 
    gnu* | linux* | k*bsd*-gnu)
16075
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16076
 
        tmp_addflag=
16077
 
        case $cc_basename,$host_cpu in
16078
 
        pgcc*)                          # Portland Group C compiler
16079
 
          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'
16080
 
          tmp_addflag=' $pic_flag'
16081
 
          ;;
16082
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16083
 
          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'
16084
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16085
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16086
 
          tmp_addflag=' -i_dynamic' ;;
16087
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16088
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16089
 
        ifc* | ifort*)                  # Intel Fortran compiler
16090
 
          tmp_addflag=' -nofor_main' ;;
16091
 
        esac
16092
 
        case `$CC -V 2>&1 | sed 5q` in
16093
 
        *Sun\ C*)                       # Sun C 5.9
16094
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16095
 
          tmp_sharedflag='-G' ;;
16096
 
        *Sun\ F*)                       # Sun Fortran 8.3
16097
 
          tmp_sharedflag='-G' ;;
16098
 
        *)
16099
 
          tmp_sharedflag='-shared' ;;
16100
 
        esac
16101
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16102
 
 
16103
 
        if test $supports_anon_versioning = yes; then
16104
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16105
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16106
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16107
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16108
 
        fi
16109
 
        link_all_deplibs_F77=no
16110
 
      else
16111
 
        ld_shlibs_F77=no
16112
 
      fi
16113
 
      ;;
16114
 
 
16115
 
    netbsd* | netbsdelf*-gnu)
16116
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16117
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16118
 
        wlarc=
16119
 
      else
16120
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16121
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16122
 
      fi
16123
 
      ;;
16124
 
 
16125
 
    solaris*)
16126
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16127
 
        ld_shlibs_F77=no
16128
 
        cat <<EOF 1>&2
16129
 
 
16130
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16131
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16132
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16133
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16134
 
*** your PATH or compiler configuration so that the native linker is
16135
 
*** used, and then restart.
16136
 
 
16137
 
EOF
16138
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16139
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16140
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16141
 
      else
16142
 
        ld_shlibs_F77=no
16143
 
      fi
16144
 
      ;;
16145
 
 
16146
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16147
 
      case `$LD -v 2>&1` in
16148
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16149
 
        ld_shlibs_F77=no
16150
 
        cat <<_LT_EOF 1>&2
16151
 
 
16152
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16153
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16154
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16155
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16156
 
*** your PATH or compiler configuration so that the native linker is
16157
 
*** used, and then restart.
16158
 
 
16159
 
_LT_EOF
16160
 
        ;;
16161
 
        *)
16162
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16163
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16164
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16165
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16166
 
          else
16167
 
            ld_shlibs_F77=no
16168
 
          fi
16169
 
        ;;
16170
 
      esac
16171
 
      ;;
16172
 
 
16173
 
    sunos4*)
16174
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16175
 
      wlarc=
16176
 
      hardcode_direct_F77=yes
16177
 
      hardcode_shlibpath_var_F77=no
16178
 
      ;;
16179
 
 
16180
 
    *)
16181
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16182
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16183
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16184
 
      else
16185
 
        ld_shlibs_F77=no
16186
 
      fi
16187
 
      ;;
16188
 
    esac
16189
 
 
16190
 
    if test "$ld_shlibs_F77" = no; then
16191
 
      runpath_var=
16192
 
      hardcode_libdir_flag_spec_F77=
16193
 
      export_dynamic_flag_spec_F77=
16194
 
      whole_archive_flag_spec_F77=
16195
 
    fi
16196
 
  else
16197
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16198
 
    case $host_os in
16199
 
    aix3*)
16200
 
      allow_undefined_flag_F77=unsupported
16201
 
      always_export_symbols_F77=yes
16202
 
      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'
16203
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16204
 
      # are no directories specified by -L.
16205
 
      hardcode_minus_L_F77=yes
16206
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16207
 
        # Neither direct hardcoding nor static linking is supported with a
16208
 
        # broken collect2.
16209
 
        hardcode_direct_F77=unsupported
16210
 
      fi
16211
 
      ;;
16212
 
 
16213
 
    aix[4-9]*)
16214
 
      if test "$host_cpu" = ia64; then
16215
 
        # On IA64, the linker does run time linking by default, so we don't
16216
 
        # have to do anything special.
16217
 
        aix_use_runtimelinking=no
16218
 
        exp_sym_flag='-Bexport'
16219
 
        no_entry_flag=""
16220
 
      else
16221
 
        # If we're using GNU nm, then we don't want the "-C" option.
16222
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
16223
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16224
 
          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'
16225
 
        else
16226
 
          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'
16227
 
        fi
16228
 
        aix_use_runtimelinking=no
16229
 
 
16230
 
        # Test if we are trying to use run time linking or normal
16231
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16232
 
        # need to do runtime linking.
16233
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16234
 
          for ld_flag in $LDFLAGS; do
16235
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16236
 
            aix_use_runtimelinking=yes
16237
 
            break
16238
 
          fi
16239
 
          done
16240
 
          ;;
16241
 
        esac
16242
 
 
16243
 
        exp_sym_flag='-bexport'
16244
 
        no_entry_flag='-bnoentry'
16245
 
      fi
16246
 
 
16247
 
      # When large executables or shared objects are built, AIX ld can
16248
 
      # have problems creating the table of contents.  If linking a library
16249
 
      # or program results in "error TOC overflow" add -mminimal-toc to
16250
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16251
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16252
 
 
16253
 
      archive_cmds_F77=''
16254
 
      hardcode_direct_F77=yes
16255
 
      hardcode_libdir_separator_F77=':'
16256
 
      link_all_deplibs_F77=yes
16257
 
 
16258
 
      if test "$GCC" = yes; then
16259
 
        case $host_os in aix4.[012]|aix4.[012].*)
16260
 
        # We only want to do this on AIX 4.2 and lower, the check
16261
 
        # below for broken collect2 doesn't work under 4.3+
16262
 
          collect2name=`${CC} -print-prog-name=collect2`
16263
 
          if test -f "$collect2name" && \
16264
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16265
 
          then
16266
 
          # We have reworked collect2
16267
 
          :
16268
 
          else
16269
 
          # We have old collect2
16270
 
          hardcode_direct_F77=unsupported
16271
 
          # It fails to find uninstalled libraries when the uninstalled
16272
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
16273
 
          # to unsupported forces relinking
16274
 
          hardcode_minus_L_F77=yes
16275
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
16276
 
          hardcode_libdir_separator_F77=
16277
 
          fi
16278
 
          ;;
16279
 
        esac
16280
 
        shared_flag='-shared'
16281
 
        if test "$aix_use_runtimelinking" = yes; then
16282
 
          shared_flag="$shared_flag "'${wl}-G'
16283
 
        fi
16284
 
      else
16285
 
        # not using gcc
16286
 
        if test "$host_cpu" = ia64; then
16287
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16288
 
        # chokes on -Wl,-G. The following line is correct:
16289
 
          shared_flag='-G'
16290
 
        else
16291
 
          if test "$aix_use_runtimelinking" = yes; then
16292
 
            shared_flag='${wl}-G'
16293
 
          else
16294
 
            shared_flag='${wl}-bM:SRE'
16295
 
          fi
16296
 
        fi
16297
 
      fi
16298
 
 
16299
 
      # It seems that -bexpall does not export symbols beginning with
16300
 
      # underscore (_), so it is better to generate a list of symbols to export.
16301
 
      always_export_symbols_F77=yes
16302
 
      if test "$aix_use_runtimelinking" = yes; then
16303
 
        # Warning - without using the other runtime loading flags (-brtl),
16304
 
        # -berok will link without error, but may produce a broken library.
16305
 
        allow_undefined_flag_F77='-berok'
16306
 
       # Determine the default libpath from the value encoded in an empty executable.
16307
 
       cat >conftest.$ac_ext <<_ACEOF
16308
 
      program main
16309
 
 
16310
 
      end
16311
 
_ACEOF
16312
 
rm -f conftest.$ac_objext conftest$ac_exeext
16313
 
if { (ac_try="$ac_link"
16314
 
case "(($ac_try" in
16315
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316
 
  *) ac_try_echo=$ac_try;;
16317
 
esac
16318
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319
 
  (eval "$ac_link") 2>conftest.er1
16320
 
  ac_status=$?
16321
 
  grep -v '^ *+' conftest.er1 >conftest.err
16322
 
  rm -f conftest.er1
16323
 
  cat conftest.err >&5
16324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325
 
  (exit $ac_status); } && {
16326
 
         test -z "$ac_f77_werror_flag" ||
16327
 
         test ! -s conftest.err
16328
 
       } && test -s conftest$ac_exeext &&
16329
 
       $as_test_x conftest$ac_exeext; then
16330
 
 
16331
 
lt_aix_libpath_sed='
16332
 
    /Import File Strings/,/^$/ {
16333
 
        /^0/ {
16334
 
            s/^0  *\(.*\)$/\1/
16335
 
            p
16336
 
        }
16337
 
    }'
16338
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16339
 
# Check for a 64-bit object if we didn't find anything.
16340
 
if test -z "$aix_libpath"; then
16341
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16342
 
fi
16343
 
else
16344
 
  echo "$as_me: failed program was:" >&5
16345
 
sed 's/^/| /' conftest.$ac_ext >&5
16346
 
 
16347
 
 
16348
 
fi
16349
 
 
16350
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16351
 
      conftest$ac_exeext conftest.$ac_ext
16352
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16353
 
 
16354
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16355
 
        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"
16356
 
       else
16357
 
        if test "$host_cpu" = ia64; then
16358
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16359
 
          allow_undefined_flag_F77="-z nodefs"
16360
 
          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"
16361
 
        else
16362
 
         # Determine the default libpath from the value encoded in an empty executable.
16363
 
         cat >conftest.$ac_ext <<_ACEOF
16364
 
      program main
16365
 
 
16366
 
      end
16367
 
_ACEOF
16368
 
rm -f conftest.$ac_objext conftest$ac_exeext
16369
 
if { (ac_try="$ac_link"
16370
 
case "(($ac_try" in
16371
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16372
 
  *) ac_try_echo=$ac_try;;
16373
 
esac
16374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16375
 
  (eval "$ac_link") 2>conftest.er1
16376
 
  ac_status=$?
16377
 
  grep -v '^ *+' conftest.er1 >conftest.err
16378
 
  rm -f conftest.er1
16379
 
  cat conftest.err >&5
16380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381
 
  (exit $ac_status); } && {
16382
 
         test -z "$ac_f77_werror_flag" ||
16383
 
         test ! -s conftest.err
16384
 
       } && test -s conftest$ac_exeext &&
16385
 
       $as_test_x conftest$ac_exeext; then
16386
 
 
16387
 
lt_aix_libpath_sed='
16388
 
    /Import File Strings/,/^$/ {
16389
 
        /^0/ {
16390
 
            s/^0  *\(.*\)$/\1/
16391
 
            p
16392
 
        }
16393
 
    }'
16394
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16395
 
# Check for a 64-bit object if we didn't find anything.
16396
 
if test -z "$aix_libpath"; then
16397
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16398
 
fi
16399
 
else
16400
 
  echo "$as_me: failed program was:" >&5
16401
 
sed 's/^/| /' conftest.$ac_ext >&5
16402
 
 
16403
 
 
16404
 
fi
16405
 
 
16406
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16407
 
      conftest$ac_exeext conftest.$ac_ext
16408
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16409
 
 
16410
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16411
 
          # Warning - without using the other run time loading flags,
16412
 
          # -berok will link without error, but may produce a broken library.
16413
 
          no_undefined_flag_F77=' ${wl}-bernotok'
16414
 
          allow_undefined_flag_F77=' ${wl}-berok'
16415
 
          # Exported symbols can be pulled into shared objects from archives
16416
 
          whole_archive_flag_spec_F77='$convenience'
16417
 
          archive_cmds_need_lc_F77=yes
16418
 
          # This is similar to how AIX traditionally builds its shared libraries.
16419
 
          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'
16420
 
        fi
16421
 
      fi
16422
 
      ;;
16423
 
 
16424
 
    amigaos*)
16425
 
      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)'
16426
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16427
 
      hardcode_minus_L_F77=yes
16428
 
      # see comment about different semantics on the GNU ld section
16429
 
      ld_shlibs_F77=no
16430
 
      ;;
16431
 
 
16432
 
    bsdi[45]*)
16433
 
      export_dynamic_flag_spec_F77=-rdynamic
16434
 
      ;;
16435
 
 
16436
 
    cygwin* | mingw* | pw32*)
16437
 
      # When not using gcc, we currently assume that we are using
16438
 
      # Microsoft Visual C++.
16439
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16440
 
      # no search path for DLLs.
16441
 
      hardcode_libdir_flag_spec_F77=' '
16442
 
      allow_undefined_flag_F77=unsupported
16443
 
      # Tell ltmain to make .lib files, not .a files.
16444
 
      libext=lib
16445
 
      # Tell ltmain to make .dll files, not .so files.
16446
 
      shrext_cmds=".dll"
16447
 
      # FIXME: Setting linknames here is a bad hack.
16448
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16449
 
      # The linker will automatically build a .lib file if we build a DLL.
16450
 
      old_archive_From_new_cmds_F77='true'
16451
 
      # FIXME: Should let the user specify the lib program.
16452
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16453
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16454
 
      enable_shared_with_static_runtimes_F77=yes
16455
 
      ;;
16456
 
 
16457
 
    darwin* | rhapsody*)
16458
 
      case $host_os in
16459
 
        rhapsody* | darwin1.[012])
16460
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16461
 
         ;;
16462
 
       *) # Darwin 1.3 on
16463
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16464
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16465
 
         else
16466
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16467
 
             10.[012])
16468
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16469
 
               ;;
16470
 
             10.*)
16471
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16472
 
               ;;
16473
 
           esac
16474
 
         fi
16475
 
         ;;
16476
 
      esac
16477
 
      archive_cmds_need_lc_F77=no
16478
 
      hardcode_direct_F77=no
16479
 
      hardcode_automatic_F77=yes
16480
 
      hardcode_shlibpath_var_F77=unsupported
16481
 
      whole_archive_flag_spec_F77=''
16482
 
      link_all_deplibs_F77=yes
16483
 
    if test "$GCC" = yes ; then
16484
 
        output_verbose_link_cmd='echo'
16485
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16486
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16487
 
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
16488
 
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16489
 
    else
16490
 
      case $cc_basename in
16491
 
        xlc*)
16492
 
         output_verbose_link_cmd='echo'
16493
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16494
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16495
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16496
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16497
 
          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}'
16498
 
          ;;
16499
 
       *)
16500
 
         ld_shlibs_F77=no
16501
 
          ;;
16502
 
      esac
16503
 
    fi
16504
 
      ;;
16505
 
 
16506
 
    dgux*)
16507
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16508
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16509
 
      hardcode_shlibpath_var_F77=no
16510
 
      ;;
16511
 
 
16512
 
    freebsd1*)
16513
 
      ld_shlibs_F77=no
16514
 
      ;;
16515
 
 
16516
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16517
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16518
 
    # does not break anything, and helps significantly (at the cost of a little
16519
 
    # extra space).
16520
 
    freebsd2.2*)
16521
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16522
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16523
 
      hardcode_direct_F77=yes
16524
 
      hardcode_shlibpath_var_F77=no
16525
 
      ;;
16526
 
 
16527
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16528
 
    freebsd2*)
16529
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16530
 
      hardcode_direct_F77=yes
16531
 
      hardcode_minus_L_F77=yes
16532
 
      hardcode_shlibpath_var_F77=no
16533
 
      ;;
16534
 
 
16535
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16536
 
    freebsd* | dragonfly*)
16537
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16538
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16539
 
      hardcode_direct_F77=yes
16540
 
      hardcode_shlibpath_var_F77=no
16541
 
      ;;
16542
 
 
16543
 
    hpux9*)
16544
 
      if test "$GCC" = yes; then
16545
 
        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'
16546
 
      else
16547
 
        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'
16548
 
      fi
16549
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16550
 
      hardcode_libdir_separator_F77=:
16551
 
      hardcode_direct_F77=yes
16552
 
 
16553
 
      # hardcode_minus_L: Not really in the search PATH,
16554
 
      # but as the default location of the library.
16555
 
      hardcode_minus_L_F77=yes
16556
 
      export_dynamic_flag_spec_F77='${wl}-E'
16557
 
      ;;
16558
 
 
16559
 
    hpux10*)
16560
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16561
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16562
 
      else
16563
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16564
 
      fi
16565
 
      if test "$with_gnu_ld" = no; then
16566
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16567
 
        hardcode_libdir_separator_F77=:
16568
 
 
16569
 
        hardcode_direct_F77=yes
16570
 
        export_dynamic_flag_spec_F77='${wl}-E'
16571
 
 
16572
 
        # hardcode_minus_L: Not really in the search PATH,
16573
 
        # but as the default location of the library.
16574
 
        hardcode_minus_L_F77=yes
16575
 
      fi
16576
 
      ;;
16577
 
 
16578
 
    hpux11*)
16579
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16580
 
        case $host_cpu in
16581
 
        hppa*64*)
16582
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16583
 
          ;;
16584
 
        ia64*)
16585
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16586
 
          ;;
16587
 
        *)
16588
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16589
 
          ;;
16590
 
        esac
16591
 
      else
16592
 
        case $host_cpu in
16593
 
        hppa*64*)
16594
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16595
 
          ;;
16596
 
        ia64*)
16597
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16598
 
          ;;
16599
 
        *)
16600
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16601
 
          ;;
16602
 
        esac
16603
 
      fi
16604
 
      if test "$with_gnu_ld" = no; then
16605
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16606
 
        hardcode_libdir_separator_F77=:
16607
 
 
16608
 
        case $host_cpu in
16609
 
        hppa*64*|ia64*)
16610
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16611
 
          hardcode_direct_F77=no
16612
 
          hardcode_shlibpath_var_F77=no
16613
 
          ;;
16614
 
        *)
16615
 
          hardcode_direct_F77=yes
16616
 
          export_dynamic_flag_spec_F77='${wl}-E'
16617
 
 
16618
 
          # hardcode_minus_L: Not really in the search PATH,
16619
 
          # but as the default location of the library.
16620
 
          hardcode_minus_L_F77=yes
16621
 
          ;;
16622
 
        esac
16623
 
      fi
16624
 
      ;;
16625
 
 
16626
 
    irix5* | irix6* | nonstopux*)
16627
 
      if test "$GCC" = yes; then
16628
 
        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'
16629
 
      else
16630
 
        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'
16631
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16632
 
      fi
16633
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16634
 
      hardcode_libdir_separator_F77=:
16635
 
      link_all_deplibs_F77=yes
16636
 
      ;;
16637
 
 
16638
 
    netbsd* | netbsdelf*-gnu)
16639
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16640
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16641
 
      else
16642
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16643
 
      fi
16644
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16645
 
      hardcode_direct_F77=yes
16646
 
      hardcode_shlibpath_var_F77=no
16647
 
      ;;
16648
 
 
16649
 
    newsos6)
16650
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16651
 
      hardcode_direct_F77=yes
16652
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16653
 
      hardcode_libdir_separator_F77=:
16654
 
      hardcode_shlibpath_var_F77=no
16655
 
      ;;
16656
 
 
16657
 
    openbsd*)
16658
 
      if test -f /usr/libexec/ld.so; then
16659
 
        hardcode_direct_F77=yes
16660
 
        hardcode_shlibpath_var_F77=no
16661
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16662
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16663
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16664
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16665
 
          export_dynamic_flag_spec_F77='${wl}-E'
16666
 
        else
16667
 
          case $host_os in
16668
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16669
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16670
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16671
 
             ;;
16672
 
           *)
16673
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16674
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16675
 
             ;;
16676
 
          esac
16677
 
        fi
16678
 
      else
16679
 
        ld_shlibs_F77=no
16680
 
      fi
16681
 
      ;;
16682
 
 
16683
 
    os2*)
16684
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16685
 
      hardcode_minus_L_F77=yes
16686
 
      allow_undefined_flag_F77=unsupported
16687
 
      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'
16688
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16689
 
      ;;
16690
 
 
16691
 
    osf3*)
16692
 
      if test "$GCC" = yes; then
16693
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16694
 
        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'
16695
 
      else
16696
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16697
 
        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'
16698
 
      fi
16699
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16700
 
      hardcode_libdir_separator_F77=:
16701
 
      ;;
16702
 
 
16703
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16704
 
      if test "$GCC" = yes; then
16705
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16706
 
        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'
16707
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16708
 
      else
16709
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16710
 
        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'
16711
 
        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~
16712
 
        $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'
16713
 
 
16714
 
        # Both c and cxx compiler support -rpath directly
16715
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16716
 
      fi
16717
 
      hardcode_libdir_separator_F77=:
16718
 
      ;;
16719
 
 
16720
 
    solaris*)
16721
 
      no_undefined_flag_F77=' -z text'
16722
 
      if test "$GCC" = yes; then
16723
 
        wlarc='${wl}'
16724
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16725
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16726
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16727
 
      else
16728
 
        wlarc=''
16729
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16730
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16731
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16732
 
      fi
16733
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16734
 
      hardcode_shlibpath_var_F77=no
16735
 
      case $host_os in
16736
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16737
 
      *)
16738
 
        # The compiler driver will combine and reorder linker options,
16739
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16740
 
        # but is careful enough not to reorder.
16741
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16742
 
        if test "$GCC" = yes; then
16743
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16744
 
        else
16745
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16746
 
        fi
16747
 
        ;;
16748
 
      esac
16749
 
      link_all_deplibs_F77=yes
16750
 
      ;;
16751
 
 
16752
 
    sunos4*)
16753
 
      if test "x$host_vendor" = xsequent; then
16754
 
        # Use $CC to link under sequent, because it throws in some extra .o
16755
 
        # files that make .init and .fini sections work.
16756
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16757
 
      else
16758
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16759
 
      fi
16760
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16761
 
      hardcode_direct_F77=yes
16762
 
      hardcode_minus_L_F77=yes
16763
 
      hardcode_shlibpath_var_F77=no
16764
 
      ;;
16765
 
 
16766
 
    sysv4)
16767
 
      case $host_vendor in
16768
 
        sni)
16769
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16770
 
          hardcode_direct_F77=yes # is this really true???
16771
 
        ;;
16772
 
        siemens)
16773
 
          ## LD is ld it makes a PLAMLIB
16774
 
          ## CC just makes a GrossModule.
16775
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16776
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16777
 
          hardcode_direct_F77=no
16778
 
        ;;
16779
 
        motorola)
16780
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16781
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16782
 
        ;;
16783
 
      esac
16784
 
      runpath_var='LD_RUN_PATH'
16785
 
      hardcode_shlibpath_var_F77=no
16786
 
      ;;
16787
 
 
16788
 
    sysv4.3*)
16789
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16790
 
      hardcode_shlibpath_var_F77=no
16791
 
      export_dynamic_flag_spec_F77='-Bexport'
16792
 
      ;;
16793
 
 
16794
 
    sysv4*MP*)
16795
 
      if test -d /usr/nec; then
16796
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16797
 
        hardcode_shlibpath_var_F77=no
16798
 
        runpath_var=LD_RUN_PATH
16799
 
        hardcode_runpath_var=yes
16800
 
        ld_shlibs_F77=yes
16801
 
      fi
16802
 
      ;;
16803
 
 
16804
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16805
 
      no_undefined_flag_F77='${wl}-z,text'
16806
 
      archive_cmds_need_lc_F77=no
16807
 
      hardcode_shlibpath_var_F77=no
16808
 
      runpath_var='LD_RUN_PATH'
16809
 
 
16810
 
      if test "$GCC" = yes; then
16811
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16812
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16813
 
      else
16814
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16815
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16816
 
      fi
16817
 
      ;;
16818
 
 
16819
 
    sysv5* | sco3.2v5* | sco5v6*)
16820
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16821
 
      # link with -lc, and that would cause any symbols used from libc to
16822
 
      # always be unresolved, which means just about no library would
16823
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16824
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16825
 
      # as -z defs.
16826
 
      no_undefined_flag_F77='${wl}-z,text'
16827
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16828
 
      archive_cmds_need_lc_F77=no
16829
 
      hardcode_shlibpath_var_F77=no
16830
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16831
 
      hardcode_libdir_separator_F77=':'
16832
 
      link_all_deplibs_F77=yes
16833
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16834
 
      runpath_var='LD_RUN_PATH'
16835
 
 
16836
 
      if test "$GCC" = yes; then
16837
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16838
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16839
 
      else
16840
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16841
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16842
 
      fi
16843
 
      ;;
16844
 
 
16845
 
    uts4*)
16846
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16847
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16848
 
      hardcode_shlibpath_var_F77=no
16849
 
      ;;
16850
 
 
16851
 
    *)
16852
 
      ld_shlibs_F77=no
16853
 
      ;;
16854
 
    esac
16855
 
  fi
16856
 
 
16857
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16858
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16859
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16860
 
 
16861
 
#
16862
 
# Do we need to explicitly link libc?
16863
 
#
16864
 
case "x$archive_cmds_need_lc_F77" in
16865
 
x|xyes)
16866
 
  # Assume -lc should be added
16867
 
  archive_cmds_need_lc_F77=yes
16868
 
 
16869
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16870
 
    case $archive_cmds_F77 in
16871
 
    *'~'*)
16872
 
      # FIXME: we may have to deal with multi-command sequences.
16873
 
      ;;
16874
 
    '$CC '*)
16875
 
      # Test whether the compiler implicitly links with -lc since on some
16876
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16877
 
      # to ld, don't add -lc before -lgcc.
16878
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16879
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16880
 
      $rm conftest*
16881
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16882
 
 
16883
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884
 
  (eval $ac_compile) 2>&5
16885
 
  ac_status=$?
16886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887
 
  (exit $ac_status); } 2>conftest.err; then
16888
 
        soname=conftest
16889
 
        lib=conftest
16890
 
        libobjs=conftest.$ac_objext
16891
 
        deplibs=
16892
 
        wl=$lt_prog_compiler_wl_F77
16893
 
        pic_flag=$lt_prog_compiler_pic_F77
16894
 
        compiler_flags=-v
16895
 
        linker_flags=-v
16896
 
        verstring=
16897
 
        output_objdir=.
16898
 
        libname=conftest
16899
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16900
 
        allow_undefined_flag_F77=
16901
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16902
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16903
 
  ac_status=$?
16904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905
 
  (exit $ac_status); }
16906
 
        then
16907
 
          archive_cmds_need_lc_F77=no
16908
 
        else
16909
 
          archive_cmds_need_lc_F77=yes
16910
 
        fi
16911
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16912
 
      else
16913
 
        cat conftest.err 1>&5
16914
 
      fi
16915
 
      $rm conftest*
16916
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16917
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16918
 
      ;;
16919
 
    esac
16920
 
  fi
16921
 
  ;;
16922
 
esac
16923
 
 
16924
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16925
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16926
 
library_names_spec=
16927
 
libname_spec='lib$name'
16928
 
soname_spec=
16929
 
shrext_cmds=".so"
16930
 
postinstall_cmds=
16931
 
postuninstall_cmds=
16932
 
finish_cmds=
16933
 
finish_eval=
16934
 
shlibpath_var=
16935
 
shlibpath_overrides_runpath=unknown
16936
 
version_type=none
16937
 
dynamic_linker="$host_os ld.so"
16938
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16939
 
 
16940
 
need_lib_prefix=unknown
16941
 
hardcode_into_libs=no
16942
 
 
16943
 
# when you set need_version to no, make sure it does not cause -set_version
16944
 
# flags to be left without arguments
16945
 
need_version=unknown
16946
 
 
16947
 
case $host_os in
16948
 
aix3*)
16949
 
  version_type=linux
16950
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16951
 
  shlibpath_var=LIBPATH
16952
 
 
16953
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16954
 
  soname_spec='${libname}${release}${shared_ext}$major'
16955
 
  ;;
16956
 
 
16957
 
aix[4-9]*)
16958
 
  version_type=linux
16959
 
  need_lib_prefix=no
16960
 
  need_version=no
16961
 
  hardcode_into_libs=yes
16962
 
  if test "$host_cpu" = ia64; then
16963
 
    # AIX 5 supports IA64
16964
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16965
 
    shlibpath_var=LD_LIBRARY_PATH
16966
 
  else
16967
 
    # With GCC up to 2.95.x, collect2 would create an import file
16968
 
    # for dependence libraries.  The import file would start with
16969
 
    # the line `#! .'.  This would cause the generated library to
16970
 
    # depend on `.', always an invalid library.  This was fixed in
16971
 
    # development snapshots of GCC prior to 3.0.
16972
 
    case $host_os in
16973
 
      aix4 | aix4.[01] | aix4.[01].*)
16974
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16975
 
           echo ' yes '
16976
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16977
 
        :
16978
 
      else
16979
 
        can_build_shared=no
16980
 
      fi
16981
 
      ;;
16982
 
    esac
16983
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16984
 
    # soname into executable. Probably we can add versioning support to
16985
 
    # collect2, so additional links can be useful in future.
16986
 
    if test "$aix_use_runtimelinking" = yes; then
16987
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16988
 
      # instead of lib<name>.a to let people know that these are not
16989
 
      # typical AIX shared libraries.
16990
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16991
 
    else
16992
 
      # We preserve .a as extension for shared libraries through AIX4.2
16993
 
      # and later when we are not doing run time linking.
16994
 
      library_names_spec='${libname}${release}.a $libname.a'
16995
 
      soname_spec='${libname}${release}${shared_ext}$major'
16996
 
    fi
16997
 
    shlibpath_var=LIBPATH
16998
 
  fi
16999
 
  ;;
17000
 
 
17001
 
amigaos*)
17002
 
  library_names_spec='$libname.ixlibrary $libname.a'
17003
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17004
 
  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'
17005
 
  ;;
17006
 
 
17007
 
beos*)
17008
 
  library_names_spec='${libname}${shared_ext}'
17009
 
  dynamic_linker="$host_os ld.so"
17010
 
  shlibpath_var=LIBRARY_PATH
17011
 
  ;;
17012
 
 
17013
 
bsdi[45]*)
17014
 
  version_type=linux
17015
 
  need_version=no
17016
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17017
 
  soname_spec='${libname}${release}${shared_ext}$major'
17018
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17019
 
  shlibpath_var=LD_LIBRARY_PATH
17020
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17021
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17022
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17023
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17024
 
  # libtool to hard-code these into programs
17025
 
  ;;
17026
 
 
17027
 
cygwin* | mingw* | pw32*)
17028
 
  version_type=windows
17029
 
  shrext_cmds=".dll"
17030
 
  need_version=no
17031
 
  need_lib_prefix=no
17032
 
 
17033
 
  case $GCC,$host_os in
17034
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17035
 
    library_names_spec='$libname.dll.a'
17036
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17037
 
    postinstall_cmds='base_file=`basename \${file}`~
17038
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17039
 
      dldir=$destdir/`dirname \$dlpath`~
17040
 
      test -d \$dldir || mkdir -p \$dldir~
17041
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17042
 
      chmod a+x \$dldir/$dlname'
17043
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17044
 
      dlpath=$dir/\$dldll~
17045
 
       $rm \$dlpath'
17046
 
    shlibpath_overrides_runpath=yes
17047
 
 
17048
 
    case $host_os in
17049
 
    cygwin*)
17050
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17051
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17052
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17053
 
      ;;
17054
 
    mingw*)
17055
 
      # MinGW DLLs use traditional 'lib' prefix
17056
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17057
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17058
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17059
 
        # It is most probably a Windows format PATH printed by
17060
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17061
 
        # path with ; separators, and with drive letters. We can handle the
17062
 
        # drive letters (cygwin fileutils understands them), so leave them,
17063
 
        # especially as we might pass files found there to a mingw objdump,
17064
 
        # which wouldn't understand a cygwinified path. Ahh.
17065
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17066
 
      else
17067
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17068
 
      fi
17069
 
      ;;
17070
 
    pw32*)
17071
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17072
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17073
 
      ;;
17074
 
    esac
17075
 
    ;;
17076
 
 
17077
 
  *)
17078
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17079
 
    ;;
17080
 
  esac
17081
 
  dynamic_linker='Win32 ld.exe'
17082
 
  # FIXME: first we should search . and the directory the executable is in
17083
 
  shlibpath_var=PATH
17084
 
  ;;
17085
 
 
17086
 
darwin* | rhapsody*)
17087
 
  dynamic_linker="$host_os dyld"
17088
 
  version_type=darwin
17089
 
  need_lib_prefix=no
17090
 
  need_version=no
17091
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17092
 
  soname_spec='${libname}${release}${major}$shared_ext'
17093
 
  shlibpath_overrides_runpath=yes
17094
 
  shlibpath_var=DYLD_LIBRARY_PATH
17095
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17096
 
 
17097
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17098
 
  ;;
17099
 
 
17100
 
dgux*)
17101
 
  version_type=linux
17102
 
  need_lib_prefix=no
17103
 
  need_version=no
17104
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17105
 
  soname_spec='${libname}${release}${shared_ext}$major'
17106
 
  shlibpath_var=LD_LIBRARY_PATH
17107
 
  ;;
17108
 
 
17109
 
freebsd1*)
17110
 
  dynamic_linker=no
17111
 
  ;;
17112
 
 
17113
 
freebsd* | dragonfly*)
17114
 
  # DragonFly does not have aout.  When/if they implement a new
17115
 
  # versioning mechanism, adjust this.
17116
 
  if test -x /usr/bin/objformat; then
17117
 
    objformat=`/usr/bin/objformat`
17118
 
  else
17119
 
    case $host_os in
17120
 
    freebsd[123]*) objformat=aout ;;
17121
 
    *) objformat=elf ;;
17122
 
    esac
17123
 
  fi
17124
 
  version_type=freebsd-$objformat
17125
 
  case $version_type in
17126
 
    freebsd-elf*)
17127
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17128
 
      need_version=no
17129
 
      need_lib_prefix=no
17130
 
      ;;
17131
 
    freebsd-*)
17132
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17133
 
      need_version=yes
17134
 
      ;;
17135
 
  esac
17136
 
  shlibpath_var=LD_LIBRARY_PATH
17137
 
  case $host_os in
17138
 
  freebsd2*)
17139
 
    shlibpath_overrides_runpath=yes
17140
 
    ;;
17141
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17142
 
    shlibpath_overrides_runpath=yes
17143
 
    hardcode_into_libs=yes
17144
 
    ;;
17145
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17146
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17147
 
    shlibpath_overrides_runpath=no
17148
 
    hardcode_into_libs=yes
17149
 
    ;;
17150
 
  *) # from 4.6 on, and DragonFly
17151
 
    shlibpath_overrides_runpath=yes
17152
 
    hardcode_into_libs=yes
17153
 
    ;;
17154
 
  esac
17155
 
  ;;
17156
 
 
17157
 
gnu*)
17158
 
  version_type=linux
17159
 
  need_lib_prefix=no
17160
 
  need_version=no
17161
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17162
 
  soname_spec='${libname}${release}${shared_ext}$major'
17163
 
  shlibpath_var=LD_LIBRARY_PATH
17164
 
  hardcode_into_libs=yes
17165
 
  ;;
17166
 
 
17167
 
hpux9* | hpux10* | hpux11*)
17168
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17169
 
  # link against other versions.
17170
 
  version_type=sunos
17171
 
  need_lib_prefix=no
17172
 
  need_version=no
17173
 
  case $host_cpu in
17174
 
  ia64*)
17175
 
    shrext_cmds='.so'
17176
 
    hardcode_into_libs=yes
17177
 
    dynamic_linker="$host_os dld.so"
17178
 
    shlibpath_var=LD_LIBRARY_PATH
17179
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17180
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17181
 
    soname_spec='${libname}${release}${shared_ext}$major'
17182
 
    if test "X$HPUX_IA64_MODE" = X32; then
17183
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17184
 
    else
17185
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17186
 
    fi
17187
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17188
 
    ;;
17189
 
   hppa*64*)
17190
 
     shrext_cmds='.sl'
17191
 
     hardcode_into_libs=yes
17192
 
     dynamic_linker="$host_os dld.sl"
17193
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17194
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17195
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17196
 
     soname_spec='${libname}${release}${shared_ext}$major'
17197
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17198
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17199
 
     ;;
17200
 
   *)
17201
 
    shrext_cmds='.sl'
17202
 
    dynamic_linker="$host_os dld.sl"
17203
 
    shlibpath_var=SHLIB_PATH
17204
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17205
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17206
 
    soname_spec='${libname}${release}${shared_ext}$major'
17207
 
    ;;
17208
 
  esac
17209
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17210
 
  postinstall_cmds='chmod 555 $lib'
17211
 
  ;;
17212
 
 
17213
 
interix[3-9]*)
17214
 
  version_type=linux
17215
 
  need_lib_prefix=no
17216
 
  need_version=no
17217
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17218
 
  soname_spec='${libname}${release}${shared_ext}$major'
17219
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17220
 
  shlibpath_var=LD_LIBRARY_PATH
17221
 
  shlibpath_overrides_runpath=no
17222
 
  hardcode_into_libs=yes
17223
 
  ;;
17224
 
 
17225
 
irix5* | irix6* | nonstopux*)
17226
 
  case $host_os in
17227
 
    nonstopux*) version_type=nonstopux ;;
17228
 
    *)
17229
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
17230
 
                version_type=linux
17231
 
        else
17232
 
                version_type=irix
17233
 
        fi ;;
17234
 
  esac
17235
 
  need_lib_prefix=no
17236
 
  need_version=no
17237
 
  soname_spec='${libname}${release}${shared_ext}$major'
17238
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17239
 
  case $host_os in
17240
 
  irix5* | nonstopux*)
17241
 
    libsuff= shlibsuff=
17242
 
    ;;
17243
 
  *)
17244
 
    case $LD in # libtool.m4 will add one of these switches to LD
17245
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17246
 
      libsuff= shlibsuff= libmagic=32-bit;;
17247
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17248
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
17249
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17250
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17251
 
    *) libsuff= shlibsuff= libmagic=never-match;;
17252
 
    esac
17253
 
    ;;
17254
 
  esac
17255
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17256
 
  shlibpath_overrides_runpath=no
17257
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17258
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17259
 
  hardcode_into_libs=yes
17260
 
  ;;
17261
 
 
17262
 
# No shared lib support for Linux oldld, aout, or coff.
17263
 
linux*oldld* | linux*aout* | linux*coff*)
17264
 
  dynamic_linker=no
17265
 
  ;;
17266
 
 
17267
 
# This must be Linux ELF.
17268
 
linux* | k*bsd*-gnu)
17269
 
  version_type=linux
17270
 
  need_lib_prefix=no
17271
 
  need_version=no
17272
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17273
 
  soname_spec='${libname}${release}${shared_ext}$major'
17274
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17275
 
  shlibpath_var=LD_LIBRARY_PATH
17276
 
  shlibpath_overrides_runpath=no
17277
 
  # This implies no fast_install, which is unacceptable.
17278
 
  # Some rework will be needed to allow for fast_install
17279
 
  # before this can be enabled.
17280
 
  hardcode_into_libs=yes
17281
 
 
17282
 
  # Append ld.so.conf contents to the search path
17283
 
  if test -f /etc/ld.so.conf; then
17284
 
    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' ' '`
17285
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17286
 
  fi
17287
 
 
17288
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17289
 
  # powerpc, because MkLinux only supported shared libraries with the
17290
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17291
 
  # most powerpc-linux boxes support dynamic linking these days and
17292
 
  # people can always --disable-shared, the test was removed, and we
17293
 
  # assume the GNU/Linux dynamic linker is in use.
17294
 
  dynamic_linker='GNU/Linux ld.so'
17295
 
  ;;
17296
 
 
17297
 
netbsdelf*-gnu)
17298
 
  version_type=linux
17299
 
  need_lib_prefix=no
17300
 
  need_version=no
17301
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17302
 
  soname_spec='${libname}${release}${shared_ext}$major'
17303
 
  shlibpath_var=LD_LIBRARY_PATH
17304
 
  shlibpath_overrides_runpath=no
17305
 
  hardcode_into_libs=yes
17306
 
  dynamic_linker='NetBSD ld.elf_so'
17307
 
  ;;
17308
 
 
17309
 
netbsd*)
17310
 
  version_type=sunos
17311
 
  need_lib_prefix=no
17312
 
  need_version=no
17313
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17314
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17315
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17316
 
    dynamic_linker='NetBSD (a.out) ld.so'
17317
 
  else
17318
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17319
 
    soname_spec='${libname}${release}${shared_ext}$major'
17320
 
    dynamic_linker='NetBSD ld.elf_so'
17321
 
  fi
17322
 
  shlibpath_var=LD_LIBRARY_PATH
17323
 
  shlibpath_overrides_runpath=yes
17324
 
  hardcode_into_libs=yes
17325
 
  ;;
17326
 
 
17327
 
newsos6)
17328
 
  version_type=linux
17329
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17330
 
  shlibpath_var=LD_LIBRARY_PATH
17331
 
  shlibpath_overrides_runpath=yes
17332
 
  ;;
17333
 
 
17334
 
nto-qnx*)
17335
 
  version_type=linux
17336
 
  need_lib_prefix=no
17337
 
  need_version=no
17338
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17339
 
  soname_spec='${libname}${release}${shared_ext}$major'
17340
 
  shlibpath_var=LD_LIBRARY_PATH
17341
 
  shlibpath_overrides_runpath=yes
17342
 
  ;;
17343
 
 
17344
 
openbsd*)
17345
 
  version_type=sunos
17346
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17347
 
  need_lib_prefix=no
17348
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17349
 
  case $host_os in
17350
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17351
 
    *)                         need_version=no  ;;
17352
 
  esac
17353
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17354
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17355
 
  shlibpath_var=LD_LIBRARY_PATH
17356
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17357
 
    case $host_os in
17358
 
      openbsd2.[89] | openbsd2.[89].*)
17359
 
        shlibpath_overrides_runpath=no
17360
 
        ;;
17361
 
      *)
17362
 
        shlibpath_overrides_runpath=yes
17363
 
        ;;
17364
 
      esac
17365
 
  else
17366
 
    shlibpath_overrides_runpath=yes
17367
 
  fi
17368
 
  ;;
17369
 
 
17370
 
os2*)
17371
 
  libname_spec='$name'
17372
 
  shrext_cmds=".dll"
17373
 
  need_lib_prefix=no
17374
 
  library_names_spec='$libname${shared_ext} $libname.a'
17375
 
  dynamic_linker='OS/2 ld.exe'
17376
 
  shlibpath_var=LIBPATH
17377
 
  ;;
17378
 
 
17379
 
osf3* | osf4* | osf5*)
17380
 
  version_type=osf
17381
 
  need_lib_prefix=no
17382
 
  need_version=no
17383
 
  soname_spec='${libname}${release}${shared_ext}$major'
17384
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17385
 
  shlibpath_var=LD_LIBRARY_PATH
17386
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17387
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17388
 
  ;;
17389
 
 
17390
 
rdos*)
17391
 
  dynamic_linker=no
17392
 
  ;;
17393
 
 
17394
 
solaris*)
17395
 
  version_type=linux
17396
 
  need_lib_prefix=no
17397
 
  need_version=no
17398
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17399
 
  soname_spec='${libname}${release}${shared_ext}$major'
17400
 
  shlibpath_var=LD_LIBRARY_PATH
17401
 
  shlibpath_overrides_runpath=yes
17402
 
  hardcode_into_libs=yes
17403
 
  # ldd complains unless libraries are executable
17404
 
  postinstall_cmds='chmod +x $lib'
17405
 
  ;;
17406
 
 
17407
 
sunos4*)
17408
 
  version_type=sunos
17409
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17410
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17411
 
  shlibpath_var=LD_LIBRARY_PATH
17412
 
  shlibpath_overrides_runpath=yes
17413
 
  if test "$with_gnu_ld" = yes; then
17414
 
    need_lib_prefix=no
17415
 
  fi
17416
 
  need_version=yes
17417
 
  ;;
17418
 
 
17419
 
sysv4 | sysv4.3*)
17420
 
  version_type=linux
17421
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17422
 
  soname_spec='${libname}${release}${shared_ext}$major'
17423
 
  shlibpath_var=LD_LIBRARY_PATH
17424
 
  case $host_vendor in
17425
 
    sni)
17426
 
      shlibpath_overrides_runpath=no
17427
 
      need_lib_prefix=no
17428
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17429
 
      runpath_var=LD_RUN_PATH
17430
 
      ;;
17431
 
    siemens)
17432
 
      need_lib_prefix=no
17433
 
      ;;
17434
 
    motorola)
17435
 
      need_lib_prefix=no
17436
 
      need_version=no
17437
 
      shlibpath_overrides_runpath=no
17438
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17439
 
      ;;
17440
 
  esac
17441
 
  ;;
17442
 
 
17443
 
sysv4*MP*)
17444
 
  if test -d /usr/nec ;then
17445
 
    version_type=linux
17446
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17447
 
    soname_spec='$libname${shared_ext}.$major'
17448
 
    shlibpath_var=LD_LIBRARY_PATH
17449
 
  fi
17450
 
  ;;
17451
 
 
17452
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17453
 
  version_type=freebsd-elf
17454
 
  need_lib_prefix=no
17455
 
  need_version=no
17456
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17457
 
  soname_spec='${libname}${release}${shared_ext}$major'
17458
 
  shlibpath_var=LD_LIBRARY_PATH
17459
 
  hardcode_into_libs=yes
17460
 
  if test "$with_gnu_ld" = yes; then
17461
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17462
 
    shlibpath_overrides_runpath=no
17463
 
  else
17464
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17465
 
    shlibpath_overrides_runpath=yes
17466
 
    case $host_os in
17467
 
      sco3.2v5*)
17468
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17469
 
        ;;
17470
 
    esac
17471
 
  fi
17472
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17473
 
  ;;
17474
 
 
17475
 
uts4*)
17476
 
  version_type=linux
17477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17478
 
  soname_spec='${libname}${release}${shared_ext}$major'
17479
 
  shlibpath_var=LD_LIBRARY_PATH
17480
 
  ;;
17481
 
 
17482
 
*)
17483
 
  dynamic_linker=no
17484
 
  ;;
17485
 
esac
17486
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17487
 
echo "${ECHO_T}$dynamic_linker" >&6; }
17488
 
test "$dynamic_linker" = no && can_build_shared=no
17489
 
 
17490
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17491
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17492
 
else
17493
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
17494
 
fi
17495
 
 
17496
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17497
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17498
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17499
 
else
17500
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
17501
 
fi
17502
 
 
17503
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17504
 
 
17505
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17506
 
if test "$GCC" = yes; then
17507
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17508
 
fi
17509
 
 
17510
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17511
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17512
 
hardcode_action_F77=
17513
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
17514
 
   test -n "$runpath_var_F77" || \
17515
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
17516
 
 
17517
 
  # We can hardcode non-existant directories.
17518
 
  if test "$hardcode_direct_F77" != no &&
17519
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17520
 
     # have to relink, otherwise we might link with an installed library
17521
 
     # when we should be linking with a yet-to-be-installed one
17522
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17523
 
     test "$hardcode_minus_L_F77" != no; then
17524
 
    # Linking always hardcodes the temporary library directory.
17525
 
    hardcode_action_F77=relink
17526
 
  else
17527
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17528
 
    hardcode_action_F77=immediate
17529
 
  fi
17530
 
else
17531
 
  # We cannot hardcode anything, or else we can only hardcode existing
17532
 
  # directories.
17533
 
  hardcode_action_F77=unsupported
17534
 
fi
17535
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17536
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17537
 
 
17538
 
if test "$hardcode_action_F77" = relink; then
17539
 
  # Fast installation is not supported
17540
 
  enable_fast_install=no
17541
 
elif test "$shlibpath_overrides_runpath" = yes ||
17542
 
     test "$enable_shared" = no; then
17543
 
  # Fast installation is not necessary
17544
 
  enable_fast_install=needless
17545
 
fi
17546
 
 
17547
 
 
17548
 
# The else clause should only fire when bootstrapping the
17549
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17550
 
# with your package, and you will get complaints that there are
17551
 
# no rules to generate ltmain.sh.
17552
 
if test -f "$ltmain"; then
17553
 
  # See if we are running on zsh, and set the options which allow our commands through
17554
 
  # without removal of \ escapes.
17555
 
  if test -n "${ZSH_VERSION+set}" ; then
17556
 
    setopt NO_GLOB_SUBST
17557
 
  fi
17558
 
  # Now quote all the things that may contain metacharacters while being
17559
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17560
 
  # variables and quote the copies for generation of the libtool script.
17561
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17562
 
    SED SHELL STRIP \
17563
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17564
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17565
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17566
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17567
 
    lt_cv_sys_global_symbol_to_c_name_address \
17568
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17569
 
    old_postinstall_cmds old_postuninstall_cmds \
17570
 
    compiler_F77 \
17571
 
    CC_F77 \
17572
 
    LD_F77 \
17573
 
    lt_prog_compiler_wl_F77 \
17574
 
    lt_prog_compiler_pic_F77 \
17575
 
    lt_prog_compiler_static_F77 \
17576
 
    lt_prog_compiler_no_builtin_flag_F77 \
17577
 
    export_dynamic_flag_spec_F77 \
17578
 
    thread_safe_flag_spec_F77 \
17579
 
    whole_archive_flag_spec_F77 \
17580
 
    enable_shared_with_static_runtimes_F77 \
17581
 
    old_archive_cmds_F77 \
17582
 
    old_archive_from_new_cmds_F77 \
17583
 
    predep_objects_F77 \
17584
 
    postdep_objects_F77 \
17585
 
    predeps_F77 \
17586
 
    postdeps_F77 \
17587
 
    compiler_lib_search_path_F77 \
17588
 
    compiler_lib_search_dirs_F77 \
17589
 
    archive_cmds_F77 \
17590
 
    archive_expsym_cmds_F77 \
17591
 
    postinstall_cmds_F77 \
17592
 
    postuninstall_cmds_F77 \
17593
 
    old_archive_from_expsyms_cmds_F77 \
17594
 
    allow_undefined_flag_F77 \
17595
 
    no_undefined_flag_F77 \
17596
 
    export_symbols_cmds_F77 \
17597
 
    hardcode_libdir_flag_spec_F77 \
17598
 
    hardcode_libdir_flag_spec_ld_F77 \
17599
 
    hardcode_libdir_separator_F77 \
17600
 
    hardcode_automatic_F77 \
17601
 
    module_cmds_F77 \
17602
 
    module_expsym_cmds_F77 \
17603
 
    lt_cv_prog_compiler_c_o_F77 \
17604
 
    fix_srcfile_path_F77 \
17605
 
    exclude_expsyms_F77 \
17606
 
    include_expsyms_F77; do
17607
 
 
17608
 
    case $var in
17609
 
    old_archive_cmds_F77 | \
17610
 
    old_archive_from_new_cmds_F77 | \
17611
 
    archive_cmds_F77 | \
17612
 
    archive_expsym_cmds_F77 | \
17613
 
    module_cmds_F77 | \
17614
 
    module_expsym_cmds_F77 | \
17615
 
    old_archive_from_expsyms_cmds_F77 | \
17616
 
    export_symbols_cmds_F77 | \
17617
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17618
 
    postinstall_cmds | postuninstall_cmds | \
17619
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17620
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17621
 
      # Double-quote double-evaled strings.
17622
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17623
 
      ;;
17624
 
    *)
17625
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17626
 
      ;;
17627
 
    esac
17628
 
  done
17629
 
 
17630
 
  case $lt_echo in
17631
 
  *'\$0 --fallback-echo"')
17632
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17633
 
    ;;
17634
 
  esac
17635
 
 
17636
 
cfgfile="$ofile"
17637
 
 
17638
 
  cat <<__EOF__ >> "$cfgfile"
17639
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17640
 
 
17641
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17642
 
 
17643
 
# Shell to use when invoking shell scripts.
17644
 
SHELL=$lt_SHELL
17645
 
 
17646
 
# Whether or not to build shared libraries.
17647
 
build_libtool_libs=$enable_shared
17648
 
 
17649
 
# Whether or not to build static libraries.
17650
 
build_old_libs=$enable_static
17651
 
 
17652
 
# Whether or not to add -lc for building shared libraries.
17653
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17654
 
 
17655
 
# Whether or not to disallow shared libs when runtime libs are static
17656
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17657
 
 
17658
 
# Whether or not to optimize for fast installation.
17659
 
fast_install=$enable_fast_install
17660
 
 
17661
 
# The host system.
17662
 
host_alias=$host_alias
17663
 
host=$host
17664
 
host_os=$host_os
17665
 
 
17666
 
# The build system.
17667
 
build_alias=$build_alias
17668
 
build=$build
17669
 
build_os=$build_os
17670
 
 
17671
 
# An echo program that does not interpret backslashes.
17672
 
echo=$lt_echo
17673
 
 
17674
 
# The archiver.
17675
 
AR=$lt_AR
17676
 
AR_FLAGS=$lt_AR_FLAGS
17677
 
 
17678
 
# A C compiler.
17679
 
LTCC=$lt_LTCC
17680
 
 
17681
 
# LTCC compiler flags.
17682
 
LTCFLAGS=$lt_LTCFLAGS
17683
 
 
17684
 
# A language-specific compiler.
17685
 
CC=$lt_compiler_F77
17686
 
 
17687
 
# Is the compiler the GNU C compiler?
17688
 
with_gcc=$GCC_F77
17689
 
 
17690
 
# An ERE matcher.
17691
 
EGREP=$lt_EGREP
17692
 
 
17693
 
# The linker used to build libraries.
17694
 
LD=$lt_LD_F77
17695
 
 
17696
 
# Whether we need hard or soft links.
17697
 
LN_S=$lt_LN_S
17698
 
 
17699
 
# A BSD-compatible nm program.
17700
 
NM=$lt_NM
17701
 
 
17702
 
# A symbol stripping program
17703
 
STRIP=$lt_STRIP
17704
 
 
17705
 
# Used to examine libraries when file_magic_cmd begins "file"
17706
 
MAGIC_CMD=$MAGIC_CMD
17707
 
 
17708
 
# Used on cygwin: DLL creation program.
17709
 
DLLTOOL="$DLLTOOL"
17710
 
 
17711
 
# Used on cygwin: object dumper.
17712
 
OBJDUMP="$OBJDUMP"
17713
 
 
17714
 
# Used on cygwin: assembler.
17715
 
AS="$AS"
17716
 
 
17717
 
# The name of the directory that contains temporary libtool files.
17718
 
objdir=$objdir
17719
 
 
17720
 
# How to create reloadable object files.
17721
 
reload_flag=$lt_reload_flag
17722
 
reload_cmds=$lt_reload_cmds
17723
 
 
17724
 
# How to pass a linker flag through the compiler.
17725
 
wl=$lt_lt_prog_compiler_wl_F77
17726
 
 
17727
 
# Object file suffix (normally "o").
17728
 
objext="$ac_objext"
17729
 
 
17730
 
# Old archive suffix (normally "a").
17731
 
libext="$libext"
17732
 
 
17733
 
# Shared library suffix (normally ".so").
17734
 
shrext_cmds='$shrext_cmds'
17735
 
 
17736
 
# Executable file suffix (normally "").
17737
 
exeext="$exeext"
17738
 
 
17739
 
# Additional compiler flags for building library objects.
17740
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17741
 
pic_mode=$pic_mode
17742
 
 
17743
 
# What is the maximum length of a command?
17744
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17745
 
 
17746
 
# Does compiler simultaneously support -c and -o options?
17747
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17748
 
 
17749
 
# Must we lock files when doing compilation?
17750
 
need_locks=$lt_need_locks
17751
 
 
17752
 
# Do we need the lib prefix for modules?
17753
 
need_lib_prefix=$need_lib_prefix
17754
 
 
17755
 
# Do we need a version for libraries?
17756
 
need_version=$need_version
17757
 
 
17758
 
# Whether dlopen is supported.
17759
 
dlopen_support=$enable_dlopen
17760
 
 
17761
 
# Whether dlopen of programs is supported.
17762
 
dlopen_self=$enable_dlopen_self
17763
 
 
17764
 
# Whether dlopen of statically linked programs is supported.
17765
 
dlopen_self_static=$enable_dlopen_self_static
17766
 
 
17767
 
# Compiler flag to prevent dynamic linking.
17768
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17769
 
 
17770
 
# Compiler flag to turn off builtin functions.
17771
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17772
 
 
17773
 
# Compiler flag to allow reflexive dlopens.
17774
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17775
 
 
17776
 
# Compiler flag to generate shared objects directly from archives.
17777
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17778
 
 
17779
 
# Compiler flag to generate thread-safe objects.
17780
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17781
 
 
17782
 
# Library versioning type.
17783
 
version_type=$version_type
17784
 
 
17785
 
# Format of library name prefix.
17786
 
libname_spec=$lt_libname_spec
17787
 
 
17788
 
# List of archive names.  First name is the real one, the rest are links.
17789
 
# The last name is the one that the linker finds with -lNAME.
17790
 
library_names_spec=$lt_library_names_spec
17791
 
 
17792
 
# The coded name of the library, if different from the real name.
17793
 
soname_spec=$lt_soname_spec
17794
 
 
17795
 
# Commands used to build and install an old-style archive.
17796
 
RANLIB=$lt_RANLIB
17797
 
old_archive_cmds=$lt_old_archive_cmds_F77
17798
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17799
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17800
 
 
17801
 
# Create an old-style archive from a shared archive.
17802
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17803
 
 
17804
 
# Create a temporary old-style archive to link instead of a shared archive.
17805
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17806
 
 
17807
 
# Commands used to build and install a shared archive.
17808
 
archive_cmds=$lt_archive_cmds_F77
17809
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17810
 
postinstall_cmds=$lt_postinstall_cmds
17811
 
postuninstall_cmds=$lt_postuninstall_cmds
17812
 
 
17813
 
# Commands used to build a loadable module (assumed same as above if empty)
17814
 
module_cmds=$lt_module_cmds_F77
17815
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17816
 
 
17817
 
# Commands to strip libraries.
17818
 
old_striplib=$lt_old_striplib
17819
 
striplib=$lt_striplib
17820
 
 
17821
 
# Dependencies to place before the objects being linked to create a
17822
 
# shared library.
17823
 
predep_objects=$lt_predep_objects_F77
17824
 
 
17825
 
# Dependencies to place after the objects being linked to create a
17826
 
# shared library.
17827
 
postdep_objects=$lt_postdep_objects_F77
17828
 
 
17829
 
# Dependencies to place before the objects being linked to create a
17830
 
# shared library.
17831
 
predeps=$lt_predeps_F77
17832
 
 
17833
 
# Dependencies to place after the objects being linked to create a
17834
 
# shared library.
17835
 
postdeps=$lt_postdeps_F77
17836
 
 
17837
 
# The directories searched by this compiler when creating a shared
17838
 
# library
17839
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
17840
 
 
17841
 
# The library search path used internally by the compiler when linking
17842
 
# a shared library.
17843
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17844
 
 
17845
 
# Method to check whether dependent libraries are shared objects.
17846
 
deplibs_check_method=$lt_deplibs_check_method
17847
 
 
17848
 
# Command to use when deplibs_check_method == file_magic.
17849
 
file_magic_cmd=$lt_file_magic_cmd
17850
 
 
17851
 
# Flag that allows shared libraries with undefined symbols to be built.
17852
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17853
 
 
17854
 
# Flag that forces no undefined symbols.
17855
 
no_undefined_flag=$lt_no_undefined_flag_F77
17856
 
 
17857
 
# Commands used to finish a libtool library installation in a directory.
17858
 
finish_cmds=$lt_finish_cmds
17859
 
 
17860
 
# Same as above, but a single script fragment to be evaled but not shown.
17861
 
finish_eval=$lt_finish_eval
17862
 
 
17863
 
# Take the output of nm and produce a listing of raw symbols and C names.
17864
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17865
 
 
17866
 
# Transform the output of nm in a proper C declaration
17867
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17868
 
 
17869
 
# Transform the output of nm in a C name address pair
17870
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17871
 
 
17872
 
# This is the shared library runtime path variable.
17873
 
runpath_var=$runpath_var
17874
 
 
17875
 
# This is the shared library path variable.
17876
 
shlibpath_var=$shlibpath_var
17877
 
 
17878
 
# Is shlibpath searched before the hard-coded library search path?
17879
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17880
 
 
17881
 
# How to hardcode a shared library path into an executable.
17882
 
hardcode_action=$hardcode_action_F77
17883
 
 
17884
 
# Whether we should hardcode library paths into libraries.
17885
 
hardcode_into_libs=$hardcode_into_libs
17886
 
 
17887
 
# Flag to hardcode \$libdir into a binary during linking.
17888
 
# This must work even if \$libdir does not exist.
17889
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17890
 
 
17891
 
# If ld is used when linking, flag to hardcode \$libdir into
17892
 
# a binary during linking. This must work even if \$libdir does
17893
 
# not exist.
17894
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17895
 
 
17896
 
# Whether we need a single -rpath flag with a separated argument.
17897
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17898
 
 
17899
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17900
 
# resulting binary.
17901
 
hardcode_direct=$hardcode_direct_F77
17902
 
 
17903
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17904
 
# resulting binary.
17905
 
hardcode_minus_L=$hardcode_minus_L_F77
17906
 
 
17907
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17908
 
# the resulting binary.
17909
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17910
 
 
17911
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17912
 
# and all subsequent libraries and executables linked against it.
17913
 
hardcode_automatic=$hardcode_automatic_F77
17914
 
 
17915
 
# Variables whose values should be saved in libtool wrapper scripts and
17916
 
# restored at relink time.
17917
 
variables_saved_for_relink="$variables_saved_for_relink"
17918
 
 
17919
 
# Whether libtool must link a program against all its dependency libraries.
17920
 
link_all_deplibs=$link_all_deplibs_F77
17921
 
 
17922
 
# Compile-time system search path for libraries
17923
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17924
 
 
17925
 
# Run-time system search path for libraries
17926
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17927
 
 
17928
 
# Fix the shell variable \$srcfile for the compiler.
17929
 
fix_srcfile_path=$lt_fix_srcfile_path
17930
 
 
17931
 
# Set to yes if exported symbols are required.
17932
 
always_export_symbols=$always_export_symbols_F77
17933
 
 
17934
 
# The commands to list exported symbols.
17935
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17936
 
 
17937
 
# The commands to extract the exported symbol list from a shared archive.
17938
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17939
 
 
17940
 
# Symbols that should not be listed in the preloaded symbols.
17941
 
exclude_expsyms=$lt_exclude_expsyms_F77
17942
 
 
17943
 
# Symbols that must always be exported.
17944
 
include_expsyms=$lt_include_expsyms_F77
17945
 
 
17946
 
# ### END LIBTOOL TAG CONFIG: $tagname
17947
 
 
17948
 
__EOF__
17949
 
 
17950
 
 
17951
 
else
17952
 
  # If there is no Makefile yet, we rely on a make rule to execute
17953
 
  # `config.status --recheck' to rerun these tests and create the
17954
 
  # libtool script then.
17955
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17956
 
  if test -f "$ltmain_in"; then
17957
 
    test -f Makefile && make "$ltmain"
17958
 
  fi
17959
 
fi
17960
 
 
17961
 
 
17962
 
ac_ext=c
17963
 
ac_cpp='$CPP $CPPFLAGS'
17964
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17965
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17966
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17967
 
 
17968
 
CC="$lt_save_CC"
17969
 
 
17970
 
        else
17971
 
          tagname=""
17972
 
        fi
17973
 
        ;;
17974
 
 
17975
 
      GCJ)
17976
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17977
 
 
17978
 
 
17979
 
# Source file extension for Java test sources.
17980
 
ac_ext=java
17981
 
 
17982
 
# Object file extension for compiled Java test sources.
17983
 
objext=o
17984
 
objext_GCJ=$objext
17985
 
 
17986
 
# Code to be used in simple compile tests
17987
 
lt_simple_compile_test_code="class foo {}"
17988
 
 
17989
 
# Code to be used in simple link tests
17990
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17991
 
 
17992
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17993
 
 
17994
 
# If no C compiler was specified, use CC.
17995
 
LTCC=${LTCC-"$CC"}
17996
 
 
17997
 
# If no C compiler flags were specified, use CFLAGS.
17998
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17999
 
 
18000
 
# Allow CC to be a program name with arguments.
18001
 
compiler=$CC
18002
 
 
18003
 
 
18004
 
# save warnings/boilerplate of simple test code
18005
 
ac_outfile=conftest.$ac_objext
18006
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18007
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18008
 
_lt_compiler_boilerplate=`cat conftest.err`
18009
 
$rm conftest*
18010
 
 
18011
 
ac_outfile=conftest.$ac_objext
18012
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18013
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18014
 
_lt_linker_boilerplate=`cat conftest.err`
18015
 
$rm -r conftest*
18016
 
 
18017
 
 
18018
 
# Allow CC to be a program name with arguments.
18019
 
lt_save_CC="$CC"
18020
 
CC=${GCJ-"gcj"}
18021
 
compiler=$CC
18022
 
compiler_GCJ=$CC
18023
 
for cc_temp in $compiler""; do
18024
 
  case $cc_temp in
18025
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18026
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18027
 
    \-*) ;;
18028
 
    *) break;;
18029
 
  esac
18030
 
done
18031
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18032
 
 
18033
 
 
18034
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18035
 
archive_cmds_need_lc_GCJ=no
18036
 
 
18037
 
old_archive_cmds_GCJ=$old_archive_cmds
18038
 
 
18039
 
 
18040
 
lt_prog_compiler_no_builtin_flag_GCJ=
18041
 
 
18042
 
if test "$GCC" = yes; then
18043
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18044
 
 
18045
 
 
18046
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18047
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18048
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18049
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18050
 
else
18051
 
  lt_cv_prog_compiler_rtti_exceptions=no
18052
 
  ac_outfile=conftest.$ac_objext
18053
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18054
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
18055
 
   # Insert the option either (1) after the last *FLAGS variable, or
18056
 
   # (2) before a word containing "conftest.", or (3) at the end.
18057
 
   # Note that $ac_compile itself does not contain backslashes and begins
18058
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18059
 
   # The option is referenced via a variable to avoid confusing sed.
18060
 
   lt_compile=`echo "$ac_compile" | $SED \
18061
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18062
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18063
 
   -e 's:$: $lt_compiler_flag:'`
18064
 
   (eval echo "\"\$as_me:18064: $lt_compile\"" >&5)
18065
 
   (eval "$lt_compile" 2>conftest.err)
18066
 
   ac_status=$?
18067
 
   cat conftest.err >&5
18068
 
   echo "$as_me:18068: \$? = $ac_status" >&5
18069
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18070
 
     # The compiler can only warn and ignore the option if not recognized
18071
 
     # So say no if there are warnings other than the usual output.
18072
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18073
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18074
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18075
 
       lt_cv_prog_compiler_rtti_exceptions=yes
18076
 
     fi
18077
 
   fi
18078
 
   $rm conftest*
18079
 
 
18080
 
fi
18081
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18082
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18083
 
 
18084
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18085
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18086
 
else
18087
 
    :
18088
 
fi
18089
 
 
18090
 
fi
18091
 
 
18092
 
lt_prog_compiler_wl_GCJ=
18093
 
lt_prog_compiler_pic_GCJ=
18094
 
lt_prog_compiler_static_GCJ=
18095
 
 
18096
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18097
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18098
 
 
18099
 
  if test "$GCC" = yes; then
18100
 
    lt_prog_compiler_wl_GCJ='-Wl,'
18101
 
    lt_prog_compiler_static_GCJ='-static'
18102
 
 
18103
 
    case $host_os in
18104
 
      aix*)
18105
 
      # All AIX code is PIC.
18106
 
      if test "$host_cpu" = ia64; then
18107
 
        # AIX 5 now supports IA64 processor
18108
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18109
 
      fi
18110
 
      ;;
18111
 
 
18112
 
    amigaos*)
18113
 
      # FIXME: we need at least 68020 code to build shared libraries, but
18114
 
      # adding the `-m68020' flag to GCC prevents building anything better,
18115
 
      # like `-m68040'.
18116
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18117
 
      ;;
18118
 
 
18119
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18120
 
      # PIC is the default for these OSes.
18121
 
      ;;
18122
 
 
18123
 
    mingw* | cygwin* | pw32* | os2*)
18124
 
      # This hack is so that the source file can tell whether it is being
18125
 
      # built for inclusion in a dll (and should export symbols for example).
18126
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18127
 
      # (--disable-auto-import) libraries
18128
 
 
18129
 
      ;;
18130
 
 
18131
 
    darwin* | rhapsody*)
18132
 
      # PIC is the default on this platform
18133
 
      # Common symbols not allowed in MH_DYLIB files
18134
 
      lt_prog_compiler_pic_GCJ='-fno-common'
18135
 
      ;;
18136
 
 
18137
 
    interix[3-9]*)
18138
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18139
 
      # Instead, we relocate shared libraries at runtime.
18140
 
      ;;
18141
 
 
18142
 
    msdosdjgpp*)
18143
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
18144
 
      # on systems that don't support them.
18145
 
      lt_prog_compiler_can_build_shared_GCJ=no
18146
 
      enable_shared=no
18147
 
      ;;
18148
 
 
18149
 
    sysv4*MP*)
18150
 
      if test -d /usr/nec; then
18151
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
18152
 
      fi
18153
 
      ;;
18154
 
 
18155
 
    hpux*)
18156
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18157
 
      # not for PA HP-UX.
18158
 
      case $host_cpu in
18159
 
      hppa*64*|ia64*)
18160
 
        # +Z the default
18161
 
        ;;
18162
 
      *)
18163
 
        lt_prog_compiler_pic_GCJ='-fPIC'
18164
 
        ;;
18165
 
      esac
18166
 
      ;;
18167
 
 
18168
 
    *)
18169
 
      lt_prog_compiler_pic_GCJ='-fPIC'
18170
 
      ;;
18171
 
    esac
18172
 
  else
18173
 
    # PORTME Check for flag to pass linker flags through the system compiler.
18174
 
    case $host_os in
18175
 
    aix*)
18176
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18177
 
      if test "$host_cpu" = ia64; then
18178
 
        # AIX 5 now supports IA64 processor
18179
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18180
 
      else
18181
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18182
 
      fi
18183
 
      ;;
18184
 
      darwin*)
18185
 
        # PIC is the default on this platform
18186
 
        # Common symbols not allowed in MH_DYLIB files
18187
 
       case $cc_basename in
18188
 
         xlc*)
18189
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
18190
 
         lt_prog_compiler_wl_GCJ='-Wl,'
18191
 
         ;;
18192
 
       esac
18193
 
       ;;
18194
 
 
18195
 
    mingw* | cygwin* | pw32* | os2*)
18196
 
      # This hack is so that the source file can tell whether it is being
18197
 
      # built for inclusion in a dll (and should export symbols for example).
18198
 
 
18199
 
      ;;
18200
 
 
18201
 
    hpux9* | hpux10* | hpux11*)
18202
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18203
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18204
 
      # not for PA HP-UX.
18205
 
      case $host_cpu in
18206
 
      hppa*64*|ia64*)
18207
 
        # +Z the default
18208
 
        ;;
18209
 
      *)
18210
 
        lt_prog_compiler_pic_GCJ='+Z'
18211
 
        ;;
18212
 
      esac
18213
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
18214
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18215
 
      ;;
18216
 
 
18217
 
    irix5* | irix6* | nonstopux*)
18218
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18219
 
      # PIC (with -KPIC) is the default.
18220
 
      lt_prog_compiler_static_GCJ='-non_shared'
18221
 
      ;;
18222
 
 
18223
 
    newsos6)
18224
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18225
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18226
 
      ;;
18227
 
 
18228
 
    linux* | k*bsd*-gnu)
18229
 
      case $cc_basename in
18230
 
      icc* | ecc*)
18231
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18232
 
        lt_prog_compiler_pic_GCJ='-KPIC'
18233
 
        lt_prog_compiler_static_GCJ='-static'
18234
 
        ;;
18235
 
      pgcc* | pgf77* | pgf90* | pgf95*)
18236
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
18237
 
        # which looks to be a dead project)
18238
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18239
 
        lt_prog_compiler_pic_GCJ='-fpic'
18240
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18241
 
        ;;
18242
 
      ccc*)
18243
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18244
 
        # All Alpha code is PIC.
18245
 
        lt_prog_compiler_static_GCJ='-non_shared'
18246
 
        ;;
18247
 
      *)
18248
 
        case `$CC -V 2>&1 | sed 5q` in
18249
 
        *Sun\ C*)
18250
 
          # Sun C 5.9
18251
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18252
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18253
 
          lt_prog_compiler_wl_GCJ='-Wl,'
18254
 
          ;;
18255
 
        *Sun\ F*)
18256
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
18257
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18258
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18259
 
          lt_prog_compiler_wl_GCJ=''
18260
 
          ;;
18261
 
        esac
18262
 
        ;;
18263
 
      esac
18264
 
      ;;
18265
 
 
18266
 
    osf3* | osf4* | osf5*)
18267
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18268
 
      # All OSF/1 code is PIC.
18269
 
      lt_prog_compiler_static_GCJ='-non_shared'
18270
 
      ;;
18271
 
 
18272
 
    rdos*)
18273
 
      lt_prog_compiler_static_GCJ='-non_shared'
18274
 
      ;;
18275
 
 
18276
 
    solaris*)
18277
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18278
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18279
 
      case $cc_basename in
18280
 
      f77* | f90* | f95*)
18281
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
18282
 
      *)
18283
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
18284
 
      esac
18285
 
      ;;
18286
 
 
18287
 
    sunos4*)
18288
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
18289
 
      lt_prog_compiler_pic_GCJ='-PIC'
18290
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18291
 
      ;;
18292
 
 
18293
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
18294
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18295
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18296
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18297
 
      ;;
18298
 
 
18299
 
    sysv4*MP*)
18300
 
      if test -d /usr/nec ;then
18301
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
18302
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18303
 
      fi
18304
 
      ;;
18305
 
 
18306
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18307
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18308
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18309
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18310
 
      ;;
18311
 
 
18312
 
    unicos*)
18313
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18314
 
      lt_prog_compiler_can_build_shared_GCJ=no
18315
 
      ;;
18316
 
 
18317
 
    uts4*)
18318
 
      lt_prog_compiler_pic_GCJ='-pic'
18319
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18320
 
      ;;
18321
 
 
18322
 
    *)
18323
 
      lt_prog_compiler_can_build_shared_GCJ=no
18324
 
      ;;
18325
 
    esac
18326
 
  fi
18327
 
 
18328
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18329
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18330
 
 
18331
 
#
18332
 
# Check to make sure the PIC flag actually works.
18333
 
#
18334
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
18335
 
 
18336
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18337
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18338
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18340
 
else
18341
 
  lt_cv_prog_compiler_pic_works_GCJ=no
18342
 
  ac_outfile=conftest.$ac_objext
18343
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18344
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18345
 
   # Insert the option either (1) after the last *FLAGS variable, or
18346
 
   # (2) before a word containing "conftest.", or (3) at the end.
18347
 
   # Note that $ac_compile itself does not contain backslashes and begins
18348
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18349
 
   # The option is referenced via a variable to avoid confusing sed.
18350
 
   lt_compile=`echo "$ac_compile" | $SED \
18351
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18352
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18353
 
   -e 's:$: $lt_compiler_flag:'`
18354
 
   (eval echo "\"\$as_me:18354: $lt_compile\"" >&5)
18355
 
   (eval "$lt_compile" 2>conftest.err)
18356
 
   ac_status=$?
18357
 
   cat conftest.err >&5
18358
 
   echo "$as_me:18358: \$? = $ac_status" >&5
18359
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18360
 
     # The compiler can only warn and ignore the option if not recognized
18361
 
     # So say no if there are warnings other than the usual output.
18362
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18363
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18364
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18365
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
18366
 
     fi
18367
 
   fi
18368
 
   $rm conftest*
18369
 
 
18370
 
fi
18371
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18372
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18373
 
 
18374
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18375
 
    case $lt_prog_compiler_pic_GCJ in
18376
 
     "" | " "*) ;;
18377
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18378
 
     esac
18379
 
else
18380
 
    lt_prog_compiler_pic_GCJ=
18381
 
     lt_prog_compiler_can_build_shared_GCJ=no
18382
 
fi
18383
 
 
18384
 
fi
18385
 
case $host_os in
18386
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18387
 
  *djgpp*)
18388
 
    lt_prog_compiler_pic_GCJ=
18389
 
    ;;
18390
 
  *)
18391
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18392
 
    ;;
18393
 
esac
18394
 
 
18395
 
#
18396
 
# Check to make sure the static flag actually works.
18397
 
#
18398
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18399
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18400
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18401
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18403
 
else
18404
 
  lt_cv_prog_compiler_static_works_GCJ=no
18405
 
   save_LDFLAGS="$LDFLAGS"
18406
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18407
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18408
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18409
 
     # The linker can only warn and ignore the option if not recognized
18410
 
     # So say no if there are warnings
18411
 
     if test -s conftest.err; then
18412
 
       # Append any errors to the config.log.
18413
 
       cat conftest.err 1>&5
18414
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18415
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18416
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18417
 
         lt_cv_prog_compiler_static_works_GCJ=yes
18418
 
       fi
18419
 
     else
18420
 
       lt_cv_prog_compiler_static_works_GCJ=yes
18421
 
     fi
18422
 
   fi
18423
 
   $rm -r conftest*
18424
 
   LDFLAGS="$save_LDFLAGS"
18425
 
 
18426
 
fi
18427
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18428
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18429
 
 
18430
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18431
 
    :
18432
 
else
18433
 
    lt_prog_compiler_static_GCJ=
18434
 
fi
18435
 
 
18436
 
 
18437
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18438
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18439
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18440
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18441
 
else
18442
 
  lt_cv_prog_compiler_c_o_GCJ=no
18443
 
   $rm -r conftest 2>/dev/null
18444
 
   mkdir conftest
18445
 
   cd conftest
18446
 
   mkdir out
18447
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18448
 
 
18449
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18450
 
   # Insert the option either (1) after the last *FLAGS variable, or
18451
 
   # (2) before a word containing "conftest.", or (3) at the end.
18452
 
   # Note that $ac_compile itself does not contain backslashes and begins
18453
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18454
 
   lt_compile=`echo "$ac_compile" | $SED \
18455
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18456
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18457
 
   -e 's:$: $lt_compiler_flag:'`
18458
 
   (eval echo "\"\$as_me:18458: $lt_compile\"" >&5)
18459
 
   (eval "$lt_compile" 2>out/conftest.err)
18460
 
   ac_status=$?
18461
 
   cat out/conftest.err >&5
18462
 
   echo "$as_me:18462: \$? = $ac_status" >&5
18463
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18464
 
   then
18465
 
     # The compiler can only warn and ignore the option if not recognized
18466
 
     # So say no if there are warnings
18467
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18468
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18469
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18470
 
       lt_cv_prog_compiler_c_o_GCJ=yes
18471
 
     fi
18472
 
   fi
18473
 
   chmod u+w . 2>&5
18474
 
   $rm conftest*
18475
 
   # SGI C++ compiler will create directory out/ii_files/ for
18476
 
   # template instantiation
18477
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18478
 
   $rm out/* && rmdir out
18479
 
   cd ..
18480
 
   rmdir conftest
18481
 
   $rm conftest*
18482
 
 
18483
 
fi
18484
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18485
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18486
 
 
18487
 
 
18488
 
hard_links="nottested"
18489
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18490
 
  # do not overwrite the value of need_locks provided by the user
18491
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18492
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18493
 
  hard_links=yes
18494
 
  $rm conftest*
18495
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18496
 
  touch conftest.a
18497
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18498
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18499
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18500
 
echo "${ECHO_T}$hard_links" >&6; }
18501
 
  if test "$hard_links" = no; then
18502
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18503
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18504
 
    need_locks=warn
18505
 
  fi
18506
 
else
18507
 
  need_locks=no
18508
 
fi
18509
 
 
18510
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18511
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18512
 
 
18513
 
  runpath_var=
18514
 
  allow_undefined_flag_GCJ=
18515
 
  enable_shared_with_static_runtimes_GCJ=no
18516
 
  archive_cmds_GCJ=
18517
 
  archive_expsym_cmds_GCJ=
18518
 
  old_archive_From_new_cmds_GCJ=
18519
 
  old_archive_from_expsyms_cmds_GCJ=
18520
 
  export_dynamic_flag_spec_GCJ=
18521
 
  whole_archive_flag_spec_GCJ=
18522
 
  thread_safe_flag_spec_GCJ=
18523
 
  hardcode_libdir_flag_spec_GCJ=
18524
 
  hardcode_libdir_flag_spec_ld_GCJ=
18525
 
  hardcode_libdir_separator_GCJ=
18526
 
  hardcode_direct_GCJ=no
18527
 
  hardcode_minus_L_GCJ=no
18528
 
  hardcode_shlibpath_var_GCJ=unsupported
18529
 
  link_all_deplibs_GCJ=unknown
18530
 
  hardcode_automatic_GCJ=no
18531
 
  module_cmds_GCJ=
18532
 
  module_expsym_cmds_GCJ=
18533
 
  always_export_symbols_GCJ=no
18534
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18535
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18536
 
  # included in the symbol list
18537
 
  include_expsyms_GCJ=
18538
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18539
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18540
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18541
 
  # as well as any symbol that contains `d'.
18542
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18543
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18544
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18545
 
  # the symbol is explicitly referenced.  Since portable code cannot
18546
 
  # rely on this symbol name, it's probably fine to never include it in
18547
 
  # preloaded symbol tables.
18548
 
  # Exclude shared library initialization/finalization symbols.
18549
 
  extract_expsyms_cmds=
18550
 
  # Just being paranoid about ensuring that cc_basename is set.
18551
 
  for cc_temp in $compiler""; do
18552
 
  case $cc_temp in
18553
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18554
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18555
 
    \-*) ;;
18556
 
    *) break;;
18557
 
  esac
18558
 
done
18559
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18560
 
 
18561
 
  case $host_os in
18562
 
  cygwin* | mingw* | pw32*)
18563
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18564
 
    # When not using gcc, we currently assume that we are using
18565
 
    # Microsoft Visual C++.
18566
 
    if test "$GCC" != yes; then
18567
 
      with_gnu_ld=no
18568
 
    fi
18569
 
    ;;
18570
 
  interix*)
18571
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18572
 
    with_gnu_ld=yes
18573
 
    ;;
18574
 
  openbsd*)
18575
 
    with_gnu_ld=no
18576
 
    ;;
18577
 
  esac
18578
 
 
18579
 
  ld_shlibs_GCJ=yes
18580
 
  if test "$with_gnu_ld" = yes; then
18581
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18582
 
    wlarc='${wl}'
18583
 
 
18584
 
    # Set some defaults for GNU ld with shared library support. These
18585
 
    # are reset later if shared libraries are not supported. Putting them
18586
 
    # here allows them to be overridden if necessary.
18587
 
    runpath_var=LD_RUN_PATH
18588
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18589
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18590
 
    # ancient GNU ld didn't support --whole-archive et. al.
18591
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18592
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18593
 
      else
18594
 
        whole_archive_flag_spec_GCJ=
18595
 
    fi
18596
 
    supports_anon_versioning=no
18597
 
    case `$LD -v 2>/dev/null` in
18598
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18599
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18600
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18601
 
      *\ 2.11.*) ;; # other 2.11 versions
18602
 
      *) supports_anon_versioning=yes ;;
18603
 
    esac
18604
 
 
18605
 
    # See if GNU ld supports shared libraries.
18606
 
    case $host_os in
18607
 
    aix[3-9]*)
18608
 
      # On AIX/PPC, the GNU linker is very broken
18609
 
      if test "$host_cpu" != ia64; then
18610
 
        ld_shlibs_GCJ=no
18611
 
        cat <<EOF 1>&2
18612
 
 
18613
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18614
 
*** to be unable to reliably create shared libraries on AIX.
18615
 
*** Therefore, libtool is disabling shared libraries support.  If you
18616
 
*** really care for shared libraries, you may want to modify your PATH
18617
 
*** so that a non-GNU linker is found, and then restart.
18618
 
 
18619
 
EOF
18620
 
      fi
18621
 
      ;;
18622
 
 
18623
 
    amigaos*)
18624
 
      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)'
18625
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18626
 
      hardcode_minus_L_GCJ=yes
18627
 
 
18628
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18629
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18630
 
      # to version 4, is to share data among multiple programs linked
18631
 
      # with the same dynamic library.  Since this doesn't match the
18632
 
      # behavior of shared libraries on other platforms, we can't use
18633
 
      # them.
18634
 
      ld_shlibs_GCJ=no
18635
 
      ;;
18636
 
 
18637
 
    beos*)
18638
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18639
 
        allow_undefined_flag_GCJ=unsupported
18640
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18641
 
        # support --undefined.  This deserves some investigation.  FIXME
18642
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18643
 
      else
18644
 
        ld_shlibs_GCJ=no
18645
 
      fi
18646
 
      ;;
18647
 
 
18648
 
    cygwin* | mingw* | pw32*)
18649
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18650
 
      # as there is no search path for DLLs.
18651
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18652
 
      allow_undefined_flag_GCJ=unsupported
18653
 
      always_export_symbols_GCJ=no
18654
 
      enable_shared_with_static_runtimes_GCJ=yes
18655
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18656
 
 
18657
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18658
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18659
 
        # If the export-symbols file already is a .def file (1st line
18660
 
        # is EXPORTS), use it as is; otherwise, prepend...
18661
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18662
 
          cp $export_symbols $output_objdir/$soname.def;
18663
 
        else
18664
 
          echo EXPORTS > $output_objdir/$soname.def;
18665
 
          cat $export_symbols >> $output_objdir/$soname.def;
18666
 
        fi~
18667
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18668
 
      else
18669
 
        ld_shlibs_GCJ=no
18670
 
      fi
18671
 
      ;;
18672
 
 
18673
 
    interix[3-9]*)
18674
 
      hardcode_direct_GCJ=no
18675
 
      hardcode_shlibpath_var_GCJ=no
18676
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18677
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18678
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18679
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18680
 
      # default) and relocated if they conflict, which is a slow very memory
18681
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18682
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18683
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18684
 
      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'
18685
 
      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'
18686
 
      ;;
18687
 
 
18688
 
    gnu* | linux* | k*bsd*-gnu)
18689
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18690
 
        tmp_addflag=
18691
 
        case $cc_basename,$host_cpu in
18692
 
        pgcc*)                          # Portland Group C compiler
18693
 
          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'
18694
 
          tmp_addflag=' $pic_flag'
18695
 
          ;;
18696
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18697
 
          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'
18698
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18699
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18700
 
          tmp_addflag=' -i_dynamic' ;;
18701
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18702
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18703
 
        ifc* | ifort*)                  # Intel Fortran compiler
18704
 
          tmp_addflag=' -nofor_main' ;;
18705
 
        esac
18706
 
        case `$CC -V 2>&1 | sed 5q` in
18707
 
        *Sun\ C*)                       # Sun C 5.9
18708
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18709
 
          tmp_sharedflag='-G' ;;
18710
 
        *Sun\ F*)                       # Sun Fortran 8.3
18711
 
          tmp_sharedflag='-G' ;;
18712
 
        *)
18713
 
          tmp_sharedflag='-shared' ;;
18714
 
        esac
18715
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18716
 
 
18717
 
        if test $supports_anon_versioning = yes; then
18718
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18719
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18720
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18721
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18722
 
        fi
18723
 
        link_all_deplibs_GCJ=no
18724
 
      else
18725
 
        ld_shlibs_GCJ=no
18726
 
      fi
18727
 
      ;;
18728
 
 
18729
 
    netbsd* | netbsdelf*-gnu)
18730
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18731
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18732
 
        wlarc=
18733
 
      else
18734
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18735
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18736
 
      fi
18737
 
      ;;
18738
 
 
18739
 
    solaris*)
18740
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18741
 
        ld_shlibs_GCJ=no
18742
 
        cat <<EOF 1>&2
18743
 
 
18744
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18745
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18746
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18747
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18748
 
*** your PATH or compiler configuration so that the native linker is
18749
 
*** used, and then restart.
18750
 
 
18751
 
EOF
18752
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18753
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18754
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18755
 
      else
18756
 
        ld_shlibs_GCJ=no
18757
 
      fi
18758
 
      ;;
18759
 
 
18760
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18761
 
      case `$LD -v 2>&1` in
18762
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18763
 
        ld_shlibs_GCJ=no
18764
 
        cat <<_LT_EOF 1>&2
18765
 
 
18766
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18767
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18768
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18769
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18770
 
*** your PATH or compiler configuration so that the native linker is
18771
 
*** used, and then restart.
18772
 
 
18773
 
_LT_EOF
18774
 
        ;;
18775
 
        *)
18776
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18777
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18778
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18779
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18780
 
          else
18781
 
            ld_shlibs_GCJ=no
18782
 
          fi
18783
 
        ;;
18784
 
      esac
18785
 
      ;;
18786
 
 
18787
 
    sunos4*)
18788
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18789
 
      wlarc=
18790
 
      hardcode_direct_GCJ=yes
18791
 
      hardcode_shlibpath_var_GCJ=no
18792
 
      ;;
18793
 
 
18794
 
    *)
18795
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18796
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18797
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18798
 
      else
18799
 
        ld_shlibs_GCJ=no
18800
 
      fi
18801
 
      ;;
18802
 
    esac
18803
 
 
18804
 
    if test "$ld_shlibs_GCJ" = no; then
18805
 
      runpath_var=
18806
 
      hardcode_libdir_flag_spec_GCJ=
18807
 
      export_dynamic_flag_spec_GCJ=
18808
 
      whole_archive_flag_spec_GCJ=
18809
 
    fi
18810
 
  else
18811
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18812
 
    case $host_os in
18813
 
    aix3*)
18814
 
      allow_undefined_flag_GCJ=unsupported
18815
 
      always_export_symbols_GCJ=yes
18816
 
      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'
18817
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18818
 
      # are no directories specified by -L.
18819
 
      hardcode_minus_L_GCJ=yes
18820
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18821
 
        # Neither direct hardcoding nor static linking is supported with a
18822
 
        # broken collect2.
18823
 
        hardcode_direct_GCJ=unsupported
18824
 
      fi
18825
 
      ;;
18826
 
 
18827
 
    aix[4-9]*)
18828
 
      if test "$host_cpu" = ia64; then
18829
 
        # On IA64, the linker does run time linking by default, so we don't
18830
 
        # have to do anything special.
18831
 
        aix_use_runtimelinking=no
18832
 
        exp_sym_flag='-Bexport'
18833
 
        no_entry_flag=""
18834
 
      else
18835
 
        # If we're using GNU nm, then we don't want the "-C" option.
18836
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18837
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18838
 
          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'
18839
 
        else
18840
 
          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'
18841
 
        fi
18842
 
        aix_use_runtimelinking=no
18843
 
 
18844
 
        # Test if we are trying to use run time linking or normal
18845
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18846
 
        # need to do runtime linking.
18847
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18848
 
          for ld_flag in $LDFLAGS; do
18849
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18850
 
            aix_use_runtimelinking=yes
18851
 
            break
18852
 
          fi
18853
 
          done
18854
 
          ;;
18855
 
        esac
18856
 
 
18857
 
        exp_sym_flag='-bexport'
18858
 
        no_entry_flag='-bnoentry'
18859
 
      fi
18860
 
 
18861
 
      # When large executables or shared objects are built, AIX ld can
18862
 
      # have problems creating the table of contents.  If linking a library
18863
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18864
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18865
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18866
 
 
18867
 
      archive_cmds_GCJ=''
18868
 
      hardcode_direct_GCJ=yes
18869
 
      hardcode_libdir_separator_GCJ=':'
18870
 
      link_all_deplibs_GCJ=yes
18871
 
 
18872
 
      if test "$GCC" = yes; then
18873
 
        case $host_os in aix4.[012]|aix4.[012].*)
18874
 
        # We only want to do this on AIX 4.2 and lower, the check
18875
 
        # below for broken collect2 doesn't work under 4.3+
18876
 
          collect2name=`${CC} -print-prog-name=collect2`
18877
 
          if test -f "$collect2name" && \
18878
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18879
 
          then
18880
 
          # We have reworked collect2
18881
 
          :
18882
 
          else
18883
 
          # We have old collect2
18884
 
          hardcode_direct_GCJ=unsupported
18885
 
          # It fails to find uninstalled libraries when the uninstalled
18886
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18887
 
          # to unsupported forces relinking
18888
 
          hardcode_minus_L_GCJ=yes
18889
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18890
 
          hardcode_libdir_separator_GCJ=
18891
 
          fi
18892
 
          ;;
18893
 
        esac
18894
 
        shared_flag='-shared'
18895
 
        if test "$aix_use_runtimelinking" = yes; then
18896
 
          shared_flag="$shared_flag "'${wl}-G'
18897
 
        fi
18898
 
      else
18899
 
        # not using gcc
18900
 
        if test "$host_cpu" = ia64; then
18901
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18902
 
        # chokes on -Wl,-G. The following line is correct:
18903
 
          shared_flag='-G'
18904
 
        else
18905
 
          if test "$aix_use_runtimelinking" = yes; then
18906
 
            shared_flag='${wl}-G'
18907
 
          else
18908
 
            shared_flag='${wl}-bM:SRE'
18909
 
          fi
18910
 
        fi
18911
 
      fi
18912
 
 
18913
 
      # It seems that -bexpall does not export symbols beginning with
18914
 
      # underscore (_), so it is better to generate a list of symbols to export.
18915
 
      always_export_symbols_GCJ=yes
18916
 
      if test "$aix_use_runtimelinking" = yes; then
18917
 
        # Warning - without using the other runtime loading flags (-brtl),
18918
 
        # -berok will link without error, but may produce a broken library.
18919
 
        allow_undefined_flag_GCJ='-berok'
18920
 
       # Determine the default libpath from the value encoded in an empty executable.
18921
 
       cat >conftest.$ac_ext <<_ACEOF
18922
 
/* confdefs.h.  */
18923
 
_ACEOF
18924
 
cat confdefs.h >>conftest.$ac_ext
18925
 
cat >>conftest.$ac_ext <<_ACEOF
18926
 
/* end confdefs.h.  */
18927
 
 
18928
 
int
18929
 
main ()
18930
 
{
18931
 
 
18932
 
  ;
18933
 
  return 0;
18934
 
}
18935
 
_ACEOF
18936
 
rm -f conftest.$ac_objext conftest$ac_exeext
18937
 
if { (ac_try="$ac_link"
18938
 
case "(($ac_try" in
18939
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940
 
  *) ac_try_echo=$ac_try;;
18941
 
esac
18942
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943
 
  (eval "$ac_link") 2>conftest.er1
18944
 
  ac_status=$?
18945
 
  grep -v '^ *+' conftest.er1 >conftest.err
18946
 
  rm -f conftest.er1
18947
 
  cat conftest.err >&5
18948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949
 
  (exit $ac_status); } && {
18950
 
         test -z "$ac_c_werror_flag" ||
18951
 
         test ! -s conftest.err
18952
 
       } && test -s conftest$ac_exeext &&
18953
 
       $as_test_x conftest$ac_exeext; then
18954
 
 
18955
 
lt_aix_libpath_sed='
18956
 
    /Import File Strings/,/^$/ {
18957
 
        /^0/ {
18958
 
            s/^0  *\(.*\)$/\1/
18959
 
            p
18960
 
        }
18961
 
    }'
18962
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18963
 
# Check for a 64-bit object if we didn't find anything.
18964
 
if test -z "$aix_libpath"; then
18965
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18966
 
fi
18967
 
else
18968
 
  echo "$as_me: failed program was:" >&5
18969
 
sed 's/^/| /' conftest.$ac_ext >&5
18970
 
 
18971
 
 
18972
 
fi
18973
 
 
18974
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18975
 
      conftest$ac_exeext conftest.$ac_ext
18976
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18977
 
 
18978
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18979
 
        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"
18980
 
       else
18981
 
        if test "$host_cpu" = ia64; then
18982
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18983
 
          allow_undefined_flag_GCJ="-z nodefs"
18984
 
          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"
18985
 
        else
18986
 
         # Determine the default libpath from the value encoded in an empty executable.
18987
 
         cat >conftest.$ac_ext <<_ACEOF
18988
 
/* confdefs.h.  */
18989
 
_ACEOF
18990
 
cat confdefs.h >>conftest.$ac_ext
18991
 
cat >>conftest.$ac_ext <<_ACEOF
18992
 
/* end confdefs.h.  */
18993
 
 
18994
 
int
18995
 
main ()
18996
 
{
18997
 
 
18998
 
  ;
18999
 
  return 0;
19000
 
}
19001
 
_ACEOF
19002
 
rm -f conftest.$ac_objext conftest$ac_exeext
19003
 
if { (ac_try="$ac_link"
19004
 
case "(($ac_try" in
19005
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19006
 
  *) ac_try_echo=$ac_try;;
19007
 
esac
19008
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19009
 
  (eval "$ac_link") 2>conftest.er1
19010
 
  ac_status=$?
19011
 
  grep -v '^ *+' conftest.er1 >conftest.err
19012
 
  rm -f conftest.er1
19013
 
  cat conftest.err >&5
19014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015
 
  (exit $ac_status); } && {
19016
 
         test -z "$ac_c_werror_flag" ||
19017
 
         test ! -s conftest.err
19018
 
       } && test -s conftest$ac_exeext &&
19019
 
       $as_test_x conftest$ac_exeext; then
19020
 
 
19021
 
lt_aix_libpath_sed='
19022
 
    /Import File Strings/,/^$/ {
19023
 
        /^0/ {
19024
 
            s/^0  *\(.*\)$/\1/
19025
 
            p
19026
 
        }
19027
 
    }'
19028
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19029
 
# Check for a 64-bit object if we didn't find anything.
19030
 
if test -z "$aix_libpath"; then
19031
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19032
 
fi
19033
 
else
19034
 
  echo "$as_me: failed program was:" >&5
19035
 
sed 's/^/| /' conftest.$ac_ext >&5
19036
 
 
19037
 
 
19038
 
fi
19039
 
 
19040
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19041
 
      conftest$ac_exeext conftest.$ac_ext
19042
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19043
 
 
19044
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19045
 
          # Warning - without using the other run time loading flags,
19046
 
          # -berok will link without error, but may produce a broken library.
19047
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19048
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19049
 
          # Exported symbols can be pulled into shared objects from archives
19050
 
          whole_archive_flag_spec_GCJ='$convenience'
19051
 
          archive_cmds_need_lc_GCJ=yes
19052
 
          # This is similar to how AIX traditionally builds its shared libraries.
19053
 
          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'
19054
 
        fi
19055
 
      fi
19056
 
      ;;
19057
 
 
19058
 
    amigaos*)
19059
 
      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)'
19060
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19061
 
      hardcode_minus_L_GCJ=yes
19062
 
      # see comment about different semantics on the GNU ld section
19063
 
      ld_shlibs_GCJ=no
19064
 
      ;;
19065
 
 
19066
 
    bsdi[45]*)
19067
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19068
 
      ;;
19069
 
 
19070
 
    cygwin* | mingw* | pw32*)
19071
 
      # When not using gcc, we currently assume that we are using
19072
 
      # Microsoft Visual C++.
19073
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19074
 
      # no search path for DLLs.
19075
 
      hardcode_libdir_flag_spec_GCJ=' '
19076
 
      allow_undefined_flag_GCJ=unsupported
19077
 
      # Tell ltmain to make .lib files, not .a files.
19078
 
      libext=lib
19079
 
      # Tell ltmain to make .dll files, not .so files.
19080
 
      shrext_cmds=".dll"
19081
 
      # FIXME: Setting linknames here is a bad hack.
19082
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19083
 
      # The linker will automatically build a .lib file if we build a DLL.
19084
 
      old_archive_From_new_cmds_GCJ='true'
19085
 
      # FIXME: Should let the user specify the lib program.
19086
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19087
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19088
 
      enable_shared_with_static_runtimes_GCJ=yes
19089
 
      ;;
19090
 
 
19091
 
    darwin* | rhapsody*)
19092
 
      case $host_os in
19093
 
        rhapsody* | darwin1.[012])
19094
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19095
 
         ;;
19096
 
       *) # Darwin 1.3 on
19097
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19098
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19099
 
         else
19100
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
19101
 
             10.[012])
19102
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19103
 
               ;;
19104
 
             10.*)
19105
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
19106
 
               ;;
19107
 
           esac
19108
 
         fi
19109
 
         ;;
19110
 
      esac
19111
 
      archive_cmds_need_lc_GCJ=no
19112
 
      hardcode_direct_GCJ=no
19113
 
      hardcode_automatic_GCJ=yes
19114
 
      hardcode_shlibpath_var_GCJ=unsupported
19115
 
      whole_archive_flag_spec_GCJ=''
19116
 
      link_all_deplibs_GCJ=yes
19117
 
    if test "$GCC" = yes ; then
19118
 
        output_verbose_link_cmd='echo'
19119
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19120
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19121
 
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
19122
 
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
19123
 
    else
19124
 
      case $cc_basename in
19125
 
        xlc*)
19126
 
         output_verbose_link_cmd='echo'
19127
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19128
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19129
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19130
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19131
 
          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}'
19132
 
          ;;
19133
 
       *)
19134
 
         ld_shlibs_GCJ=no
19135
 
          ;;
19136
 
      esac
19137
 
    fi
19138
 
      ;;
19139
 
 
19140
 
    dgux*)
19141
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19142
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19143
 
      hardcode_shlibpath_var_GCJ=no
19144
 
      ;;
19145
 
 
19146
 
    freebsd1*)
19147
 
      ld_shlibs_GCJ=no
19148
 
      ;;
19149
 
 
19150
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19151
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19152
 
    # does not break anything, and helps significantly (at the cost of a little
19153
 
    # extra space).
19154
 
    freebsd2.2*)
19155
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19156
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19157
 
      hardcode_direct_GCJ=yes
19158
 
      hardcode_shlibpath_var_GCJ=no
19159
 
      ;;
19160
 
 
19161
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19162
 
    freebsd2*)
19163
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19164
 
      hardcode_direct_GCJ=yes
19165
 
      hardcode_minus_L_GCJ=yes
19166
 
      hardcode_shlibpath_var_GCJ=no
19167
 
      ;;
19168
 
 
19169
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19170
 
    freebsd* | dragonfly*)
19171
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19172
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19173
 
      hardcode_direct_GCJ=yes
19174
 
      hardcode_shlibpath_var_GCJ=no
19175
 
      ;;
19176
 
 
19177
 
    hpux9*)
19178
 
      if test "$GCC" = yes; then
19179
 
        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'
19180
 
      else
19181
 
        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'
19182
 
      fi
19183
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19184
 
      hardcode_libdir_separator_GCJ=:
19185
 
      hardcode_direct_GCJ=yes
19186
 
 
19187
 
      # hardcode_minus_L: Not really in the search PATH,
19188
 
      # but as the default location of the library.
19189
 
      hardcode_minus_L_GCJ=yes
19190
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19191
 
      ;;
19192
 
 
19193
 
    hpux10*)
19194
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19195
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19196
 
      else
19197
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19198
 
      fi
19199
 
      if test "$with_gnu_ld" = no; then
19200
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19201
 
        hardcode_libdir_separator_GCJ=:
19202
 
 
19203
 
        hardcode_direct_GCJ=yes
19204
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
19205
 
 
19206
 
        # hardcode_minus_L: Not really in the search PATH,
19207
 
        # but as the default location of the library.
19208
 
        hardcode_minus_L_GCJ=yes
19209
 
      fi
19210
 
      ;;
19211
 
 
19212
 
    hpux11*)
19213
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19214
 
        case $host_cpu in
19215
 
        hppa*64*)
19216
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19217
 
          ;;
19218
 
        ia64*)
19219
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19220
 
          ;;
19221
 
        *)
19222
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19223
 
          ;;
19224
 
        esac
19225
 
      else
19226
 
        case $host_cpu in
19227
 
        hppa*64*)
19228
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19229
 
          ;;
19230
 
        ia64*)
19231
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19232
 
          ;;
19233
 
        *)
19234
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19235
 
          ;;
19236
 
        esac
19237
 
      fi
19238
 
      if test "$with_gnu_ld" = no; then
19239
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19240
 
        hardcode_libdir_separator_GCJ=:
19241
 
 
19242
 
        case $host_cpu in
19243
 
        hppa*64*|ia64*)
19244
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19245
 
          hardcode_direct_GCJ=no
19246
 
          hardcode_shlibpath_var_GCJ=no
19247
 
          ;;
19248
 
        *)
19249
 
          hardcode_direct_GCJ=yes
19250
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19251
 
 
19252
 
          # hardcode_minus_L: Not really in the search PATH,
19253
 
          # but as the default location of the library.
19254
 
          hardcode_minus_L_GCJ=yes
19255
 
          ;;
19256
 
        esac
19257
 
      fi
19258
 
      ;;
19259
 
 
19260
 
    irix5* | irix6* | nonstopux*)
19261
 
      if test "$GCC" = yes; then
19262
 
        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'
19263
 
      else
19264
 
        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'
19265
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19266
 
      fi
19267
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19268
 
      hardcode_libdir_separator_GCJ=:
19269
 
      link_all_deplibs_GCJ=yes
19270
 
      ;;
19271
 
 
19272
 
    netbsd* | netbsdelf*-gnu)
19273
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19274
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19275
 
      else
19276
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19277
 
      fi
19278
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19279
 
      hardcode_direct_GCJ=yes
19280
 
      hardcode_shlibpath_var_GCJ=no
19281
 
      ;;
19282
 
 
19283
 
    newsos6)
19284
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19285
 
      hardcode_direct_GCJ=yes
19286
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19287
 
      hardcode_libdir_separator_GCJ=:
19288
 
      hardcode_shlibpath_var_GCJ=no
19289
 
      ;;
19290
 
 
19291
 
    openbsd*)
19292
 
      if test -f /usr/libexec/ld.so; then
19293
 
        hardcode_direct_GCJ=yes
19294
 
        hardcode_shlibpath_var_GCJ=no
19295
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19296
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19297
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19298
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19299
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19300
 
        else
19301
 
          case $host_os in
19302
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19303
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19304
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
19305
 
             ;;
19306
 
           *)
19307
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19308
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19309
 
             ;;
19310
 
          esac
19311
 
        fi
19312
 
      else
19313
 
        ld_shlibs_GCJ=no
19314
 
      fi
19315
 
      ;;
19316
 
 
19317
 
    os2*)
19318
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19319
 
      hardcode_minus_L_GCJ=yes
19320
 
      allow_undefined_flag_GCJ=unsupported
19321
 
      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'
19322
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19323
 
      ;;
19324
 
 
19325
 
    osf3*)
19326
 
      if test "$GCC" = yes; then
19327
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19328
 
        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'
19329
 
      else
19330
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19331
 
        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'
19332
 
      fi
19333
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19334
 
      hardcode_libdir_separator_GCJ=:
19335
 
      ;;
19336
 
 
19337
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19338
 
      if test "$GCC" = yes; then
19339
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19340
 
        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'
19341
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19342
 
      else
19343
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19344
 
        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'
19345
 
        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~
19346
 
        $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'
19347
 
 
19348
 
        # Both c and cxx compiler support -rpath directly
19349
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19350
 
      fi
19351
 
      hardcode_libdir_separator_GCJ=:
19352
 
      ;;
19353
 
 
19354
 
    solaris*)
19355
 
      no_undefined_flag_GCJ=' -z text'
19356
 
      if test "$GCC" = yes; then
19357
 
        wlarc='${wl}'
19358
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19359
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19360
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19361
 
      else
19362
 
        wlarc=''
19363
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19364
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19365
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19366
 
      fi
19367
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19368
 
      hardcode_shlibpath_var_GCJ=no
19369
 
      case $host_os in
19370
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19371
 
      *)
19372
 
        # The compiler driver will combine and reorder linker options,
19373
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19374
 
        # but is careful enough not to reorder.
19375
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19376
 
        if test "$GCC" = yes; then
19377
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19378
 
        else
19379
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19380
 
        fi
19381
 
        ;;
19382
 
      esac
19383
 
      link_all_deplibs_GCJ=yes
19384
 
      ;;
19385
 
 
19386
 
    sunos4*)
19387
 
      if test "x$host_vendor" = xsequent; then
19388
 
        # Use $CC to link under sequent, because it throws in some extra .o
19389
 
        # files that make .init and .fini sections work.
19390
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19391
 
      else
19392
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19393
 
      fi
19394
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19395
 
      hardcode_direct_GCJ=yes
19396
 
      hardcode_minus_L_GCJ=yes
19397
 
      hardcode_shlibpath_var_GCJ=no
19398
 
      ;;
19399
 
 
19400
 
    sysv4)
19401
 
      case $host_vendor in
19402
 
        sni)
19403
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19404
 
          hardcode_direct_GCJ=yes # is this really true???
19405
 
        ;;
19406
 
        siemens)
19407
 
          ## LD is ld it makes a PLAMLIB
19408
 
          ## CC just makes a GrossModule.
19409
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19410
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19411
 
          hardcode_direct_GCJ=no
19412
 
        ;;
19413
 
        motorola)
19414
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19415
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19416
 
        ;;
19417
 
      esac
19418
 
      runpath_var='LD_RUN_PATH'
19419
 
      hardcode_shlibpath_var_GCJ=no
19420
 
      ;;
19421
 
 
19422
 
    sysv4.3*)
19423
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19424
 
      hardcode_shlibpath_var_GCJ=no
19425
 
      export_dynamic_flag_spec_GCJ='-Bexport'
19426
 
      ;;
19427
 
 
19428
 
    sysv4*MP*)
19429
 
      if test -d /usr/nec; then
19430
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19431
 
        hardcode_shlibpath_var_GCJ=no
19432
 
        runpath_var=LD_RUN_PATH
19433
 
        hardcode_runpath_var=yes
19434
 
        ld_shlibs_GCJ=yes
19435
 
      fi
19436
 
      ;;
19437
 
 
19438
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19439
 
      no_undefined_flag_GCJ='${wl}-z,text'
19440
 
      archive_cmds_need_lc_GCJ=no
19441
 
      hardcode_shlibpath_var_GCJ=no
19442
 
      runpath_var='LD_RUN_PATH'
19443
 
 
19444
 
      if test "$GCC" = yes; then
19445
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19446
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19447
 
      else
19448
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19449
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19450
 
      fi
19451
 
      ;;
19452
 
 
19453
 
    sysv5* | sco3.2v5* | sco5v6*)
19454
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19455
 
      # link with -lc, and that would cause any symbols used from libc to
19456
 
      # always be unresolved, which means just about no library would
19457
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19458
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19459
 
      # as -z defs.
19460
 
      no_undefined_flag_GCJ='${wl}-z,text'
19461
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
19462
 
      archive_cmds_need_lc_GCJ=no
19463
 
      hardcode_shlibpath_var_GCJ=no
19464
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19465
 
      hardcode_libdir_separator_GCJ=':'
19466
 
      link_all_deplibs_GCJ=yes
19467
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19468
 
      runpath_var='LD_RUN_PATH'
19469
 
 
19470
 
      if test "$GCC" = yes; then
19471
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19472
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19473
 
      else
19474
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19475
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19476
 
      fi
19477
 
      ;;
19478
 
 
19479
 
    uts4*)
19480
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19481
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19482
 
      hardcode_shlibpath_var_GCJ=no
19483
 
      ;;
19484
 
 
19485
 
    *)
19486
 
      ld_shlibs_GCJ=no
19487
 
      ;;
19488
 
    esac
19489
 
  fi
19490
 
 
19491
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19492
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19493
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19494
 
 
19495
 
#
19496
 
# Do we need to explicitly link libc?
19497
 
#
19498
 
case "x$archive_cmds_need_lc_GCJ" in
19499
 
x|xyes)
19500
 
  # Assume -lc should be added
19501
 
  archive_cmds_need_lc_GCJ=yes
19502
 
 
19503
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19504
 
    case $archive_cmds_GCJ in
19505
 
    *'~'*)
19506
 
      # FIXME: we may have to deal with multi-command sequences.
19507
 
      ;;
19508
 
    '$CC '*)
19509
 
      # Test whether the compiler implicitly links with -lc since on some
19510
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19511
 
      # to ld, don't add -lc before -lgcc.
19512
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19513
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19514
 
      $rm conftest*
19515
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19516
 
 
19517
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518
 
  (eval $ac_compile) 2>&5
19519
 
  ac_status=$?
19520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521
 
  (exit $ac_status); } 2>conftest.err; then
19522
 
        soname=conftest
19523
 
        lib=conftest
19524
 
        libobjs=conftest.$ac_objext
19525
 
        deplibs=
19526
 
        wl=$lt_prog_compiler_wl_GCJ
19527
 
        pic_flag=$lt_prog_compiler_pic_GCJ
19528
 
        compiler_flags=-v
19529
 
        linker_flags=-v
19530
 
        verstring=
19531
 
        output_objdir=.
19532
 
        libname=conftest
19533
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19534
 
        allow_undefined_flag_GCJ=
19535
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19536
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19537
 
  ac_status=$?
19538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539
 
  (exit $ac_status); }
19540
 
        then
19541
 
          archive_cmds_need_lc_GCJ=no
19542
 
        else
19543
 
          archive_cmds_need_lc_GCJ=yes
19544
 
        fi
19545
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19546
 
      else
19547
 
        cat conftest.err 1>&5
19548
 
      fi
19549
 
      $rm conftest*
19550
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19551
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19552
 
      ;;
19553
 
    esac
19554
 
  fi
19555
 
  ;;
19556
 
esac
19557
 
 
19558
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19559
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19560
 
library_names_spec=
19561
 
libname_spec='lib$name'
19562
 
soname_spec=
19563
 
shrext_cmds=".so"
19564
 
postinstall_cmds=
19565
 
postuninstall_cmds=
19566
 
finish_cmds=
19567
 
finish_eval=
19568
 
shlibpath_var=
19569
 
shlibpath_overrides_runpath=unknown
19570
 
version_type=none
19571
 
dynamic_linker="$host_os ld.so"
19572
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19573
 
 
19574
 
need_lib_prefix=unknown
19575
 
hardcode_into_libs=no
19576
 
 
19577
 
# when you set need_version to no, make sure it does not cause -set_version
19578
 
# flags to be left without arguments
19579
 
need_version=unknown
19580
 
 
19581
 
case $host_os in
19582
 
aix3*)
19583
 
  version_type=linux
19584
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19585
 
  shlibpath_var=LIBPATH
19586
 
 
19587
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19588
 
  soname_spec='${libname}${release}${shared_ext}$major'
19589
 
  ;;
19590
 
 
19591
 
aix[4-9]*)
19592
 
  version_type=linux
19593
 
  need_lib_prefix=no
19594
 
  need_version=no
19595
 
  hardcode_into_libs=yes
19596
 
  if test "$host_cpu" = ia64; then
19597
 
    # AIX 5 supports IA64
19598
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19599
 
    shlibpath_var=LD_LIBRARY_PATH
19600
 
  else
19601
 
    # With GCC up to 2.95.x, collect2 would create an import file
19602
 
    # for dependence libraries.  The import file would start with
19603
 
    # the line `#! .'.  This would cause the generated library to
19604
 
    # depend on `.', always an invalid library.  This was fixed in
19605
 
    # development snapshots of GCC prior to 3.0.
19606
 
    case $host_os in
19607
 
      aix4 | aix4.[01] | aix4.[01].*)
19608
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19609
 
           echo ' yes '
19610
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19611
 
        :
19612
 
      else
19613
 
        can_build_shared=no
19614
 
      fi
19615
 
      ;;
19616
 
    esac
19617
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19618
 
    # soname into executable. Probably we can add versioning support to
19619
 
    # collect2, so additional links can be useful in future.
19620
 
    if test "$aix_use_runtimelinking" = yes; then
19621
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19622
 
      # instead of lib<name>.a to let people know that these are not
19623
 
      # typical AIX shared libraries.
19624
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19625
 
    else
19626
 
      # We preserve .a as extension for shared libraries through AIX4.2
19627
 
      # and later when we are not doing run time linking.
19628
 
      library_names_spec='${libname}${release}.a $libname.a'
19629
 
      soname_spec='${libname}${release}${shared_ext}$major'
19630
 
    fi
19631
 
    shlibpath_var=LIBPATH
19632
 
  fi
19633
 
  ;;
19634
 
 
19635
 
amigaos*)
19636
 
  library_names_spec='$libname.ixlibrary $libname.a'
19637
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19638
 
  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'
19639
 
  ;;
19640
 
 
19641
 
beos*)
19642
 
  library_names_spec='${libname}${shared_ext}'
19643
 
  dynamic_linker="$host_os ld.so"
19644
 
  shlibpath_var=LIBRARY_PATH
19645
 
  ;;
19646
 
 
19647
 
bsdi[45]*)
19648
 
  version_type=linux
19649
 
  need_version=no
19650
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19651
 
  soname_spec='${libname}${release}${shared_ext}$major'
19652
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19653
 
  shlibpath_var=LD_LIBRARY_PATH
19654
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19655
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19656
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19657
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19658
 
  # libtool to hard-code these into programs
19659
 
  ;;
19660
 
 
19661
 
cygwin* | mingw* | pw32*)
19662
 
  version_type=windows
19663
 
  shrext_cmds=".dll"
19664
 
  need_version=no
19665
 
  need_lib_prefix=no
19666
 
 
19667
 
  case $GCC,$host_os in
19668
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19669
 
    library_names_spec='$libname.dll.a'
19670
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19671
 
    postinstall_cmds='base_file=`basename \${file}`~
19672
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19673
 
      dldir=$destdir/`dirname \$dlpath`~
19674
 
      test -d \$dldir || mkdir -p \$dldir~
19675
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19676
 
      chmod a+x \$dldir/$dlname'
19677
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19678
 
      dlpath=$dir/\$dldll~
19679
 
       $rm \$dlpath'
19680
 
    shlibpath_overrides_runpath=yes
19681
 
 
19682
 
    case $host_os in
19683
 
    cygwin*)
19684
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19685
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19686
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19687
 
      ;;
19688
 
    mingw*)
19689
 
      # MinGW DLLs use traditional 'lib' prefix
19690
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19691
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19692
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19693
 
        # It is most probably a Windows format PATH printed by
19694
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19695
 
        # path with ; separators, and with drive letters. We can handle the
19696
 
        # drive letters (cygwin fileutils understands them), so leave them,
19697
 
        # especially as we might pass files found there to a mingw objdump,
19698
 
        # which wouldn't understand a cygwinified path. Ahh.
19699
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19700
 
      else
19701
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19702
 
      fi
19703
 
      ;;
19704
 
    pw32*)
19705
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19706
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19707
 
      ;;
19708
 
    esac
19709
 
    ;;
19710
 
 
19711
 
  *)
19712
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19713
 
    ;;
19714
 
  esac
19715
 
  dynamic_linker='Win32 ld.exe'
19716
 
  # FIXME: first we should search . and the directory the executable is in
19717
 
  shlibpath_var=PATH
19718
 
  ;;
19719
 
 
19720
 
darwin* | rhapsody*)
19721
 
  dynamic_linker="$host_os dyld"
19722
 
  version_type=darwin
19723
 
  need_lib_prefix=no
19724
 
  need_version=no
19725
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19726
 
  soname_spec='${libname}${release}${major}$shared_ext'
19727
 
  shlibpath_overrides_runpath=yes
19728
 
  shlibpath_var=DYLD_LIBRARY_PATH
19729
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19730
 
 
19731
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19732
 
  ;;
19733
 
 
19734
 
dgux*)
19735
 
  version_type=linux
19736
 
  need_lib_prefix=no
19737
 
  need_version=no
19738
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19739
 
  soname_spec='${libname}${release}${shared_ext}$major'
19740
 
  shlibpath_var=LD_LIBRARY_PATH
19741
 
  ;;
19742
 
 
19743
 
freebsd1*)
19744
 
  dynamic_linker=no
19745
 
  ;;
19746
 
 
19747
 
freebsd* | dragonfly*)
19748
 
  # DragonFly does not have aout.  When/if they implement a new
19749
 
  # versioning mechanism, adjust this.
19750
 
  if test -x /usr/bin/objformat; then
19751
 
    objformat=`/usr/bin/objformat`
19752
 
  else
19753
 
    case $host_os in
19754
 
    freebsd[123]*) objformat=aout ;;
19755
 
    *) objformat=elf ;;
19756
 
    esac
19757
 
  fi
19758
 
  version_type=freebsd-$objformat
19759
 
  case $version_type in
19760
 
    freebsd-elf*)
19761
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19762
 
      need_version=no
19763
 
      need_lib_prefix=no
19764
 
      ;;
19765
 
    freebsd-*)
19766
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19767
 
      need_version=yes
19768
 
      ;;
19769
 
  esac
19770
 
  shlibpath_var=LD_LIBRARY_PATH
19771
 
  case $host_os in
19772
 
  freebsd2*)
19773
 
    shlibpath_overrides_runpath=yes
19774
 
    ;;
19775
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19776
 
    shlibpath_overrides_runpath=yes
19777
 
    hardcode_into_libs=yes
19778
 
    ;;
19779
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19780
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19781
 
    shlibpath_overrides_runpath=no
19782
 
    hardcode_into_libs=yes
19783
 
    ;;
19784
 
  *) # from 4.6 on, and DragonFly
19785
 
    shlibpath_overrides_runpath=yes
19786
 
    hardcode_into_libs=yes
19787
 
    ;;
19788
 
  esac
19789
 
  ;;
19790
 
 
19791
 
gnu*)
19792
 
  version_type=linux
19793
 
  need_lib_prefix=no
19794
 
  need_version=no
19795
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19796
 
  soname_spec='${libname}${release}${shared_ext}$major'
19797
 
  shlibpath_var=LD_LIBRARY_PATH
19798
 
  hardcode_into_libs=yes
19799
 
  ;;
19800
 
 
19801
 
hpux9* | hpux10* | hpux11*)
19802
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19803
 
  # link against other versions.
19804
 
  version_type=sunos
19805
 
  need_lib_prefix=no
19806
 
  need_version=no
19807
 
  case $host_cpu in
19808
 
  ia64*)
19809
 
    shrext_cmds='.so'
19810
 
    hardcode_into_libs=yes
19811
 
    dynamic_linker="$host_os dld.so"
19812
 
    shlibpath_var=LD_LIBRARY_PATH
19813
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19814
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19815
 
    soname_spec='${libname}${release}${shared_ext}$major'
19816
 
    if test "X$HPUX_IA64_MODE" = X32; then
19817
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19818
 
    else
19819
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19820
 
    fi
19821
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19822
 
    ;;
19823
 
   hppa*64*)
19824
 
     shrext_cmds='.sl'
19825
 
     hardcode_into_libs=yes
19826
 
     dynamic_linker="$host_os dld.sl"
19827
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19828
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19829
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19830
 
     soname_spec='${libname}${release}${shared_ext}$major'
19831
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19832
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19833
 
     ;;
19834
 
   *)
19835
 
    shrext_cmds='.sl'
19836
 
    dynamic_linker="$host_os dld.sl"
19837
 
    shlibpath_var=SHLIB_PATH
19838
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19839
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19840
 
    soname_spec='${libname}${release}${shared_ext}$major'
19841
 
    ;;
19842
 
  esac
19843
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19844
 
  postinstall_cmds='chmod 555 $lib'
19845
 
  ;;
19846
 
 
19847
 
interix[3-9]*)
19848
 
  version_type=linux
19849
 
  need_lib_prefix=no
19850
 
  need_version=no
19851
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19852
 
  soname_spec='${libname}${release}${shared_ext}$major'
19853
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19854
 
  shlibpath_var=LD_LIBRARY_PATH
19855
 
  shlibpath_overrides_runpath=no
19856
 
  hardcode_into_libs=yes
19857
 
  ;;
19858
 
 
19859
 
irix5* | irix6* | nonstopux*)
19860
 
  case $host_os in
19861
 
    nonstopux*) version_type=nonstopux ;;
19862
 
    *)
19863
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19864
 
                version_type=linux
19865
 
        else
19866
 
                version_type=irix
19867
 
        fi ;;
19868
 
  esac
19869
 
  need_lib_prefix=no
19870
 
  need_version=no
19871
 
  soname_spec='${libname}${release}${shared_ext}$major'
19872
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19873
 
  case $host_os in
19874
 
  irix5* | nonstopux*)
19875
 
    libsuff= shlibsuff=
19876
 
    ;;
19877
 
  *)
19878
 
    case $LD in # libtool.m4 will add one of these switches to LD
19879
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19880
 
      libsuff= shlibsuff= libmagic=32-bit;;
19881
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19882
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19883
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19884
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19885
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19886
 
    esac
19887
 
    ;;
19888
 
  esac
19889
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19890
 
  shlibpath_overrides_runpath=no
19891
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19892
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19893
 
  hardcode_into_libs=yes
19894
 
  ;;
19895
 
 
19896
 
# No shared lib support for Linux oldld, aout, or coff.
19897
 
linux*oldld* | linux*aout* | linux*coff*)
19898
 
  dynamic_linker=no
19899
 
  ;;
19900
 
 
19901
 
# This must be Linux ELF.
19902
 
linux* | k*bsd*-gnu)
19903
 
  version_type=linux
19904
 
  need_lib_prefix=no
19905
 
  need_version=no
19906
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19907
 
  soname_spec='${libname}${release}${shared_ext}$major'
19908
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19909
 
  shlibpath_var=LD_LIBRARY_PATH
19910
 
  shlibpath_overrides_runpath=no
19911
 
  # This implies no fast_install, which is unacceptable.
19912
 
  # Some rework will be needed to allow for fast_install
19913
 
  # before this can be enabled.
19914
 
  hardcode_into_libs=yes
19915
 
 
19916
 
  # Append ld.so.conf contents to the search path
19917
 
  if test -f /etc/ld.so.conf; then
19918
 
    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' ' '`
19919
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19920
 
  fi
19921
 
 
19922
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19923
 
  # powerpc, because MkLinux only supported shared libraries with the
19924
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19925
 
  # most powerpc-linux boxes support dynamic linking these days and
19926
 
  # people can always --disable-shared, the test was removed, and we
19927
 
  # assume the GNU/Linux dynamic linker is in use.
19928
 
  dynamic_linker='GNU/Linux ld.so'
19929
 
  ;;
19930
 
 
19931
 
netbsdelf*-gnu)
19932
 
  version_type=linux
19933
 
  need_lib_prefix=no
19934
 
  need_version=no
19935
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19936
 
  soname_spec='${libname}${release}${shared_ext}$major'
19937
 
  shlibpath_var=LD_LIBRARY_PATH
19938
 
  shlibpath_overrides_runpath=no
19939
 
  hardcode_into_libs=yes
19940
 
  dynamic_linker='NetBSD ld.elf_so'
19941
 
  ;;
19942
 
 
19943
 
netbsd*)
19944
 
  version_type=sunos
19945
 
  need_lib_prefix=no
19946
 
  need_version=no
19947
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19948
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19949
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19950
 
    dynamic_linker='NetBSD (a.out) ld.so'
19951
 
  else
19952
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19953
 
    soname_spec='${libname}${release}${shared_ext}$major'
19954
 
    dynamic_linker='NetBSD ld.elf_so'
19955
 
  fi
19956
 
  shlibpath_var=LD_LIBRARY_PATH
19957
 
  shlibpath_overrides_runpath=yes
19958
 
  hardcode_into_libs=yes
19959
 
  ;;
19960
 
 
19961
 
newsos6)
19962
 
  version_type=linux
19963
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19964
 
  shlibpath_var=LD_LIBRARY_PATH
19965
 
  shlibpath_overrides_runpath=yes
19966
 
  ;;
19967
 
 
19968
 
nto-qnx*)
19969
 
  version_type=linux
19970
 
  need_lib_prefix=no
19971
 
  need_version=no
19972
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19973
 
  soname_spec='${libname}${release}${shared_ext}$major'
19974
 
  shlibpath_var=LD_LIBRARY_PATH
19975
 
  shlibpath_overrides_runpath=yes
19976
 
  ;;
19977
 
 
19978
 
openbsd*)
19979
 
  version_type=sunos
19980
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19981
 
  need_lib_prefix=no
19982
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19983
 
  case $host_os in
19984
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19985
 
    *)                         need_version=no  ;;
19986
 
  esac
19987
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19988
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19989
 
  shlibpath_var=LD_LIBRARY_PATH
19990
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19991
 
    case $host_os in
19992
 
      openbsd2.[89] | openbsd2.[89].*)
19993
 
        shlibpath_overrides_runpath=no
19994
 
        ;;
19995
 
      *)
19996
 
        shlibpath_overrides_runpath=yes
19997
 
        ;;
19998
 
      esac
19999
 
  else
20000
 
    shlibpath_overrides_runpath=yes
20001
 
  fi
20002
 
  ;;
20003
 
 
20004
 
os2*)
20005
 
  libname_spec='$name'
20006
 
  shrext_cmds=".dll"
20007
 
  need_lib_prefix=no
20008
 
  library_names_spec='$libname${shared_ext} $libname.a'
20009
 
  dynamic_linker='OS/2 ld.exe'
20010
 
  shlibpath_var=LIBPATH
20011
 
  ;;
20012
 
 
20013
 
osf3* | osf4* | osf5*)
20014
 
  version_type=osf
20015
 
  need_lib_prefix=no
20016
 
  need_version=no
20017
 
  soname_spec='${libname}${release}${shared_ext}$major'
20018
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20019
 
  shlibpath_var=LD_LIBRARY_PATH
20020
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20021
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20022
 
  ;;
20023
 
 
20024
 
rdos*)
20025
 
  dynamic_linker=no
20026
 
  ;;
20027
 
 
20028
 
solaris*)
20029
 
  version_type=linux
20030
 
  need_lib_prefix=no
20031
 
  need_version=no
20032
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20033
 
  soname_spec='${libname}${release}${shared_ext}$major'
20034
 
  shlibpath_var=LD_LIBRARY_PATH
20035
 
  shlibpath_overrides_runpath=yes
20036
 
  hardcode_into_libs=yes
20037
 
  # ldd complains unless libraries are executable
20038
 
  postinstall_cmds='chmod +x $lib'
20039
 
  ;;
20040
 
 
20041
 
sunos4*)
20042
 
  version_type=sunos
20043
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20044
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20045
 
  shlibpath_var=LD_LIBRARY_PATH
20046
 
  shlibpath_overrides_runpath=yes
20047
 
  if test "$with_gnu_ld" = yes; then
20048
 
    need_lib_prefix=no
20049
 
  fi
20050
 
  need_version=yes
20051
 
  ;;
20052
 
 
20053
 
sysv4 | sysv4.3*)
20054
 
  version_type=linux
20055
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20056
 
  soname_spec='${libname}${release}${shared_ext}$major'
20057
 
  shlibpath_var=LD_LIBRARY_PATH
20058
 
  case $host_vendor in
20059
 
    sni)
20060
 
      shlibpath_overrides_runpath=no
20061
 
      need_lib_prefix=no
20062
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20063
 
      runpath_var=LD_RUN_PATH
20064
 
      ;;
20065
 
    siemens)
20066
 
      need_lib_prefix=no
20067
 
      ;;
20068
 
    motorola)
20069
 
      need_lib_prefix=no
20070
 
      need_version=no
20071
 
      shlibpath_overrides_runpath=no
20072
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20073
 
      ;;
20074
 
  esac
20075
 
  ;;
20076
 
 
20077
 
sysv4*MP*)
20078
 
  if test -d /usr/nec ;then
20079
 
    version_type=linux
20080
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20081
 
    soname_spec='$libname${shared_ext}.$major'
20082
 
    shlibpath_var=LD_LIBRARY_PATH
20083
 
  fi
20084
 
  ;;
20085
 
 
20086
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20087
 
  version_type=freebsd-elf
20088
 
  need_lib_prefix=no
20089
 
  need_version=no
20090
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20091
 
  soname_spec='${libname}${release}${shared_ext}$major'
20092
 
  shlibpath_var=LD_LIBRARY_PATH
20093
 
  hardcode_into_libs=yes
20094
 
  if test "$with_gnu_ld" = yes; then
20095
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20096
 
    shlibpath_overrides_runpath=no
20097
 
  else
20098
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20099
 
    shlibpath_overrides_runpath=yes
20100
 
    case $host_os in
20101
 
      sco3.2v5*)
20102
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20103
 
        ;;
20104
 
    esac
20105
 
  fi
20106
 
  sys_lib_dlsearch_path_spec='/usr/lib'
20107
 
  ;;
20108
 
 
20109
 
uts4*)
20110
 
  version_type=linux
20111
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20112
 
  soname_spec='${libname}${release}${shared_ext}$major'
20113
 
  shlibpath_var=LD_LIBRARY_PATH
20114
 
  ;;
20115
 
 
20116
 
*)
20117
 
  dynamic_linker=no
20118
 
  ;;
20119
 
esac
20120
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20121
 
echo "${ECHO_T}$dynamic_linker" >&6; }
20122
 
test "$dynamic_linker" = no && can_build_shared=no
20123
 
 
20124
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20125
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20126
 
else
20127
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20128
 
fi
20129
 
 
20130
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20131
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20133
 
else
20134
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20135
 
fi
20136
 
 
20137
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20138
 
 
20139
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20140
 
if test "$GCC" = yes; then
20141
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20142
 
fi
20143
 
 
20144
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20145
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20146
 
hardcode_action_GCJ=
20147
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20148
 
   test -n "$runpath_var_GCJ" || \
20149
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20150
 
 
20151
 
  # We can hardcode non-existant directories.
20152
 
  if test "$hardcode_direct_GCJ" != no &&
20153
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20154
 
     # have to relink, otherwise we might link with an installed library
20155
 
     # when we should be linking with a yet-to-be-installed one
20156
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20157
 
     test "$hardcode_minus_L_GCJ" != no; then
20158
 
    # Linking always hardcodes the temporary library directory.
20159
 
    hardcode_action_GCJ=relink
20160
 
  else
20161
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20162
 
    hardcode_action_GCJ=immediate
20163
 
  fi
20164
 
else
20165
 
  # We cannot hardcode anything, or else we can only hardcode existing
20166
 
  # directories.
20167
 
  hardcode_action_GCJ=unsupported
20168
 
fi
20169
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20170
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20171
 
 
20172
 
if test "$hardcode_action_GCJ" = relink; then
20173
 
  # Fast installation is not supported
20174
 
  enable_fast_install=no
20175
 
elif test "$shlibpath_overrides_runpath" = yes ||
20176
 
     test "$enable_shared" = no; then
20177
 
  # Fast installation is not necessary
20178
 
  enable_fast_install=needless
20179
 
fi
20180
 
 
20181
 
 
20182
 
# The else clause should only fire when bootstrapping the
20183
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20184
 
# with your package, and you will get complaints that there are
20185
 
# no rules to generate ltmain.sh.
20186
 
if test -f "$ltmain"; then
20187
 
  # See if we are running on zsh, and set the options which allow our commands through
20188
 
  # without removal of \ escapes.
20189
 
  if test -n "${ZSH_VERSION+set}" ; then
20190
 
    setopt NO_GLOB_SUBST
20191
 
  fi
20192
 
  # Now quote all the things that may contain metacharacters while being
20193
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20194
 
  # variables and quote the copies for generation of the libtool script.
20195
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20196
 
    SED SHELL STRIP \
20197
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20198
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20199
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20200
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20201
 
    lt_cv_sys_global_symbol_to_c_name_address \
20202
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20203
 
    old_postinstall_cmds old_postuninstall_cmds \
20204
 
    compiler_GCJ \
20205
 
    CC_GCJ \
20206
 
    LD_GCJ \
20207
 
    lt_prog_compiler_wl_GCJ \
20208
 
    lt_prog_compiler_pic_GCJ \
20209
 
    lt_prog_compiler_static_GCJ \
20210
 
    lt_prog_compiler_no_builtin_flag_GCJ \
20211
 
    export_dynamic_flag_spec_GCJ \
20212
 
    thread_safe_flag_spec_GCJ \
20213
 
    whole_archive_flag_spec_GCJ \
20214
 
    enable_shared_with_static_runtimes_GCJ \
20215
 
    old_archive_cmds_GCJ \
20216
 
    old_archive_from_new_cmds_GCJ \
20217
 
    predep_objects_GCJ \
20218
 
    postdep_objects_GCJ \
20219
 
    predeps_GCJ \
20220
 
    postdeps_GCJ \
20221
 
    compiler_lib_search_path_GCJ \
20222
 
    compiler_lib_search_dirs_GCJ \
20223
 
    archive_cmds_GCJ \
20224
 
    archive_expsym_cmds_GCJ \
20225
 
    postinstall_cmds_GCJ \
20226
 
    postuninstall_cmds_GCJ \
20227
 
    old_archive_from_expsyms_cmds_GCJ \
20228
 
    allow_undefined_flag_GCJ \
20229
 
    no_undefined_flag_GCJ \
20230
 
    export_symbols_cmds_GCJ \
20231
 
    hardcode_libdir_flag_spec_GCJ \
20232
 
    hardcode_libdir_flag_spec_ld_GCJ \
20233
 
    hardcode_libdir_separator_GCJ \
20234
 
    hardcode_automatic_GCJ \
20235
 
    module_cmds_GCJ \
20236
 
    module_expsym_cmds_GCJ \
20237
 
    lt_cv_prog_compiler_c_o_GCJ \
20238
 
    fix_srcfile_path_GCJ \
20239
 
    exclude_expsyms_GCJ \
20240
 
    include_expsyms_GCJ; do
20241
 
 
20242
 
    case $var in
20243
 
    old_archive_cmds_GCJ | \
20244
 
    old_archive_from_new_cmds_GCJ | \
20245
 
    archive_cmds_GCJ | \
20246
 
    archive_expsym_cmds_GCJ | \
20247
 
    module_cmds_GCJ | \
20248
 
    module_expsym_cmds_GCJ | \
20249
 
    old_archive_from_expsyms_cmds_GCJ | \
20250
 
    export_symbols_cmds_GCJ | \
20251
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20252
 
    postinstall_cmds | postuninstall_cmds | \
20253
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20254
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20255
 
      # Double-quote double-evaled strings.
20256
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20257
 
      ;;
20258
 
    *)
20259
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20260
 
      ;;
20261
 
    esac
20262
 
  done
20263
 
 
20264
 
  case $lt_echo in
20265
 
  *'\$0 --fallback-echo"')
20266
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20267
 
    ;;
20268
 
  esac
20269
 
 
20270
 
cfgfile="$ofile"
20271
 
 
20272
 
  cat <<__EOF__ >> "$cfgfile"
20273
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20274
 
 
20275
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20276
 
 
20277
 
# Shell to use when invoking shell scripts.
20278
 
SHELL=$lt_SHELL
20279
 
 
20280
 
# Whether or not to build shared libraries.
20281
 
build_libtool_libs=$enable_shared
20282
 
 
20283
 
# Whether or not to build static libraries.
20284
 
build_old_libs=$enable_static
20285
 
 
20286
 
# Whether or not to add -lc for building shared libraries.
20287
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20288
 
 
20289
 
# Whether or not to disallow shared libs when runtime libs are static
20290
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20291
 
 
20292
 
# Whether or not to optimize for fast installation.
20293
 
fast_install=$enable_fast_install
20294
 
 
20295
 
# The host system.
20296
 
host_alias=$host_alias
20297
 
host=$host
20298
 
host_os=$host_os
20299
 
 
20300
 
# The build system.
20301
 
build_alias=$build_alias
20302
 
build=$build
20303
 
build_os=$build_os
20304
 
 
20305
 
# An echo program that does not interpret backslashes.
20306
 
echo=$lt_echo
20307
 
 
20308
 
# The archiver.
20309
 
AR=$lt_AR
20310
 
AR_FLAGS=$lt_AR_FLAGS
20311
 
 
20312
 
# A C compiler.
20313
 
LTCC=$lt_LTCC
20314
 
 
20315
 
# LTCC compiler flags.
20316
 
LTCFLAGS=$lt_LTCFLAGS
20317
 
 
20318
 
# A language-specific compiler.
20319
 
CC=$lt_compiler_GCJ
20320
 
 
20321
 
# Is the compiler the GNU C compiler?
20322
 
with_gcc=$GCC_GCJ
20323
 
 
20324
 
# An ERE matcher.
20325
 
EGREP=$lt_EGREP
20326
 
 
20327
 
# The linker used to build libraries.
20328
 
LD=$lt_LD_GCJ
20329
 
 
20330
 
# Whether we need hard or soft links.
20331
 
LN_S=$lt_LN_S
20332
 
 
20333
 
# A BSD-compatible nm program.
20334
 
NM=$lt_NM
20335
 
 
20336
 
# A symbol stripping program
20337
 
STRIP=$lt_STRIP
20338
 
 
20339
 
# Used to examine libraries when file_magic_cmd begins "file"
20340
 
MAGIC_CMD=$MAGIC_CMD
20341
 
 
20342
 
# Used on cygwin: DLL creation program.
20343
 
DLLTOOL="$DLLTOOL"
20344
 
 
20345
 
# Used on cygwin: object dumper.
20346
 
OBJDUMP="$OBJDUMP"
20347
 
 
20348
 
# Used on cygwin: assembler.
20349
 
AS="$AS"
20350
 
 
20351
 
# The name of the directory that contains temporary libtool files.
20352
 
objdir=$objdir
20353
 
 
20354
 
# How to create reloadable object files.
20355
 
reload_flag=$lt_reload_flag
20356
 
reload_cmds=$lt_reload_cmds
20357
 
 
20358
 
# How to pass a linker flag through the compiler.
20359
 
wl=$lt_lt_prog_compiler_wl_GCJ
20360
 
 
20361
 
# Object file suffix (normally "o").
20362
 
objext="$ac_objext"
20363
 
 
20364
 
# Old archive suffix (normally "a").
20365
 
libext="$libext"
20366
 
 
20367
 
# Shared library suffix (normally ".so").
20368
 
shrext_cmds='$shrext_cmds'
20369
 
 
20370
 
# Executable file suffix (normally "").
20371
 
exeext="$exeext"
20372
 
 
20373
 
# Additional compiler flags for building library objects.
20374
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20375
 
pic_mode=$pic_mode
20376
 
 
20377
 
# What is the maximum length of a command?
20378
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20379
 
 
20380
 
# Does compiler simultaneously support -c and -o options?
20381
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20382
 
 
20383
 
# Must we lock files when doing compilation?
20384
 
need_locks=$lt_need_locks
20385
 
 
20386
 
# Do we need the lib prefix for modules?
20387
 
need_lib_prefix=$need_lib_prefix
20388
 
 
20389
 
# Do we need a version for libraries?
20390
 
need_version=$need_version
20391
 
 
20392
 
# Whether dlopen is supported.
20393
 
dlopen_support=$enable_dlopen
20394
 
 
20395
 
# Whether dlopen of programs is supported.
20396
 
dlopen_self=$enable_dlopen_self
20397
 
 
20398
 
# Whether dlopen of statically linked programs is supported.
20399
 
dlopen_self_static=$enable_dlopen_self_static
20400
 
 
20401
 
# Compiler flag to prevent dynamic linking.
20402
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20403
 
 
20404
 
# Compiler flag to turn off builtin functions.
20405
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20406
 
 
20407
 
# Compiler flag to allow reflexive dlopens.
20408
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20409
 
 
20410
 
# Compiler flag to generate shared objects directly from archives.
20411
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20412
 
 
20413
 
# Compiler flag to generate thread-safe objects.
20414
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20415
 
 
20416
 
# Library versioning type.
20417
 
version_type=$version_type
20418
 
 
20419
 
# Format of library name prefix.
20420
 
libname_spec=$lt_libname_spec
20421
 
 
20422
 
# List of archive names.  First name is the real one, the rest are links.
20423
 
# The last name is the one that the linker finds with -lNAME.
20424
 
library_names_spec=$lt_library_names_spec
20425
 
 
20426
 
# The coded name of the library, if different from the real name.
20427
 
soname_spec=$lt_soname_spec
20428
 
 
20429
 
# Commands used to build and install an old-style archive.
20430
 
RANLIB=$lt_RANLIB
20431
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
20432
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20433
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20434
 
 
20435
 
# Create an old-style archive from a shared archive.
20436
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20437
 
 
20438
 
# Create a temporary old-style archive to link instead of a shared archive.
20439
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20440
 
 
20441
 
# Commands used to build and install a shared archive.
20442
 
archive_cmds=$lt_archive_cmds_GCJ
20443
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20444
 
postinstall_cmds=$lt_postinstall_cmds
20445
 
postuninstall_cmds=$lt_postuninstall_cmds
20446
 
 
20447
 
# Commands used to build a loadable module (assumed same as above if empty)
20448
 
module_cmds=$lt_module_cmds_GCJ
20449
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20450
 
 
20451
 
# Commands to strip libraries.
20452
 
old_striplib=$lt_old_striplib
20453
 
striplib=$lt_striplib
20454
 
 
20455
 
# Dependencies to place before the objects being linked to create a
20456
 
# shared library.
20457
 
predep_objects=$lt_predep_objects_GCJ
20458
 
 
20459
 
# Dependencies to place after the objects being linked to create a
20460
 
# shared library.
20461
 
postdep_objects=$lt_postdep_objects_GCJ
20462
 
 
20463
 
# Dependencies to place before the objects being linked to create a
20464
 
# shared library.
20465
 
predeps=$lt_predeps_GCJ
20466
 
 
20467
 
# Dependencies to place after the objects being linked to create a
20468
 
# shared library.
20469
 
postdeps=$lt_postdeps_GCJ
20470
 
 
20471
 
# The directories searched by this compiler when creating a shared
20472
 
# library
20473
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20474
 
 
20475
 
# The library search path used internally by the compiler when linking
20476
 
# a shared library.
20477
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20478
 
 
20479
 
# Method to check whether dependent libraries are shared objects.
20480
 
deplibs_check_method=$lt_deplibs_check_method
20481
 
 
20482
 
# Command to use when deplibs_check_method == file_magic.
20483
 
file_magic_cmd=$lt_file_magic_cmd
20484
 
 
20485
 
# Flag that allows shared libraries with undefined symbols to be built.
20486
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20487
 
 
20488
 
# Flag that forces no undefined symbols.
20489
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
20490
 
 
20491
 
# Commands used to finish a libtool library installation in a directory.
20492
 
finish_cmds=$lt_finish_cmds
20493
 
 
20494
 
# Same as above, but a single script fragment to be evaled but not shown.
20495
 
finish_eval=$lt_finish_eval
20496
 
 
20497
 
# Take the output of nm and produce a listing of raw symbols and C names.
20498
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20499
 
 
20500
 
# Transform the output of nm in a proper C declaration
20501
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20502
 
 
20503
 
# Transform the output of nm in a C name address pair
20504
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20505
 
 
20506
 
# This is the shared library runtime path variable.
20507
 
runpath_var=$runpath_var
20508
 
 
20509
 
# This is the shared library path variable.
20510
 
shlibpath_var=$shlibpath_var
20511
 
 
20512
 
# Is shlibpath searched before the hard-coded library search path?
20513
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20514
 
 
20515
 
# How to hardcode a shared library path into an executable.
20516
 
hardcode_action=$hardcode_action_GCJ
20517
 
 
20518
 
# Whether we should hardcode library paths into libraries.
20519
 
hardcode_into_libs=$hardcode_into_libs
20520
 
 
20521
 
# Flag to hardcode \$libdir into a binary during linking.
20522
 
# This must work even if \$libdir does not exist.
20523
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20524
 
 
20525
 
# If ld is used when linking, flag to hardcode \$libdir into
20526
 
# a binary during linking. This must work even if \$libdir does
20527
 
# not exist.
20528
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20529
 
 
20530
 
# Whether we need a single -rpath flag with a separated argument.
20531
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20532
 
 
20533
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20534
 
# resulting binary.
20535
 
hardcode_direct=$hardcode_direct_GCJ
20536
 
 
20537
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20538
 
# resulting binary.
20539
 
hardcode_minus_L=$hardcode_minus_L_GCJ
20540
 
 
20541
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20542
 
# the resulting binary.
20543
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20544
 
 
20545
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20546
 
# and all subsequent libraries and executables linked against it.
20547
 
hardcode_automatic=$hardcode_automatic_GCJ
20548
 
 
20549
 
# Variables whose values should be saved in libtool wrapper scripts and
20550
 
# restored at relink time.
20551
 
variables_saved_for_relink="$variables_saved_for_relink"
20552
 
 
20553
 
# Whether libtool must link a program against all its dependency libraries.
20554
 
link_all_deplibs=$link_all_deplibs_GCJ
20555
 
 
20556
 
# Compile-time system search path for libraries
20557
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20558
 
 
20559
 
# Run-time system search path for libraries
20560
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20561
 
 
20562
 
# Fix the shell variable \$srcfile for the compiler.
20563
 
fix_srcfile_path=$lt_fix_srcfile_path
20564
 
 
20565
 
# Set to yes if exported symbols are required.
20566
 
always_export_symbols=$always_export_symbols_GCJ
20567
 
 
20568
 
# The commands to list exported symbols.
20569
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20570
 
 
20571
 
# The commands to extract the exported symbol list from a shared archive.
20572
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20573
 
 
20574
 
# Symbols that should not be listed in the preloaded symbols.
20575
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
20576
 
 
20577
 
# Symbols that must always be exported.
20578
 
include_expsyms=$lt_include_expsyms_GCJ
20579
 
 
20580
 
# ### END LIBTOOL TAG CONFIG: $tagname
20581
 
 
20582
 
__EOF__
20583
 
 
20584
 
 
20585
 
else
20586
 
  # If there is no Makefile yet, we rely on a make rule to execute
20587
 
  # `config.status --recheck' to rerun these tests and create the
20588
 
  # libtool script then.
20589
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20590
 
  if test -f "$ltmain_in"; then
20591
 
    test -f Makefile && make "$ltmain"
20592
 
  fi
20593
 
fi
20594
 
 
20595
 
 
20596
 
ac_ext=c
20597
 
ac_cpp='$CPP $CPPFLAGS'
20598
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20601
 
 
20602
 
CC="$lt_save_CC"
20603
 
 
20604
 
        else
20605
 
          tagname=""
20606
 
        fi
20607
 
        ;;
20608
 
 
20609
 
      RC)
 
12369
 
 
12370
 
 
12371
 
 
12372
 
 
12373
 
 
12374
 
 
12375
 
 
12376
 
 
12377
 
 
12378
 
 
12379
 
 
12380
 
 
12381
 
 
12382
 
 
12383
 
 
12384
striplib=
 
12385
old_striplib=
 
12386
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12387
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12388
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12389
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12390
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12391
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12392
$as_echo "yes" >&6; }
 
12393
else
 
12394
# FIXME - insert some real tests, host_os isn't really good enough
 
12395
  case $host_os in
 
12396
  darwin*)
 
12397
    if test -n "$STRIP" ; then
 
12398
      striplib="$STRIP -x"
 
12399
      old_striplib="$STRIP -S"
 
12400
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12401
$as_echo "yes" >&6; }
 
12402
    else
 
12403
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12404
$as_echo "no" >&6; }
 
12405
    fi
 
12406
    ;;
 
12407
  *)
 
12408
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12409
$as_echo "no" >&6; }
 
12410
    ;;
 
12411
  esac
 
12412
fi
 
12413
 
 
12414
 
 
12415
 
 
12416
 
 
12417
 
 
12418
 
 
12419
 
 
12420
 
 
12421
 
 
12422
 
 
12423
 
 
12424
 
 
12425
  # Report which library types will actually be built
 
12426
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12427
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12428
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12429
$as_echo "$can_build_shared" >&6; }
 
12430
 
 
12431
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12432
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12433
  test "$can_build_shared" = "no" && enable_shared=no
 
12434
 
 
12435
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12436
  # are all built from PIC.
 
12437
  case $host_os in
 
12438
  aix3*)
 
12439
    test "$enable_shared" = yes && enable_static=no
 
12440
    if test -n "$RANLIB"; then
 
12441
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12442
      postinstall_cmds='$RANLIB $lib'
 
12443
    fi
 
12444
    ;;
 
12445
 
 
12446
  aix[4-9]*)
 
12447
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12448
      test "$enable_shared" = yes && enable_static=no
 
12449
    fi
 
12450
    ;;
 
12451
  esac
 
12452
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12453
$as_echo "$enable_shared" >&6; }
 
12454
 
 
12455
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12456
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12457
  # Make sure either enable_shared or enable_static is yes.
 
12458
  test "$enable_shared" = yes || enable_static=yes
 
12459
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12460
$as_echo "$enable_static" >&6; }
 
12461
 
 
12462
 
 
12463
 
 
12464
 
 
12465
fi
 
12466
ac_ext=c
 
12467
ac_cpp='$CPP $CPPFLAGS'
 
12468
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12469
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12470
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12471
 
 
12472
CC="$lt_save_CC"
 
12473
 
 
12474
 
 
12475
 
 
12476
 
 
12477
 
 
12478
 
 
12479
 
 
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
12485
 
 
12486
        ac_config_commands="$ac_config_commands libtool"
 
12487
 
 
12488
 
 
12489
 
 
12490
 
 
12491
# Only expand once:
 
12492
 
 
12493
 
 
12494
                if test -n "$ac_tool_prefix"; then
 
12495
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
 
12496
set dummy ${ac_tool_prefix}windres; ac_word=$2
 
12497
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12498
$as_echo_n "checking for $ac_word... " >&6; }
 
12499
if test "${ac_cv_prog_RC+set}" = set; then
 
12500
  $as_echo_n "(cached) " >&6
 
12501
else
 
12502
  if test -n "$RC"; then
 
12503
  ac_cv_prog_RC="$RC" # Let the user override the test.
 
12504
else
 
12505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12506
for as_dir in $PATH
 
12507
do
 
12508
  IFS=$as_save_IFS
 
12509
  test -z "$as_dir" && as_dir=.
 
12510
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12512
    ac_cv_prog_RC="${ac_tool_prefix}windres"
 
12513
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12514
    break 2
 
12515
  fi
 
12516
done
 
12517
done
 
12518
IFS=$as_save_IFS
 
12519
 
 
12520
fi
 
12521
fi
 
12522
RC=$ac_cv_prog_RC
 
12523
if test -n "$RC"; then
 
12524
  { $as_echo "$as_me:$LINENO: result: $RC" >&5
 
12525
$as_echo "$RC" >&6; }
 
12526
else
 
12527
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12528
$as_echo "no" >&6; }
 
12529
fi
 
12530
 
 
12531
 
 
12532
fi
 
12533
if test -z "$ac_cv_prog_RC"; then
 
12534
  ac_ct_RC=$RC
 
12535
  # Extract the first word of "windres", so it can be a program name with args.
 
12536
set dummy windres; ac_word=$2
 
12537
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12538
$as_echo_n "checking for $ac_word... " >&6; }
 
12539
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
 
12540
  $as_echo_n "(cached) " >&6
 
12541
else
 
12542
  if test -n "$ac_ct_RC"; then
 
12543
  ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
 
12544
else
 
12545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12546
for as_dir in $PATH
 
12547
do
 
12548
  IFS=$as_save_IFS
 
12549
  test -z "$as_dir" && as_dir=.
 
12550
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12551
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12552
    ac_cv_prog_ac_ct_RC="windres"
 
12553
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12554
    break 2
 
12555
  fi
 
12556
done
 
12557
done
 
12558
IFS=$as_save_IFS
 
12559
 
 
12560
fi
 
12561
fi
 
12562
ac_ct_RC=$ac_cv_prog_ac_ct_RC
 
12563
if test -n "$ac_ct_RC"; then
 
12564
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
 
12565
$as_echo "$ac_ct_RC" >&6; }
 
12566
else
 
12567
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12568
$as_echo "no" >&6; }
 
12569
fi
 
12570
 
 
12571
  if test "x$ac_ct_RC" = x; then
 
12572
    RC=""
 
12573
  else
 
12574
    case $cross_compiling:$ac_tool_warned in
 
12575
yes:)
 
12576
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12577
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12578
ac_tool_warned=yes ;;
 
12579
esac
 
12580
    RC=$ac_ct_RC
 
12581
  fi
 
12582
else
 
12583
  RC="$ac_cv_prog_RC"
 
12584
fi
 
12585
 
 
12586
 
20610
12587
 
20611
12588
 
20612
12589
# Source file extension for RC test sources.
20624
12601
 
20625
12602
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20626
12603
 
 
12604
 
 
12605
 
 
12606
 
 
12607
 
 
12608
 
20627
12609
# If no C compiler was specified, use CC.
20628
12610
LTCC=${LTCC-"$CC"}
20629
12611
 
20639
12621
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20640
12622
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20641
12623
_lt_compiler_boilerplate=`cat conftest.err`
20642
 
$rm conftest*
 
12624
$RM conftest*
20643
12625
 
20644
12626
ac_outfile=conftest.$ac_objext
20645
12627
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20646
12628
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20647
12629
_lt_linker_boilerplate=`cat conftest.err`
20648
 
$rm -r conftest*
 
12630
$RM -r conftest*
20649
12631
 
20650
12632
 
20651
12633
# Allow CC to be a program name with arguments.
20652
12634
lt_save_CC="$CC"
 
12635
lt_save_GCC=$GCC
 
12636
GCC=
20653
12637
CC=${RC-"windres"}
20654
12638
compiler=$CC
20655
12639
compiler_RC=$CC
20661
12645
    *) break;;
20662
12646
  esac
20663
12647
done
20664
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12648
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20665
12649
 
20666
12650
lt_cv_prog_compiler_c_o_RC=yes
20667
12651
 
20668
 
# The else clause should only fire when bootstrapping the
20669
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20670
 
# with your package, and you will get complaints that there are
20671
 
# no rules to generate ltmain.sh.
20672
 
if test -f "$ltmain"; then
20673
 
  # See if we are running on zsh, and set the options which allow our commands through
20674
 
  # without removal of \ escapes.
20675
 
  if test -n "${ZSH_VERSION+set}" ; then
20676
 
    setopt NO_GLOB_SUBST
20677
 
  fi
20678
 
  # Now quote all the things that may contain metacharacters while being
20679
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20680
 
  # variables and quote the copies for generation of the libtool script.
20681
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20682
 
    SED SHELL STRIP \
20683
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20684
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20685
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20686
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20687
 
    lt_cv_sys_global_symbol_to_c_name_address \
20688
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20689
 
    old_postinstall_cmds old_postuninstall_cmds \
20690
 
    compiler_RC \
20691
 
    CC_RC \
20692
 
    LD_RC \
20693
 
    lt_prog_compiler_wl_RC \
20694
 
    lt_prog_compiler_pic_RC \
20695
 
    lt_prog_compiler_static_RC \
20696
 
    lt_prog_compiler_no_builtin_flag_RC \
20697
 
    export_dynamic_flag_spec_RC \
20698
 
    thread_safe_flag_spec_RC \
20699
 
    whole_archive_flag_spec_RC \
20700
 
    enable_shared_with_static_runtimes_RC \
20701
 
    old_archive_cmds_RC \
20702
 
    old_archive_from_new_cmds_RC \
20703
 
    predep_objects_RC \
20704
 
    postdep_objects_RC \
20705
 
    predeps_RC \
20706
 
    postdeps_RC \
20707
 
    compiler_lib_search_path_RC \
20708
 
    compiler_lib_search_dirs_RC \
20709
 
    archive_cmds_RC \
20710
 
    archive_expsym_cmds_RC \
20711
 
    postinstall_cmds_RC \
20712
 
    postuninstall_cmds_RC \
20713
 
    old_archive_from_expsyms_cmds_RC \
20714
 
    allow_undefined_flag_RC \
20715
 
    no_undefined_flag_RC \
20716
 
    export_symbols_cmds_RC \
20717
 
    hardcode_libdir_flag_spec_RC \
20718
 
    hardcode_libdir_flag_spec_ld_RC \
20719
 
    hardcode_libdir_separator_RC \
20720
 
    hardcode_automatic_RC \
20721
 
    module_cmds_RC \
20722
 
    module_expsym_cmds_RC \
20723
 
    lt_cv_prog_compiler_c_o_RC \
20724
 
    fix_srcfile_path_RC \
20725
 
    exclude_expsyms_RC \
20726
 
    include_expsyms_RC; do
20727
 
 
20728
 
    case $var in
20729
 
    old_archive_cmds_RC | \
20730
 
    old_archive_from_new_cmds_RC | \
20731
 
    archive_cmds_RC | \
20732
 
    archive_expsym_cmds_RC | \
20733
 
    module_cmds_RC | \
20734
 
    module_expsym_cmds_RC | \
20735
 
    old_archive_from_expsyms_cmds_RC | \
20736
 
    export_symbols_cmds_RC | \
20737
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20738
 
    postinstall_cmds | postuninstall_cmds | \
20739
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20740
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20741
 
      # Double-quote double-evaled strings.
20742
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20743
 
      ;;
20744
 
    *)
20745
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20746
 
      ;;
20747
 
    esac
20748
 
  done
20749
 
 
20750
 
  case $lt_echo in
20751
 
  *'\$0 --fallback-echo"')
20752
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20753
 
    ;;
20754
 
  esac
20755
 
 
20756
 
cfgfile="$ofile"
20757
 
 
20758
 
  cat <<__EOF__ >> "$cfgfile"
20759
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20760
 
 
20761
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20762
 
 
20763
 
# Shell to use when invoking shell scripts.
20764
 
SHELL=$lt_SHELL
20765
 
 
20766
 
# Whether or not to build shared libraries.
20767
 
build_libtool_libs=$enable_shared
20768
 
 
20769
 
# Whether or not to build static libraries.
20770
 
build_old_libs=$enable_static
20771
 
 
20772
 
# Whether or not to add -lc for building shared libraries.
20773
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20774
 
 
20775
 
# Whether or not to disallow shared libs when runtime libs are static
20776
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20777
 
 
20778
 
# Whether or not to optimize for fast installation.
20779
 
fast_install=$enable_fast_install
20780
 
 
20781
 
# The host system.
20782
 
host_alias=$host_alias
20783
 
host=$host
20784
 
host_os=$host_os
20785
 
 
20786
 
# The build system.
20787
 
build_alias=$build_alias
20788
 
build=$build
20789
 
build_os=$build_os
20790
 
 
20791
 
# An echo program that does not interpret backslashes.
20792
 
echo=$lt_echo
20793
 
 
20794
 
# The archiver.
20795
 
AR=$lt_AR
20796
 
AR_FLAGS=$lt_AR_FLAGS
20797
 
 
20798
 
# A C compiler.
20799
 
LTCC=$lt_LTCC
20800
 
 
20801
 
# LTCC compiler flags.
20802
 
LTCFLAGS=$lt_LTCFLAGS
20803
 
 
20804
 
# A language-specific compiler.
20805
 
CC=$lt_compiler_RC
20806
 
 
20807
 
# Is the compiler the GNU C compiler?
20808
 
with_gcc=$GCC_RC
20809
 
 
20810
 
# An ERE matcher.
20811
 
EGREP=$lt_EGREP
20812
 
 
20813
 
# The linker used to build libraries.
20814
 
LD=$lt_LD_RC
20815
 
 
20816
 
# Whether we need hard or soft links.
20817
 
LN_S=$lt_LN_S
20818
 
 
20819
 
# A BSD-compatible nm program.
20820
 
NM=$lt_NM
20821
 
 
20822
 
# A symbol stripping program
20823
 
STRIP=$lt_STRIP
20824
 
 
20825
 
# Used to examine libraries when file_magic_cmd begins "file"
20826
 
MAGIC_CMD=$MAGIC_CMD
20827
 
 
20828
 
# Used on cygwin: DLL creation program.
20829
 
DLLTOOL="$DLLTOOL"
20830
 
 
20831
 
# Used on cygwin: object dumper.
20832
 
OBJDUMP="$OBJDUMP"
20833
 
 
20834
 
# Used on cygwin: assembler.
20835
 
AS="$AS"
20836
 
 
20837
 
# The name of the directory that contains temporary libtool files.
20838
 
objdir=$objdir
20839
 
 
20840
 
# How to create reloadable object files.
20841
 
reload_flag=$lt_reload_flag
20842
 
reload_cmds=$lt_reload_cmds
20843
 
 
20844
 
# How to pass a linker flag through the compiler.
20845
 
wl=$lt_lt_prog_compiler_wl_RC
20846
 
 
20847
 
# Object file suffix (normally "o").
20848
 
objext="$ac_objext"
20849
 
 
20850
 
# Old archive suffix (normally "a").
20851
 
libext="$libext"
20852
 
 
20853
 
# Shared library suffix (normally ".so").
20854
 
shrext_cmds='$shrext_cmds'
20855
 
 
20856
 
# Executable file suffix (normally "").
20857
 
exeext="$exeext"
20858
 
 
20859
 
# Additional compiler flags for building library objects.
20860
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20861
 
pic_mode=$pic_mode
20862
 
 
20863
 
# What is the maximum length of a command?
20864
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20865
 
 
20866
 
# Does compiler simultaneously support -c and -o options?
20867
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20868
 
 
20869
 
# Must we lock files when doing compilation?
20870
 
need_locks=$lt_need_locks
20871
 
 
20872
 
# Do we need the lib prefix for modules?
20873
 
need_lib_prefix=$need_lib_prefix
20874
 
 
20875
 
# Do we need a version for libraries?
20876
 
need_version=$need_version
20877
 
 
20878
 
# Whether dlopen is supported.
20879
 
dlopen_support=$enable_dlopen
20880
 
 
20881
 
# Whether dlopen of programs is supported.
20882
 
dlopen_self=$enable_dlopen_self
20883
 
 
20884
 
# Whether dlopen of statically linked programs is supported.
20885
 
dlopen_self_static=$enable_dlopen_self_static
20886
 
 
20887
 
# Compiler flag to prevent dynamic linking.
20888
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20889
 
 
20890
 
# Compiler flag to turn off builtin functions.
20891
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20892
 
 
20893
 
# Compiler flag to allow reflexive dlopens.
20894
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20895
 
 
20896
 
# Compiler flag to generate shared objects directly from archives.
20897
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20898
 
 
20899
 
# Compiler flag to generate thread-safe objects.
20900
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20901
 
 
20902
 
# Library versioning type.
20903
 
version_type=$version_type
20904
 
 
20905
 
# Format of library name prefix.
20906
 
libname_spec=$lt_libname_spec
20907
 
 
20908
 
# List of archive names.  First name is the real one, the rest are links.
20909
 
# The last name is the one that the linker finds with -lNAME.
20910
 
library_names_spec=$lt_library_names_spec
20911
 
 
20912
 
# The coded name of the library, if different from the real name.
20913
 
soname_spec=$lt_soname_spec
20914
 
 
20915
 
# Commands used to build and install an old-style archive.
20916
 
RANLIB=$lt_RANLIB
20917
 
old_archive_cmds=$lt_old_archive_cmds_RC
20918
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20919
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20920
 
 
20921
 
# Create an old-style archive from a shared archive.
20922
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20923
 
 
20924
 
# Create a temporary old-style archive to link instead of a shared archive.
20925
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20926
 
 
20927
 
# Commands used to build and install a shared archive.
20928
 
archive_cmds=$lt_archive_cmds_RC
20929
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20930
 
postinstall_cmds=$lt_postinstall_cmds
20931
 
postuninstall_cmds=$lt_postuninstall_cmds
20932
 
 
20933
 
# Commands used to build a loadable module (assumed same as above if empty)
20934
 
module_cmds=$lt_module_cmds_RC
20935
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20936
 
 
20937
 
# Commands to strip libraries.
20938
 
old_striplib=$lt_old_striplib
20939
 
striplib=$lt_striplib
20940
 
 
20941
 
# Dependencies to place before the objects being linked to create a
20942
 
# shared library.
20943
 
predep_objects=$lt_predep_objects_RC
20944
 
 
20945
 
# Dependencies to place after the objects being linked to create a
20946
 
# shared library.
20947
 
postdep_objects=$lt_postdep_objects_RC
20948
 
 
20949
 
# Dependencies to place before the objects being linked to create a
20950
 
# shared library.
20951
 
predeps=$lt_predeps_RC
20952
 
 
20953
 
# Dependencies to place after the objects being linked to create a
20954
 
# shared library.
20955
 
postdeps=$lt_postdeps_RC
20956
 
 
20957
 
# The directories searched by this compiler when creating a shared
20958
 
# library
20959
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20960
 
 
20961
 
# The library search path used internally by the compiler when linking
20962
 
# a shared library.
20963
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20964
 
 
20965
 
# Method to check whether dependent libraries are shared objects.
20966
 
deplibs_check_method=$lt_deplibs_check_method
20967
 
 
20968
 
# Command to use when deplibs_check_method == file_magic.
20969
 
file_magic_cmd=$lt_file_magic_cmd
20970
 
 
20971
 
# Flag that allows shared libraries with undefined symbols to be built.
20972
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20973
 
 
20974
 
# Flag that forces no undefined symbols.
20975
 
no_undefined_flag=$lt_no_undefined_flag_RC
20976
 
 
20977
 
# Commands used to finish a libtool library installation in a directory.
20978
 
finish_cmds=$lt_finish_cmds
20979
 
 
20980
 
# Same as above, but a single script fragment to be evaled but not shown.
20981
 
finish_eval=$lt_finish_eval
20982
 
 
20983
 
# Take the output of nm and produce a listing of raw symbols and C names.
20984
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20985
 
 
20986
 
# Transform the output of nm in a proper C declaration
20987
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20988
 
 
20989
 
# Transform the output of nm in a C name address pair
20990
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20991
 
 
20992
 
# This is the shared library runtime path variable.
20993
 
runpath_var=$runpath_var
20994
 
 
20995
 
# This is the shared library path variable.
20996
 
shlibpath_var=$shlibpath_var
20997
 
 
20998
 
# Is shlibpath searched before the hard-coded library search path?
20999
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21000
 
 
21001
 
# How to hardcode a shared library path into an executable.
21002
 
hardcode_action=$hardcode_action_RC
21003
 
 
21004
 
# Whether we should hardcode library paths into libraries.
21005
 
hardcode_into_libs=$hardcode_into_libs
21006
 
 
21007
 
# Flag to hardcode \$libdir into a binary during linking.
21008
 
# This must work even if \$libdir does not exist.
21009
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21010
 
 
21011
 
# If ld is used when linking, flag to hardcode \$libdir into
21012
 
# a binary during linking. This must work even if \$libdir does
21013
 
# not exist.
21014
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21015
 
 
21016
 
# Whether we need a single -rpath flag with a separated argument.
21017
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21018
 
 
21019
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21020
 
# resulting binary.
21021
 
hardcode_direct=$hardcode_direct_RC
21022
 
 
21023
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21024
 
# resulting binary.
21025
 
hardcode_minus_L=$hardcode_minus_L_RC
21026
 
 
21027
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21028
 
# the resulting binary.
21029
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21030
 
 
21031
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21032
 
# and all subsequent libraries and executables linked against it.
21033
 
hardcode_automatic=$hardcode_automatic_RC
21034
 
 
21035
 
# Variables whose values should be saved in libtool wrapper scripts and
21036
 
# restored at relink time.
21037
 
variables_saved_for_relink="$variables_saved_for_relink"
21038
 
 
21039
 
# Whether libtool must link a program against all its dependency libraries.
21040
 
link_all_deplibs=$link_all_deplibs_RC
21041
 
 
21042
 
# Compile-time system search path for libraries
21043
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21044
 
 
21045
 
# Run-time system search path for libraries
21046
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21047
 
 
21048
 
# Fix the shell variable \$srcfile for the compiler.
21049
 
fix_srcfile_path=$lt_fix_srcfile_path
21050
 
 
21051
 
# Set to yes if exported symbols are required.
21052
 
always_export_symbols=$always_export_symbols_RC
21053
 
 
21054
 
# The commands to list exported symbols.
21055
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
21056
 
 
21057
 
# The commands to extract the exported symbol list from a shared archive.
21058
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21059
 
 
21060
 
# Symbols that should not be listed in the preloaded symbols.
21061
 
exclude_expsyms=$lt_exclude_expsyms_RC
21062
 
 
21063
 
# Symbols that must always be exported.
21064
 
include_expsyms=$lt_include_expsyms_RC
21065
 
 
21066
 
# ### END LIBTOOL TAG CONFIG: $tagname
21067
 
 
21068
 
__EOF__
21069
 
 
21070
 
 
21071
 
else
21072
 
  # If there is no Makefile yet, we rely on a make rule to execute
21073
 
  # `config.status --recheck' to rerun these tests and create the
21074
 
  # libtool script then.
21075
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21076
 
  if test -f "$ltmain_in"; then
21077
 
    test -f Makefile && make "$ltmain"
21078
 
  fi
 
12652
if test -n "$compiler"; then
 
12653
  :
 
12654
 
 
12655
 
 
12656
 
21079
12657
fi
21080
12658
 
21081
 
 
 
12659
GCC=$lt_save_GCC
21082
12660
ac_ext=c
21083
12661
ac_cpp='$CPP $CPPFLAGS'
21084
12662
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21087
12665
 
21088
12666
CC="$lt_save_CC"
21089
12667
 
21090
 
        ;;
21091
 
 
21092
 
      *)
21093
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21094
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21095
 
   { (exit 1); exit 1; }; }
21096
 
        ;;
21097
 
      esac
21098
 
 
21099
 
      # Append the new tag name to the list of available tags.
21100
 
      if test -n "$tagname" ; then
21101
 
      available_tags="$available_tags $tagname"
21102
 
    fi
21103
 
    fi
21104
 
  done
21105
 
  IFS="$lt_save_ifs"
21106
 
 
21107
 
  # Now substitute the updated list of available tags.
21108
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21109
 
    mv "${ofile}T" "$ofile"
21110
 
    chmod +x "$ofile"
21111
 
  else
21112
 
    rm -f "${ofile}T"
21113
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21114
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21115
 
   { (exit 1); exit 1; }; }
21116
 
  fi
21117
 
fi
21118
 
 
21119
 
 
21120
 
 
21121
 
# This can be used to rebuild libtool when needed
21122
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21123
 
 
21124
 
# Always use our own libtool.
21125
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21126
 
 
21127
 
# Prevent multiple expansion
21128
 
 
21129
 
 
21130
 
 
21131
 
 
21132
 
 
21133
 
 
21134
 
 
21135
 
 
21136
 
 
21137
 
 
21138
 
 
21139
 
 
21140
 
 
21141
 
 
21142
 
 
21143
 
 
21144
 
 
21145
 
 
21146
 
 
21147
 
 
21148
 
 
21149
 
 
21150
 
 
21151
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21152
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
12668
 
 
12669
 
 
12670
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
12671
$as_echo_n "checking for ANSI C header files... " >&6; }
21153
12672
if test "${ac_cv_header_stdc+set}" = set; then
21154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12673
  $as_echo_n "(cached) " >&6
21155
12674
else
21156
12675
  cat >conftest.$ac_ext <<_ACEOF
21157
12676
/* confdefs.h.  */
21178
12697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179
12698
  *) ac_try_echo=$ac_try;;
21180
12699
esac
21181
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12700
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12701
$as_echo "$ac_try_echo") >&5
21182
12702
  (eval "$ac_compile") 2>conftest.er1
21183
12703
  ac_status=$?
21184
12704
  grep -v '^ *+' conftest.er1 >conftest.err
21185
12705
  rm -f conftest.er1
21186
12706
  cat conftest.err >&5
21187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12707
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188
12708
  (exit $ac_status); } && {
21189
12709
         test -z "$ac_c_werror_flag" ||
21190
12710
         test ! -s conftest.err
21191
12711
       } && test -s conftest.$ac_objext; then
21192
12712
  ac_cv_header_stdc=yes
21193
12713
else
21194
 
  echo "$as_me: failed program was:" >&5
 
12714
  $as_echo "$as_me: failed program was:" >&5
21195
12715
sed 's/^/| /' conftest.$ac_ext >&5
21196
12716
 
21197
12717
        ac_cv_header_stdc=no
21283
12803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284
12804
  *) ac_try_echo=$ac_try;;
21285
12805
esac
21286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12807
$as_echo "$ac_try_echo") >&5
21287
12808
  (eval "$ac_link") 2>&5
21288
12809
  ac_status=$?
21289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12810
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290
12811
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21291
12812
  { (case "(($ac_try" in
21292
12813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21293
12814
  *) ac_try_echo=$ac_try;;
21294
12815
esac
21295
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12816
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12817
$as_echo "$ac_try_echo") >&5
21296
12818
  (eval "$ac_try") 2>&5
21297
12819
  ac_status=$?
21298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12820
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299
12821
  (exit $ac_status); }; }; then
21300
12822
  :
21301
12823
else
21302
 
  echo "$as_me: program exited with status $ac_status" >&5
21303
 
echo "$as_me: failed program was:" >&5
 
12824
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
12825
$as_echo "$as_me: failed program was:" >&5
21304
12826
sed 's/^/| /' conftest.$ac_ext >&5
21305
12827
 
21306
12828
( exit $ac_status )
21307
12829
ac_cv_header_stdc=no
21308
12830
fi
 
12831
rm -rf conftest.dSYM
21309
12832
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21310
12833
fi
21311
12834
 
21312
12835
 
21313
12836
fi
21314
12837
fi
21315
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21316
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
12838
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12839
$as_echo "$ac_cv_header_stdc" >&6; }
21317
12840
if test $ac_cv_header_stdc = yes; then
21318
12841
 
21319
12842
cat >>confdefs.h <<\_ACEOF
21322
12845
 
21323
12846
fi
21324
12847
 
21325
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
21326
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
 
12848
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
12849
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
21327
12850
if test "${ac_cv_header_sys_wait_h+set}" = set; then
21328
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12851
  $as_echo_n "(cached) " >&6
21329
12852
else
21330
12853
  cat >conftest.$ac_ext <<_ACEOF
21331
12854
/* confdefs.h.  */
21358
12881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21359
12882
  *) ac_try_echo=$ac_try;;
21360
12883
esac
21361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12884
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12885
$as_echo "$ac_try_echo") >&5
21362
12886
  (eval "$ac_compile") 2>conftest.er1
21363
12887
  ac_status=$?
21364
12888
  grep -v '^ *+' conftest.er1 >conftest.err
21365
12889
  rm -f conftest.er1
21366
12890
  cat conftest.err >&5
21367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12891
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368
12892
  (exit $ac_status); } && {
21369
12893
         test -z "$ac_c_werror_flag" ||
21370
12894
         test ! -s conftest.err
21371
12895
       } && test -s conftest.$ac_objext; then
21372
12896
  ac_cv_header_sys_wait_h=yes
21373
12897
else
21374
 
  echo "$as_me: failed program was:" >&5
 
12898
  $as_echo "$as_me: failed program was:" >&5
21375
12899
sed 's/^/| /' conftest.$ac_ext >&5
21376
12900
 
21377
12901
        ac_cv_header_sys_wait_h=no
21379
12903
 
21380
12904
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21381
12905
fi
21382
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
21383
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
12906
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
12907
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
21384
12908
if test $ac_cv_header_sys_wait_h = yes; then
21385
12909
 
21386
12910
cat >>confdefs.h <<\_ACEOF
21408
12932
        unistd.h locale.h getopt.h dlfcn.h utmp.h \
21409
12933
 
21410
12934
do
21411
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21412
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21413
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21414
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21415
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21416
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12935
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12936
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12937
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
12938
$as_echo_n "checking for $ac_header... " >&6; }
 
12939
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12940
  $as_echo_n "(cached) " >&6
21417
12941
fi
21418
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21419
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21420
 
echo "${ECHO_T}$ac_res" >&6; }
 
12942
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
12943
                 $as_echo "$as_val"'`
 
12944
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12945
$as_echo "$ac_res" >&6; }
21421
12946
else
21422
12947
  # Is the header compilable?
21423
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21424
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
12948
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
12949
$as_echo_n "checking $ac_header usability... " >&6; }
21425
12950
cat >conftest.$ac_ext <<_ACEOF
21426
12951
/* confdefs.h.  */
21427
12952
_ACEOF
21437
12962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21438
12963
  *) ac_try_echo=$ac_try;;
21439
12964
esac
21440
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12965
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12966
$as_echo "$ac_try_echo") >&5
21441
12967
  (eval "$ac_compile") 2>conftest.er1
21442
12968
  ac_status=$?
21443
12969
  grep -v '^ *+' conftest.er1 >conftest.err
21444
12970
  rm -f conftest.er1
21445
12971
  cat conftest.err >&5
21446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12972
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447
12973
  (exit $ac_status); } && {
21448
12974
         test -z "$ac_c_werror_flag" ||
21449
12975
         test ! -s conftest.err
21450
12976
       } && test -s conftest.$ac_objext; then
21451
12977
  ac_header_compiler=yes
21452
12978
else
21453
 
  echo "$as_me: failed program was:" >&5
 
12979
  $as_echo "$as_me: failed program was:" >&5
21454
12980
sed 's/^/| /' conftest.$ac_ext >&5
21455
12981
 
21456
12982
        ac_header_compiler=no
21457
12983
fi
21458
12984
 
21459
12985
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21460
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21461
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
12986
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
12987
$as_echo "$ac_header_compiler" >&6; }
21462
12988
 
21463
12989
# Is the header present?
21464
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21465
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
12990
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
12991
$as_echo_n "checking $ac_header presence... " >&6; }
21466
12992
cat >conftest.$ac_ext <<_ACEOF
21467
12993
/* confdefs.h.  */
21468
12994
_ACEOF
21476
13002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477
13003
  *) ac_try_echo=$ac_try;;
21478
13004
esac
21479
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13006
$as_echo "$ac_try_echo") >&5
21480
13007
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21481
13008
  ac_status=$?
21482
13009
  grep -v '^ *+' conftest.er1 >conftest.err
21483
13010
  rm -f conftest.er1
21484
13011
  cat conftest.err >&5
21485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13012
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486
13013
  (exit $ac_status); } >/dev/null && {
21487
13014
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21488
13015
         test ! -s conftest.err
21489
13016
       }; then
21490
13017
  ac_header_preproc=yes
21491
13018
else
21492
 
  echo "$as_me: failed program was:" >&5
 
13019
  $as_echo "$as_me: failed program was:" >&5
21493
13020
sed 's/^/| /' conftest.$ac_ext >&5
21494
13021
 
21495
13022
  ac_header_preproc=no
21496
13023
fi
21497
13024
 
21498
13025
rm -f conftest.err conftest.$ac_ext
21499
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21500
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
13026
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
13027
$as_echo "$ac_header_preproc" >&6; }
21501
13028
 
21502
13029
# So?  What about this header?
21503
13030
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21504
13031
  yes:no: )
21505
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21506
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21507
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21508
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
13032
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
13033
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
13034
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
13035
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21509
13036
    ac_header_preproc=yes
21510
13037
    ;;
21511
13038
  no:yes:* )
21512
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21513
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21514
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21515
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21516
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21517
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21518
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21519
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21520
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21521
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21522
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21523
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
13039
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
13040
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
13041
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
13042
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
13043
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
13044
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
13045
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
13046
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
13047
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
13048
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
13049
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
13050
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21524
13051
 
21525
13052
    ;;
21526
13053
esac
21527
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21528
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
13054
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13055
$as_echo_n "checking for $ac_header... " >&6; }
21529
13056
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21530
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13057
  $as_echo_n "(cached) " >&6
21531
13058
else
21532
13059
  eval "$as_ac_Header=\$ac_header_preproc"
21533
13060
fi
21534
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21535
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21536
 
echo "${ECHO_T}$ac_res" >&6; }
 
13061
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
13062
                 $as_echo "$as_val"'`
 
13063
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
13064
$as_echo "$ac_res" >&6; }
21537
13065
 
21538
13066
fi
21539
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
13067
as_val=`eval 'as_val=${'$as_ac_Header'}
 
13068
                 $as_echo "$as_val"'`
 
13069
   if test "x$as_val" = x""yes; then
21540
13070
  cat >>confdefs.h <<_ACEOF
21541
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13071
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21542
13072
_ACEOF
21543
13073
 
21544
13074
fi
21550
13080
do
21551
13081
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21552
13082
set dummy $ac_prog; ac_word=$2
21553
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21554
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13083
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13084
$as_echo_n "checking for $ac_word... " >&6; }
21555
13085
if test "${ac_cv_prog_DOXYGEN+set}" = set; then
21556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13086
  $as_echo_n "(cached) " >&6
21557
13087
else
21558
13088
  if test -n "$DOXYGEN"; then
21559
13089
  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
21566
13096
  for ac_exec_ext in '' $ac_executable_extensions; do
21567
13097
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21568
13098
    ac_cv_prog_DOXYGEN="$ac_prog"
21569
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13099
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21570
13100
    break 2
21571
13101
  fi
21572
13102
done
21577
13107
fi
21578
13108
DOXYGEN=$ac_cv_prog_DOXYGEN
21579
13109
if test -n "$DOXYGEN"; then
21580
 
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
21581
 
echo "${ECHO_T}$DOXYGEN" >&6; }
 
13110
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
13111
$as_echo "$DOXYGEN" >&6; }
21582
13112
else
21583
 
  { echo "$as_me:$LINENO: result: no" >&5
21584
 
echo "${ECHO_T}no" >&6; }
 
13113
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13114
$as_echo "no" >&6; }
21585
13115
fi
21586
13116
 
21587
13117
 
21588
13118
  test -n "$DOXYGEN" && break
21589
13119
done
21590
13120
 
21591
 
test "${enable_api_doc}" = "yes" -a -z "${DOXYGEN}" && { { echo "$as_me:$LINENO: error: doxygen is required for api doc" >&5
21592
 
echo "$as_me: error: doxygen is required for api doc" >&2;}
 
13121
test "${enable_api_doc}" = "yes" -a -z "${DOXYGEN}" && { { $as_echo "$as_me:$LINENO: error: doxygen is required for api doc" >&5
 
13122
$as_echo "$as_me: error: doxygen is required for api doc" >&2;}
21593
13123
   { (exit 1); exit 1; }; }
21594
13124
 
21595
13125
 
21601
13131
do
21602
13132
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21603
13133
set dummy $ac_prog; ac_word=$2
21604
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21605
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13134
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13135
$as_echo_n "checking for $ac_word... " >&6; }
21606
13136
if test "${ac_cv_prog_XSLTPROC+set}" = set; then
21607
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13137
  $as_echo_n "(cached) " >&6
21608
13138
else
21609
13139
  if test -n "$XSLTPROC"; then
21610
13140
  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
21617
13147
  for ac_exec_ext in '' $ac_executable_extensions; do
21618
13148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21619
13149
    ac_cv_prog_XSLTPROC="$ac_prog"
21620
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13150
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21621
13151
    break 2
21622
13152
  fi
21623
13153
done
21628
13158
fi
21629
13159
XSLTPROC=$ac_cv_prog_XSLTPROC
21630
13160
if test -n "$XSLTPROC"; then
21631
 
  { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
21632
 
echo "${ECHO_T}$XSLTPROC" >&6; }
 
13161
  { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
 
13162
$as_echo "$XSLTPROC" >&6; }
21633
13163
else
21634
 
  { echo "$as_me:$LINENO: result: no" >&5
21635
 
echo "${ECHO_T}no" >&6; }
 
13164
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13165
$as_echo "no" >&6; }
21636
13166
fi
21637
13167
 
21638
13168
 
21643
13173
do
21644
13174
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21645
13175
set dummy $ac_prog; ac_word=$2
21646
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21647
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13176
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13177
$as_echo_n "checking for $ac_word... " >&6; }
21648
13178
if test "${ac_cv_prog_SVN+set}" = set; then
21649
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13179
  $as_echo_n "(cached) " >&6
21650
13180
else
21651
13181
  if test -n "$SVN"; then
21652
13182
  ac_cv_prog_SVN="$SVN" # Let the user override the test.
21659
13189
  for ac_exec_ext in '' $ac_executable_extensions; do
21660
13190
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21661
13191
    ac_cv_prog_SVN="$ac_prog"
21662
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13192
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21663
13193
    break 2
21664
13194
  fi
21665
13195
done
21670
13200
fi
21671
13201
SVN=$ac_cv_prog_SVN
21672
13202
if test -n "$SVN"; then
21673
 
  { echo "$as_me:$LINENO: result: $SVN" >&5
21674
 
echo "${ECHO_T}$SVN" >&6; }
 
13203
  { $as_echo "$as_me:$LINENO: result: $SVN" >&5
 
13204
$as_echo "$SVN" >&6; }
21675
13205
else
21676
 
  { echo "$as_me:$LINENO: result: no" >&5
21677
 
echo "${ECHO_T}no" >&6; }
 
13206
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13207
$as_echo "no" >&6; }
21678
13208
fi
21679
13209
 
21680
13210
 
21685
13215
do
21686
13216
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21687
13217
set dummy $ac_prog; ac_word=$2
21688
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21689
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13218
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13219
$as_echo_n "checking for $ac_word... " >&6; }
21690
13220
if test "${ac_cv_prog_WGET+set}" = set; then
21691
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13221
  $as_echo_n "(cached) " >&6
21692
13222
else
21693
13223
  if test -n "$WGET"; then
21694
13224
  ac_cv_prog_WGET="$WGET" # Let the user override the test.
21701
13231
  for ac_exec_ext in '' $ac_executable_extensions; do
21702
13232
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21703
13233
    ac_cv_prog_WGET="$ac_prog"
21704
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13234
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21705
13235
    break 2
21706
13236
  fi
21707
13237
done
21712
13242
fi
21713
13243
WGET=$ac_cv_prog_WGET
21714
13244
if test -n "$WGET"; then
21715
 
  { echo "$as_me:$LINENO: result: $WGET" >&5
21716
 
echo "${ECHO_T}$WGET" >&6; }
 
13245
  { $as_echo "$as_me:$LINENO: result: $WGET" >&5
 
13246
$as_echo "$WGET" >&6; }
21717
13247
else
21718
 
  { echo "$as_me:$LINENO: result: no" >&5
21719
 
echo "${ECHO_T}no" >&6; }
 
13248
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13249
$as_echo "no" >&6; }
21720
13250
fi
21721
13251
 
21722
13252
 
21727
13257
do
21728
13258
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21729
13259
set dummy $ac_prog; ac_word=$2
21730
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21731
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13260
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13261
$as_echo_n "checking for $ac_word... " >&6; }
21732
13262
if test "${ac_cv_prog_TR+set}" = set; then
21733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13263
  $as_echo_n "(cached) " >&6
21734
13264
else
21735
13265
  if test -n "$TR"; then
21736
13266
  ac_cv_prog_TR="$TR" # Let the user override the test.
21743
13273
  for ac_exec_ext in '' $ac_executable_extensions; do
21744
13274
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21745
13275
    ac_cv_prog_TR="$ac_prog"
21746
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13276
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21747
13277
    break 2
21748
13278
  fi
21749
13279
done
21754
13284
fi
21755
13285
TR=$ac_cv_prog_TR
21756
13286
if test -n "$TR"; then
21757
 
  { echo "$as_me:$LINENO: result: $TR" >&5
21758
 
echo "${ECHO_T}$TR" >&6; }
 
13287
  { $as_echo "$as_me:$LINENO: result: $TR" >&5
 
13288
$as_echo "$TR" >&6; }
21759
13289
else
21760
 
  { echo "$as_me:$LINENO: result: no" >&5
21761
 
echo "${ECHO_T}no" >&6; }
 
13290
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13291
$as_echo "no" >&6; }
21762
13292
fi
21763
13293
 
21764
13294
 
21768
13298
test -z "${WGET_OPTS}" && WGET_OPTS="-nv"
21769
13299
 
21770
13300
if test "${svn_checkout}" = "yes"; then
21771
 
        { echo "$as_me:$LINENO: checking XSLTPROC requirement" >&5
21772
 
echo $ECHO_N "checking XSLTPROC requirement... $ECHO_C" >&6; }
 
13301
        { $as_echo "$as_me:$LINENO: checking XSLTPROC requirement" >&5
 
13302
$as_echo_n "checking XSLTPROC requirement... " >&6; }
21773
13303
        if test -n "${XSLTPROC}"; then
21774
 
                { echo "$as_me:$LINENO: result: ok" >&5
21775
 
echo "${ECHO_T}ok" >&6; }
 
13304
                { $as_echo "$as_me:$LINENO: result: ok" >&5
 
13305
$as_echo "ok" >&6; }
21776
13306
        else
21777
13307
                if test "${enable_doc}" = "yes"; then
21778
 
                        { { echo "$as_me:$LINENO: error: Missing XSLTPROC svn build with doc" >&5
21779
 
echo "$as_me: error: Missing XSLTPROC svn build with doc" >&2;}
 
13308
                        { { $as_echo "$as_me:$LINENO: error: Missing XSLTPROC svn build with doc" >&5
 
13309
$as_echo "$as_me: error: Missing XSLTPROC svn build with doc" >&2;}
21780
13310
   { (exit 1); exit 1; }; }
21781
13311
                else
21782
 
                        { echo "$as_me:$LINENO: WARNING: \"make dist\" will not work" >&5
21783
 
echo "$as_me: WARNING: \"make dist\" will not work" >&2;}
 
13312
                        { $as_echo "$as_me:$LINENO: WARNING: \"make dist\" will not work" >&5
 
13313
$as_echo "$as_me: WARNING: \"make dist\" will not work" >&2;}
21784
13314
                fi
21785
13315
        fi
21786
13316
 
21787
 
        { echo "$as_me:$LINENO: checking svn doc build dependencies" >&5
21788
 
echo $ECHO_N "checking svn doc build dependencies... $ECHO_C" >&6; }
 
13317
        { $as_echo "$as_me:$LINENO: checking svn doc build dependencies" >&5
 
13318
$as_echo_n "checking svn doc build dependencies... " >&6; }
21789
13319
        if test -n "${SVN}" -a -n "${TR}" -a -n "${WGET}"; then
21790
 
                { echo "$as_me:$LINENO: result: ok" >&5
21791
 
echo "${ECHO_T}ok" >&6; }
 
13320
                { $as_echo "$as_me:$LINENO: result: ok" >&5
 
13321
$as_echo "ok" >&6; }
21792
13322
        else
21793
13323
                if test "${enable_doc}" = "yes"; then
21794
 
                        { { echo "$as_me:$LINENO: error: Missing SVN, TR or WGET for svn doc build" >&5
21795
 
echo "$as_me: error: Missing SVN, TR or WGET for svn doc build" >&2;}
 
13324
                        { { $as_echo "$as_me:$LINENO: error: Missing SVN, TR or WGET for svn doc build" >&5
 
13325
$as_echo "$as_me: error: Missing SVN, TR or WGET for svn doc build" >&2;}
21796
13326
   { (exit 1); exit 1; }; }
21797
13327
                else
21798
 
                        { echo "$as_me:$LINENO: WARNING: \"make dist\" will not work" >&5
21799
 
echo "$as_me: WARNING: \"make dist\" will not work" >&2;}
 
13328
                        { $as_echo "$as_me:$LINENO: WARNING: \"make dist\" will not work" >&5
 
13329
$as_echo "$as_me: WARNING: \"make dist\" will not work" >&2;}
21800
13330
                fi
21801
13331
        fi
21802
13332
fi
21804
13334
 
21805
13335
 
21806
13336
if test -z "${LTLIB_LIBS}"; then
21807
 
        { echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
21808
 
echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6; }
 
13337
        { $as_echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
 
13338
$as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
21809
13339
if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
21810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13340
  $as_echo_n "(cached) " >&6
21811
13341
else
21812
13342
  ac_check_lib_save_LIBS=$LIBS
21813
13343
LIBS="-lltdl  $LIBS"
21839
13369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21840
13370
  *) ac_try_echo=$ac_try;;
21841
13371
esac
21842
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13373
$as_echo "$ac_try_echo") >&5
21843
13374
  (eval "$ac_link") 2>conftest.er1
21844
13375
  ac_status=$?
21845
13376
  grep -v '^ *+' conftest.er1 >conftest.err
21846
13377
  rm -f conftest.er1
21847
13378
  cat conftest.err >&5
21848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13379
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849
13380
  (exit $ac_status); } && {
21850
13381
         test -z "$ac_c_werror_flag" ||
21851
13382
         test ! -s conftest.err
21852
 
       } && test -s conftest$ac_exeext &&
21853
 
       $as_test_x conftest$ac_exeext; then
 
13383
       } && test -s conftest$ac_exeext && {
 
13384
         test "$cross_compiling" = yes ||
 
13385
         $as_test_x conftest$ac_exeext
 
13386
       }; then
21854
13387
  ac_cv_lib_ltdl_lt_dlopen=yes
21855
13388
else
21856
 
  echo "$as_me: failed program was:" >&5
 
13389
  $as_echo "$as_me: failed program was:" >&5
21857
13390
sed 's/^/| /' conftest.$ac_ext >&5
21858
13391
 
21859
13392
        ac_cv_lib_ltdl_lt_dlopen=no
21860
13393
fi
21861
13394
 
 
13395
rm -rf conftest.dSYM
21862
13396
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21863
13397
      conftest$ac_exeext conftest.$ac_ext
21864
13398
LIBS=$ac_check_lib_save_LIBS
21865
13399
fi
21866
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
21867
 
echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6; }
21868
 
if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
 
13400
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
 
13401
$as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
 
13402
if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then
21869
13403
  LTLIB_LIBS="-lltdl"
21870
13404
else
21871
 
  { { echo "$as_me:$LINENO: error: ltdl not found, please install libltdl and/or libtool" >&5
21872
 
echo "$as_me: error: ltdl not found, please install libltdl and/or libtool" >&2;}
 
13405
  { { $as_echo "$as_me:$LINENO: error: ltdl not found, please install libltdl and/or libtool" >&5
 
13406
$as_echo "$as_me: error: ltdl not found, please install libltdl and/or libtool" >&2;}
21873
13407
   { (exit 1); exit 1; }; }
21874
13408
 
21875
13409
fi
21879
13413
saved_CFLAGS="${CFLAGS}"
21880
13414
CFLAGS="${CFLAGS} ${LTLIB_CFLAGS}"
21881
13415
if test "${ac_cv_header_ltdl_h+set}" = set; then
21882
 
  { echo "$as_me:$LINENO: checking for ltdl.h" >&5
21883
 
echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6; }
 
13416
  { $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
 
13417
$as_echo_n "checking for ltdl.h... " >&6; }
21884
13418
if test "${ac_cv_header_ltdl_h+set}" = set; then
21885
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13419
  $as_echo_n "(cached) " >&6
21886
13420
fi
21887
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
21888
 
echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
 
13421
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
 
13422
$as_echo "$ac_cv_header_ltdl_h" >&6; }
21889
13423
else
21890
13424
  # Is the header compilable?
21891
 
{ echo "$as_me:$LINENO: checking ltdl.h usability" >&5
21892
 
echo $ECHO_N "checking ltdl.h usability... $ECHO_C" >&6; }
 
13425
{ $as_echo "$as_me:$LINENO: checking ltdl.h usability" >&5
 
13426
$as_echo_n "checking ltdl.h usability... " >&6; }
21893
13427
cat >conftest.$ac_ext <<_ACEOF
21894
13428
/* confdefs.h.  */
21895
13429
_ACEOF
21905
13439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906
13440
  *) ac_try_echo=$ac_try;;
21907
13441
esac
21908
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13442
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13443
$as_echo "$ac_try_echo") >&5
21909
13444
  (eval "$ac_compile") 2>conftest.er1
21910
13445
  ac_status=$?
21911
13446
  grep -v '^ *+' conftest.er1 >conftest.err
21912
13447
  rm -f conftest.er1
21913
13448
  cat conftest.err >&5
21914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13449
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915
13450
  (exit $ac_status); } && {
21916
13451
         test -z "$ac_c_werror_flag" ||
21917
13452
         test ! -s conftest.err
21918
13453
       } && test -s conftest.$ac_objext; then
21919
13454
  ac_header_compiler=yes
21920
13455
else
21921
 
  echo "$as_me: failed program was:" >&5
 
13456
  $as_echo "$as_me: failed program was:" >&5
21922
13457
sed 's/^/| /' conftest.$ac_ext >&5
21923
13458
 
21924
13459
        ac_header_compiler=no
21925
13460
fi
21926
13461
 
21927
13462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21928
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21929
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
13463
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
13464
$as_echo "$ac_header_compiler" >&6; }
21930
13465
 
21931
13466
# Is the header present?
21932
 
{ echo "$as_me:$LINENO: checking ltdl.h presence" >&5
21933
 
echo $ECHO_N "checking ltdl.h presence... $ECHO_C" >&6; }
 
13467
{ $as_echo "$as_me:$LINENO: checking ltdl.h presence" >&5
 
13468
$as_echo_n "checking ltdl.h presence... " >&6; }
21934
13469
cat >conftest.$ac_ext <<_ACEOF
21935
13470
/* confdefs.h.  */
21936
13471
_ACEOF
21944
13479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21945
13480
  *) ac_try_echo=$ac_try;;
21946
13481
esac
21947
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13482
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13483
$as_echo "$ac_try_echo") >&5
21948
13484
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21949
13485
  ac_status=$?
21950
13486
  grep -v '^ *+' conftest.er1 >conftest.err
21951
13487
  rm -f conftest.er1
21952
13488
  cat conftest.err >&5
21953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13489
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954
13490
  (exit $ac_status); } >/dev/null && {
21955
13491
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21956
13492
         test ! -s conftest.err
21957
13493
       }; then
21958
13494
  ac_header_preproc=yes
21959
13495
else
21960
 
  echo "$as_me: failed program was:" >&5
 
13496
  $as_echo "$as_me: failed program was:" >&5
21961
13497
sed 's/^/| /' conftest.$ac_ext >&5
21962
13498
 
21963
13499
  ac_header_preproc=no
21964
13500
fi
21965
13501
 
21966
13502
rm -f conftest.err conftest.$ac_ext
21967
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21968
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
13503
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
13504
$as_echo "$ac_header_preproc" >&6; }
21969
13505
 
21970
13506
# So?  What about this header?
21971
13507
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21972
13508
  yes:no: )
21973
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21974
 
echo "$as_me: WARNING: ltdl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21975
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h: proceeding with the compiler's result" >&5
21976
 
echo "$as_me: WARNING: ltdl.h: proceeding with the compiler's result" >&2;}
 
13509
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
13510
$as_echo "$as_me: WARNING: ltdl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
13511
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h: proceeding with the compiler's result" >&5
 
13512
$as_echo "$as_me: WARNING: ltdl.h: proceeding with the compiler's result" >&2;}
21977
13513
    ac_header_preproc=yes
21978
13514
    ;;
21979
13515
  no:yes:* )
21980
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h: present but cannot be compiled" >&5
21981
 
echo "$as_me: WARNING: ltdl.h: present but cannot be compiled" >&2;}
21982
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h:     check for missing prerequisite headers?" >&5
21983
 
echo "$as_me: WARNING: ltdl.h:     check for missing prerequisite headers?" >&2;}
21984
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h: see the Autoconf documentation" >&5
21985
 
echo "$as_me: WARNING: ltdl.h: see the Autoconf documentation" >&2;}
21986
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h:     section \"Present But Cannot Be Compiled\"" >&5
21987
 
echo "$as_me: WARNING: ltdl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21988
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h: proceeding with the preprocessor's result" >&5
21989
 
echo "$as_me: WARNING: ltdl.h: proceeding with the preprocessor's result" >&2;}
21990
 
    { echo "$as_me:$LINENO: WARNING: ltdl.h: in the future, the compiler will take precedence" >&5
21991
 
echo "$as_me: WARNING: ltdl.h: in the future, the compiler will take precedence" >&2;}
 
13516
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h: present but cannot be compiled" >&5
 
13517
$as_echo "$as_me: WARNING: ltdl.h: present but cannot be compiled" >&2;}
 
13518
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h:     check for missing prerequisite headers?" >&5
 
13519
$as_echo "$as_me: WARNING: ltdl.h:     check for missing prerequisite headers?" >&2;}
 
13520
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h: see the Autoconf documentation" >&5
 
13521
$as_echo "$as_me: WARNING: ltdl.h: see the Autoconf documentation" >&2;}
 
13522
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
13523
$as_echo "$as_me: WARNING: ltdl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
13524
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h: proceeding with the preprocessor's result" >&5
 
13525
$as_echo "$as_me: WARNING: ltdl.h: proceeding with the preprocessor's result" >&2;}
 
13526
    { $as_echo "$as_me:$LINENO: WARNING: ltdl.h: in the future, the compiler will take precedence" >&5
 
13527
$as_echo "$as_me: WARNING: ltdl.h: in the future, the compiler will take precedence" >&2;}
21992
13528
 
21993
13529
    ;;
21994
13530
esac
21995
 
{ echo "$as_me:$LINENO: checking for ltdl.h" >&5
21996
 
echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6; }
 
13531
{ $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
 
13532
$as_echo_n "checking for ltdl.h... " >&6; }
21997
13533
if test "${ac_cv_header_ltdl_h+set}" = set; then
21998
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13534
  $as_echo_n "(cached) " >&6
21999
13535
else
22000
13536
  ac_cv_header_ltdl_h=$ac_header_preproc
22001
13537
fi
22002
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
22003
 
echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
 
13538
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
 
13539
$as_echo "$ac_cv_header_ltdl_h" >&6; }
22004
13540
 
22005
13541
fi
22006
 
if test $ac_cv_header_ltdl_h = yes; then
 
13542
if test "x$ac_cv_header_ltdl_h" = x""yes; then
22007
13543
  :
22008
13544
else
22009
 
  { { echo "$as_me:$LINENO: error: ltdl.h not found, please install libltdl and/or libtool" >&5
22010
 
echo "$as_me: error: ltdl.h not found, please install libltdl and/or libtool" >&2;}
 
13545
  { { $as_echo "$as_me:$LINENO: error: ltdl.h not found, please install libltdl and/or libtool" >&5
 
13546
$as_echo "$as_me: error: ltdl.h not found, please install libltdl and/or libtool" >&2;}
22011
13547
   { (exit 1); exit 1; }; }
22012
13548
 
22013
13549
fi
22017
13553
 
22018
13554
 
22019
13555
pkg_failed=no
22020
 
{ echo "$as_me:$LINENO: checking for OPENSSL" >&5
22021
 
echo $ECHO_N "checking for OPENSSL... $ECHO_C" >&6; }
 
13556
{ $as_echo "$as_me:$LINENO: checking for OPENSSL" >&5
 
13557
$as_echo_n "checking for OPENSSL... " >&6; }
22022
13558
 
22023
13559
if test -n "$PKG_CONFIG"; then
22024
13560
    if test -n "$OPENSSL_CFLAGS"; then
22025
13561
        pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
22026
13562
    else
22027
13563
        if test -n "$PKG_CONFIG" && \
22028
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\"") >&5
 
13564
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\"") >&5
22029
13565
  ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.7") 2>&5
22030
13566
  ac_status=$?
22031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13567
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032
13568
  (exit $ac_status); }; then
22033
13569
  pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 0.9.7" 2>/dev/null`
22034
13570
else
22043
13579
        pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
22044
13580
    else
22045
13581
        if test -n "$PKG_CONFIG" && \
22046
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\"") >&5
 
13582
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\"") >&5
22047
13583
  ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.7") 2>&5
22048
13584
  ac_status=$?
22049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13585
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050
13586
  (exit $ac_status); }; then
22051
13587
  pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "libcrypto >= 0.9.7" 2>/dev/null`
22052
13588
else
22074
13610
        # Put the nasty error message in config.log where it belongs
22075
13611
        echo "$OPENSSL_PKG_ERRORS" >&5
22076
13612
 
22077
 
        { echo "$as_me:$LINENO: result: no" >&5
22078
 
echo "${ECHO_T}no" >&6; }
22079
 
 
22080
 
pkg_failed=no
22081
 
{ echo "$as_me:$LINENO: checking for OPENSSL" >&5
22082
 
echo $ECHO_N "checking for OPENSSL... $ECHO_C" >&6; }
22083
 
 
22084
 
if test -n "$PKG_CONFIG"; then
22085
 
    if test -n "$OPENSSL_CFLAGS"; then
22086
 
        pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
22087
 
    else
22088
 
        if test -n "$PKG_CONFIG" && \
22089
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
22090
 
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
22091
 
  ac_status=$?
22092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093
 
  (exit $ac_status); }; then
22094
 
  pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
22095
 
else
22096
 
  pkg_failed=yes
22097
 
fi
22098
 
    fi
22099
 
else
22100
 
        pkg_failed=untried
22101
 
fi
22102
 
if test -n "$PKG_CONFIG"; then
22103
 
    if test -n "$OPENSSL_LIBS"; then
22104
 
        pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
22105
 
    else
22106
 
        if test -n "$PKG_CONFIG" && \
22107
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
22108
 
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
22109
 
  ac_status=$?
22110
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111
 
  (exit $ac_status); }; then
22112
 
  pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
22113
 
else
22114
 
  pkg_failed=yes
22115
 
fi
22116
 
    fi
22117
 
else
22118
 
        pkg_failed=untried
22119
 
fi
22120
 
 
22121
 
 
22122
 
 
22123
 
if test $pkg_failed = yes; then
22124
 
 
22125
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22126
 
        _pkg_short_errors_supported=yes
22127
 
else
22128
 
        _pkg_short_errors_supported=no
22129
 
fi
22130
 
        if test $_pkg_short_errors_supported = yes; then
22131
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl >= 0.9.7"`
22132
 
        else
22133
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= 0.9.7"`
22134
 
        fi
22135
 
        # Put the nasty error message in config.log where it belongs
22136
 
        echo "$OPENSSL_PKG_ERRORS" >&5
22137
 
 
22138
 
        { echo "$as_me:$LINENO: result: no" >&5
22139
 
echo "${ECHO_T}no" >&6; }
22140
 
                { echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
22141
 
echo $ECHO_N "checking for RSA_version in -lcrypto... $ECHO_C" >&6; }
22142
 
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
22143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22144
 
else
22145
 
  ac_check_lib_save_LIBS=$LIBS
22146
 
LIBS="-lcrypto  $LIBS"
22147
 
cat >conftest.$ac_ext <<_ACEOF
22148
 
/* confdefs.h.  */
22149
 
_ACEOF
22150
 
cat confdefs.h >>conftest.$ac_ext
22151
 
cat >>conftest.$ac_ext <<_ACEOF
22152
 
/* end confdefs.h.  */
22153
 
 
22154
 
/* Override any GCC internal prototype to avoid an error.
22155
 
   Use char because int might match the return type of a GCC
22156
 
   builtin and then its argument prototype would still apply.  */
22157
 
#ifdef __cplusplus
22158
 
extern "C"
22159
 
#endif
22160
 
char RSA_version ();
22161
 
int
22162
 
main ()
22163
 
{
22164
 
return RSA_version ();
22165
 
  ;
22166
 
  return 0;
22167
 
}
22168
 
_ACEOF
22169
 
rm -f conftest.$ac_objext conftest$ac_exeext
22170
 
if { (ac_try="$ac_link"
22171
 
case "(($ac_try" in
22172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173
 
  *) ac_try_echo=$ac_try;;
22174
 
esac
22175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176
 
  (eval "$ac_link") 2>conftest.er1
22177
 
  ac_status=$?
22178
 
  grep -v '^ *+' conftest.er1 >conftest.err
22179
 
  rm -f conftest.er1
22180
 
  cat conftest.err >&5
22181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182
 
  (exit $ac_status); } && {
22183
 
         test -z "$ac_c_werror_flag" ||
22184
 
         test ! -s conftest.err
22185
 
       } && test -s conftest$ac_exeext &&
22186
 
       $as_test_x conftest$ac_exeext; then
22187
 
  ac_cv_lib_crypto_RSA_version=yes
22188
 
else
22189
 
  echo "$as_me: failed program was:" >&5
22190
 
sed 's/^/| /' conftest.$ac_ext >&5
22191
 
 
22192
 
        ac_cv_lib_crypto_RSA_version=no
22193
 
fi
22194
 
 
22195
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22196
 
      conftest$ac_exeext conftest.$ac_ext
22197
 
LIBS=$ac_check_lib_save_LIBS
22198
 
fi
22199
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
22200
 
echo "${ECHO_T}$ac_cv_lib_crypto_RSA_version" >&6; }
22201
 
if test $ac_cv_lib_crypto_RSA_version = yes; then
22202
 
  OPENSSL_LIBS="-lcrypto"
22203
 
else
22204
 
  { { echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
22205
 
echo "$as_me: error: Cannot find OpenSSL" >&2;}
22206
 
   { (exit 1); exit 1; }; }
22207
 
 
22208
 
fi
22209
 
 
22210
 
 
22211
 
elif test $pkg_failed = untried; then
22212
 
        { echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
22213
 
echo $ECHO_N "checking for RSA_version in -lcrypto... $ECHO_C" >&6; }
22214
 
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
22215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22216
 
else
22217
 
  ac_check_lib_save_LIBS=$LIBS
22218
 
LIBS="-lcrypto  $LIBS"
22219
 
cat >conftest.$ac_ext <<_ACEOF
22220
 
/* confdefs.h.  */
22221
 
_ACEOF
22222
 
cat confdefs.h >>conftest.$ac_ext
22223
 
cat >>conftest.$ac_ext <<_ACEOF
22224
 
/* end confdefs.h.  */
22225
 
 
22226
 
/* Override any GCC internal prototype to avoid an error.
22227
 
   Use char because int might match the return type of a GCC
22228
 
   builtin and then its argument prototype would still apply.  */
22229
 
#ifdef __cplusplus
22230
 
extern "C"
22231
 
#endif
22232
 
char RSA_version ();
22233
 
int
22234
 
main ()
22235
 
{
22236
 
return RSA_version ();
22237
 
  ;
22238
 
  return 0;
22239
 
}
22240
 
_ACEOF
22241
 
rm -f conftest.$ac_objext conftest$ac_exeext
22242
 
if { (ac_try="$ac_link"
22243
 
case "(($ac_try" in
22244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245
 
  *) ac_try_echo=$ac_try;;
22246
 
esac
22247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248
 
  (eval "$ac_link") 2>conftest.er1
22249
 
  ac_status=$?
22250
 
  grep -v '^ *+' conftest.er1 >conftest.err
22251
 
  rm -f conftest.er1
22252
 
  cat conftest.err >&5
22253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254
 
  (exit $ac_status); } && {
22255
 
         test -z "$ac_c_werror_flag" ||
22256
 
         test ! -s conftest.err
22257
 
       } && test -s conftest$ac_exeext &&
22258
 
       $as_test_x conftest$ac_exeext; then
22259
 
  ac_cv_lib_crypto_RSA_version=yes
22260
 
else
22261
 
  echo "$as_me: failed program was:" >&5
22262
 
sed 's/^/| /' conftest.$ac_ext >&5
22263
 
 
22264
 
        ac_cv_lib_crypto_RSA_version=no
22265
 
fi
22266
 
 
22267
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22268
 
      conftest$ac_exeext conftest.$ac_ext
22269
 
LIBS=$ac_check_lib_save_LIBS
22270
 
fi
22271
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
22272
 
echo "${ECHO_T}$ac_cv_lib_crypto_RSA_version" >&6; }
22273
 
if test $ac_cv_lib_crypto_RSA_version = yes; then
22274
 
  OPENSSL_LIBS="-lcrypto"
22275
 
else
22276
 
  { { echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
22277
 
echo "$as_me: error: Cannot find OpenSSL" >&2;}
22278
 
   { (exit 1); exit 1; }; }
22279
 
 
22280
 
fi
22281
 
 
22282
 
 
22283
 
else
22284
 
        OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
22285
 
        OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
22286
 
        { echo "$as_me:$LINENO: result: yes" >&5
22287
 
echo "${ECHO_T}yes" >&6; }
22288
 
        :
22289
 
fi
22290
 
 
22291
 
elif test $pkg_failed = untried; then
22292
 
 
22293
 
pkg_failed=no
22294
 
{ echo "$as_me:$LINENO: checking for OPENSSL" >&5
22295
 
echo $ECHO_N "checking for OPENSSL... $ECHO_C" >&6; }
22296
 
 
22297
 
if test -n "$PKG_CONFIG"; then
22298
 
    if test -n "$OPENSSL_CFLAGS"; then
22299
 
        pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
22300
 
    else
22301
 
        if test -n "$PKG_CONFIG" && \
22302
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
22303
 
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
22304
 
  ac_status=$?
22305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306
 
  (exit $ac_status); }; then
22307
 
  pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
22308
 
else
22309
 
  pkg_failed=yes
22310
 
fi
22311
 
    fi
22312
 
else
22313
 
        pkg_failed=untried
22314
 
fi
22315
 
if test -n "$PKG_CONFIG"; then
22316
 
    if test -n "$OPENSSL_LIBS"; then
22317
 
        pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
22318
 
    else
22319
 
        if test -n "$PKG_CONFIG" && \
22320
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
22321
 
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
22322
 
  ac_status=$?
22323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324
 
  (exit $ac_status); }; then
22325
 
  pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
22326
 
else
22327
 
  pkg_failed=yes
22328
 
fi
22329
 
    fi
22330
 
else
22331
 
        pkg_failed=untried
22332
 
fi
22333
 
 
22334
 
 
22335
 
 
22336
 
if test $pkg_failed = yes; then
22337
 
 
22338
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22339
 
        _pkg_short_errors_supported=yes
22340
 
else
22341
 
        _pkg_short_errors_supported=no
22342
 
fi
22343
 
        if test $_pkg_short_errors_supported = yes; then
22344
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl >= 0.9.7"`
22345
 
        else
22346
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= 0.9.7"`
22347
 
        fi
22348
 
        # Put the nasty error message in config.log where it belongs
22349
 
        echo "$OPENSSL_PKG_ERRORS" >&5
22350
 
 
22351
 
        { echo "$as_me:$LINENO: result: no" >&5
22352
 
echo "${ECHO_T}no" >&6; }
22353
 
                { echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
22354
 
echo $ECHO_N "checking for RSA_version in -lcrypto... $ECHO_C" >&6; }
22355
 
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
22356
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22357
 
else
22358
 
  ac_check_lib_save_LIBS=$LIBS
22359
 
LIBS="-lcrypto  $LIBS"
22360
 
cat >conftest.$ac_ext <<_ACEOF
22361
 
/* confdefs.h.  */
22362
 
_ACEOF
22363
 
cat confdefs.h >>conftest.$ac_ext
22364
 
cat >>conftest.$ac_ext <<_ACEOF
22365
 
/* end confdefs.h.  */
22366
 
 
22367
 
/* Override any GCC internal prototype to avoid an error.
22368
 
   Use char because int might match the return type of a GCC
22369
 
   builtin and then its argument prototype would still apply.  */
22370
 
#ifdef __cplusplus
22371
 
extern "C"
22372
 
#endif
22373
 
char RSA_version ();
22374
 
int
22375
 
main ()
22376
 
{
22377
 
return RSA_version ();
22378
 
  ;
22379
 
  return 0;
22380
 
}
22381
 
_ACEOF
22382
 
rm -f conftest.$ac_objext conftest$ac_exeext
22383
 
if { (ac_try="$ac_link"
22384
 
case "(($ac_try" in
22385
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386
 
  *) ac_try_echo=$ac_try;;
22387
 
esac
22388
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389
 
  (eval "$ac_link") 2>conftest.er1
22390
 
  ac_status=$?
22391
 
  grep -v '^ *+' conftest.er1 >conftest.err
22392
 
  rm -f conftest.er1
22393
 
  cat conftest.err >&5
22394
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395
 
  (exit $ac_status); } && {
22396
 
         test -z "$ac_c_werror_flag" ||
22397
 
         test ! -s conftest.err
22398
 
       } && test -s conftest$ac_exeext &&
22399
 
       $as_test_x conftest$ac_exeext; then
22400
 
  ac_cv_lib_crypto_RSA_version=yes
22401
 
else
22402
 
  echo "$as_me: failed program was:" >&5
22403
 
sed 's/^/| /' conftest.$ac_ext >&5
22404
 
 
22405
 
        ac_cv_lib_crypto_RSA_version=no
22406
 
fi
22407
 
 
22408
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22409
 
      conftest$ac_exeext conftest.$ac_ext
22410
 
LIBS=$ac_check_lib_save_LIBS
22411
 
fi
22412
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
22413
 
echo "${ECHO_T}$ac_cv_lib_crypto_RSA_version" >&6; }
22414
 
if test $ac_cv_lib_crypto_RSA_version = yes; then
22415
 
  OPENSSL_LIBS="-lcrypto"
22416
 
else
22417
 
  { { echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
22418
 
echo "$as_me: error: Cannot find OpenSSL" >&2;}
22419
 
   { (exit 1); exit 1; }; }
22420
 
 
22421
 
fi
22422
 
 
22423
 
 
22424
 
elif test $pkg_failed = untried; then
22425
 
        { echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
22426
 
echo $ECHO_N "checking for RSA_version in -lcrypto... $ECHO_C" >&6; }
22427
 
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
22428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22429
 
else
22430
 
  ac_check_lib_save_LIBS=$LIBS
22431
 
LIBS="-lcrypto  $LIBS"
22432
 
cat >conftest.$ac_ext <<_ACEOF
22433
 
/* confdefs.h.  */
22434
 
_ACEOF
22435
 
cat confdefs.h >>conftest.$ac_ext
22436
 
cat >>conftest.$ac_ext <<_ACEOF
22437
 
/* end confdefs.h.  */
22438
 
 
22439
 
/* Override any GCC internal prototype to avoid an error.
22440
 
   Use char because int might match the return type of a GCC
22441
 
   builtin and then its argument prototype would still apply.  */
22442
 
#ifdef __cplusplus
22443
 
extern "C"
22444
 
#endif
22445
 
char RSA_version ();
22446
 
int
22447
 
main ()
22448
 
{
22449
 
return RSA_version ();
22450
 
  ;
22451
 
  return 0;
22452
 
}
22453
 
_ACEOF
22454
 
rm -f conftest.$ac_objext conftest$ac_exeext
22455
 
if { (ac_try="$ac_link"
22456
 
case "(($ac_try" in
22457
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458
 
  *) ac_try_echo=$ac_try;;
22459
 
esac
22460
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461
 
  (eval "$ac_link") 2>conftest.er1
22462
 
  ac_status=$?
22463
 
  grep -v '^ *+' conftest.er1 >conftest.err
22464
 
  rm -f conftest.er1
22465
 
  cat conftest.err >&5
22466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467
 
  (exit $ac_status); } && {
22468
 
         test -z "$ac_c_werror_flag" ||
22469
 
         test ! -s conftest.err
22470
 
       } && test -s conftest$ac_exeext &&
22471
 
       $as_test_x conftest$ac_exeext; then
22472
 
  ac_cv_lib_crypto_RSA_version=yes
22473
 
else
22474
 
  echo "$as_me: failed program was:" >&5
22475
 
sed 's/^/| /' conftest.$ac_ext >&5
22476
 
 
22477
 
        ac_cv_lib_crypto_RSA_version=no
22478
 
fi
22479
 
 
22480
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22481
 
      conftest$ac_exeext conftest.$ac_ext
22482
 
LIBS=$ac_check_lib_save_LIBS
22483
 
fi
22484
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
22485
 
echo "${ECHO_T}$ac_cv_lib_crypto_RSA_version" >&6; }
22486
 
if test $ac_cv_lib_crypto_RSA_version = yes; then
22487
 
  OPENSSL_LIBS="-lcrypto"
22488
 
else
22489
 
  { { echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
22490
 
echo "$as_me: error: Cannot find OpenSSL" >&2;}
22491
 
   { (exit 1); exit 1; }; }
22492
 
 
22493
 
fi
22494
 
 
22495
 
 
22496
 
else
22497
 
        OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
22498
 
        OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
22499
 
        { echo "$as_me:$LINENO: result: yes" >&5
22500
 
echo "${ECHO_T}yes" >&6; }
22501
 
        :
22502
 
fi
22503
 
 
22504
 
else
22505
 
        OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
22506
 
        OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
22507
 
        { echo "$as_me:$LINENO: result: yes" >&5
22508
 
echo "${ECHO_T}yes" >&6; }
 
13613
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13614
$as_echo "no" >&6; }
 
13615
 
 
13616
pkg_failed=no
 
13617
{ $as_echo "$as_me:$LINENO: checking for OPENSSL" >&5
 
13618
$as_echo_n "checking for OPENSSL... " >&6; }
 
13619
 
 
13620
if test -n "$PKG_CONFIG"; then
 
13621
    if test -n "$OPENSSL_CFLAGS"; then
 
13622
        pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
 
13623
    else
 
13624
        if test -n "$PKG_CONFIG" && \
 
13625
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
 
13626
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
 
13627
  ac_status=$?
 
13628
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13629
  (exit $ac_status); }; then
 
13630
  pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
 
13631
else
 
13632
  pkg_failed=yes
 
13633
fi
 
13634
    fi
 
13635
else
 
13636
        pkg_failed=untried
 
13637
fi
 
13638
if test -n "$PKG_CONFIG"; then
 
13639
    if test -n "$OPENSSL_LIBS"; then
 
13640
        pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
 
13641
    else
 
13642
        if test -n "$PKG_CONFIG" && \
 
13643
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
 
13644
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
 
13645
  ac_status=$?
 
13646
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13647
  (exit $ac_status); }; then
 
13648
  pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
 
13649
else
 
13650
  pkg_failed=yes
 
13651
fi
 
13652
    fi
 
13653
else
 
13654
        pkg_failed=untried
 
13655
fi
 
13656
 
 
13657
 
 
13658
 
 
13659
if test $pkg_failed = yes; then
 
13660
 
 
13661
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13662
        _pkg_short_errors_supported=yes
 
13663
else
 
13664
        _pkg_short_errors_supported=no
 
13665
fi
 
13666
        if test $_pkg_short_errors_supported = yes; then
 
13667
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl >= 0.9.7"`
 
13668
        else
 
13669
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= 0.9.7"`
 
13670
        fi
 
13671
        # Put the nasty error message in config.log where it belongs
 
13672
        echo "$OPENSSL_PKG_ERRORS" >&5
 
13673
 
 
13674
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13675
$as_echo "no" >&6; }
 
13676
                { $as_echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
 
13677
$as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
 
13678
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
 
13679
  $as_echo_n "(cached) " >&6
 
13680
else
 
13681
  ac_check_lib_save_LIBS=$LIBS
 
13682
LIBS="-lcrypto  $LIBS"
 
13683
cat >conftest.$ac_ext <<_ACEOF
 
13684
/* confdefs.h.  */
 
13685
_ACEOF
 
13686
cat confdefs.h >>conftest.$ac_ext
 
13687
cat >>conftest.$ac_ext <<_ACEOF
 
13688
/* end confdefs.h.  */
 
13689
 
 
13690
/* Override any GCC internal prototype to avoid an error.
 
13691
   Use char because int might match the return type of a GCC
 
13692
   builtin and then its argument prototype would still apply.  */
 
13693
#ifdef __cplusplus
 
13694
extern "C"
 
13695
#endif
 
13696
char RSA_version ();
 
13697
int
 
13698
main ()
 
13699
{
 
13700
return RSA_version ();
 
13701
  ;
 
13702
  return 0;
 
13703
}
 
13704
_ACEOF
 
13705
rm -f conftest.$ac_objext conftest$ac_exeext
 
13706
if { (ac_try="$ac_link"
 
13707
case "(($ac_try" in
 
13708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13709
  *) ac_try_echo=$ac_try;;
 
13710
esac
 
13711
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13712
$as_echo "$ac_try_echo") >&5
 
13713
  (eval "$ac_link") 2>conftest.er1
 
13714
  ac_status=$?
 
13715
  grep -v '^ *+' conftest.er1 >conftest.err
 
13716
  rm -f conftest.er1
 
13717
  cat conftest.err >&5
 
13718
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13719
  (exit $ac_status); } && {
 
13720
         test -z "$ac_c_werror_flag" ||
 
13721
         test ! -s conftest.err
 
13722
       } && test -s conftest$ac_exeext && {
 
13723
         test "$cross_compiling" = yes ||
 
13724
         $as_test_x conftest$ac_exeext
 
13725
       }; then
 
13726
  ac_cv_lib_crypto_RSA_version=yes
 
13727
else
 
13728
  $as_echo "$as_me: failed program was:" >&5
 
13729
sed 's/^/| /' conftest.$ac_ext >&5
 
13730
 
 
13731
        ac_cv_lib_crypto_RSA_version=no
 
13732
fi
 
13733
 
 
13734
rm -rf conftest.dSYM
 
13735
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13736
      conftest$ac_exeext conftest.$ac_ext
 
13737
LIBS=$ac_check_lib_save_LIBS
 
13738
fi
 
13739
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
 
13740
$as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
 
13741
if test "x$ac_cv_lib_crypto_RSA_version" = x""yes; then
 
13742
  OPENSSL_LIBS="-lcrypto"
 
13743
else
 
13744
  { { $as_echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
 
13745
$as_echo "$as_me: error: Cannot find OpenSSL" >&2;}
 
13746
   { (exit 1); exit 1; }; }
 
13747
 
 
13748
fi
 
13749
 
 
13750
 
 
13751
elif test $pkg_failed = untried; then
 
13752
        { $as_echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
 
13753
$as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
 
13754
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
 
13755
  $as_echo_n "(cached) " >&6
 
13756
else
 
13757
  ac_check_lib_save_LIBS=$LIBS
 
13758
LIBS="-lcrypto  $LIBS"
 
13759
cat >conftest.$ac_ext <<_ACEOF
 
13760
/* confdefs.h.  */
 
13761
_ACEOF
 
13762
cat confdefs.h >>conftest.$ac_ext
 
13763
cat >>conftest.$ac_ext <<_ACEOF
 
13764
/* end confdefs.h.  */
 
13765
 
 
13766
/* Override any GCC internal prototype to avoid an error.
 
13767
   Use char because int might match the return type of a GCC
 
13768
   builtin and then its argument prototype would still apply.  */
 
13769
#ifdef __cplusplus
 
13770
extern "C"
 
13771
#endif
 
13772
char RSA_version ();
 
13773
int
 
13774
main ()
 
13775
{
 
13776
return RSA_version ();
 
13777
  ;
 
13778
  return 0;
 
13779
}
 
13780
_ACEOF
 
13781
rm -f conftest.$ac_objext conftest$ac_exeext
 
13782
if { (ac_try="$ac_link"
 
13783
case "(($ac_try" in
 
13784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13785
  *) ac_try_echo=$ac_try;;
 
13786
esac
 
13787
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13788
$as_echo "$ac_try_echo") >&5
 
13789
  (eval "$ac_link") 2>conftest.er1
 
13790
  ac_status=$?
 
13791
  grep -v '^ *+' conftest.er1 >conftest.err
 
13792
  rm -f conftest.er1
 
13793
  cat conftest.err >&5
 
13794
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13795
  (exit $ac_status); } && {
 
13796
         test -z "$ac_c_werror_flag" ||
 
13797
         test ! -s conftest.err
 
13798
       } && test -s conftest$ac_exeext && {
 
13799
         test "$cross_compiling" = yes ||
 
13800
         $as_test_x conftest$ac_exeext
 
13801
       }; then
 
13802
  ac_cv_lib_crypto_RSA_version=yes
 
13803
else
 
13804
  $as_echo "$as_me: failed program was:" >&5
 
13805
sed 's/^/| /' conftest.$ac_ext >&5
 
13806
 
 
13807
        ac_cv_lib_crypto_RSA_version=no
 
13808
fi
 
13809
 
 
13810
rm -rf conftest.dSYM
 
13811
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13812
      conftest$ac_exeext conftest.$ac_ext
 
13813
LIBS=$ac_check_lib_save_LIBS
 
13814
fi
 
13815
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
 
13816
$as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
 
13817
if test "x$ac_cv_lib_crypto_RSA_version" = x""yes; then
 
13818
  OPENSSL_LIBS="-lcrypto"
 
13819
else
 
13820
  { { $as_echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
 
13821
$as_echo "$as_me: error: Cannot find OpenSSL" >&2;}
 
13822
   { (exit 1); exit 1; }; }
 
13823
 
 
13824
fi
 
13825
 
 
13826
 
 
13827
else
 
13828
        OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
 
13829
        OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
 
13830
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13831
$as_echo "yes" >&6; }
 
13832
        :
 
13833
fi
 
13834
 
 
13835
elif test $pkg_failed = untried; then
 
13836
 
 
13837
pkg_failed=no
 
13838
{ $as_echo "$as_me:$LINENO: checking for OPENSSL" >&5
 
13839
$as_echo_n "checking for OPENSSL... " >&6; }
 
13840
 
 
13841
if test -n "$PKG_CONFIG"; then
 
13842
    if test -n "$OPENSSL_CFLAGS"; then
 
13843
        pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
 
13844
    else
 
13845
        if test -n "$PKG_CONFIG" && \
 
13846
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
 
13847
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
 
13848
  ac_status=$?
 
13849
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13850
  (exit $ac_status); }; then
 
13851
  pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
 
13852
else
 
13853
  pkg_failed=yes
 
13854
fi
 
13855
    fi
 
13856
else
 
13857
        pkg_failed=untried
 
13858
fi
 
13859
if test -n "$PKG_CONFIG"; then
 
13860
    if test -n "$OPENSSL_LIBS"; then
 
13861
        pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
 
13862
    else
 
13863
        if test -n "$PKG_CONFIG" && \
 
13864
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\"") >&5
 
13865
  ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
 
13866
  ac_status=$?
 
13867
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13868
  (exit $ac_status); }; then
 
13869
  pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
 
13870
else
 
13871
  pkg_failed=yes
 
13872
fi
 
13873
    fi
 
13874
else
 
13875
        pkg_failed=untried
 
13876
fi
 
13877
 
 
13878
 
 
13879
 
 
13880
if test $pkg_failed = yes; then
 
13881
 
 
13882
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13883
        _pkg_short_errors_supported=yes
 
13884
else
 
13885
        _pkg_short_errors_supported=no
 
13886
fi
 
13887
        if test $_pkg_short_errors_supported = yes; then
 
13888
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl >= 0.9.7"`
 
13889
        else
 
13890
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= 0.9.7"`
 
13891
        fi
 
13892
        # Put the nasty error message in config.log where it belongs
 
13893
        echo "$OPENSSL_PKG_ERRORS" >&5
 
13894
 
 
13895
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13896
$as_echo "no" >&6; }
 
13897
                { $as_echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
 
13898
$as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
 
13899
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
 
13900
  $as_echo_n "(cached) " >&6
 
13901
else
 
13902
  ac_check_lib_save_LIBS=$LIBS
 
13903
LIBS="-lcrypto  $LIBS"
 
13904
cat >conftest.$ac_ext <<_ACEOF
 
13905
/* confdefs.h.  */
 
13906
_ACEOF
 
13907
cat confdefs.h >>conftest.$ac_ext
 
13908
cat >>conftest.$ac_ext <<_ACEOF
 
13909
/* end confdefs.h.  */
 
13910
 
 
13911
/* Override any GCC internal prototype to avoid an error.
 
13912
   Use char because int might match the return type of a GCC
 
13913
   builtin and then its argument prototype would still apply.  */
 
13914
#ifdef __cplusplus
 
13915
extern "C"
 
13916
#endif
 
13917
char RSA_version ();
 
13918
int
 
13919
main ()
 
13920
{
 
13921
return RSA_version ();
 
13922
  ;
 
13923
  return 0;
 
13924
}
 
13925
_ACEOF
 
13926
rm -f conftest.$ac_objext conftest$ac_exeext
 
13927
if { (ac_try="$ac_link"
 
13928
case "(($ac_try" in
 
13929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13930
  *) ac_try_echo=$ac_try;;
 
13931
esac
 
13932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13933
$as_echo "$ac_try_echo") >&5
 
13934
  (eval "$ac_link") 2>conftest.er1
 
13935
  ac_status=$?
 
13936
  grep -v '^ *+' conftest.er1 >conftest.err
 
13937
  rm -f conftest.er1
 
13938
  cat conftest.err >&5
 
13939
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13940
  (exit $ac_status); } && {
 
13941
         test -z "$ac_c_werror_flag" ||
 
13942
         test ! -s conftest.err
 
13943
       } && test -s conftest$ac_exeext && {
 
13944
         test "$cross_compiling" = yes ||
 
13945
         $as_test_x conftest$ac_exeext
 
13946
       }; then
 
13947
  ac_cv_lib_crypto_RSA_version=yes
 
13948
else
 
13949
  $as_echo "$as_me: failed program was:" >&5
 
13950
sed 's/^/| /' conftest.$ac_ext >&5
 
13951
 
 
13952
        ac_cv_lib_crypto_RSA_version=no
 
13953
fi
 
13954
 
 
13955
rm -rf conftest.dSYM
 
13956
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13957
      conftest$ac_exeext conftest.$ac_ext
 
13958
LIBS=$ac_check_lib_save_LIBS
 
13959
fi
 
13960
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
 
13961
$as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
 
13962
if test "x$ac_cv_lib_crypto_RSA_version" = x""yes; then
 
13963
  OPENSSL_LIBS="-lcrypto"
 
13964
else
 
13965
  { { $as_echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
 
13966
$as_echo "$as_me: error: Cannot find OpenSSL" >&2;}
 
13967
   { (exit 1); exit 1; }; }
 
13968
 
 
13969
fi
 
13970
 
 
13971
 
 
13972
elif test $pkg_failed = untried; then
 
13973
        { $as_echo "$as_me:$LINENO: checking for RSA_version in -lcrypto" >&5
 
13974
$as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
 
13975
if test "${ac_cv_lib_crypto_RSA_version+set}" = set; then
 
13976
  $as_echo_n "(cached) " >&6
 
13977
else
 
13978
  ac_check_lib_save_LIBS=$LIBS
 
13979
LIBS="-lcrypto  $LIBS"
 
13980
cat >conftest.$ac_ext <<_ACEOF
 
13981
/* confdefs.h.  */
 
13982
_ACEOF
 
13983
cat confdefs.h >>conftest.$ac_ext
 
13984
cat >>conftest.$ac_ext <<_ACEOF
 
13985
/* end confdefs.h.  */
 
13986
 
 
13987
/* Override any GCC internal prototype to avoid an error.
 
13988
   Use char because int might match the return type of a GCC
 
13989
   builtin and then its argument prototype would still apply.  */
 
13990
#ifdef __cplusplus
 
13991
extern "C"
 
13992
#endif
 
13993
char RSA_version ();
 
13994
int
 
13995
main ()
 
13996
{
 
13997
return RSA_version ();
 
13998
  ;
 
13999
  return 0;
 
14000
}
 
14001
_ACEOF
 
14002
rm -f conftest.$ac_objext conftest$ac_exeext
 
14003
if { (ac_try="$ac_link"
 
14004
case "(($ac_try" in
 
14005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14006
  *) ac_try_echo=$ac_try;;
 
14007
esac
 
14008
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14009
$as_echo "$ac_try_echo") >&5
 
14010
  (eval "$ac_link") 2>conftest.er1
 
14011
  ac_status=$?
 
14012
  grep -v '^ *+' conftest.er1 >conftest.err
 
14013
  rm -f conftest.er1
 
14014
  cat conftest.err >&5
 
14015
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14016
  (exit $ac_status); } && {
 
14017
         test -z "$ac_c_werror_flag" ||
 
14018
         test ! -s conftest.err
 
14019
       } && test -s conftest$ac_exeext && {
 
14020
         test "$cross_compiling" = yes ||
 
14021
         $as_test_x conftest$ac_exeext
 
14022
       }; then
 
14023
  ac_cv_lib_crypto_RSA_version=yes
 
14024
else
 
14025
  $as_echo "$as_me: failed program was:" >&5
 
14026
sed 's/^/| /' conftest.$ac_ext >&5
 
14027
 
 
14028
        ac_cv_lib_crypto_RSA_version=no
 
14029
fi
 
14030
 
 
14031
rm -rf conftest.dSYM
 
14032
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14033
      conftest$ac_exeext conftest.$ac_ext
 
14034
LIBS=$ac_check_lib_save_LIBS
 
14035
fi
 
14036
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_version" >&5
 
14037
$as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
 
14038
if test "x$ac_cv_lib_crypto_RSA_version" = x""yes; then
 
14039
  OPENSSL_LIBS="-lcrypto"
 
14040
else
 
14041
  { { $as_echo "$as_me:$LINENO: error: Cannot find OpenSSL" >&5
 
14042
$as_echo "$as_me: error: Cannot find OpenSSL" >&2;}
 
14043
   { (exit 1); exit 1; }; }
 
14044
 
 
14045
fi
 
14046
 
 
14047
 
 
14048
else
 
14049
        OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
 
14050
        OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
 
14051
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14052
$as_echo "yes" >&6; }
 
14053
        :
 
14054
fi
 
14055
 
 
14056
else
 
14057
        OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
 
14058
        OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
 
14059
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14060
$as_echo "yes" >&6; }
22509
14061
        :
22510
14062
fi
22511
14063
 
22600
14152
    case $ac_val in #(
22601
14153
    *${as_nl}*)
22602
14154
      case $ac_var in #(
22603
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22604
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
14155
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
14156
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22605
14157
      esac
22606
14158
      case $ac_var in #(
22607
14159
      _ | IFS | as_nl) ;; #(
 
14160
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22608
14161
      *) $as_unset $ac_var ;;
22609
14162
      esac ;;
22610
14163
    esac
22637
14190
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22638
14191
  if test -w "$cache_file"; then
22639
14192
    test "x$cache_file" != "x/dev/null" &&
22640
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22641
 
echo "$as_me: updating cache $cache_file" >&6;}
 
14193
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
14194
$as_echo "$as_me: updating cache $cache_file" >&6;}
22642
14195
    cat confcache >$cache_file
22643
14196
  else
22644
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22645
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
14197
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
14198
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22646
14199
  fi
22647
14200
fi
22648
14201
rm -f confcache
22658
14211
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22659
14212
  # 1. Remove the extension, and $U if already installed.
22660
14213
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22661
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
14214
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22662
14215
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22663
14216
  #    will be set to the directory where LIBOBJS objects are built.
22664
14217
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22670
14223
 
22671
14224
 
22672
14225
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22673
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
14226
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22674
14227
Usually this means the macro was only invoked conditionally." >&5
22675
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
14228
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
22676
14229
Usually this means the macro was only invoked conditionally." >&2;}
22677
14230
   { (exit 1); exit 1; }; }
22678
14231
fi
22679
14232
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22680
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22681
 
Usually this means the macro was only invoked conditionally." >&5
22682
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22683
 
Usually this means the macro was only invoked conditionally." >&2;}
22684
 
   { (exit 1); exit 1; }; }
22685
 
fi
22686
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22687
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22688
 
Usually this means the macro was only invoked conditionally." >&5
22689
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22690
 
Usually this means the macro was only invoked conditionally." >&2;}
22691
 
   { (exit 1); exit 1; }; }
22692
 
fi
 
14233
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
14234
Usually this means the macro was only invoked conditionally." >&5
 
14235
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
14236
Usually this means the macro was only invoked conditionally." >&2;}
 
14237
   { (exit 1); exit 1; }; }
 
14238
fi
 
14239
 
22693
14240
if test -z "${SVN_CHECKOUT_TRUE}" && test -z "${SVN_CHECKOUT_FALSE}"; then
22694
 
  { { echo "$as_me:$LINENO: error: conditional \"SVN_CHECKOUT\" was never defined.
 
14241
  { { $as_echo "$as_me:$LINENO: error: conditional \"SVN_CHECKOUT\" was never defined.
22695
14242
Usually this means the macro was only invoked conditionally." >&5
22696
 
echo "$as_me: error: conditional \"SVN_CHECKOUT\" was never defined.
 
14243
$as_echo "$as_me: error: conditional \"SVN_CHECKOUT\" was never defined.
22697
14244
Usually this means the macro was only invoked conditionally." >&2;}
22698
14245
   { (exit 1); exit 1; }; }
22699
14246
fi
22700
14247
if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
22701
 
  { { echo "$as_me:$LINENO: error: conditional \"WIN32\" was never defined.
 
14248
  { { $as_echo "$as_me:$LINENO: error: conditional \"WIN32\" was never defined.
22702
14249
Usually this means the macro was only invoked conditionally." >&5
22703
 
echo "$as_me: error: conditional \"WIN32\" was never defined.
 
14250
$as_echo "$as_me: error: conditional \"WIN32\" was never defined.
22704
14251
Usually this means the macro was only invoked conditionally." >&2;}
22705
14252
   { (exit 1); exit 1; }; }
22706
14253
fi
22707
14254
if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
22708
 
  { { echo "$as_me:$LINENO: error: conditional \"CYGWIN\" was never defined.
 
14255
  { { $as_echo "$as_me:$LINENO: error: conditional \"CYGWIN\" was never defined.
22709
14256
Usually this means the macro was only invoked conditionally." >&5
22710
 
echo "$as_me: error: conditional \"CYGWIN\" was never defined.
 
14257
$as_echo "$as_me: error: conditional \"CYGWIN\" was never defined.
22711
14258
Usually this means the macro was only invoked conditionally." >&2;}
22712
14259
   { (exit 1); exit 1; }; }
22713
14260
fi
22714
14261
if test -z "${ENABLE_DOC_TRUE}" && test -z "${ENABLE_DOC_FALSE}"; then
22715
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DOC\" was never defined.
 
14262
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOC\" was never defined.
22716
14263
Usually this means the macro was only invoked conditionally." >&5
22717
 
echo "$as_me: error: conditional \"ENABLE_DOC\" was never defined.
 
14264
$as_echo "$as_me: error: conditional \"ENABLE_DOC\" was never defined.
22718
14265
Usually this means the macro was only invoked conditionally." >&2;}
22719
14266
   { (exit 1); exit 1; }; }
22720
14267
fi
22721
14268
if test -z "${ENABLE_API_DOC_TRUE}" && test -z "${ENABLE_API_DOC_FALSE}"; then
22722
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_API_DOC\" was never defined.
 
14269
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_API_DOC\" was never defined.
22723
14270
Usually this means the macro was only invoked conditionally." >&5
22724
 
echo "$as_me: error: conditional \"ENABLE_API_DOC\" was never defined.
 
14271
$as_echo "$as_me: error: conditional \"ENABLE_API_DOC\" was never defined.
22725
14272
Usually this means the macro was only invoked conditionally." >&2;}
22726
14273
   { (exit 1); exit 1; }; }
22727
14274
fi
22728
14275
 
22729
14276
: ${CONFIG_STATUS=./config.status}
 
14277
ac_write_fail=0
22730
14278
ac_clean_files_save=$ac_clean_files
22731
14279
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22732
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22733
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
22734
 
cat >$CONFIG_STATUS <<_ACEOF
 
14280
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
14281
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
14282
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22735
14283
#! $SHELL
22736
14284
# Generated by $as_me.
22737
14285
# Run this file to recreate the current configuration.
22744
14292
SHELL=\${CONFIG_SHELL-$SHELL}
22745
14293
_ACEOF
22746
14294
 
22747
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14295
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22748
14296
## --------------------- ##
22749
14297
## M4sh Initialization.  ##
22750
14298
## --------------------- ##
22754
14302
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22755
14303
  emulate sh
22756
14304
  NULLCMD=:
22757
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
14305
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22758
14306
  # is contrary to our usage.  Disable this feature.
22759
14307
  alias -g '${1+"$@"}'='"$@"'
22760
14308
  setopt NO_GLOB_SUBST
22776
14324
as_cr_digits='0123456789'
22777
14325
as_cr_alnum=$as_cr_Letters$as_cr_digits
22778
14326
 
 
14327
as_nl='
 
14328
'
 
14329
export as_nl
 
14330
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
14331
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
14332
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
14333
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
14334
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14335
  as_echo='printf %s\n'
 
14336
  as_echo_n='printf %s'
 
14337
else
 
14338
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
14339
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
14340
    as_echo_n='/usr/ucb/echo -n'
 
14341
  else
 
14342
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
14343
    as_echo_n_body='eval
 
14344
      arg=$1;
 
14345
      case $arg in
 
14346
      *"$as_nl"*)
 
14347
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
14348
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
14349
      esac;
 
14350
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
14351
    '
 
14352
    export as_echo_n_body
 
14353
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
14354
  fi
 
14355
  export as_echo_body
 
14356
  as_echo='sh -c $as_echo_body as_echo'
 
14357
fi
 
14358
 
22779
14359
# The user is always right.
22780
14360
if test "${PATH_SEPARATOR+set}" != set; then
22781
 
  echo "#! /bin/sh" >conf$$.sh
22782
 
  echo  "exit 0"   >>conf$$.sh
22783
 
  chmod +x conf$$.sh
22784
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22785
 
    PATH_SEPARATOR=';'
22786
 
  else
22787
 
    PATH_SEPARATOR=:
22788
 
  fi
22789
 
  rm -f conf$$.sh
 
14361
  PATH_SEPARATOR=:
 
14362
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
14363
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
14364
      PATH_SEPARATOR=';'
 
14365
  }
22790
14366
fi
22791
14367
 
22792
14368
# Support unset when possible.
22802
14378
# there to prevent editors from complaining about space-tab.
22803
14379
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22804
14380
# splitting by setting IFS to empty value.)
22805
 
as_nl='
22806
 
'
22807
14381
IFS=" ""        $as_nl"
22808
14382
 
22809
14383
# Find who we are.  Look in the path if we contain no directory separator.
22826
14400
  as_myself=$0
22827
14401
fi
22828
14402
if test ! -f "$as_myself"; then
22829
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
14403
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22830
14404
  { (exit 1); exit 1; }
22831
14405
fi
22832
14406
 
22839
14413
PS4='+ '
22840
14414
 
22841
14415
# NLS nuisances.
22842
 
for as_var in \
22843
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22844
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22845
 
  LC_TELEPHONE LC_TIME
22846
 
do
22847
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22848
 
    eval $as_var=C; export $as_var
22849
 
  else
22850
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22851
 
  fi
22852
 
done
 
14416
LC_ALL=C
 
14417
export LC_ALL
 
14418
LANGUAGE=C
 
14419
export LANGUAGE
22853
14420
 
22854
14421
# Required to use basename.
22855
14422
if expr a : '\(a\)' >/dev/null 2>&1 &&
22871
14438
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22872
14439
         X"$0" : 'X\(//\)$' \| \
22873
14440
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22874
 
echo X/"$0" |
 
14441
$as_echo X/"$0" |
22875
14442
    sed '/^.*\/\([^/][^/]*\)\/*$/{
22876
14443
            s//\1/
22877
14444
            q
22922
14489
      s/-\n.*//
22923
14490
    ' >$as_me.lineno &&
22924
14491
  chmod +x "$as_me.lineno" ||
22925
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
14492
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22926
14493
   { (exit 1); exit 1; }; }
22927
14494
 
22928
14495
  # Don't try to exec as it changes $[0], causing all sort of problems
22950
14517
*)
22951
14518
  ECHO_N='-n';;
22952
14519
esac
22953
 
 
22954
14520
if expr a : '\(a\)' >/dev/null 2>&1 &&
22955
14521
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22956
14522
  as_expr=expr
22963
14529
  rm -f conf$$.dir/conf$$.file
22964
14530
else
22965
14531
  rm -f conf$$.dir
22966
 
  mkdir conf$$.dir
 
14532
  mkdir conf$$.dir 2>/dev/null
22967
14533
fi
22968
 
echo >conf$$.file
22969
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
22970
 
  as_ln_s='ln -s'
22971
 
  # ... but there are two gotchas:
22972
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22973
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22974
 
  # In both cases, we have to default to `cp -p'.
22975
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
14534
if (echo >conf$$.file) 2>/dev/null; then
 
14535
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
14536
    as_ln_s='ln -s'
 
14537
    # ... but there are two gotchas:
 
14538
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
14539
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
14540
    # In both cases, we have to default to `cp -p'.
 
14541
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
14542
      as_ln_s='cp -p'
 
14543
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
14544
    as_ln_s=ln
 
14545
  else
22976
14546
    as_ln_s='cp -p'
22977
 
elif ln conf$$.file conf$$ 2>/dev/null; then
22978
 
  as_ln_s=ln
 
14547
  fi
22979
14548
else
22980
14549
  as_ln_s='cp -p'
22981
14550
fi
23000
14569
  as_test_x='
23001
14570
    eval sh -c '\''
23002
14571
      if test -d "$1"; then
23003
 
        test -d "$1/.";
 
14572
        test -d "$1/.";
23004
14573
      else
23005
14574
        case $1 in
23006
 
        -*)set "./$1";;
 
14575
        -*)set "./$1";;
23007
14576
        esac;
23008
14577
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23009
14578
        ???[sx]*):;;*)false;;esac;fi
23025
14594
# report actual input values of CONFIG_FILES etc. instead of their
23026
14595
# values after options handling.
23027
14596
ac_log="
23028
 
This file was extended by libp11 $as_me 0.2.4, which was
23029
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
14597
This file was extended by libp11 $as_me 0.2.6, which was
 
14598
generated by GNU Autoconf 2.63.  Invocation command line was
23030
14599
 
23031
14600
  CONFIG_FILES    = $CONFIG_FILES
23032
14601
  CONFIG_HEADERS  = $CONFIG_HEADERS
23039
14608
 
23040
14609
_ACEOF
23041
14610
 
23042
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14611
case $ac_config_files in *"
 
14612
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
14613
esac
 
14614
 
 
14615
case $ac_config_headers in *"
 
14616
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
14617
esac
 
14618
 
 
14619
 
 
14620
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23043
14621
# Files that config.status was made for.
23044
14622
config_files="$ac_config_files"
23045
14623
config_headers="$ac_config_headers"
23047
14625
 
23048
14626
_ACEOF
23049
14627
 
23050
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14628
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23051
14629
ac_cs_usage="\
23052
14630
\`$as_me' instantiates files from templates according to the
23053
14631
current configuration.
23054
14632
 
23055
 
Usage: $0 [OPTIONS] [FILE]...
 
14633
Usage: $0 [OPTION]... [FILE]...
23056
14634
 
23057
14635
  -h, --help       print this help, then exit
23058
14636
  -V, --version    print version number and configuration settings, then exit
23059
 
  -q, --quiet      do not print progress messages
 
14637
  -q, --quiet, --silent
 
14638
                   do not print progress messages
23060
14639
  -d, --debug      don't remove temporary files
23061
14640
      --recheck    update $as_me by reconfiguring in the same conditions
23062
 
  --file=FILE[:TEMPLATE]
23063
 
                   instantiate the configuration file FILE
23064
 
  --header=FILE[:TEMPLATE]
23065
 
                   instantiate the configuration header FILE
 
14641
      --file=FILE[:TEMPLATE]
 
14642
                   instantiate the configuration file FILE
 
14643
      --header=FILE[:TEMPLATE]
 
14644
                   instantiate the configuration header FILE
23066
14645
 
23067
14646
Configuration files:
23068
14647
$config_files
23076
14655
Report bugs to <bug-autoconf@gnu.org>."
23077
14656
 
23078
14657
_ACEOF
23079
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14658
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23080
14659
ac_cs_version="\\
23081
 
libp11 config.status 0.2.4
23082
 
configured by $0, generated by GNU Autoconf 2.61,
23083
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
14660
libp11 config.status 0.2.6
 
14661
configured by $0, generated by GNU Autoconf 2.63,
 
14662
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23084
14663
 
23085
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
14664
Copyright (C) 2008 Free Software Foundation, Inc.
23086
14665
This config.status script is free software; the Free Software Foundation
23087
14666
gives unlimited permission to copy, distribute and modify it."
23088
14667
 
23090
14669
srcdir='$srcdir'
23091
14670
INSTALL='$INSTALL'
23092
14671
MKDIR_P='$MKDIR_P'
 
14672
AWK='$AWK'
 
14673
test -n "\$AWK" || AWK=awk
23093
14674
_ACEOF
23094
14675
 
23095
 
cat >>$CONFIG_STATUS <<\_ACEOF
23096
 
# If no file are specified by the user, then we need to provide default
23097
 
# value.  By we need to know if files were specified by the user.
 
14676
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14677
# The default lists apply if the user does not specify any file.
23098
14678
ac_need_defaults=:
23099
14679
while test $# != 0
23100
14680
do
23116
14696
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23117
14697
    ac_cs_recheck=: ;;
23118
14698
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23119
 
    echo "$ac_cs_version"; exit ;;
 
14699
    $as_echo "$ac_cs_version"; exit ;;
23120
14700
  --debug | --debu | --deb | --de | --d | -d )
23121
14701
    debug=: ;;
23122
14702
  --file | --fil | --fi | --f )
23123
14703
    $ac_shift
23124
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
14704
    case $ac_optarg in
 
14705
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14706
    esac
 
14707
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
23125
14708
    ac_need_defaults=false;;
23126
14709
  --header | --heade | --head | --hea )
23127
14710
    $ac_shift
23128
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
14711
    case $ac_optarg in
 
14712
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14713
    esac
 
14714
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
23129
14715
    ac_need_defaults=false;;
23130
14716
  --he | --h)
23131
14717
    # Conflict between --help and --header
23132
 
    { echo "$as_me: error: ambiguous option: $1
 
14718
    { $as_echo "$as_me: error: ambiguous option: $1
23133
14719
Try \`$0 --help' for more information." >&2
23134
14720
   { (exit 1); exit 1; }; };;
23135
14721
  --help | --hel | -h )
23136
 
    echo "$ac_cs_usage"; exit ;;
 
14722
    $as_echo "$ac_cs_usage"; exit ;;
23137
14723
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23138
14724
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23139
14725
    ac_cs_silent=: ;;
23140
14726
 
23141
14727
  # This is an error.
23142
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
14728
  -*) { $as_echo "$as_me: error: unrecognized option: $1
23143
14729
Try \`$0 --help' for more information." >&2
23144
14730
   { (exit 1); exit 1; }; } ;;
23145
14731
 
23158
14744
fi
23159
14745
 
23160
14746
_ACEOF
23161
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14747
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23162
14748
if \$ac_cs_recheck; then
23163
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23164
 
  CONFIG_SHELL=$SHELL
 
14749
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
14750
  shift
 
14751
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
14752
  CONFIG_SHELL='$SHELL'
23165
14753
  export CONFIG_SHELL
23166
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
14754
  exec "\$@"
23167
14755
fi
23168
14756
 
23169
14757
_ACEOF
23170
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14758
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23171
14759
exec 5>>config.log
23172
14760
{
23173
14761
  echo
23174
14762
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23175
14763
## Running $as_me. ##
23176
14764
_ASBOX
23177
 
  echo "$ac_log"
 
14765
  $as_echo "$ac_log"
23178
14766
} >&5
23179
14767
 
23180
14768
_ACEOF
23181
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14769
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23182
14770
#
23183
14771
# INIT-COMMANDS
23184
14772
#
23185
14773
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23186
14774
 
 
14775
 
 
14776
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14777
# if CDPATH is set.
 
14778
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14779
 
 
14780
sed_quote_subst='$sed_quote_subst'
 
14781
double_quote_subst='$double_quote_subst'
 
14782
delay_variable_subst='$delay_variable_subst'
 
14783
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14784
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
14785
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
14786
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
14787
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
14788
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
14789
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14790
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
14791
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
14792
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14793
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
14794
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14795
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14796
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
14797
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14798
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
14799
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
14800
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14801
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14802
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14803
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
14804
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
14805
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
14806
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
14807
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
14808
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
14809
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
14810
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
14811
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
14812
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14813
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14814
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
14815
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
14816
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
14817
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14818
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
14819
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
14820
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14821
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14822
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14823
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
14824
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14825
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
14826
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
14827
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
14828
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
14829
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"`'
 
14830
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"`'
 
14831
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
14832
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
14833
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
14834
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
14835
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14836
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
14837
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
14838
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14839
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
14840
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
14841
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
14842
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
14843
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
14844
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
14845
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
14846
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
14847
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14848
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14849
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
14850
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
14851
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14852
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14853
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
14854
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14855
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14856
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14857
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14858
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14859
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14860
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14861
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14862
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14863
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14864
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14865
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
14866
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
14867
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
14868
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
14869
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14870
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
14871
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14872
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
14873
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
14874
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
14875
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14876
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14877
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14878
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14879
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14880
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
14881
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
14882
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14883
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
14884
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14885
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14886
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14887
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14888
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14889
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14890
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14891
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14892
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14893
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
14894
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
14895
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14896
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14897
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
14898
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
14899
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
14900
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14901
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14902
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14903
LD_RC='`$ECHO "X$LD_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14904
old_archive_cmds_RC='`$ECHO "X$old_archive_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14905
compiler_RC='`$ECHO "X$compiler_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14906
GCC_RC='`$ECHO "X$GCC_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14907
lt_prog_compiler_no_builtin_flag_RC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14908
lt_prog_compiler_wl_RC='`$ECHO "X$lt_prog_compiler_wl_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14909
lt_prog_compiler_pic_RC='`$ECHO "X$lt_prog_compiler_pic_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14910
lt_prog_compiler_static_RC='`$ECHO "X$lt_prog_compiler_static_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14911
lt_cv_prog_compiler_c_o_RC='`$ECHO "X$lt_cv_prog_compiler_c_o_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14912
archive_cmds_need_lc_RC='`$ECHO "X$archive_cmds_need_lc_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14913
enable_shared_with_static_runtimes_RC='`$ECHO "X$enable_shared_with_static_runtimes_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14914
export_dynamic_flag_spec_RC='`$ECHO "X$export_dynamic_flag_spec_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14915
whole_archive_flag_spec_RC='`$ECHO "X$whole_archive_flag_spec_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14916
compiler_needs_object_RC='`$ECHO "X$compiler_needs_object_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14917
old_archive_from_new_cmds_RC='`$ECHO "X$old_archive_from_new_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14918
old_archive_from_expsyms_cmds_RC='`$ECHO "X$old_archive_from_expsyms_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14919
archive_cmds_RC='`$ECHO "X$archive_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14920
archive_expsym_cmds_RC='`$ECHO "X$archive_expsym_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14921
module_cmds_RC='`$ECHO "X$module_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14922
module_expsym_cmds_RC='`$ECHO "X$module_expsym_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14923
with_gnu_ld_RC='`$ECHO "X$with_gnu_ld_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14924
allow_undefined_flag_RC='`$ECHO "X$allow_undefined_flag_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14925
no_undefined_flag_RC='`$ECHO "X$no_undefined_flag_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14926
hardcode_libdir_flag_spec_RC='`$ECHO "X$hardcode_libdir_flag_spec_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14927
hardcode_libdir_flag_spec_ld_RC='`$ECHO "X$hardcode_libdir_flag_spec_ld_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14928
hardcode_libdir_separator_RC='`$ECHO "X$hardcode_libdir_separator_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14929
hardcode_direct_RC='`$ECHO "X$hardcode_direct_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14930
hardcode_direct_absolute_RC='`$ECHO "X$hardcode_direct_absolute_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14931
hardcode_minus_L_RC='`$ECHO "X$hardcode_minus_L_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14932
hardcode_shlibpath_var_RC='`$ECHO "X$hardcode_shlibpath_var_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14933
hardcode_automatic_RC='`$ECHO "X$hardcode_automatic_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14934
inherit_rpath_RC='`$ECHO "X$inherit_rpath_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14935
link_all_deplibs_RC='`$ECHO "X$link_all_deplibs_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14936
fix_srcfile_path_RC='`$ECHO "X$fix_srcfile_path_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14937
always_export_symbols_RC='`$ECHO "X$always_export_symbols_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14938
export_symbols_cmds_RC='`$ECHO "X$export_symbols_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14939
exclude_expsyms_RC='`$ECHO "X$exclude_expsyms_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14940
include_expsyms_RC='`$ECHO "X$include_expsyms_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14941
prelink_cmds_RC='`$ECHO "X$prelink_cmds_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14942
file_list_spec_RC='`$ECHO "X$file_list_spec_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14943
hardcode_action_RC='`$ECHO "X$hardcode_action_RC" | $Xsed -e "$delay_single_quote_subst"`'
 
14944
 
 
14945
LTCC='$LTCC'
 
14946
LTCFLAGS='$LTCFLAGS'
 
14947
compiler='$compiler_DEFAULT'
 
14948
 
 
14949
# Quote evaled strings.
 
14950
for var in SED \
 
14951
GREP \
 
14952
EGREP \
 
14953
FGREP \
 
14954
LD \
 
14955
NM \
 
14956
LN_S \
 
14957
lt_SP2NL \
 
14958
lt_NL2SP \
 
14959
reload_flag \
 
14960
deplibs_check_method \
 
14961
file_magic_cmd \
 
14962
AR \
 
14963
AR_FLAGS \
 
14964
STRIP \
 
14965
RANLIB \
 
14966
CC \
 
14967
CFLAGS \
 
14968
compiler \
 
14969
lt_cv_sys_global_symbol_pipe \
 
14970
lt_cv_sys_global_symbol_to_cdecl \
 
14971
lt_cv_sys_global_symbol_to_c_name_address \
 
14972
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14973
SHELL \
 
14974
ECHO \
 
14975
lt_prog_compiler_no_builtin_flag \
 
14976
lt_prog_compiler_wl \
 
14977
lt_prog_compiler_pic \
 
14978
lt_prog_compiler_static \
 
14979
lt_cv_prog_compiler_c_o \
 
14980
need_locks \
 
14981
DSYMUTIL \
 
14982
NMEDIT \
 
14983
LIPO \
 
14984
OTOOL \
 
14985
OTOOL64 \
 
14986
shrext_cmds \
 
14987
export_dynamic_flag_spec \
 
14988
whole_archive_flag_spec \
 
14989
compiler_needs_object \
 
14990
with_gnu_ld \
 
14991
allow_undefined_flag \
 
14992
no_undefined_flag \
 
14993
hardcode_libdir_flag_spec \
 
14994
hardcode_libdir_flag_spec_ld \
 
14995
hardcode_libdir_separator \
 
14996
fix_srcfile_path \
 
14997
exclude_expsyms \
 
14998
include_expsyms \
 
14999
file_list_spec \
 
15000
variables_saved_for_relink \
 
15001
libname_spec \
 
15002
library_names_spec \
 
15003
soname_spec \
 
15004
finish_eval \
 
15005
old_striplib \
 
15006
striplib \
 
15007
LD_RC \
 
15008
compiler_RC \
 
15009
lt_prog_compiler_no_builtin_flag_RC \
 
15010
lt_prog_compiler_wl_RC \
 
15011
lt_prog_compiler_pic_RC \
 
15012
lt_prog_compiler_static_RC \
 
15013
lt_cv_prog_compiler_c_o_RC \
 
15014
export_dynamic_flag_spec_RC \
 
15015
whole_archive_flag_spec_RC \
 
15016
compiler_needs_object_RC \
 
15017
with_gnu_ld_RC \
 
15018
allow_undefined_flag_RC \
 
15019
no_undefined_flag_RC \
 
15020
hardcode_libdir_flag_spec_RC \
 
15021
hardcode_libdir_flag_spec_ld_RC \
 
15022
hardcode_libdir_separator_RC \
 
15023
fix_srcfile_path_RC \
 
15024
exclude_expsyms_RC \
 
15025
include_expsyms_RC \
 
15026
file_list_spec_RC; do
 
15027
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15028
    *[\\\\\\\`\\"\\\$]*)
 
15029
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15030
      ;;
 
15031
    *)
 
15032
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15033
      ;;
 
15034
    esac
 
15035
done
 
15036
 
 
15037
# Double-quote double-evaled strings.
 
15038
for var in reload_cmds \
 
15039
old_postinstall_cmds \
 
15040
old_postuninstall_cmds \
 
15041
old_archive_cmds \
 
15042
extract_expsyms_cmds \
 
15043
old_archive_from_new_cmds \
 
15044
old_archive_from_expsyms_cmds \
 
15045
archive_cmds \
 
15046
archive_expsym_cmds \
 
15047
module_cmds \
 
15048
module_expsym_cmds \
 
15049
export_symbols_cmds \
 
15050
prelink_cmds \
 
15051
postinstall_cmds \
 
15052
postuninstall_cmds \
 
15053
finish_cmds \
 
15054
sys_lib_search_path_spec \
 
15055
sys_lib_dlsearch_path_spec \
 
15056
old_archive_cmds_RC \
 
15057
old_archive_from_new_cmds_RC \
 
15058
old_archive_from_expsyms_cmds_RC \
 
15059
archive_cmds_RC \
 
15060
archive_expsym_cmds_RC \
 
15061
module_cmds_RC \
 
15062
module_expsym_cmds_RC \
 
15063
export_symbols_cmds_RC \
 
15064
prelink_cmds_RC; do
 
15065
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15066
    *[\\\\\\\`\\"\\\$]*)
 
15067
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15068
      ;;
 
15069
    *)
 
15070
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15071
      ;;
 
15072
    esac
 
15073
done
 
15074
 
 
15075
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
15076
case \$lt_ECHO in
 
15077
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
15078
  ;;
 
15079
esac
 
15080
 
 
15081
ac_aux_dir='$ac_aux_dir'
 
15082
xsi_shell='$xsi_shell'
 
15083
lt_shell_append='$lt_shell_append'
 
15084
 
 
15085
# See if we are running on zsh, and set the options which allow our
 
15086
# commands through without removal of \ escapes INIT.
 
15087
if test -n "\${ZSH_VERSION+set}" ; then
 
15088
   setopt NO_GLOB_SUBST
 
15089
fi
 
15090
 
 
15091
 
 
15092
    PACKAGE='$PACKAGE'
 
15093
    VERSION='$VERSION'
 
15094
    TIMESTAMP='$TIMESTAMP'
 
15095
    RM='$RM'
 
15096
    ofile='$ofile'
 
15097
 
 
15098
 
 
15099
 
 
15100
 
 
15101
 
 
15102
 
23187
15103
_ACEOF
23188
15104
 
23189
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
15105
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23190
15106
 
23191
15107
# Handling of arguments.
23192
15108
for ac_config_target in $ac_config_targets
23194
15110
  case $ac_config_target in
23195
15111
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23196
15112
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
15113
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23197
15114
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23198
15115
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
23199
15116
    "src/libp11.pc") CONFIG_FILES="$CONFIG_FILES src/libp11.pc" ;;
23202
15119
    "doc/doxygen.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen.conf" ;;
23203
15120
    "doc/nonpersistent/Makefile") CONFIG_FILES="$CONFIG_FILES doc/nonpersistent/Makefile" ;;
23204
15121
 
23205
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23206
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
15122
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
15123
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23207
15124
   { (exit 1); exit 1; }; };;
23208
15125
  esac
23209
15126
done
23244
15161
  (umask 077 && mkdir "$tmp")
23245
15162
} ||
23246
15163
{
23247
 
   echo "$me: cannot create a temporary directory in ." >&2
 
15164
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
23248
15165
   { (exit 1); exit 1; }
23249
15166
}
23250
15167
 
23251
 
#
23252
 
# Set up the sed scripts for CONFIG_FILES section.
23253
 
#
23254
 
 
23255
 
# No need to generate the scripts if there are no CONFIG_FILES.
23256
 
# This happens for instance when ./config.status config.h
 
15168
# Set up the scripts for CONFIG_FILES section.
 
15169
# No need to generate them if there are no CONFIG_FILES.
 
15170
# This happens for instance with `./config.status config.h'.
23257
15171
if test -n "$CONFIG_FILES"; then
23258
15172
 
23259
 
_ACEOF
23260
 
 
23261
 
 
23262
 
 
23263
 
ac_delim='%!_!# '
23264
 
for ac_last_try in false false false false false :; do
23265
 
  cat >conf$$subs.sed <<_ACEOF
23266
 
SHELL!$SHELL$ac_delim
23267
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23268
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23269
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23270
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23271
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23272
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23273
 
exec_prefix!$exec_prefix$ac_delim
23274
 
prefix!$prefix$ac_delim
23275
 
program_transform_name!$program_transform_name$ac_delim
23276
 
bindir!$bindir$ac_delim
23277
 
sbindir!$sbindir$ac_delim
23278
 
libexecdir!$libexecdir$ac_delim
23279
 
datarootdir!$datarootdir$ac_delim
23280
 
datadir!$datadir$ac_delim
23281
 
sysconfdir!$sysconfdir$ac_delim
23282
 
sharedstatedir!$sharedstatedir$ac_delim
23283
 
localstatedir!$localstatedir$ac_delim
23284
 
includedir!$includedir$ac_delim
23285
 
oldincludedir!$oldincludedir$ac_delim
23286
 
docdir!$docdir$ac_delim
23287
 
infodir!$infodir$ac_delim
23288
 
htmldir!$htmldir$ac_delim
23289
 
dvidir!$dvidir$ac_delim
23290
 
pdfdir!$pdfdir$ac_delim
23291
 
psdir!$psdir$ac_delim
23292
 
libdir!$libdir$ac_delim
23293
 
localedir!$localedir$ac_delim
23294
 
mandir!$mandir$ac_delim
23295
 
DEFS!$DEFS$ac_delim
23296
 
ECHO_C!$ECHO_C$ac_delim
23297
 
ECHO_N!$ECHO_N$ac_delim
23298
 
ECHO_T!$ECHO_T$ac_delim
23299
 
LIBS!$LIBS$ac_delim
23300
 
build_alias!$build_alias$ac_delim
23301
 
host_alias!$host_alias$ac_delim
23302
 
target_alias!$target_alias$ac_delim
23303
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23304
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23305
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
23306
 
am__isrc!$am__isrc$ac_delim
23307
 
CYGPATH_W!$CYGPATH_W$ac_delim
23308
 
PACKAGE!$PACKAGE$ac_delim
23309
 
VERSION!$VERSION$ac_delim
23310
 
ACLOCAL!$ACLOCAL$ac_delim
23311
 
AUTOCONF!$AUTOCONF$ac_delim
23312
 
AUTOMAKE!$AUTOMAKE$ac_delim
23313
 
AUTOHEADER!$AUTOHEADER$ac_delim
23314
 
MAKEINFO!$MAKEINFO$ac_delim
23315
 
install_sh!$install_sh$ac_delim
23316
 
STRIP!$STRIP$ac_delim
23317
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23318
 
mkdir_p!$mkdir_p$ac_delim
23319
 
AWK!$AWK$ac_delim
23320
 
SET_MAKE!$SET_MAKE$ac_delim
23321
 
am__leading_dot!$am__leading_dot$ac_delim
23322
 
AMTAR!$AMTAR$ac_delim
23323
 
am__tar!$am__tar$ac_delim
23324
 
am__untar!$am__untar$ac_delim
23325
 
build!$build$ac_delim
23326
 
build_cpu!$build_cpu$ac_delim
23327
 
build_vendor!$build_vendor$ac_delim
23328
 
build_os!$build_os$ac_delim
23329
 
host!$host$ac_delim
23330
 
host_cpu!$host_cpu$ac_delim
23331
 
host_vendor!$host_vendor$ac_delim
23332
 
host_os!$host_os$ac_delim
23333
 
CC!$CC$ac_delim
23334
 
CFLAGS!$CFLAGS$ac_delim
23335
 
LDFLAGS!$LDFLAGS$ac_delim
23336
 
CPPFLAGS!$CPPFLAGS$ac_delim
23337
 
ac_ct_CC!$ac_ct_CC$ac_delim
23338
 
EXEEXT!$EXEEXT$ac_delim
23339
 
OBJEXT!$OBJEXT$ac_delim
23340
 
DEPDIR!$DEPDIR$ac_delim
23341
 
am__include!$am__include$ac_delim
23342
 
am__quote!$am__quote$ac_delim
23343
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23344
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23345
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23346
 
CCDEPMODE!$CCDEPMODE$ac_delim
23347
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23348
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23349
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
23350
 
CPP!$CPP$ac_delim
23351
 
GREP!$GREP$ac_delim
23352
 
EGREP!$EGREP$ac_delim
23353
 
LN_S!$LN_S$ac_delim
23354
 
SED!$SED$ac_delim
23355
 
RC!$RC$ac_delim
23356
 
ECHO!$ECHO$ac_delim
23357
 
AR!$AR$ac_delim
23358
 
RANLIB!$RANLIB$ac_delim
23359
 
DSYMUTIL!$DSYMUTIL$ac_delim
23360
 
NMEDIT!$NMEDIT$ac_delim
23361
 
DLLTOOL!$DLLTOOL$ac_delim
23362
 
AS!$AS$ac_delim
23363
 
_ACEOF
23364
 
 
23365
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23366
 
    break
23367
 
  elif $ac_last_try; then
23368
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23369
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23370
 
   { (exit 1); exit 1; }; }
23371
 
  else
23372
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23373
 
  fi
23374
 
done
23375
 
 
23376
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23377
 
if test -n "$ac_eof"; then
23378
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23379
 
  ac_eof=`expr $ac_eof + 1`
23380
 
fi
23381
 
 
23382
 
cat >>$CONFIG_STATUS <<_ACEOF
23383
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23384
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23385
 
_ACEOF
23386
 
sed '
23387
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23388
 
s/^/s,@/; s/!/@,|#_!!_#|/
23389
 
:n
23390
 
t n
23391
 
s/'"$ac_delim"'$/,g/; t
23392
 
s/$/\\/; p
23393
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23394
 
' >>$CONFIG_STATUS <conf$$subs.sed
23395
 
rm -f conf$$subs.sed
23396
 
cat >>$CONFIG_STATUS <<_ACEOF
23397
 
CEOF$ac_eof
23398
 
_ACEOF
23399
 
 
23400
 
 
23401
 
ac_delim='%!_!# '
23402
 
for ac_last_try in false false false false false :; do
23403
 
  cat >conf$$subs.sed <<_ACEOF
23404
 
OBJDUMP!$OBJDUMP$ac_delim
23405
 
CXX!$CXX$ac_delim
23406
 
CXXFLAGS!$CXXFLAGS$ac_delim
23407
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
23408
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
23409
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23410
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23411
 
CXXCPP!$CXXCPP$ac_delim
23412
 
F77!$F77$ac_delim
23413
 
FFLAGS!$FFLAGS$ac_delim
23414
 
ac_ct_F77!$ac_ct_F77$ac_delim
23415
 
LIBTOOL!$LIBTOOL$ac_delim
23416
 
DOXYGEN!$DOXYGEN$ac_delim
23417
 
XSLTPROC!$XSLTPROC$ac_delim
23418
 
SVN!$SVN$ac_delim
23419
 
WGET!$WGET$ac_delim
23420
 
WGET_OPTS!$WGET_OPTS$ac_delim
23421
 
TR!$TR$ac_delim
23422
 
LTLIB_CFLAGS!$LTLIB_CFLAGS$ac_delim
23423
 
LTLIB_LIBS!$LTLIB_LIBS$ac_delim
23424
 
OPENSSL_CFLAGS!$OPENSSL_CFLAGS$ac_delim
23425
 
OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim
23426
 
pkgconfigdir!$pkgconfigdir$ac_delim
23427
 
apidocdir!$apidocdir$ac_delim
23428
 
LIBP11_VERSION_MAJOR!$LIBP11_VERSION_MAJOR$ac_delim
23429
 
LIBP11_VERSION_MINOR!$LIBP11_VERSION_MINOR$ac_delim
23430
 
LIBP11_VERSION_FIX!$LIBP11_VERSION_FIX$ac_delim
23431
 
LIBP11_LT_CURRENT!$LIBP11_LT_CURRENT$ac_delim
23432
 
LIBP11_LT_REVISION!$LIBP11_LT_REVISION$ac_delim
23433
 
LIBP11_LT_AGE!$LIBP11_LT_AGE$ac_delim
23434
 
LIBP11_LT_OLDEST!$LIBP11_LT_OLDEST$ac_delim
23435
 
WIN_LIBPREFIX!$WIN_LIBPREFIX$ac_delim
23436
 
SVN_CHECKOUT_TRUE!$SVN_CHECKOUT_TRUE$ac_delim
23437
 
SVN_CHECKOUT_FALSE!$SVN_CHECKOUT_FALSE$ac_delim
23438
 
WIN32_TRUE!$WIN32_TRUE$ac_delim
23439
 
WIN32_FALSE!$WIN32_FALSE$ac_delim
23440
 
CYGWIN_TRUE!$CYGWIN_TRUE$ac_delim
23441
 
CYGWIN_FALSE!$CYGWIN_FALSE$ac_delim
23442
 
ENABLE_DOC_TRUE!$ENABLE_DOC_TRUE$ac_delim
23443
 
ENABLE_DOC_FALSE!$ENABLE_DOC_FALSE$ac_delim
23444
 
ENABLE_API_DOC_TRUE!$ENABLE_API_DOC_TRUE$ac_delim
23445
 
ENABLE_API_DOC_FALSE!$ENABLE_API_DOC_FALSE$ac_delim
23446
 
LIBOBJS!$LIBOBJS$ac_delim
23447
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
23448
 
_ACEOF
23449
 
 
23450
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
23451
 
    break
23452
 
  elif $ac_last_try; then
23453
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23454
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23455
 
   { (exit 1); exit 1; }; }
23456
 
  else
23457
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23458
 
  fi
23459
 
done
23460
 
 
23461
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23462
 
if test -n "$ac_eof"; then
23463
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23464
 
  ac_eof=`expr $ac_eof + 1`
23465
 
fi
23466
 
 
23467
 
cat >>$CONFIG_STATUS <<_ACEOF
23468
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23469
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23470
 
_ACEOF
23471
 
sed '
23472
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23473
 
s/^/s,@/; s/!/@,|#_!!_#|/
23474
 
:n
23475
 
t n
23476
 
s/'"$ac_delim"'$/,g/; t
23477
 
s/$/\\/; p
23478
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23479
 
' >>$CONFIG_STATUS <conf$$subs.sed
23480
 
rm -f conf$$subs.sed
23481
 
cat >>$CONFIG_STATUS <<_ACEOF
23482
 
:end
23483
 
s/|#_!!_#|//g
23484
 
CEOF$ac_eof
23485
 
_ACEOF
23486
 
 
 
15173
 
 
15174
ac_cr='
 
 
b"'"
 
15175
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
15176
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
15177
  ac_cs_awk_cr='\\r'
 
15178
else
 
15179
  ac_cs_awk_cr=$ac_cr
 
15180
fi
 
15181
 
 
15182
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
15183
_ACEOF
 
15184
 
 
15185
 
 
15186
{
 
15187
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
15188
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
15189
  echo "_ACEOF"
 
15190
} >conf$$subs.sh ||
 
15191
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
15192
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
15193
   { (exit 1); exit 1; }; }
 
15194
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
15195
ac_delim='%!_!# '
 
15196
for ac_last_try in false false false false false :; do
 
15197
  . ./conf$$subs.sh ||
 
15198
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
15199
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
15200
   { (exit 1); exit 1; }; }
 
15201
 
 
15202
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
15203
  if test $ac_delim_n = $ac_delim_num; then
 
15204
    break
 
15205
  elif $ac_last_try; then
 
15206
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
15207
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
15208
   { (exit 1); exit 1; }; }
 
15209
  else
 
15210
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
15211
  fi
 
15212
done
 
15213
rm -f conf$$subs.sh
 
15214
 
 
15215
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15216
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
15217
_ACEOF
 
15218
sed -n '
 
15219
h
 
15220
s/^/S["/; s/!.*/"]=/
 
15221
p
 
15222
g
 
15223
s/^[^!]*!//
 
15224
:repl
 
15225
t repl
 
15226
s/'"$ac_delim"'$//
 
15227
t delim
 
15228
:nl
 
15229
h
 
15230
s/\(.\{148\}\).*/\1/
 
15231
t more1
 
15232
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
15233
p
 
15234
n
 
15235
b repl
 
15236
:more1
 
15237
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
15238
p
 
15239
g
 
15240
s/.\{148\}//
 
15241
t nl
 
15242
:delim
 
15243
h
 
15244
s/\(.\{148\}\).*/\1/
 
15245
t more2
 
15246
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
15247
p
 
15248
b
 
15249
:more2
 
15250
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
15251
p
 
15252
g
 
15253
s/.\{148\}//
 
15254
t delim
 
15255
' <conf$$subs.awk | sed '
 
15256
/^[^""]/{
 
15257
  N
 
15258
  s/\n//
 
15259
}
 
15260
' >>$CONFIG_STATUS || ac_write_fail=1
 
15261
rm -f conf$$subs.awk
 
15262
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15263
_ACAWK
 
15264
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
15265
  for (key in S) S_is_set[key] = 1
 
15266
  FS = ""
 
15267
 
 
15268
}
 
15269
{
 
15270
  line = $ 0
 
15271
  nfields = split(line, field, "@")
 
15272
  substed = 0
 
15273
  len = length(field[1])
 
15274
  for (i = 2; i < nfields; i++) {
 
15275
    key = field[i]
 
15276
    keylen = length(key)
 
15277
    if (S_is_set[key]) {
 
15278
      value = S[key]
 
15279
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
15280
      len += length(value) + length(field[++i])
 
15281
      substed = 1
 
15282
    } else
 
15283
      len += 1 + keylen
 
15284
  }
 
15285
 
 
15286
  print line
 
15287
}
 
15288
 
 
15289
_ACAWK
 
15290
_ACEOF
 
15291
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15292
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
15293
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
15294
else
 
15295
  cat
 
15296
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
15297
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
15298
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
15299
   { (exit 1); exit 1; }; }
 
15300
_ACEOF
23487
15301
 
23488
15302
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23489
15303
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23500
15314
}'
23501
15315
fi
23502
15316
 
23503
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
15317
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23504
15318
fi # test -n "$CONFIG_FILES"
23505
15319
 
23506
 
 
23507
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
15320
# Set up the scripts for CONFIG_HEADERS section.
 
15321
# No need to generate them if there are no CONFIG_HEADERS.
 
15322
# This happens for instance with `./config.status Makefile'.
 
15323
if test -n "$CONFIG_HEADERS"; then
 
15324
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
15325
BEGIN {
 
15326
_ACEOF
 
15327
 
 
15328
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
15329
# here-document in config.status, that substitutes the proper values into
 
15330
# config.h.in to produce config.h.
 
15331
 
 
15332
# Create a delimiter string that does not exist in confdefs.h, to ease
 
15333
# handling of long lines.
 
15334
ac_delim='%!_!# '
 
15335
for ac_last_try in false false :; do
 
15336
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
15337
  if test -z "$ac_t"; then
 
15338
    break
 
15339
  elif $ac_last_try; then
 
15340
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
15341
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
15342
   { (exit 1); exit 1; }; }
 
15343
  else
 
15344
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
15345
  fi
 
15346
done
 
15347
 
 
15348
# For the awk script, D is an array of macro values keyed by name,
 
15349
# likewise P contains macro parameters if any.  Preserve backslash
 
15350
# newline sequences.
 
15351
 
 
15352
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
15353
sed -n '
 
15354
s/.\{148\}/&'"$ac_delim"'/g
 
15355
t rset
 
15356
:rset
 
15357
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
15358
t def
 
15359
d
 
15360
:def
 
15361
s/\\$//
 
15362
t bsnl
 
15363
s/["\\]/\\&/g
 
15364
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
15365
D["\1"]=" \3"/p
 
15366
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
15367
d
 
15368
:bsnl
 
15369
s/["\\]/\\&/g
 
15370
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
15371
D["\1"]=" \3\\\\\\n"\\/p
 
15372
t cont
 
15373
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
15374
t cont
 
15375
d
 
15376
:cont
 
15377
n
 
15378
s/.\{148\}/&'"$ac_delim"'/g
 
15379
t clear
 
15380
:clear
 
15381
s/\\$//
 
15382
t bsnlc
 
15383
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
15384
d
 
15385
:bsnlc
 
15386
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
15387
b cont
 
15388
' <confdefs.h | sed '
 
15389
s/'"$ac_delim"'/"\\\
 
15390
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
15391
 
 
15392
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15393
  for (key in D) D_is_set[key] = 1
 
15394
  FS = ""
 
15395
}
 
15396
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
15397
  line = \$ 0
 
15398
  split(line, arg, " ")
 
15399
  if (arg[1] == "#") {
 
15400
    defundef = arg[2]
 
15401
    mac1 = arg[3]
 
15402
  } else {
 
15403
    defundef = substr(arg[1], 2)
 
15404
    mac1 = arg[2]
 
15405
  }
 
15406
  split(mac1, mac2, "(") #)
 
15407
  macro = mac2[1]
 
15408
  prefix = substr(line, 1, index(line, defundef) - 1)
 
15409
  if (D_is_set[macro]) {
 
15410
    # Preserve the white space surrounding the "#".
 
15411
    print prefix "define", macro P[macro] D[macro]
 
15412
    next
 
15413
  } else {
 
15414
    # Replace #undef with comments.  This is necessary, for example,
 
15415
    # in the case of _POSIX_SOURCE, which is predefined and required
 
15416
    # on some systems where configure will not decide to define it.
 
15417
    if (defundef == "undef") {
 
15418
      print "/*", prefix defundef, macro, "*/"
 
15419
      next
 
15420
    }
 
15421
  }
 
15422
}
 
15423
{ print }
 
15424
_ACAWK
 
15425
_ACEOF
 
15426
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15427
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
15428
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
15429
   { (exit 1); exit 1; }; }
 
15430
fi # test -n "$CONFIG_HEADERS"
 
15431
 
 
15432
 
 
15433
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
15434
shift
 
15435
for ac_tag
23508
15436
do
23509
15437
  case $ac_tag in
23510
15438
  :[FHLC]) ac_mode=$ac_tag; continue;;
23511
15439
  esac
23512
15440
  case $ac_mode$ac_tag in
23513
15441
  :[FHL]*:*);;
23514
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23515
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
15442
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
15443
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
23516
15444
   { (exit 1); exit 1; }; };;
23517
15445
  :[FH]-) ac_tag=-:-;;
23518
15446
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23541
15469
           [\\/$]*) false;;
23542
15470
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23543
15471
           esac ||
23544
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23545
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
15472
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
15473
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23546
15474
   { (exit 1); exit 1; }; };;
23547
15475
      esac
23548
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
15476
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
15477
      ac_file_inputs="$ac_file_inputs '$ac_f'"
23549
15478
    done
23550
15479
 
23551
15480
    # Let's still pretend it is `configure' which instantiates (i.e., don't
23552
15481
    # use $as_me), people would be surprised to read:
23553
15482
    #    /* config.h.  Generated by config.status.  */
23554
 
    configure_input="Generated from "`IFS=:
23555
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
15483
    configure_input='Generated from '`
 
15484
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
15485
        `' by configure.'
23556
15486
    if test x"$ac_file" != x-; then
23557
15487
      configure_input="$ac_file.  $configure_input"
23558
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
23559
 
echo "$as_me: creating $ac_file" >&6;}
 
15488
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
15489
$as_echo "$as_me: creating $ac_file" >&6;}
23560
15490
    fi
 
15491
    # Neutralize special characters interpreted by sed in replacement strings.
 
15492
    case $configure_input in #(
 
15493
    *\&* | *\|* | *\\* )
 
15494
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
15495
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
15496
    *) ac_sed_conf_input=$configure_input;;
 
15497
    esac
23561
15498
 
23562
15499
    case $ac_tag in
23563
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
15500
    *:-:* | *:-) cat >"$tmp/stdin" \
 
15501
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15502
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15503
   { (exit 1); exit 1; }; } ;;
23564
15504
    esac
23565
15505
    ;;
23566
15506
  esac
23570
15510
         X"$ac_file" : 'X\(//\)[^/]' \| \
23571
15511
         X"$ac_file" : 'X\(//\)$' \| \
23572
15512
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23573
 
echo X"$ac_file" |
 
15513
$as_echo X"$ac_file" |
23574
15514
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23575
15515
            s//\1/
23576
15516
            q
23596
15536
    as_dirs=
23597
15537
    while :; do
23598
15538
      case $as_dir in #(
23599
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
15539
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23600
15540
      *) as_qdir=$as_dir;;
23601
15541
      esac
23602
15542
      as_dirs="'$as_qdir' $as_dirs"
23605
15545
         X"$as_dir" : 'X\(//\)[^/]' \| \
23606
15546
         X"$as_dir" : 'X\(//\)$' \| \
23607
15547
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23608
 
echo X"$as_dir" |
 
15548
$as_echo X"$as_dir" |
23609
15549
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23610
15550
            s//\1/
23611
15551
            q
23626
15566
      test -d "$as_dir" && break
23627
15567
    done
23628
15568
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23629
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23630
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
15569
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
15570
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23631
15571
   { (exit 1); exit 1; }; }; }
23632
15572
  ac_builddir=.
23633
15573
 
23634
15574
case "$ac_dir" in
23635
15575
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23636
15576
*)
23637
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
15577
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23638
15578
  # A ".." for each directory in $ac_dir_suffix.
23639
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
15579
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23640
15580
  case $ac_top_builddir_sub in
23641
15581
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23642
15582
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23681
15621
  esac
23682
15622
_ACEOF
23683
15623
 
23684
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
15624
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23685
15625
# If the template does not know about datarootdir, expand it.
23686
15626
# FIXME: This hack should be removed a few years after 2.60.
23687
15627
ac_datarootdir_hack=; ac_datarootdir_seen=
23688
15628
 
23689
 
case `sed -n '/datarootdir/ {
 
15629
ac_sed_dataroot='
 
15630
/datarootdir/ {
23690
15631
  p
23691
15632
  q
23692
15633
}
23695
15636
/@infodir@/p
23696
15637
/@localedir@/p
23697
15638
/@mandir@/p
23698
 
' $ac_file_inputs` in
 
15639
'
 
15640
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23699
15641
*datarootdir*) ac_datarootdir_seen=yes;;
23700
15642
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23701
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23702
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
15643
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15644
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23703
15645
_ACEOF
23704
 
cat >>$CONFIG_STATUS <<_ACEOF
 
15646
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23705
15647
  ac_datarootdir_hack='
23706
15648
  s&@datadir@&$datadir&g
23707
15649
  s&@docdir@&$docdir&g
23715
15657
# Neutralize VPATH when `$srcdir' = `.'.
23716
15658
# Shell code in configure.ac might set extrasub.
23717
15659
# FIXME: do we really want to maintain this feature?
23718
 
cat >>$CONFIG_STATUS <<_ACEOF
23719
 
  sed "$ac_vpsub
 
15660
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15661
ac_sed_extra="$ac_vpsub
23720
15662
$extrasub
23721
15663
_ACEOF
23722
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
15664
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23723
15665
:t
23724
15666
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23725
 
s&@configure_input@&$configure_input&;t t
 
15667
s|@configure_input@|$ac_sed_conf_input|;t t
23726
15668
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
15669
s&@top_build_prefix@&$ac_top_build_prefix&;t t
23727
15670
s&@srcdir@&$ac_srcdir&;t t
23728
15671
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23729
15672
s&@top_srcdir@&$ac_top_srcdir&;t t
23734
15677
s&@INSTALL@&$ac_INSTALL&;t t
23735
15678
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23736
15679
$ac_datarootdir_hack
23737
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
15680
"
 
15681
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
15682
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15683
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15684
   { (exit 1); exit 1; }; }
23738
15685
 
23739
15686
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23740
15687
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23741
15688
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23742
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15689
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23743
15690
which seems to be undefined.  Please make sure it is defined." >&5
23744
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15691
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23745
15692
which seems to be undefined.  Please make sure it is defined." >&2;}
23746
15693
 
23747
15694
  rm -f "$tmp/stdin"
23748
15695
  case $ac_file in
23749
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
23750
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23751
 
  esac
 
15696
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
15697
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15698
  esac \
 
15699
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15700
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15701
   { (exit 1); exit 1; }; }
23752
15702
 ;;
23753
15703
  :H)
23754
15704
  #
23755
15705
  # CONFIG_HEADER
23756
15706
  #
23757
 
_ACEOF
23758
 
 
23759
 
# Transform confdefs.h into a sed script `conftest.defines', that
23760
 
# substitutes the proper values into config.h.in to produce config.h.
23761
 
rm -f conftest.defines conftest.tail
23762
 
# First, append a space to every undef/define line, to ease matching.
23763
 
echo 's/$/ /' >conftest.defines
23764
 
# Then, protect against being on the right side of a sed subst, or in
23765
 
# an unquoted here document, in config.status.  If some macros were
23766
 
# called several times there might be several #defines for the same
23767
 
# symbol, which is useless.  But do not sort them, since the last
23768
 
# AC_DEFINE must be honored.
23769
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23770
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23771
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23772
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
23773
 
# just an empty string.
23774
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
23775
 
ac_dB='\\)[      (].*,\\1define\\2'
23776
 
ac_dC=' '
23777
 
ac_dD=' ,'
23778
 
 
23779
 
uniq confdefs.h |
23780
 
  sed -n '
23781
 
        t rset
23782
 
        :rset
23783
 
        s/^[     ]*#[    ]*define[       ][      ]*//
23784
 
        t ok
23785
 
        d
23786
 
        :ok
23787
 
        s/[\\&,]/\\&/g
23788
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23789
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23790
 
  ' >>conftest.defines
23791
 
 
23792
 
# Remove the space that was appended to ease matching.
23793
 
# Then replace #undef with comments.  This is necessary, for
23794
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
23795
 
# on some systems where configure will not decide to define it.
23796
 
# (The regexp can be short, since the line contains either #define or #undef.)
23797
 
echo 's/ $//
23798
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
23799
 
 
23800
 
# Break up conftest.defines:
23801
 
ac_max_sed_lines=50
23802
 
 
23803
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23804
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23805
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23806
 
# et cetera.
23807
 
ac_in='$ac_file_inputs'
23808
 
ac_out='"$tmp/out1"'
23809
 
ac_nxt='"$tmp/out2"'
23810
 
 
23811
 
while :
23812
 
do
23813
 
  # Write a here document:
23814
 
    cat >>$CONFIG_STATUS <<_ACEOF
23815
 
    # First, check the format of the line:
23816
 
    cat >"\$tmp/defines.sed" <<\\CEOF
23817
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
23818
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
23819
 
b
23820
 
:def
23821
 
_ACEOF
23822
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23823
 
  echo 'CEOF
23824
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23825
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23826
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23827
 
  grep . conftest.tail >/dev/null || break
23828
 
  rm -f conftest.defines
23829
 
  mv conftest.tail conftest.defines
23830
 
done
23831
 
rm -f conftest.defines conftest.tail
23832
 
 
23833
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23834
 
cat >>$CONFIG_STATUS <<\_ACEOF
23835
15707
  if test x"$ac_file" != x-; then
23836
 
    echo "/* $configure_input  */" >"$tmp/config.h"
23837
 
    cat "$ac_result" >>"$tmp/config.h"
23838
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23839
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23840
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
15708
    {
 
15709
      $as_echo "/* $configure_input  */" \
 
15710
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
15711
    } >"$tmp/config.h" \
 
15712
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15713
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15714
   { (exit 1); exit 1; }; }
 
15715
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
15716
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
15717
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23841
15718
    else
23842
 
      rm -f $ac_file
23843
 
      mv "$tmp/config.h" $ac_file
 
15719
      rm -f "$ac_file"
 
15720
      mv "$tmp/config.h" "$ac_file" \
 
15721
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
15722
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
15723
   { (exit 1); exit 1; }; }
23844
15724
    fi
23845
15725
  else
23846
 
    echo "/* $configure_input  */"
23847
 
    cat "$ac_result"
 
15726
    $as_echo "/* $configure_input  */" \
 
15727
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
15728
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
15729
$as_echo "$as_me: error: could not create -" >&2;}
 
15730
   { (exit 1); exit 1; }; }
23848
15731
  fi
23849
 
  rm -f "$tmp/out12"
23850
 
# Compute $ac_file's index in $config_headers.
23851
 
_am_arg=$ac_file
 
15732
# Compute "$ac_file"'s index in $config_headers.
 
15733
_am_arg="$ac_file"
23852
15734
_am_stamp_count=1
23853
15735
for _am_header in $config_headers :; do
23854
15736
  case $_am_header in
23863
15745
         X"$_am_arg" : 'X\(//\)[^/]' \| \
23864
15746
         X"$_am_arg" : 'X\(//\)$' \| \
23865
15747
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23866
 
echo X"$_am_arg" |
 
15748
$as_echo X"$_am_arg" |
23867
15749
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23868
15750
            s//\1/
23869
15751
            q
23883
15765
          s/.*/./; q'`/stamp-h$_am_stamp_count
23884
15766
 ;;
23885
15767
 
23886
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23887
 
echo "$as_me: executing $ac_file commands" >&6;}
 
15768
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
15769
$as_echo "$as_me: executing $ac_file commands" >&6;}
23888
15770
 ;;
23889
15771
  esac
23890
15772
 
23891
15773
 
23892
15774
  case $ac_file$ac_mode in
23893
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23894
 
  # Strip MF so we end up with the name of the file.
23895
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23896
 
  # Check whether this is an Automake generated Makefile or not.
23897
 
  # We used to match only the files named `Makefile.in', but
23898
 
  # some people rename them; so instead we look at the file content.
23899
 
  # Grep'ing the first line is not enough: some people post-process
23900
 
  # each Makefile.in and add a new line on top of each file to say so.
23901
 
  # Grep'ing the whole file is not good either: AIX grep has a line
23902
 
  # limit of 2048, but all sed's we know have understand at least 4000.
23903
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23904
 
    dirpart=`$as_dirname -- "$mf" ||
 
15775
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
15776
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
15777
  # are listed without --file.  Let's play safe and only enable the eval
 
15778
  # if we detect the quoting.
 
15779
  case $CONFIG_FILES in
 
15780
  *\'*) eval set x "$CONFIG_FILES" ;;
 
15781
  *)   set x $CONFIG_FILES ;;
 
15782
  esac
 
15783
  shift
 
15784
  for mf
 
15785
  do
 
15786
    # Strip MF so we end up with the name of the file.
 
15787
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
15788
    # Check whether this is an Automake generated Makefile or not.
 
15789
    # We used to match only the files named `Makefile.in', but
 
15790
    # some people rename them; so instead we look at the file content.
 
15791
    # Grep'ing the first line is not enough: some people post-process
 
15792
    # each Makefile.in and add a new line on top of each file to say so.
 
15793
    # Grep'ing the whole file is not good either: AIX grep has a line
 
15794
    # limit of 2048, but all sed's we know have understand at least 4000.
 
15795
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
15796
      dirpart=`$as_dirname -- "$mf" ||
23905
15797
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23906
15798
         X"$mf" : 'X\(//\)[^/]' \| \
23907
15799
         X"$mf" : 'X\(//\)$' \| \
23908
15800
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23909
 
echo X"$mf" |
 
15801
$as_echo X"$mf" |
23910
15802
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23911
15803
            s//\1/
23912
15804
            q
23924
15816
            q
23925
15817
          }
23926
15818
          s/.*/./; q'`
23927
 
  else
23928
 
    continue
23929
 
  fi
23930
 
  # Extract the definition of DEPDIR, am__include, and am__quote
23931
 
  # from the Makefile without running `make'.
23932
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23933
 
  test -z "$DEPDIR" && continue
23934
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
23935
 
  test -z "am__include" && continue
23936
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23937
 
  # When using ansi2knr, U may be empty or an underscore; expand it
23938
 
  U=`sed -n 's/^U = //p' < "$mf"`
23939
 
  # Find all dependency output files, they are included files with
23940
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
23941
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
23942
 
  # expansion.
23943
 
  for file in `sed -n "
23944
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23945
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23946
 
    # Make sure the directory exists.
23947
 
    test -f "$dirpart/$file" && continue
23948
 
    fdir=`$as_dirname -- "$file" ||
 
15819
    else
 
15820
      continue
 
15821
    fi
 
15822
    # Extract the definition of DEPDIR, am__include, and am__quote
 
15823
    # from the Makefile without running `make'.
 
15824
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
15825
    test -z "$DEPDIR" && continue
 
15826
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
15827
    test -z "am__include" && continue
 
15828
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
15829
    # When using ansi2knr, U may be empty or an underscore; expand it
 
15830
    U=`sed -n 's/^U = //p' < "$mf"`
 
15831
    # Find all dependency output files, they are included files with
 
15832
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
15833
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
15834
    # expansion.
 
15835
    for file in `sed -n "
 
15836
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
15837
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15838
      # Make sure the directory exists.
 
15839
      test -f "$dirpart/$file" && continue
 
15840
      fdir=`$as_dirname -- "$file" ||
23949
15841
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23950
15842
         X"$file" : 'X\(//\)[^/]' \| \
23951
15843
         X"$file" : 'X\(//\)$' \| \
23952
15844
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23953
 
echo X"$file" |
 
15845
$as_echo X"$file" |
23954
15846
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23955
15847
            s//\1/
23956
15848
            q
23968
15860
            q
23969
15861
          }
23970
15862
          s/.*/./; q'`
23971
 
    { as_dir=$dirpart/$fdir
 
15863
      { as_dir=$dirpart/$fdir
23972
15864
  case $as_dir in #(
23973
15865
  -*) as_dir=./$as_dir;;
23974
15866
  esac
23976
15868
    as_dirs=
23977
15869
    while :; do
23978
15870
      case $as_dir in #(
23979
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
15871
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23980
15872
      *) as_qdir=$as_dir;;
23981
15873
      esac
23982
15874
      as_dirs="'$as_qdir' $as_dirs"
23985
15877
         X"$as_dir" : 'X\(//\)[^/]' \| \
23986
15878
         X"$as_dir" : 'X\(//\)$' \| \
23987
15879
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23988
 
echo X"$as_dir" |
 
15880
$as_echo X"$as_dir" |
23989
15881
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23990
15882
            s//\1/
23991
15883
            q
24006
15898
      test -d "$as_dir" && break
24007
15899
    done
24008
15900
    test -z "$as_dirs" || eval "mkdir $as_dirs"
24009
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24010
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
15901
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
15902
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24011
15903
   { (exit 1); exit 1; }; }; }
24012
 
    # echo "creating $dirpart/$file"
24013
 
    echo '# dummy' > "$dirpart/$file"
 
15904
      # echo "creating $dirpart/$file"
 
15905
      echo '# dummy' > "$dirpart/$file"
 
15906
    done
24014
15907
  done
24015
 
done
 
15908
}
 
15909
 ;;
 
15910
    "libtool":C)
 
15911
 
 
15912
    # See if we are running on zsh, and set the options which allow our
 
15913
    # commands through without removal of \ escapes.
 
15914
    if test -n "${ZSH_VERSION+set}" ; then
 
15915
      setopt NO_GLOB_SUBST
 
15916
    fi
 
15917
 
 
15918
    cfgfile="${ofile}T"
 
15919
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
15920
    $RM "$cfgfile"
 
15921
 
 
15922
    cat <<_LT_EOF >> "$cfgfile"
 
15923
#! $SHELL
 
15924
 
 
15925
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
15926
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
15927
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15928
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
15929
#
 
15930
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15931
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15932
#   Written by Gordon Matzigkeit, 1996
 
15933
#
 
15934
#   This file is part of GNU Libtool.
 
15935
#
 
15936
# GNU Libtool is free software; you can redistribute it and/or
 
15937
# modify it under the terms of the GNU General Public License as
 
15938
# published by the Free Software Foundation; either version 2 of
 
15939
# the License, or (at your option) any later version.
 
15940
#
 
15941
# As a special exception to the GNU General Public License,
 
15942
# if you distribute this file as part of a program or library that
 
15943
# is built using GNU Libtool, you may include this file under the
 
15944
# same distribution terms that you use for the rest of that program.
 
15945
#
 
15946
# GNU Libtool is distributed in the hope that it will be useful,
 
15947
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15948
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15949
# GNU General Public License for more details.
 
15950
#
 
15951
# You should have received a copy of the GNU General Public License
 
15952
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15953
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15954
# obtained by writing to the Free Software Foundation, Inc.,
 
15955
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15956
 
 
15957
 
 
15958
# The names of the tagged configurations supported by this script.
 
15959
available_tags="RC "
 
15960
 
 
15961
# ### BEGIN LIBTOOL CONFIG
 
15962
 
 
15963
# Which release of libtool.m4 was used?
 
15964
macro_version=$macro_version
 
15965
macro_revision=$macro_revision
 
15966
 
 
15967
# Assembler program.
 
15968
AS=$AS
 
15969
 
 
15970
# DLL creation program.
 
15971
DLLTOOL=$DLLTOOL
 
15972
 
 
15973
# Object dumper program.
 
15974
OBJDUMP=$OBJDUMP
 
15975
 
 
15976
# Whether or not to build shared libraries.
 
15977
build_libtool_libs=$enable_shared
 
15978
 
 
15979
# Whether or not to build static libraries.
 
15980
build_old_libs=$enable_static
 
15981
 
 
15982
# What type of objects to build.
 
15983
pic_mode=$pic_mode
 
15984
 
 
15985
# Whether or not to optimize for fast installation.
 
15986
fast_install=$enable_fast_install
 
15987
 
 
15988
# The host system.
 
15989
host_alias=$host_alias
 
15990
host=$host
 
15991
host_os=$host_os
 
15992
 
 
15993
# The build system.
 
15994
build_alias=$build_alias
 
15995
build=$build
 
15996
build_os=$build_os
 
15997
 
 
15998
# A sed program that does not truncate output.
 
15999
SED=$lt_SED
 
16000
 
 
16001
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
16002
Xsed="\$SED -e 1s/^X//"
 
16003
 
 
16004
# A grep program that handles long lines.
 
16005
GREP=$lt_GREP
 
16006
 
 
16007
# An ERE matcher.
 
16008
EGREP=$lt_EGREP
 
16009
 
 
16010
# A literal string matcher.
 
16011
FGREP=$lt_FGREP
 
16012
 
 
16013
# A BSD- or MS-compatible name lister.
 
16014
NM=$lt_NM
 
16015
 
 
16016
# Whether we need soft or hard links.
 
16017
LN_S=$lt_LN_S
 
16018
 
 
16019
# What is the maximum length of a command?
 
16020
max_cmd_len=$max_cmd_len
 
16021
 
 
16022
# Object file suffix (normally "o").
 
16023
objext=$ac_objext
 
16024
 
 
16025
# Executable file suffix (normally "").
 
16026
exeext=$exeext
 
16027
 
 
16028
# whether the shell understands "unset".
 
16029
lt_unset=$lt_unset
 
16030
 
 
16031
# turn spaces into newlines.
 
16032
SP2NL=$lt_lt_SP2NL
 
16033
 
 
16034
# turn newlines into spaces.
 
16035
NL2SP=$lt_lt_NL2SP
 
16036
 
 
16037
# How to create reloadable object files.
 
16038
reload_flag=$lt_reload_flag
 
16039
reload_cmds=$lt_reload_cmds
 
16040
 
 
16041
# Method to check whether dependent libraries are shared objects.
 
16042
deplibs_check_method=$lt_deplibs_check_method
 
16043
 
 
16044
# Command to use when deplibs_check_method == "file_magic".
 
16045
file_magic_cmd=$lt_file_magic_cmd
 
16046
 
 
16047
# The archiver.
 
16048
AR=$lt_AR
 
16049
AR_FLAGS=$lt_AR_FLAGS
 
16050
 
 
16051
# A symbol stripping program.
 
16052
STRIP=$lt_STRIP
 
16053
 
 
16054
# Commands used to install an old-style archive.
 
16055
RANLIB=$lt_RANLIB
 
16056
old_postinstall_cmds=$lt_old_postinstall_cmds
 
16057
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
16058
 
 
16059
# A C compiler.
 
16060
LTCC=$lt_CC
 
16061
 
 
16062
# LTCC compiler flags.
 
16063
LTCFLAGS=$lt_CFLAGS
 
16064
 
 
16065
# Take the output of nm and produce a listing of raw symbols and C names.
 
16066
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
16067
 
 
16068
# Transform the output of nm in a proper C declaration.
 
16069
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
16070
 
 
16071
# Transform the output of nm in a C name address pair.
 
16072
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
16073
 
 
16074
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
16075
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
16076
 
 
16077
# The name of the directory that contains temporary libtool files.
 
16078
objdir=$objdir
 
16079
 
 
16080
# Shell to use when invoking shell scripts.
 
16081
SHELL=$lt_SHELL
 
16082
 
 
16083
# An echo program that does not interpret backslashes.
 
16084
ECHO=$lt_ECHO
 
16085
 
 
16086
# Used to examine libraries when file_magic_cmd begins with "file".
 
16087
MAGIC_CMD=$MAGIC_CMD
 
16088
 
 
16089
# Must we lock files when doing compilation?
 
16090
need_locks=$lt_need_locks
 
16091
 
 
16092
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
16093
DSYMUTIL=$lt_DSYMUTIL
 
16094
 
 
16095
# Tool to change global to local symbols on Mac OS X.
 
16096
NMEDIT=$lt_NMEDIT
 
16097
 
 
16098
# Tool to manipulate fat objects and archives on Mac OS X.
 
16099
LIPO=$lt_LIPO
 
16100
 
 
16101
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
16102
OTOOL=$lt_OTOOL
 
16103
 
 
16104
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
16105
OTOOL64=$lt_OTOOL64
 
16106
 
 
16107
# Old archive suffix (normally "a").
 
16108
libext=$libext
 
16109
 
 
16110
# Shared library suffix (normally ".so").
 
16111
shrext_cmds=$lt_shrext_cmds
 
16112
 
 
16113
# The commands to extract the exported symbol list from a shared archive.
 
16114
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
16115
 
 
16116
# Variables whose values should be saved in libtool wrapper scripts and
 
16117
# restored at link time.
 
16118
variables_saved_for_relink=$lt_variables_saved_for_relink
 
16119
 
 
16120
# Do we need the "lib" prefix for modules?
 
16121
need_lib_prefix=$need_lib_prefix
 
16122
 
 
16123
# Do we need a version for libraries?
 
16124
need_version=$need_version
 
16125
 
 
16126
# Library versioning type.
 
16127
version_type=$version_type
 
16128
 
 
16129
# Shared library runtime path variable.
 
16130
runpath_var=$runpath_var
 
16131
 
 
16132
# Shared library path variable.
 
16133
shlibpath_var=$shlibpath_var
 
16134
 
 
16135
# Is shlibpath searched before the hard-coded library search path?
 
16136
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
16137
 
 
16138
# Format of library name prefix.
 
16139
libname_spec=$lt_libname_spec
 
16140
 
 
16141
# List of archive names.  First name is the real one, the rest are links.
 
16142
# The last name is the one that the linker finds with -lNAME
 
16143
library_names_spec=$lt_library_names_spec
 
16144
 
 
16145
# The coded name of the library, if different from the real name.
 
16146
soname_spec=$lt_soname_spec
 
16147
 
 
16148
# Command to use after installation of a shared archive.
 
16149
postinstall_cmds=$lt_postinstall_cmds
 
16150
 
 
16151
# Command to use after uninstallation of a shared archive.
 
16152
postuninstall_cmds=$lt_postuninstall_cmds
 
16153
 
 
16154
# Commands used to finish a libtool library installation in a directory.
 
16155
finish_cmds=$lt_finish_cmds
 
16156
 
 
16157
# As "finish_cmds", except a single script fragment to be evaled but
 
16158
# not shown.
 
16159
finish_eval=$lt_finish_eval
 
16160
 
 
16161
# Whether we should hardcode library paths into libraries.
 
16162
hardcode_into_libs=$hardcode_into_libs
 
16163
 
 
16164
# Compile-time system search path for libraries.
 
16165
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
16166
 
 
16167
# Run-time system search path for libraries.
 
16168
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
16169
 
 
16170
# Whether dlopen is supported.
 
16171
dlopen_support=$enable_dlopen
 
16172
 
 
16173
# Whether dlopen of programs is supported.
 
16174
dlopen_self=$enable_dlopen_self
 
16175
 
 
16176
# Whether dlopen of statically linked programs is supported.
 
16177
dlopen_self_static=$enable_dlopen_self_static
 
16178
 
 
16179
# Commands to strip libraries.
 
16180
old_striplib=$lt_old_striplib
 
16181
striplib=$lt_striplib
 
16182
 
 
16183
 
 
16184
# The linker used to build libraries.
 
16185
LD=$lt_LD
 
16186
 
 
16187
# Commands used to build an old-style archive.
 
16188
old_archive_cmds=$lt_old_archive_cmds
 
16189
 
 
16190
# A language specific compiler.
 
16191
CC=$lt_compiler
 
16192
 
 
16193
# Is the compiler the GNU compiler?
 
16194
with_gcc=$GCC
 
16195
 
 
16196
# Compiler flag to turn off builtin functions.
 
16197
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
16198
 
 
16199
# How to pass a linker flag through the compiler.
 
16200
wl=$lt_lt_prog_compiler_wl
 
16201
 
 
16202
# Additional compiler flags for building library objects.
 
16203
pic_flag=$lt_lt_prog_compiler_pic
 
16204
 
 
16205
# Compiler flag to prevent dynamic linking.
 
16206
link_static_flag=$lt_lt_prog_compiler_static
 
16207
 
 
16208
# Does compiler simultaneously support -c and -o options?
 
16209
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
16210
 
 
16211
# Whether or not to add -lc for building shared libraries.
 
16212
build_libtool_need_lc=$archive_cmds_need_lc
 
16213
 
 
16214
# Whether or not to disallow shared libs when runtime libs are static.
 
16215
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
16216
 
 
16217
# Compiler flag to allow reflexive dlopens.
 
16218
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
16219
 
 
16220
# Compiler flag to generate shared objects directly from archives.
 
16221
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
16222
 
 
16223
# Whether the compiler copes with passing no objects directly.
 
16224
compiler_needs_object=$lt_compiler_needs_object
 
16225
 
 
16226
# Create an old-style archive from a shared archive.
 
16227
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
16228
 
 
16229
# Create a temporary old-style archive to link instead of a shared archive.
 
16230
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
16231
 
 
16232
# Commands used to build a shared archive.
 
16233
archive_cmds=$lt_archive_cmds
 
16234
archive_expsym_cmds=$lt_archive_expsym_cmds
 
16235
 
 
16236
# Commands used to build a loadable module if different from building
 
16237
# a shared archive.
 
16238
module_cmds=$lt_module_cmds
 
16239
module_expsym_cmds=$lt_module_expsym_cmds
 
16240
 
 
16241
# Whether we are building with GNU ld or not.
 
16242
with_gnu_ld=$lt_with_gnu_ld
 
16243
 
 
16244
# Flag that allows shared libraries with undefined symbols to be built.
 
16245
allow_undefined_flag=$lt_allow_undefined_flag
 
16246
 
 
16247
# Flag that enforces no undefined symbols.
 
16248
no_undefined_flag=$lt_no_undefined_flag
 
16249
 
 
16250
# Flag to hardcode \$libdir into a binary during linking.
 
16251
# This must work even if \$libdir does not exist
 
16252
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
16253
 
 
16254
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
16255
# during linking.  This must work even if \$libdir does not exist.
 
16256
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
16257
 
 
16258
# Whether we need a single "-rpath" flag with a separated argument.
 
16259
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
16260
 
 
16261
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16262
# DIR into the resulting binary.
 
16263
hardcode_direct=$hardcode_direct
 
16264
 
 
16265
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16266
# DIR into the resulting binary and the resulting library dependency is
 
16267
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
16268
# library is relocated.
 
16269
hardcode_direct_absolute=$hardcode_direct_absolute
 
16270
 
 
16271
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
16272
# into the resulting binary.
 
16273
hardcode_minus_L=$hardcode_minus_L
 
16274
 
 
16275
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
16276
# into the resulting binary.
 
16277
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
16278
 
 
16279
# Set to "yes" if building a shared library automatically hardcodes DIR
 
16280
# into the library and all subsequent libraries and executables linked
 
16281
# against it.
 
16282
hardcode_automatic=$hardcode_automatic
 
16283
 
 
16284
# Set to yes if linker adds runtime paths of dependent libraries
 
16285
# to runtime path list.
 
16286
inherit_rpath=$inherit_rpath
 
16287
 
 
16288
# Whether libtool must link a program against all its dependency libraries.
 
16289
link_all_deplibs=$link_all_deplibs
 
16290
 
 
16291
# Fix the shell variable \$srcfile for the compiler.
 
16292
fix_srcfile_path=$lt_fix_srcfile_path
 
16293
 
 
16294
# Set to "yes" if exported symbols are required.
 
16295
always_export_symbols=$always_export_symbols
 
16296
 
 
16297
# The commands to list exported symbols.
 
16298
export_symbols_cmds=$lt_export_symbols_cmds
 
16299
 
 
16300
# Symbols that should not be listed in the preloaded symbols.
 
16301
exclude_expsyms=$lt_exclude_expsyms
 
16302
 
 
16303
# Symbols that must always be exported.
 
16304
include_expsyms=$lt_include_expsyms
 
16305
 
 
16306
# Commands necessary for linking programs (against libraries) with templates.
 
16307
prelink_cmds=$lt_prelink_cmds
 
16308
 
 
16309
# Specify filename containing input files.
 
16310
file_list_spec=$lt_file_list_spec
 
16311
 
 
16312
# How to hardcode a shared library path into an executable.
 
16313
hardcode_action=$hardcode_action
 
16314
 
 
16315
# ### END LIBTOOL CONFIG
 
16316
 
 
16317
_LT_EOF
 
16318
 
 
16319
  case $host_os in
 
16320
  aix3*)
 
16321
    cat <<\_LT_EOF >> "$cfgfile"
 
16322
# AIX sometimes has problems with the GCC collect2 program.  For some
 
16323
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
16324
# vanish in a puff of smoke.
 
16325
if test "X${COLLECT_NAMES+set}" != Xset; then
 
16326
  COLLECT_NAMES=
 
16327
  export COLLECT_NAMES
 
16328
fi
 
16329
_LT_EOF
 
16330
    ;;
 
16331
  esac
 
16332
 
 
16333
 
 
16334
ltmain="$ac_aux_dir/ltmain.sh"
 
16335
 
 
16336
 
 
16337
  # We use sed instead of cat because bash on DJGPP gets confused if
 
16338
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
16339
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
16340
  # is reportedly fixed, but why not run on old versions too?
 
16341
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
16342
    || (rm -f "$cfgfile"; exit 1)
 
16343
 
 
16344
  case $xsi_shell in
 
16345
  yes)
 
16346
    cat << \_LT_EOF >> "$cfgfile"
 
16347
 
 
16348
# func_dirname file append nondir_replacement
 
16349
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
16350
# otherwise set result to NONDIR_REPLACEMENT.
 
16351
func_dirname ()
 
16352
{
 
16353
  case ${1} in
 
16354
    */*) func_dirname_result="${1%/*}${2}" ;;
 
16355
    *  ) func_dirname_result="${3}" ;;
 
16356
  esac
 
16357
}
 
16358
 
 
16359
# func_basename file
 
16360
func_basename ()
 
16361
{
 
16362
  func_basename_result="${1##*/}"
 
16363
}
 
16364
 
 
16365
# func_dirname_and_basename file append nondir_replacement
 
16366
# perform func_basename and func_dirname in a single function
 
16367
# call:
 
16368
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
16369
#             add APPEND to the result, otherwise set result
 
16370
#             to NONDIR_REPLACEMENT.
 
16371
#             value returned in "$func_dirname_result"
 
16372
#   basename: Compute filename of FILE.
 
16373
#             value retuned in "$func_basename_result"
 
16374
# Implementation must be kept synchronized with func_dirname
 
16375
# and func_basename. For efficiency, we do not delegate to
 
16376
# those functions but instead duplicate the functionality here.
 
16377
func_dirname_and_basename ()
 
16378
{
 
16379
  case ${1} in
 
16380
    */*) func_dirname_result="${1%/*}${2}" ;;
 
16381
    *  ) func_dirname_result="${3}" ;;
 
16382
  esac
 
16383
  func_basename_result="${1##*/}"
 
16384
}
 
16385
 
 
16386
# func_stripname prefix suffix name
 
16387
# strip PREFIX and SUFFIX off of NAME.
 
16388
# PREFIX and SUFFIX must not contain globbing or regex special
 
16389
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
16390
# dot (in which case that matches only a dot).
 
16391
func_stripname ()
 
16392
{
 
16393
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
16394
  # positional parameters, so assign one to ordinary parameter first.
 
16395
  func_stripname_result=${3}
 
16396
  func_stripname_result=${func_stripname_result#"${1}"}
 
16397
  func_stripname_result=${func_stripname_result%"${2}"}
 
16398
}
 
16399
 
 
16400
# func_opt_split
 
16401
func_opt_split ()
 
16402
{
 
16403
  func_opt_split_opt=${1%%=*}
 
16404
  func_opt_split_arg=${1#*=}
 
16405
}
 
16406
 
 
16407
# func_lo2o object
 
16408
func_lo2o ()
 
16409
{
 
16410
  case ${1} in
 
16411
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
16412
    *)    func_lo2o_result=${1} ;;
 
16413
  esac
 
16414
}
 
16415
 
 
16416
# func_xform libobj-or-source
 
16417
func_xform ()
 
16418
{
 
16419
  func_xform_result=${1%.*}.lo
 
16420
}
 
16421
 
 
16422
# func_arith arithmetic-term...
 
16423
func_arith ()
 
16424
{
 
16425
  func_arith_result=$(( $* ))
 
16426
}
 
16427
 
 
16428
# func_len string
 
16429
# STRING may not start with a hyphen.
 
16430
func_len ()
 
16431
{
 
16432
  func_len_result=${#1}
 
16433
}
 
16434
 
 
16435
_LT_EOF
 
16436
    ;;
 
16437
  *) # Bourne compatible functions.
 
16438
    cat << \_LT_EOF >> "$cfgfile"
 
16439
 
 
16440
# func_dirname file append nondir_replacement
 
16441
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
16442
# otherwise set result to NONDIR_REPLACEMENT.
 
16443
func_dirname ()
 
16444
{
 
16445
  # Extract subdirectory from the argument.
 
16446
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
16447
  if test "X$func_dirname_result" = "X${1}"; then
 
16448
    func_dirname_result="${3}"
 
16449
  else
 
16450
    func_dirname_result="$func_dirname_result${2}"
 
16451
  fi
 
16452
}
 
16453
 
 
16454
# func_basename file
 
16455
func_basename ()
 
16456
{
 
16457
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
16458
}
 
16459
 
 
16460
 
 
16461
# func_stripname prefix suffix name
 
16462
# strip PREFIX and SUFFIX off of NAME.
 
16463
# PREFIX and SUFFIX must not contain globbing or regex special
 
16464
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
16465
# dot (in which case that matches only a dot).
 
16466
# func_strip_suffix prefix name
 
16467
func_stripname ()
 
16468
{
 
16469
  case ${2} in
 
16470
    .*) func_stripname_result=`$ECHO "X${3}" \
 
16471
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
16472
    *)  func_stripname_result=`$ECHO "X${3}" \
 
16473
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
16474
  esac
 
16475
}
 
16476
 
 
16477
# sed scripts:
 
16478
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
16479
my_sed_long_arg='1s/^-[^=]*=//'
 
16480
 
 
16481
# func_opt_split
 
16482
func_opt_split ()
 
16483
{
 
16484
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
16485
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
16486
}
 
16487
 
 
16488
# func_lo2o object
 
16489
func_lo2o ()
 
16490
{
 
16491
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
16492
}
 
16493
 
 
16494
# func_xform libobj-or-source
 
16495
func_xform ()
 
16496
{
 
16497
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
16498
}
 
16499
 
 
16500
# func_arith arithmetic-term...
 
16501
func_arith ()
 
16502
{
 
16503
  func_arith_result=`expr "$@"`
 
16504
}
 
16505
 
 
16506
# func_len string
 
16507
# STRING may not start with a hyphen.
 
16508
func_len ()
 
16509
{
 
16510
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
16511
}
 
16512
 
 
16513
_LT_EOF
 
16514
esac
 
16515
 
 
16516
case $lt_shell_append in
 
16517
  yes)
 
16518
    cat << \_LT_EOF >> "$cfgfile"
 
16519
 
 
16520
# func_append var value
 
16521
# Append VALUE to the end of shell variable VAR.
 
16522
func_append ()
 
16523
{
 
16524
  eval "$1+=\$2"
 
16525
}
 
16526
_LT_EOF
 
16527
    ;;
 
16528
  *)
 
16529
    cat << \_LT_EOF >> "$cfgfile"
 
16530
 
 
16531
# func_append var value
 
16532
# Append VALUE to the end of shell variable VAR.
 
16533
func_append ()
 
16534
{
 
16535
  eval "$1=\$$1\$2"
 
16536
}
 
16537
 
 
16538
_LT_EOF
 
16539
    ;;
 
16540
  esac
 
16541
 
 
16542
 
 
16543
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
16544
    || (rm -f "$cfgfile"; exit 1)
 
16545
 
 
16546
  mv -f "$cfgfile" "$ofile" ||
 
16547
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
16548
  chmod +x "$ofile"
 
16549
 
 
16550
 
 
16551
    cat <<_LT_EOF >> "$ofile"
 
16552
 
 
16553
# ### BEGIN LIBTOOL TAG CONFIG: RC
 
16554
 
 
16555
# The linker used to build libraries.
 
16556
LD=$lt_LD_RC
 
16557
 
 
16558
# Commands used to build an old-style archive.
 
16559
old_archive_cmds=$lt_old_archive_cmds_RC
 
16560
 
 
16561
# A language specific compiler.
 
16562
CC=$lt_compiler_RC
 
16563
 
 
16564
# Is the compiler the GNU compiler?
 
16565
with_gcc=$GCC_RC
 
16566
 
 
16567
# Compiler flag to turn off builtin functions.
 
16568
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 
16569
 
 
16570
# How to pass a linker flag through the compiler.
 
16571
wl=$lt_lt_prog_compiler_wl_RC
 
16572
 
 
16573
# Additional compiler flags for building library objects.
 
16574
pic_flag=$lt_lt_prog_compiler_pic_RC
 
16575
 
 
16576
# Compiler flag to prevent dynamic linking.
 
16577
link_static_flag=$lt_lt_prog_compiler_static_RC
 
16578
 
 
16579
# Does compiler simultaneously support -c and -o options?
 
16580
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 
16581
 
 
16582
# Whether or not to add -lc for building shared libraries.
 
16583
build_libtool_need_lc=$archive_cmds_need_lc_RC
 
16584
 
 
16585
# Whether or not to disallow shared libs when runtime libs are static.
 
16586
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 
16587
 
 
16588
# Compiler flag to allow reflexive dlopens.
 
16589
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 
16590
 
 
16591
# Compiler flag to generate shared objects directly from archives.
 
16592
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 
16593
 
 
16594
# Whether the compiler copes with passing no objects directly.
 
16595
compiler_needs_object=$lt_compiler_needs_object_RC
 
16596
 
 
16597
# Create an old-style archive from a shared archive.
 
16598
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 
16599
 
 
16600
# Create a temporary old-style archive to link instead of a shared archive.
 
16601
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 
16602
 
 
16603
# Commands used to build a shared archive.
 
16604
archive_cmds=$lt_archive_cmds_RC
 
16605
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 
16606
 
 
16607
# Commands used to build a loadable module if different from building
 
16608
# a shared archive.
 
16609
module_cmds=$lt_module_cmds_RC
 
16610
module_expsym_cmds=$lt_module_expsym_cmds_RC
 
16611
 
 
16612
# Whether we are building with GNU ld or not.
 
16613
with_gnu_ld=$lt_with_gnu_ld_RC
 
16614
 
 
16615
# Flag that allows shared libraries with undefined symbols to be built.
 
16616
allow_undefined_flag=$lt_allow_undefined_flag_RC
 
16617
 
 
16618
# Flag that enforces no undefined symbols.
 
16619
no_undefined_flag=$lt_no_undefined_flag_RC
 
16620
 
 
16621
# Flag to hardcode \$libdir into a binary during linking.
 
16622
# This must work even if \$libdir does not exist
 
16623
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 
16624
 
 
16625
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
16626
# during linking.  This must work even if \$libdir does not exist.
 
16627
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 
16628
 
 
16629
# Whether we need a single "-rpath" flag with a separated argument.
 
16630
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 
16631
 
 
16632
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16633
# DIR into the resulting binary.
 
16634
hardcode_direct=$hardcode_direct_RC
 
16635
 
 
16636
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16637
# DIR into the resulting binary and the resulting library dependency is
 
16638
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
16639
# library is relocated.
 
16640
hardcode_direct_absolute=$hardcode_direct_absolute_RC
 
16641
 
 
16642
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
16643
# into the resulting binary.
 
16644
hardcode_minus_L=$hardcode_minus_L_RC
 
16645
 
 
16646
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
16647
# into the resulting binary.
 
16648
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 
16649
 
 
16650
# Set to "yes" if building a shared library automatically hardcodes DIR
 
16651
# into the library and all subsequent libraries and executables linked
 
16652
# against it.
 
16653
hardcode_automatic=$hardcode_automatic_RC
 
16654
 
 
16655
# Set to yes if linker adds runtime paths of dependent libraries
 
16656
# to runtime path list.
 
16657
inherit_rpath=$inherit_rpath_RC
 
16658
 
 
16659
# Whether libtool must link a program against all its dependency libraries.
 
16660
link_all_deplibs=$link_all_deplibs_RC
 
16661
 
 
16662
# Fix the shell variable \$srcfile for the compiler.
 
16663
fix_srcfile_path=$lt_fix_srcfile_path_RC
 
16664
 
 
16665
# Set to "yes" if exported symbols are required.
 
16666
always_export_symbols=$always_export_symbols_RC
 
16667
 
 
16668
# The commands to list exported symbols.
 
16669
export_symbols_cmds=$lt_export_symbols_cmds_RC
 
16670
 
 
16671
# Symbols that should not be listed in the preloaded symbols.
 
16672
exclude_expsyms=$lt_exclude_expsyms_RC
 
16673
 
 
16674
# Symbols that must always be exported.
 
16675
include_expsyms=$lt_include_expsyms_RC
 
16676
 
 
16677
# Commands necessary for linking programs (against libraries) with templates.
 
16678
prelink_cmds=$lt_prelink_cmds_RC
 
16679
 
 
16680
# Specify filename containing input files.
 
16681
file_list_spec=$lt_file_list_spec_RC
 
16682
 
 
16683
# How to hardcode a shared library path into an executable.
 
16684
hardcode_action=$hardcode_action_RC
 
16685
 
 
16686
# ### END LIBTOOL TAG CONFIG: RC
 
16687
_LT_EOF
 
16688
 
24016
16689
 ;;
24017
16690
 
24018
16691
  esac
24024
16697
chmod +x $CONFIG_STATUS
24025
16698
ac_clean_files=$ac_clean_files_save
24026
16699
 
 
16700
test $ac_write_fail = 0 ||
 
16701
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
16702
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
16703
   { (exit 1); exit 1; }; }
 
16704
 
24027
16705
 
24028
16706
# configure is writing to config.log, and then calls config.status.
24029
16707
# config.status does its own redirection, appending to config.log.
24045
16723
  # would make configure fail if this is the last instruction.
24046
16724
  $ac_cs_success || { (exit 1); exit 1; }
24047
16725
fi
 
16726
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
16727
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
16728
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
16729
fi
24048
16730
 
24049
16731
 
24050
16732
cat <<EOF