~ubuntu-branches/ubuntu/karmic/cryptsetup/karmic-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland, https://launchpad.net/~svenkata
  • Date: 2009-02-12 16:57:30 UTC
  • Revision ID: james.westby@ubuntu.com-20090212165730-2ti3giufa13ayc0k
Tags: 2:1.0.6-7ubuntu3
[ https://launchpad.net/~svenkata ]
debian/checks/un_vol_id: dynamically build the "unknown volume type"
string, to allow for encrypted swap, LP: #316607

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 cryptsetup 1.0.6.
 
3
# Generated by GNU Autoconf 2.63 for cryptsetup 1.0.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
553
575
# Check that we are running under the correct shell.
554
576
SHELL=${CONFIG_SHELL-/bin/sh}
555
577
 
556
 
case X$ECHO in
 
578
case X$lt_ECHO in
557
579
X*--fallback-echo)
558
580
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
582
  ;;
561
583
esac
562
584
 
563
 
echo=${ECHO-echo}
 
585
ECHO=${lt_ECHO-echo}
564
586
if test "X$1" = X--no-reexec; then
565
587
  # Discard the --no-reexec flag, and continue.
566
588
  shift
567
589
elif test "X$1" = X--fallback-echo; then
568
590
  # Avoid inline document here, it may be left over
569
591
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
572
594
  :
573
595
else
574
596
  # Restart under the correct shell.
578
600
if test "X$1" = X--fallback-echo; then
579
601
  # used as fallback echo
580
602
  shift
581
 
  cat <<EOF
 
603
  cat <<_LT_EOF
582
604
$*
583
 
EOF
 
605
_LT_EOF
584
606
  exit 0
585
607
fi
586
608
 
588
610
# if CDPATH is set.
589
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
612
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
613
if test -z "$lt_ECHO"; then
 
614
  if test "X${echo_test_string+set}" != Xset; then
 
615
    # find a string as large as possible, as long as the shell can cope with it
 
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
620
      then
 
621
        break
 
622
      fi
 
623
    done
 
624
  fi
 
625
 
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
    :
 
630
  else
 
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
632
    # backslashes.  This makes it impossible to quote backslashes using
 
633
    #   echo "$something" | sed 's/\\/\\\\/g'
 
634
    #
 
635
    # So, first we look for a working echo in the user's PATH.
 
636
 
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
638
    for dir in $PATH /usr/ucb; do
 
639
      IFS="$lt_save_ifs"
 
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
        ECHO="$dir/echo"
 
645
        break
 
646
      fi
 
647
    done
618
648
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
649
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
650
    if test "X$ECHO" = Xecho; then
 
651
      # We didn't find a better echo, so look for alternatives.
 
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
        # This shell has a builtin print -r that does the trick.
 
656
        ECHO='print -r'
 
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
659
        # If we have ksh, try running configure again with it.
 
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
661
        export ORIGINAL_CONFIG_SHELL
 
662
        CONFIG_SHELL=/bin/ksh
 
663
        export CONFIG_SHELL
 
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
665
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
666
        # Try using printf.
 
667
        ECHO='printf %s\n'
 
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
671
          # Cool, printf works
 
672
          :
 
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
674
             test "X$echo_testing_string" = 'X\t' &&
 
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
678
          export CONFIG_SHELL
 
679
          SHELL="$CONFIG_SHELL"
 
680
          export SHELL
 
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
683
             test "X$echo_testing_string" = 'X\t' &&
 
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
687
        else
 
688
          # maybe with a smaller string...
 
689
          prev=:
 
690
 
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
693
            then
 
694
              break
 
695
            fi
 
696
            prev="$cmd"
 
697
          done
 
698
 
 
699
          if test "$prev" != 'sed 50q "$0"'; then
 
700
            echo_test_string=`eval $prev`
 
701
            export echo_test_string
 
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
703
          else
 
704
            # Oops.  We lost completely, so just stick with echo.
 
705
            ECHO=echo
674
706
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
707
        fi
686
708
      fi
687
709
    fi
688
710
  fi
689
711
fi
690
 
fi
691
712
 
692
713
# Copy echo and quote the copy suitably for passing to libtool from
693
714
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
715
lt_ECHO=$ECHO
 
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
718
fi
698
719
 
699
720
 
700
721
 
701
722
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
723
exec 7<&0 </dev/null 6>&1
707
724
 
708
725
# Name of the host.
768
785
# include <unistd.h>
769
786
#endif"
770
787
 
771
 
ac_subst_vars='SHELL
772
 
PATH_SEPARATOR
773
 
PACKAGE_NAME
774
 
PACKAGE_TARNAME
775
 
PACKAGE_VERSION
776
 
PACKAGE_STRING
777
 
PACKAGE_BUGREPORT
778
 
exec_prefix
779
 
prefix
780
 
program_transform_name
781
 
bindir
782
 
sbindir
783
 
libexecdir
784
 
datarootdir
785
 
datadir
786
 
sysconfdir
787
 
sharedstatedir
788
 
localstatedir
789
 
includedir
790
 
oldincludedir
791
 
docdir
792
 
infodir
793
 
htmldir
794
 
dvidir
795
 
pdfdir
796
 
psdir
797
 
libdir
798
 
localedir
799
 
mandir
800
 
DEFS
801
 
ECHO_C
802
 
ECHO_N
803
 
ECHO_T
804
 
LIBS
805
 
build_alias
806
 
host_alias
807
 
target_alias
808
 
INSTALL_PROGRAM
809
 
INSTALL_SCRIPT
810
 
INSTALL_DATA
811
 
CYGPATH_W
812
 
PACKAGE
813
 
VERSION
814
 
ACLOCAL
815
 
AUTOCONF
816
 
AUTOMAKE
817
 
AUTOHEADER
818
 
MAKEINFO
819
 
install_sh
820
 
STRIP
821
 
INSTALL_STRIP_PROGRAM
822
 
mkdir_p
823
 
AWK
824
 
SET_MAKE
825
 
am__leading_dot
826
 
AMTAR
827
 
am__tar
828
 
am__untar
829
 
build
830
 
build_cpu
831
 
build_vendor
832
 
build_os
833
 
host
834
 
host_cpu
835
 
host_vendor
836
 
host_os
837
 
CC
838
 
CFLAGS
839
 
LDFLAGS
840
 
CPPFLAGS
841
 
ac_ct_CC
842
 
EXEEXT
843
 
OBJEXT
844
 
DEPDIR
845
 
am__include
846
 
am__quote
847
 
AMDEP_TRUE
848
 
AMDEP_FALSE
849
 
AMDEPBACKSLASH
850
 
CCDEPMODE
851
 
am__fastdepCC_TRUE
852
 
am__fastdepCC_FALSE
853
 
CPP
 
788
ac_subst_vars='LTLIBOBJS
 
789
LIBOBJS
 
790
DYNAMIC_CRYPTSETUP_FALSE
 
791
DYNAMIC_CRYPTSETUP_TRUE
 
792
STATIC_CRYPTSETUP_FALSE
 
793
STATIC_CRYPTSETUP_TRUE
 
794
SHARED_LIBDEVMAPPER_FALSE
 
795
SHARED_LIBDEVMAPPER_TRUE
 
796
BUILD_LIBDEVMAPPER_FALSE
 
797
BUILD_LIBDEVMAPPER_TRUE
 
798
LIBDEVMAPPER_CFLAGS
 
799
LIBDEVMAPPER_LIBS
 
800
SHARED_LIBGCRYPT_FALSE
 
801
SHARED_LIBGCRYPT_TRUE
 
802
BUILD_LIBGCRYPT_FALSE
 
803
BUILD_LIBGCRYPT_TRUE
 
804
LIBGCRYPT_LIBS
 
805
LIBGCRYPT_CFLAGS
 
806
LIBGCRYPT_CONFIG
 
807
STATIC_LIBRARY_FALSE
 
808
STATIC_LIBRARY_TRUE
 
809
POPT_LIBS
 
810
POSUB
 
811
LTLIBINTL
 
812
LIBINTL
 
813
INTLLIBS
 
814
LTLIBICONV
 
815
LIBICONV
 
816
INTL_MACOSX_LIBS
 
817
MSGMERGE
 
818
XGETTEXT_015
 
819
XGETTEXT
 
820
GMSGFMT_015
 
821
MSGFMT_015
 
822
GMSGFMT
 
823
MSGFMT
 
824
USE_NLS
 
825
GETTEXT_PACKAGE
 
826
UUID_LIBS
 
827
OTOOL64
 
828
OTOOL
 
829
LIPO
 
830
NMEDIT
 
831
DSYMUTIL
 
832
lt_ECHO
 
833
RANLIB
 
834
AR
 
835
OBJDUMP
 
836
LN_S
 
837
NM
 
838
ac_ct_DUMPBIN
 
839
DUMPBIN
 
840
LD
 
841
FGREP
854
842
SED
 
843
LIBTOOL
 
844
EGREP
855
845
GREP
856
 
EGREP
857
 
LN_S
858
 
ECHO
859
 
AR
860
 
RANLIB
861
 
DSYMUTIL
862
 
NMEDIT
863
 
CXX
864
 
CXXFLAGS
865
 
ac_ct_CXX
866
 
CXXDEPMODE
867
 
am__fastdepCXX_TRUE
868
 
am__fastdepCXX_FALSE
869
 
CXXCPP
870
 
F77
871
 
FFLAGS
872
 
ac_ct_F77
873
 
LIBTOOL
874
 
UUID_LIBS
875
 
GETTEXT_PACKAGE
876
 
USE_NLS
877
 
MSGFMT
878
 
GMSGFMT
879
 
MSGFMT_015
880
 
GMSGFMT_015
881
 
XGETTEXT
882
 
XGETTEXT_015
883
 
MSGMERGE
884
 
INTL_MACOSX_LIBS
885
 
LIBICONV
886
 
LTLIBICONV
887
 
INTLLIBS
888
 
LIBINTL
889
 
LTLIBINTL
890
 
POSUB
891
 
POPT_LIBS
892
 
STATIC_LIBRARY_TRUE
893
 
STATIC_LIBRARY_FALSE
894
 
LIBGCRYPT_CONFIG
895
 
LIBGCRYPT_CFLAGS
896
 
LIBGCRYPT_LIBS
897
 
BUILD_LIBGCRYPT_TRUE
898
 
BUILD_LIBGCRYPT_FALSE
899
 
SHARED_LIBGCRYPT_TRUE
900
 
SHARED_LIBGCRYPT_FALSE
901
 
LIBDEVMAPPER_LIBS
902
 
LIBDEVMAPPER_CFLAGS
903
 
BUILD_LIBDEVMAPPER_TRUE
904
 
BUILD_LIBDEVMAPPER_FALSE
905
 
SHARED_LIBDEVMAPPER_TRUE
906
 
SHARED_LIBDEVMAPPER_FALSE
907
 
STATIC_CRYPTSETUP_TRUE
908
 
STATIC_CRYPTSETUP_FALSE
909
 
DYNAMIC_CRYPTSETUP_TRUE
910
 
DYNAMIC_CRYPTSETUP_FALSE
911
 
LIBOBJS
912
 
LTLIBOBJS'
 
846
CPP
 
847
am__fastdepCC_FALSE
 
848
am__fastdepCC_TRUE
 
849
CCDEPMODE
 
850
AMDEPBACKSLASH
 
851
AMDEP_FALSE
 
852
AMDEP_TRUE
 
853
am__quote
 
854
am__include
 
855
DEPDIR
 
856
OBJEXT
 
857
EXEEXT
 
858
ac_ct_CC
 
859
CPPFLAGS
 
860
LDFLAGS
 
861
CFLAGS
 
862
CC
 
863
host_os
 
864
host_vendor
 
865
host_cpu
 
866
host
 
867
build_os
 
868
build_vendor
 
869
build_cpu
 
870
build
 
871
am__untar
 
872
am__tar
 
873
AMTAR
 
874
am__leading_dot
 
875
SET_MAKE
 
876
AWK
 
877
mkdir_p
 
878
INSTALL_STRIP_PROGRAM
 
879
STRIP
 
880
install_sh
 
881
MAKEINFO
 
882
AUTOHEADER
 
883
AUTOMAKE
 
884
AUTOCONF
 
885
ACLOCAL
 
886
VERSION
 
887
PACKAGE
 
888
CYGPATH_W
 
889
INSTALL_DATA
 
890
INSTALL_SCRIPT
 
891
INSTALL_PROGRAM
 
892
target_alias
 
893
host_alias
 
894
build_alias
 
895
LIBS
 
896
ECHO_T
 
897
ECHO_N
 
898
ECHO_C
 
899
DEFS
 
900
mandir
 
901
localedir
 
902
libdir
 
903
psdir
 
904
pdfdir
 
905
dvidir
 
906
htmldir
 
907
infodir
 
908
docdir
 
909
oldincludedir
 
910
includedir
 
911
localstatedir
 
912
sharedstatedir
 
913
sysconfdir
 
914
datadir
 
915
datarootdir
 
916
libexecdir
 
917
sbindir
 
918
bindir
 
919
program_transform_name
 
920
prefix
 
921
exec_prefix
 
922
PACKAGE_BUGREPORT
 
923
PACKAGE_STRING
 
924
PACKAGE_VERSION
 
925
PACKAGE_TARNAME
 
926
PACKAGE_NAME
 
927
PATH_SEPARATOR
 
928
SHELL'
913
929
ac_subst_files=''
 
930
ac_user_opts='
 
931
enable_option_checking
 
932
enable_dependency_tracking
 
933
enable_static
 
934
enable_shared
 
935
with_pic
 
936
enable_fast_install
 
937
with_gnu_ld
 
938
enable_libtool_lock
 
939
enable_largefile
 
940
enable_nls
 
941
enable_rpath
 
942
with_libiconv_prefix
 
943
with_libintl_prefix
 
944
enable_shared_library
 
945
enable_plugins
 
946
enable_
 
947
enable_all
 
948
enable_libgcrypt
 
949
with_libgcrypt_prefix
 
950
enable_libdevmapper
 
951
'
914
952
      ac_precious_vars='build_alias
915
953
host_alias
916
954
target_alias
919
957
LDFLAGS
920
958
LIBS
921
959
CPPFLAGS
922
 
CPP
923
 
CXX
924
 
CXXFLAGS
925
 
CCC
926
 
CXXCPP
927
 
F77
928
 
FFLAGS'
 
960
CPP'
929
961
 
930
962
 
931
963
# Initialize some variables set by options.
932
964
ac_init_help=
933
965
ac_init_version=false
 
966
ac_unrecognized_opts=
 
967
ac_unrecognized_sep=
934
968
# The variables have the same names as the options, with
935
969
# dashes changed to underlines.
936
970
cache_file=/dev/null
1029
1063
    datarootdir=$ac_optarg ;;
1030
1064
 
1031
1065
  -disable-* | --disable-*)
1032
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1066
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033
1067
    # Reject names that are not valid shell variable names.
1034
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1035
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1068
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1069
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1036
1070
   { (exit 1); exit 1; }; }
1037
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1038
 
    eval enable_$ac_feature=no ;;
 
1071
    ac_useropt_orig=$ac_useropt
 
1072
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1073
    case $ac_user_opts in
 
1074
      *"
 
1075
"enable_$ac_useropt"
 
1076
"*) ;;
 
1077
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1078
         ac_unrecognized_sep=', ';;
 
1079
    esac
 
1080
    eval enable_$ac_useropt=no ;;
1039
1081
 
1040
1082
  -docdir | --docdir | --docdi | --doc | --do)
1041
1083
    ac_prev=docdir ;;
1048
1090
    dvidir=$ac_optarg ;;
1049
1091
 
1050
1092
  -enable-* | --enable-*)
1051
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1093
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052
1094
    # Reject names that are not valid shell variable names.
1053
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1095
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1096
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1055
1097
   { (exit 1); exit 1; }; }
1056
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1057
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1098
    ac_useropt_orig=$ac_useropt
 
1099
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1100
    case $ac_user_opts in
 
1101
      *"
 
1102
"enable_$ac_useropt"
 
1103
"*) ;;
 
1104
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1105
         ac_unrecognized_sep=', ';;
 
1106
    esac
 
1107
    eval enable_$ac_useropt=\$ac_optarg ;;
1058
1108
 
1059
1109
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1060
1110
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1245
1295
    ac_init_version=: ;;
1246
1296
 
1247
1297
  -with-* | --with-*)
1248
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1298
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1249
1299
    # Reject names that are not valid shell variable names.
1250
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1251
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1300
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1301
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1252
1302
   { (exit 1); exit 1; }; }
1253
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1254
 
    eval with_$ac_package=\$ac_optarg ;;
 
1303
    ac_useropt_orig=$ac_useropt
 
1304
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1305
    case $ac_user_opts in
 
1306
      *"
 
1307
"with_$ac_useropt"
 
1308
"*) ;;
 
1309
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1310
         ac_unrecognized_sep=', ';;
 
1311
    esac
 
1312
    eval with_$ac_useropt=\$ac_optarg ;;
1255
1313
 
1256
1314
  -without-* | --without-*)
1257
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1315
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1258
1316
    # Reject names that are not valid shell variable names.
1259
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1260
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1317
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1318
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1261
1319
   { (exit 1); exit 1; }; }
1262
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1263
 
    eval with_$ac_package=no ;;
 
1320
    ac_useropt_orig=$ac_useropt
 
1321
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1322
    case $ac_user_opts in
 
1323
      *"
 
1324
"with_$ac_useropt"
 
1325
"*) ;;
 
1326
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1327
         ac_unrecognized_sep=', ';;
 
1328
    esac
 
1329
    eval with_$ac_useropt=no ;;
1264
1330
 
1265
1331
  --x)
1266
1332
    # Obsolete; use --with-x.
1280
1346
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1281
1347
    x_libraries=$ac_optarg ;;
1282
1348
 
1283
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1349
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1284
1350
Try \`$0 --help' for more information." >&2
1285
1351
   { (exit 1); exit 1; }; }
1286
1352
    ;;
1289
1355
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1290
1356
    # Reject names that are not valid shell variable names.
1291
1357
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1292
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1358
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1293
1359
   { (exit 1); exit 1; }; }
1294
1360
    eval $ac_envvar=\$ac_optarg
1295
1361
    export $ac_envvar ;;
1296
1362
 
1297
1363
  *)
1298
1364
    # FIXME: should be removed in autoconf 3.0.
1299
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1365
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1300
1366
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1301
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1367
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1302
1368
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1303
1369
    ;;
1304
1370
 
1307
1373
 
1308
1374
if test -n "$ac_prev"; then
1309
1375
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1310
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1376
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1311
1377
   { (exit 1); exit 1; }; }
1312
1378
fi
1313
1379
 
1314
 
# Be sure to have absolute directory names.
 
1380
if test -n "$ac_unrecognized_opts"; then
 
1381
  case $enable_option_checking in
 
1382
    no) ;;
 
1383
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1384
   { (exit 1); exit 1; }; } ;;
 
1385
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1386
  esac
 
1387
fi
 
1388
 
 
1389
# Check all directory arguments for consistency.
1315
1390
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316
1391
                datadir sysconfdir sharedstatedir localstatedir includedir \
1317
1392
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318
1393
                libdir localedir mandir
1319
1394
do
1320
1395
  eval ac_val=\$$ac_var
 
1396
  # Remove trailing slashes.
 
1397
  case $ac_val in
 
1398
    */ )
 
1399
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1400
      eval $ac_var=\$ac_val;;
 
1401
  esac
 
1402
  # Be sure to have absolute directory names.
1321
1403
  case $ac_val in
1322
1404
    [\\/$]* | ?:[\\/]* )  continue;;
1323
1405
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324
1406
  esac
1325
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1407
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1326
1408
   { (exit 1); exit 1; }; }
1327
1409
done
1328
1410
 
1337
1419
if test "x$host_alias" != x; then
1338
1420
  if test "x$build_alias" = x; then
1339
1421
    cross_compiling=maybe
1340
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1422
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341
1423
    If a cross compiler is detected then cross compile mode will be used." >&2
1342
1424
  elif test "x$build_alias" != "x$host_alias"; then
1343
1425
    cross_compiling=yes
1353
1435
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354
1436
ac_ls_di=`ls -di .` &&
1355
1437
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1438
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1357
1439
   { (exit 1); exit 1; }; }
1358
1440
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1441
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1360
1442
   { (exit 1); exit 1; }; }
1361
1443
 
1362
1444
 
1364
1446
if test -z "$srcdir"; then
1365
1447
  ac_srcdir_defaulted=yes
1366
1448
  # Try the directory containing this script, then the parent directory.
1367
 
  ac_confdir=`$as_dirname -- "$0" ||
1368
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1369
 
         X"$0" : 'X\(//\)[^/]' \| \
1370
 
         X"$0" : 'X\(//\)$' \| \
1371
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1372
 
echo X"$0" |
 
1449
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1450
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1451
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1452
         X"$as_myself" : 'X\(//\)$' \| \
 
1453
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1454
$as_echo X"$as_myself" |
1373
1455
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1374
1456
            s//\1/
1375
1457
            q
1396
1478
fi
1397
1479
if test ! -r "$srcdir/$ac_unique_file"; then
1398
1480
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1399
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1481
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1400
1482
   { (exit 1); exit 1; }; }
1401
1483
fi
1402
1484
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1403
1485
ac_abs_confdir=`(
1404
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1486
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1405
1487
   { (exit 1); exit 1; }; }
1406
1488
        pwd)`
1407
1489
# When building in place, set srcdir=.
1450
1532
 
1451
1533
Installation directories:
1452
1534
  --prefix=PREFIX         install architecture-independent files in PREFIX
1453
 
                          [$ac_default_prefix]
 
1535
                          [$ac_default_prefix]
1454
1536
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1455
 
                          [PREFIX]
 
1537
                          [PREFIX]
1456
1538
 
1457
1539
By default, \`make install' will install all the files in
1458
1540
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1462
1544
For better control, use the options below.
1463
1545
 
1464
1546
Fine tuning of the installation directories:
1465
 
  --bindir=DIR           user executables [EPREFIX/bin]
1466
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1467
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1468
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1469
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1470
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1471
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1472
 
  --includedir=DIR       C header files [PREFIX/include]
1473
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1474
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1475
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1476
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1477
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1478
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1479
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/cryptsetup]
1480
 
  --htmldir=DIR          html documentation [DOCDIR]
1481
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1482
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1483
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1547
  --bindir=DIR            user executables [EPREFIX/bin]
 
1548
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1549
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1550
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1551
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1552
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1553
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1554
  --includedir=DIR        C header files [PREFIX/include]
 
1555
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1556
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1557
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1558
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1559
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1560
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1561
  --docdir=DIR            documentation root [DATAROOTDIR/doc/cryptsetup]
 
1562
  --htmldir=DIR           html documentation [DOCDIR]
 
1563
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1564
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1565
  --psdir=DIR             ps documentation [DOCDIR]
1484
1566
_ACEOF
1485
1567
 
1486
1568
  cat <<\_ACEOF
1503
1585
  cat <<\_ACEOF
1504
1586
 
1505
1587
Optional Features:
 
1588
  --disable-option-checking  ignore unrecognized --enable/--with options
1506
1589
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1507
1590
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1508
1591
  --disable-dependency-tracking  speeds up one-time build
1530
1613
Optional Packages:
1531
1614
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1532
1615
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1533
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1534
1616
  --with-pic              try to use only PIC/non-PIC objects [default=use
1535
1617
                          both]
1536
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1618
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1537
1619
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1538
1620
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1539
1621
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1551
1633
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1552
1634
              you have headers in a nonstandard directory <include dir>
1553
1635
  CPP         C preprocessor
1554
 
  CXX         C++ compiler command
1555
 
  CXXFLAGS    C++ compiler flags
1556
 
  CXXCPP      C++ preprocessor
1557
 
  F77         Fortran 77 compiler command
1558
 
  FFLAGS      Fortran 77 compiler flags
1559
1636
 
1560
1637
Use these variables to override the choices made by `configure' or to help
1561
1638
it to find libraries and programs with nonstandard names/locations.
1567
1644
if test "$ac_init_help" = "recursive"; then
1568
1645
  # If there are subdirs, report their specific --help.
1569
1646
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1570
 
    test -d "$ac_dir" || continue
 
1647
    test -d "$ac_dir" ||
 
1648
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1649
      continue
1571
1650
    ac_builddir=.
1572
1651
 
1573
1652
case "$ac_dir" in
1574
1653
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575
1654
*)
1576
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1655
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577
1656
  # A ".." for each directory in $ac_dir_suffix.
1578
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1657
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579
1658
  case $ac_top_builddir_sub in
1580
1659
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581
1660
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611
1690
      echo &&
1612
1691
      $SHELL "$ac_srcdir/configure" --help=recursive
1613
1692
    else
1614
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1693
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615
1694
    fi || ac_status=$?
1616
1695
    cd "$ac_pwd" || { ac_status=$?; break; }
1617
1696
  done
1621
1700
if $ac_init_version; then
1622
1701
  cat <<\_ACEOF
1623
1702
cryptsetup configure 1.0.6
1624
 
generated by GNU Autoconf 2.61
 
1703
generated by GNU Autoconf 2.63
1625
1704
 
1626
1705
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1627
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1706
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1628
1707
This configure script is free software; the Free Software Foundation
1629
1708
gives unlimited permission to copy, distribute and modify it.
1630
1709
_ACEOF
1635
1714
running configure, to aid debugging if configure makes a mistake.
1636
1715
 
1637
1716
It was created by cryptsetup $as_me 1.0.6, which was
1638
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1717
generated by GNU Autoconf 2.63.  Invocation command line was
1639
1718
 
1640
1719
  $ $0 $@
1641
1720
 
1671
1750
do
1672
1751
  IFS=$as_save_IFS
1673
1752
  test -z "$as_dir" && as_dir=.
1674
 
  echo "PATH: $as_dir"
 
1753
  $as_echo "PATH: $as_dir"
1675
1754
done
1676
1755
IFS=$as_save_IFS
1677
1756
 
1706
1785
    | -silent | --silent | --silen | --sile | --sil)
1707
1786
      continue ;;
1708
1787
    *\'*)
1709
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1788
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1710
1789
    esac
1711
1790
    case $ac_pass in
1712
1791
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1758
1837
    case $ac_val in #(
1759
1838
    *${as_nl}*)
1760
1839
      case $ac_var in #(
1761
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1762
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1840
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1841
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1763
1842
      esac
1764
1843
      case $ac_var in #(
1765
1844
      _ | IFS | as_nl) ;; #(
 
1845
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1766
1846
      *) $as_unset $ac_var ;;
1767
1847
      esac ;;
1768
1848
    esac
1792
1872
    do
1793
1873
      eval ac_val=\$$ac_var
1794
1874
      case $ac_val in
1795
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1875
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1796
1876
      esac
1797
 
      echo "$ac_var='\''$ac_val'\''"
 
1877
      $as_echo "$ac_var='\''$ac_val'\''"
1798
1878
    done | sort
1799
1879
    echo
1800
1880
 
1809
1889
      do
1810
1890
        eval ac_val=\$$ac_var
1811
1891
        case $ac_val in
1812
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1892
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1813
1893
        esac
1814
 
        echo "$ac_var='\''$ac_val'\''"
 
1894
        $as_echo "$ac_var='\''$ac_val'\''"
1815
1895
      done | sort
1816
1896
      echo
1817
1897
    fi
1827
1907
      echo
1828
1908
    fi
1829
1909
    test "$ac_signal" != 0 &&
1830
 
      echo "$as_me: caught signal $ac_signal"
1831
 
    echo "$as_me: exit $exit_status"
 
1910
      $as_echo "$as_me: caught signal $ac_signal"
 
1911
    $as_echo "$as_me: exit $exit_status"
1832
1912
  } >&5
1833
1913
  rm -f core *.core core.conftest.* &&
1834
1914
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1870
1950
 
1871
1951
 
1872
1952
# Let the site file select an alternate cache file if it wants to.
1873
 
# Prefer explicitly selected file to automatically selected ones.
 
1953
# Prefer an explicitly selected file to automatically selected ones.
 
1954
ac_site_file1=NONE
 
1955
ac_site_file2=NONE
1874
1956
if test -n "$CONFIG_SITE"; then
1875
 
  set x "$CONFIG_SITE"
 
1957
  ac_site_file1=$CONFIG_SITE
1876
1958
elif test "x$prefix" != xNONE; then
1877
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1959
  ac_site_file1=$prefix/share/config.site
 
1960
  ac_site_file2=$prefix/etc/config.site
1878
1961
else
1879
 
  set x "$ac_default_prefix/share/config.site" \
1880
 
        "$ac_default_prefix/etc/config.site"
 
1962
  ac_site_file1=$ac_default_prefix/share/config.site
 
1963
  ac_site_file2=$ac_default_prefix/etc/config.site
1881
1964
fi
1882
 
shift
1883
 
for ac_site_file
 
1965
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1884
1966
do
 
1967
  test "x$ac_site_file" = xNONE && continue
1885
1968
  if test -r "$ac_site_file"; then
1886
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1887
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1969
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1970
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1888
1971
    sed 's/^/| /' "$ac_site_file" >&5
1889
1972
    . "$ac_site_file"
1890
1973
  fi
1894
1977
  # Some versions of bash will fail to source /dev/null (special
1895
1978
  # files actually), so we avoid doing that.
1896
1979
  if test -f "$cache_file"; then
1897
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1898
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1980
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1981
$as_echo "$as_me: loading cache $cache_file" >&6;}
1899
1982
    case $cache_file in
1900
1983
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1901
1984
      *)                      . "./$cache_file";;
1902
1985
    esac
1903
1986
  fi
1904
1987
else
1905
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1906
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1988
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1989
$as_echo "$as_me: creating cache $cache_file" >&6;}
1907
1990
  >$cache_file
1908
1991
fi
1909
1992
 
1917
2000
  eval ac_new_val=\$ac_env_${ac_var}_value
1918
2001
  case $ac_old_set,$ac_new_set in
1919
2002
    set,)
1920
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1921
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2003
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2004
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1922
2005
      ac_cache_corrupted=: ;;
1923
2006
    ,set)
1924
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1925
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2007
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2008
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1926
2009
      ac_cache_corrupted=: ;;
1927
2010
    ,);;
1928
2011
    *)
1929
2012
      if test "x$ac_old_val" != "x$ac_new_val"; then
1930
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1931
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1932
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1933
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1934
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1935
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1936
 
        ac_cache_corrupted=:
 
2013
        # differences in whitespace do not lead to failure.
 
2014
        ac_old_val_w=`echo x $ac_old_val`
 
2015
        ac_new_val_w=`echo x $ac_new_val`
 
2016
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2017
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2018
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2019
          ac_cache_corrupted=:
 
2020
        else
 
2021
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2022
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2023
          eval $ac_var=\$ac_old_val
 
2024
        fi
 
2025
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2026
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2027
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2028
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1937
2029
      fi;;
1938
2030
  esac
1939
2031
  # Pass precious variables to config.status.
1940
2032
  if test "$ac_new_set" = set; then
1941
2033
    case $ac_new_val in
1942
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2034
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1943
2035
    *) ac_arg=$ac_var=$ac_new_val ;;
1944
2036
    esac
1945
2037
    case " $ac_configure_args " in
1949
2041
  fi
1950
2042
done
1951
2043
if $ac_cache_corrupted; then
1952
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1953
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1954
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1955
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2044
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2045
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2046
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2047
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2048
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2049
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1956
2050
   { (exit 1); exit 1; }; }
1957
2051
fi
1958
2052
 
2009
2103
  fi
2010
2104
done
2011
2105
if test -z "$ac_aux_dir"; then
2012
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2013
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2106
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2107
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2014
2108
   { (exit 1); exit 1; }; }
2015
2109
fi
2016
2110
 
2036
2130
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2037
2131
# OS/2's system install, which has a completely different semantic
2038
2132
# ./install, which can be erroneously created by make from ./install.sh.
2039
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2040
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2133
# Reject install programs that cannot install multiple files.
 
2134
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2135
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2041
2136
if test -z "$INSTALL"; then
2042
2137
if test "${ac_cv_path_install+set}" = set; then
2043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2138
  $as_echo_n "(cached) " >&6
2044
2139
else
2045
2140
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046
2141
for as_dir in $PATH
2069
2164
            # program-specific install script used by HP pwplus--don't use.
2070
2165
            :
2071
2166
          else
2072
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2073
 
            break 3
 
2167
            rm -rf conftest.one conftest.two conftest.dir
 
2168
            echo one > conftest.one
 
2169
            echo two > conftest.two
 
2170
            mkdir conftest.dir
 
2171
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2172
              test -s conftest.one && test -s conftest.two &&
 
2173
              test -s conftest.dir/conftest.one &&
 
2174
              test -s conftest.dir/conftest.two
 
2175
            then
 
2176
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2177
              break 3
 
2178
            fi
2074
2179
          fi
2075
2180
        fi
2076
2181
      done
2077
2182
    done
2078
2183
    ;;
2079
2184
esac
 
2185
 
2080
2186
done
2081
2187
IFS=$as_save_IFS
2082
2188
 
 
2189
rm -rf conftest.one conftest.two conftest.dir
2083
2190
 
2084
2191
fi
2085
2192
  if test "${ac_cv_path_install+set}" = set; then
2092
2199
    INSTALL=$ac_install_sh
2093
2200
  fi
2094
2201
fi
2095
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2096
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2202
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2203
$as_echo "$INSTALL" >&6; }
2097
2204
 
2098
2205
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2099
2206
# It thinks the first close brace ends the variable substitution.
2103
2210
 
2104
2211
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2105
2212
 
2106
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2107
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2213
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2214
$as_echo_n "checking whether build environment is sane... " >&6; }
2108
2215
# Just in case
2109
2216
sleep 1
2110
2217
echo timestamp > conftest.file
2127
2234
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2128
2235
      # broken ls alias from the environment.  This has actually
2129
2236
      # happened.  Such a system could not be considered "sane".
2130
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2237
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2131
2238
alias in your environment" >&5
2132
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2239
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2133
2240
alias in your environment" >&2;}
2134
2241
   { (exit 1); exit 1; }; }
2135
2242
   fi
2140
2247
   # Ok.
2141
2248
   :
2142
2249
else
2143
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2250
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2144
2251
Check your system clock" >&5
2145
 
echo "$as_me: error: newly created file is older than distributed files!
 
2252
$as_echo "$as_me: error: newly created file is older than distributed files!
2146
2253
Check your system clock" >&2;}
2147
2254
   { (exit 1); exit 1; }; }
2148
2255
fi
2149
 
{ echo "$as_me:$LINENO: result: yes" >&5
2150
 
echo "${ECHO_T}yes" >&6; }
 
2256
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2257
$as_echo "yes" >&6; }
2151
2258
test "$program_prefix" != NONE &&
2152
2259
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2153
2260
# Use a double $ so make ignores it.
2154
2261
test "$program_suffix" != NONE &&
2155
2262
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2156
 
# Double any \ or $.  echo might interpret backslashes.
 
2263
# Double any \ or $.
2157
2264
# By default was `s,x,x', remove it if useless.
2158
 
cat <<\_ACEOF >conftest.sed
2159
 
s/[\\$]/&&/g;s/;s,x,x,$//
2160
 
_ACEOF
2161
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2162
 
rm -f conftest.sed
 
2265
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2266
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2163
2267
 
2164
2268
# expand $ac_aux_dir to an absolute path
2165
2269
am_aux_dir=`cd $ac_aux_dir && pwd`
2170
2274
  am_missing_run="$MISSING --run "
2171
2275
else
2172
2276
  am_missing_run=
2173
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2174
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2277
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2278
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2175
2279
fi
2176
2280
 
2177
2281
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2211
2315
do
2212
2316
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2213
2317
set dummy $ac_prog; ac_word=$2
2214
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2215
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2318
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2319
$as_echo_n "checking for $ac_word... " >&6; }
2216
2320
if test "${ac_cv_prog_AWK+set}" = set; then
2217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2321
  $as_echo_n "(cached) " >&6
2218
2322
else
2219
2323
  if test -n "$AWK"; then
2220
2324
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2227
2331
  for ac_exec_ext in '' $ac_executable_extensions; do
2228
2332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229
2333
    ac_cv_prog_AWK="$ac_prog"
2230
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2334
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2231
2335
    break 2
2232
2336
  fi
2233
2337
done
2238
2342
fi
2239
2343
AWK=$ac_cv_prog_AWK
2240
2344
if test -n "$AWK"; then
2241
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2242
 
echo "${ECHO_T}$AWK" >&6; }
 
2345
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2346
$as_echo "$AWK" >&6; }
2243
2347
else
2244
 
  { echo "$as_me:$LINENO: result: no" >&5
2245
 
echo "${ECHO_T}no" >&6; }
 
2348
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2349
$as_echo "no" >&6; }
2246
2350
fi
2247
2351
 
2248
2352
 
2249
2353
  test -n "$AWK" && break
2250
2354
done
2251
2355
 
2252
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2253
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2254
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2356
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2357
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2358
set x ${MAKE-make}
 
2359
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2255
2360
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2256
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2361
  $as_echo_n "(cached) " >&6
2257
2362
else
2258
2363
  cat >conftest.make <<\_ACEOF
2259
2364
SHELL = /bin/sh
2270
2375
rm -f conftest.make
2271
2376
fi
2272
2377
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2273
 
  { echo "$as_me:$LINENO: result: yes" >&5
2274
 
echo "${ECHO_T}yes" >&6; }
 
2378
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2379
$as_echo "yes" >&6; }
2275
2380
  SET_MAKE=
2276
2381
else
2277
 
  { echo "$as_me:$LINENO: result: no" >&5
2278
 
echo "${ECHO_T}no" >&6; }
 
2382
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2383
$as_echo "no" >&6; }
2279
2384
  SET_MAKE="MAKE=${MAKE-make}"
2280
2385
fi
2281
2386
 
2291
2396
# test to see if srcdir already configured
2292
2397
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2293
2398
   test -f $srcdir/config.status; then
2294
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2295
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2399
  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2400
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2296
2401
   { (exit 1); exit 1; }; }
2297
2402
fi
2298
2403
 
2346
2451
  if test -n "$ac_tool_prefix"; then
2347
2452
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2348
2453
set dummy ${ac_tool_prefix}strip; ac_word=$2
2349
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2350
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2454
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2455
$as_echo_n "checking for $ac_word... " >&6; }
2351
2456
if test "${ac_cv_prog_STRIP+set}" = set; then
2352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2457
  $as_echo_n "(cached) " >&6
2353
2458
else
2354
2459
  if test -n "$STRIP"; then
2355
2460
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2362
2467
  for ac_exec_ext in '' $ac_executable_extensions; do
2363
2468
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2364
2469
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2365
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2470
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2366
2471
    break 2
2367
2472
  fi
2368
2473
done
2373
2478
fi
2374
2479
STRIP=$ac_cv_prog_STRIP
2375
2480
if test -n "$STRIP"; then
2376
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2377
 
echo "${ECHO_T}$STRIP" >&6; }
 
2481
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2482
$as_echo "$STRIP" >&6; }
2378
2483
else
2379
 
  { echo "$as_me:$LINENO: result: no" >&5
2380
 
echo "${ECHO_T}no" >&6; }
 
2484
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2485
$as_echo "no" >&6; }
2381
2486
fi
2382
2487
 
2383
2488
 
2386
2491
  ac_ct_STRIP=$STRIP
2387
2492
  # Extract the first word of "strip", so it can be a program name with args.
2388
2493
set dummy strip; ac_word=$2
2389
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2390
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2494
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2495
$as_echo_n "checking for $ac_word... " >&6; }
2391
2496
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2497
  $as_echo_n "(cached) " >&6
2393
2498
else
2394
2499
  if test -n "$ac_ct_STRIP"; then
2395
2500
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2402
2507
  for ac_exec_ext in '' $ac_executable_extensions; do
2403
2508
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404
2509
    ac_cv_prog_ac_ct_STRIP="strip"
2405
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2510
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406
2511
    break 2
2407
2512
  fi
2408
2513
done
2413
2518
fi
2414
2519
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2415
2520
if test -n "$ac_ct_STRIP"; then
2416
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2417
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2521
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2522
$as_echo "$ac_ct_STRIP" >&6; }
2418
2523
else
2419
 
  { echo "$as_me:$LINENO: result: no" >&5
2420
 
echo "${ECHO_T}no" >&6; }
 
2524
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2525
$as_echo "no" >&6; }
2421
2526
fi
2422
2527
 
2423
2528
  if test "x$ac_ct_STRIP" = x; then
2425
2530
  else
2426
2531
    case $cross_compiling:$ac_tool_warned in
2427
2532
yes:)
2428
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2429
 
whose name does not start with the host triplet.  If you think this
2430
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2431
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2432
 
whose name does not start with the host triplet.  If you think this
2433
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2533
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2534
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2434
2535
ac_tool_warned=yes ;;
2435
2536
esac
2436
2537
    STRIP=$ac_ct_STRIP
2462
2563
 
2463
2564
# Make sure we can run config.sub.
2464
2565
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2465
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2466
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2566
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2567
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2467
2568
   { (exit 1); exit 1; }; }
2468
2569
 
2469
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2470
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
2570
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2571
$as_echo_n "checking build system type... " >&6; }
2471
2572
if test "${ac_cv_build+set}" = set; then
2472
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2573
  $as_echo_n "(cached) " >&6
2473
2574
else
2474
2575
  ac_build_alias=$build_alias
2475
2576
test "x$ac_build_alias" = x &&
2476
2577
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2477
2578
test "x$ac_build_alias" = x &&
2478
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2479
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2579
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2580
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2480
2581
   { (exit 1); exit 1; }; }
2481
2582
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2482
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2483
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2583
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2584
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2484
2585
   { (exit 1); exit 1; }; }
2485
2586
 
2486
2587
fi
2487
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2488
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2588
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2589
$as_echo "$ac_cv_build" >&6; }
2489
2590
case $ac_cv_build in
2490
2591
*-*-*) ;;
2491
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2492
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2592
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2593
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2493
2594
   { (exit 1); exit 1; }; };;
2494
2595
esac
2495
2596
build=$ac_cv_build
2506
2607
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2507
2608
 
2508
2609
 
2509
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2510
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
2610
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2611
$as_echo_n "checking host system type... " >&6; }
2511
2612
if test "${ac_cv_host+set}" = set; then
2512
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2613
  $as_echo_n "(cached) " >&6
2513
2614
else
2514
2615
  if test "x$host_alias" = x; then
2515
2616
  ac_cv_host=$ac_cv_build
2516
2617
else
2517
2618
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2518
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2519
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2619
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2620
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2520
2621
   { (exit 1); exit 1; }; }
2521
2622
fi
2522
2623
 
2523
2624
fi
2524
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2525
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2625
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2626
$as_echo "$ac_cv_host" >&6; }
2526
2627
case $ac_cv_host in
2527
2628
*-*-*) ;;
2528
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2529
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2629
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2630
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2530
2631
   { (exit 1); exit 1; }; };;
2531
2632
esac
2532
2633
host=$ac_cv_host
2543
2644
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2544
2645
 
2545
2646
 
2546
 
 
2547
 
cat >>confdefs.h <<\_ACEOF
2548
 
#define _GNU_SOURCE 1
2549
 
_ACEOF
 
2647
DEPDIR="${am__leading_dot}deps"
 
2648
 
 
2649
ac_config_commands="$ac_config_commands depfiles"
 
2650
 
 
2651
 
 
2652
am_make=${MAKE-make}
 
2653
cat > confinc << 'END'
 
2654
am__doit:
 
2655
        @echo done
 
2656
.PHONY: am__doit
 
2657
END
 
2658
# If we don't find an include directive, just comment out the code.
 
2659
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2660
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2661
am__include="#"
 
2662
am__quote=
 
2663
_am_result=none
 
2664
# First try GNU make style include.
 
2665
echo "include confinc" > confmf
 
2666
# We grep out `Entering directory' and `Leaving directory'
 
2667
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2668
# In particular we don't look at `^make:' because GNU make might
 
2669
# be invoked under some other name (usually "gmake"), in which
 
2670
# case it prints its new name instead of `make'.
 
2671
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2672
   am__include=include
 
2673
   am__quote=
 
2674
   _am_result=GNU
 
2675
fi
 
2676
# Now try BSD make style include.
 
2677
if test "$am__include" = "#"; then
 
2678
   echo '.include "confinc"' > confmf
 
2679
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2680
      am__include=.include
 
2681
      am__quote="\""
 
2682
      _am_result=BSD
 
2683
   fi
 
2684
fi
 
2685
 
 
2686
 
 
2687
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2688
$as_echo "$_am_result" >&6; }
 
2689
rm -f confinc confmf
 
2690
 
 
2691
# Check whether --enable-dependency-tracking was given.
 
2692
if test "${enable_dependency_tracking+set}" = set; then
 
2693
  enableval=$enable_dependency_tracking;
 
2694
fi
 
2695
 
 
2696
if test "x$enable_dependency_tracking" != xno; then
 
2697
  am_depcomp="$ac_aux_dir/depcomp"
 
2698
  AMDEPBACKSLASH='\'
 
2699
fi
 
2700
 
 
2701
 
 
2702
if test "x$enable_dependency_tracking" != xno; then
 
2703
  AMDEP_TRUE=
 
2704
  AMDEP_FALSE='#'
 
2705
else
 
2706
  AMDEP_TRUE='#'
 
2707
  AMDEP_FALSE=
 
2708
fi
 
2709
 
2550
2710
 
2551
2711
 
2552
2712
ac_ext=c
2557
2717
if test -n "$ac_tool_prefix"; then
2558
2718
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2559
2719
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2560
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2561
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2720
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2721
$as_echo_n "checking for $ac_word... " >&6; }
2562
2722
if test "${ac_cv_prog_CC+set}" = set; then
2563
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2723
  $as_echo_n "(cached) " >&6
2564
2724
else
2565
2725
  if test -n "$CC"; then
2566
2726
  ac_cv_prog_CC="$CC" # Let the user override the test.
2573
2733
  for ac_exec_ext in '' $ac_executable_extensions; do
2574
2734
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575
2735
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2576
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2736
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577
2737
    break 2
2578
2738
  fi
2579
2739
done
2584
2744
fi
2585
2745
CC=$ac_cv_prog_CC
2586
2746
if test -n "$CC"; then
2587
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2588
 
echo "${ECHO_T}$CC" >&6; }
 
2747
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2748
$as_echo "$CC" >&6; }
2589
2749
else
2590
 
  { echo "$as_me:$LINENO: result: no" >&5
2591
 
echo "${ECHO_T}no" >&6; }
 
2750
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2751
$as_echo "no" >&6; }
2592
2752
fi
2593
2753
 
2594
2754
 
2597
2757
  ac_ct_CC=$CC
2598
2758
  # Extract the first word of "gcc", so it can be a program name with args.
2599
2759
set dummy gcc; ac_word=$2
2600
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2601
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2760
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2761
$as_echo_n "checking for $ac_word... " >&6; }
2602
2762
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2603
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2763
  $as_echo_n "(cached) " >&6
2604
2764
else
2605
2765
  if test -n "$ac_ct_CC"; then
2606
2766
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2613
2773
  for ac_exec_ext in '' $ac_executable_extensions; do
2614
2774
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615
2775
    ac_cv_prog_ac_ct_CC="gcc"
2616
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2776
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2617
2777
    break 2
2618
2778
  fi
2619
2779
done
2624
2784
fi
2625
2785
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2626
2786
if test -n "$ac_ct_CC"; then
2627
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2628
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2787
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2788
$as_echo "$ac_ct_CC" >&6; }
2629
2789
else
2630
 
  { echo "$as_me:$LINENO: result: no" >&5
2631
 
echo "${ECHO_T}no" >&6; }
 
2790
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2791
$as_echo "no" >&6; }
2632
2792
fi
2633
2793
 
2634
2794
  if test "x$ac_ct_CC" = x; then
2636
2796
  else
2637
2797
    case $cross_compiling:$ac_tool_warned in
2638
2798
yes:)
2639
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2640
 
whose name does not start with the host triplet.  If you think this
2641
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2642
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2643
 
whose name does not start with the host triplet.  If you think this
2644
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2799
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2800
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645
2801
ac_tool_warned=yes ;;
2646
2802
esac
2647
2803
    CC=$ac_ct_CC
2654
2810
          if test -n "$ac_tool_prefix"; then
2655
2811
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2656
2812
set dummy ${ac_tool_prefix}cc; ac_word=$2
2657
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2658
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2813
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2814
$as_echo_n "checking for $ac_word... " >&6; }
2659
2815
if test "${ac_cv_prog_CC+set}" = set; then
2660
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2816
  $as_echo_n "(cached) " >&6
2661
2817
else
2662
2818
  if test -n "$CC"; then
2663
2819
  ac_cv_prog_CC="$CC" # Let the user override the test.
2670
2826
  for ac_exec_ext in '' $ac_executable_extensions; do
2671
2827
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672
2828
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2673
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2829
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674
2830
    break 2
2675
2831
  fi
2676
2832
done
2681
2837
fi
2682
2838
CC=$ac_cv_prog_CC
2683
2839
if test -n "$CC"; then
2684
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2685
 
echo "${ECHO_T}$CC" >&6; }
 
2840
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2841
$as_echo "$CC" >&6; }
2686
2842
else
2687
 
  { echo "$as_me:$LINENO: result: no" >&5
2688
 
echo "${ECHO_T}no" >&6; }
 
2843
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2844
$as_echo "no" >&6; }
2689
2845
fi
2690
2846
 
2691
2847
 
2694
2850
if test -z "$CC"; then
2695
2851
  # Extract the first word of "cc", so it can be a program name with args.
2696
2852
set dummy cc; ac_word=$2
2697
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2698
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2853
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2854
$as_echo_n "checking for $ac_word... " >&6; }
2699
2855
if test "${ac_cv_prog_CC+set}" = set; then
2700
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2856
  $as_echo_n "(cached) " >&6
2701
2857
else
2702
2858
  if test -n "$CC"; then
2703
2859
  ac_cv_prog_CC="$CC" # Let the user override the test.
2715
2871
       continue
2716
2872
     fi
2717
2873
    ac_cv_prog_CC="cc"
2718
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2874
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2719
2875
    break 2
2720
2876
  fi
2721
2877
done
2738
2894
fi
2739
2895
CC=$ac_cv_prog_CC
2740
2896
if test -n "$CC"; then
2741
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2742
 
echo "${ECHO_T}$CC" >&6; }
 
2897
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2898
$as_echo "$CC" >&6; }
2743
2899
else
2744
 
  { echo "$as_me:$LINENO: result: no" >&5
2745
 
echo "${ECHO_T}no" >&6; }
 
2900
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2901
$as_echo "no" >&6; }
2746
2902
fi
2747
2903
 
2748
2904
 
2753
2909
  do
2754
2910
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2755
2911
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2756
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2757
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2912
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2913
$as_echo_n "checking for $ac_word... " >&6; }
2758
2914
if test "${ac_cv_prog_CC+set}" = set; then
2759
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2915
  $as_echo_n "(cached) " >&6
2760
2916
else
2761
2917
  if test -n "$CC"; then
2762
2918
  ac_cv_prog_CC="$CC" # Let the user override the test.
2769
2925
  for ac_exec_ext in '' $ac_executable_extensions; do
2770
2926
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771
2927
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2772
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2928
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2773
2929
    break 2
2774
2930
  fi
2775
2931
done
2780
2936
fi
2781
2937
CC=$ac_cv_prog_CC
2782
2938
if test -n "$CC"; then
2783
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2784
 
echo "${ECHO_T}$CC" >&6; }
 
2939
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2940
$as_echo "$CC" >&6; }
2785
2941
else
2786
 
  { echo "$as_me:$LINENO: result: no" >&5
2787
 
echo "${ECHO_T}no" >&6; }
 
2942
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2943
$as_echo "no" >&6; }
2788
2944
fi
2789
2945
 
2790
2946
 
2797
2953
do
2798
2954
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2799
2955
set dummy $ac_prog; ac_word=$2
2800
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2801
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2956
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2957
$as_echo_n "checking for $ac_word... " >&6; }
2802
2958
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2959
  $as_echo_n "(cached) " >&6
2804
2960
else
2805
2961
  if test -n "$ac_ct_CC"; then
2806
2962
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2813
2969
  for ac_exec_ext in '' $ac_executable_extensions; do
2814
2970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815
2971
    ac_cv_prog_ac_ct_CC="$ac_prog"
2816
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2972
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2817
2973
    break 2
2818
2974
  fi
2819
2975
done
2824
2980
fi
2825
2981
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2826
2982
if test -n "$ac_ct_CC"; then
2827
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2828
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2983
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2984
$as_echo "$ac_ct_CC" >&6; }
2829
2985
else
2830
 
  { echo "$as_me:$LINENO: result: no" >&5
2831
 
echo "${ECHO_T}no" >&6; }
 
2986
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2987
$as_echo "no" >&6; }
2832
2988
fi
2833
2989
 
2834
2990
 
2840
2996
  else
2841
2997
    case $cross_compiling:$ac_tool_warned in
2842
2998
yes:)
2843
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2844
 
whose name does not start with the host triplet.  If you think this
2845
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2846
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2847
 
whose name does not start with the host triplet.  If you think this
2848
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2999
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2849
3001
ac_tool_warned=yes ;;
2850
3002
esac
2851
3003
    CC=$ac_ct_CC
2855
3007
fi
2856
3008
 
2857
3009
 
2858
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3010
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3011
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3012
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2859
3013
See \`config.log' for more details." >&5
2860
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3014
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2861
3015
See \`config.log' for more details." >&2;}
2862
 
   { (exit 1); exit 1; }; }
 
3016
   { (exit 1); exit 1; }; }; }
2863
3017
 
2864
3018
# Provide some information about the compiler.
2865
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2866
 
ac_compiler=`set X $ac_compile; echo $2`
 
3019
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3020
set X $ac_compile
 
3021
ac_compiler=$2
2867
3022
{ (ac_try="$ac_compiler --version >&5"
2868
3023
case "(($ac_try" in
2869
3024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870
3025
  *) ac_try_echo=$ac_try;;
2871
3026
esac
2872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3027
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3028
$as_echo "$ac_try_echo") >&5
2873
3029
  (eval "$ac_compiler --version >&5") 2>&5
2874
3030
  ac_status=$?
2875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3031
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
3032
  (exit $ac_status); }
2877
3033
{ (ac_try="$ac_compiler -v >&5"
2878
3034
case "(($ac_try" in
2879
3035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880
3036
  *) ac_try_echo=$ac_try;;
2881
3037
esac
2882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3038
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3039
$as_echo "$ac_try_echo") >&5
2883
3040
  (eval "$ac_compiler -v >&5") 2>&5
2884
3041
  ac_status=$?
2885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3042
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886
3043
  (exit $ac_status); }
2887
3044
{ (ac_try="$ac_compiler -V >&5"
2888
3045
case "(($ac_try" in
2889
3046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890
3047
  *) ac_try_echo=$ac_try;;
2891
3048
esac
2892
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3050
$as_echo "$ac_try_echo") >&5
2893
3051
  (eval "$ac_compiler -V >&5") 2>&5
2894
3052
  ac_status=$?
2895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3053
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896
3054
  (exit $ac_status); }
2897
3055
 
2898
3056
cat >conftest.$ac_ext <<_ACEOF
2911
3069
}
2912
3070
_ACEOF
2913
3071
ac_clean_files_save=$ac_clean_files
2914
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3072
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2915
3073
# Try to create an executable without -o first, disregard a.out.
2916
3074
# It will help us diagnose broken compilers, and finding out an intuition
2917
3075
# of exeext.
2918
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2919
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2920
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2921
 
#
2922
 
# List of possible output files, starting from the most likely.
2923
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2924
 
# only as a last resort.  b.out is created by i960 compilers.
2925
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2926
 
#
2927
 
# The IRIX 6 linker writes into existing files which may not be
2928
 
# executable, retaining their permissions.  Remove them first so a
2929
 
# subsequent execution test works.
 
3076
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3077
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3078
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3079
 
 
3080
# The possible output files:
 
3081
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3082
 
2930
3083
ac_rmfiles=
2931
3084
for ac_file in $ac_files
2932
3085
do
2933
3086
  case $ac_file in
2934
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3087
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2935
3088
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2936
3089
  esac
2937
3090
done
2942
3095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943
3096
  *) ac_try_echo=$ac_try;;
2944
3097
esac
2945
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3098
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3099
$as_echo "$ac_try_echo") >&5
2946
3100
  (eval "$ac_link_default") 2>&5
2947
3101
  ac_status=$?
2948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3102
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949
3103
  (exit $ac_status); }; then
2950
3104
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2951
3105
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2956
3110
do
2957
3111
  test -f "$ac_file" || continue
2958
3112
  case $ac_file in
2959
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3113
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2960
3114
        ;;
2961
3115
    [ab].out )
2962
3116
        # We found the default executable, but exeext='' is most
2983
3137
  ac_file=''
2984
3138
fi
2985
3139
 
2986
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2987
 
echo "${ECHO_T}$ac_file" >&6; }
 
3140
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3141
$as_echo "$ac_file" >&6; }
2988
3142
if test -z "$ac_file"; then
2989
 
  echo "$as_me: failed program was:" >&5
 
3143
  $as_echo "$as_me: failed program was:" >&5
2990
3144
sed 's/^/| /' conftest.$ac_ext >&5
2991
3145
 
2992
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3146
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3147
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3148
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2993
3149
See \`config.log' for more details." >&5
2994
 
echo "$as_me: error: C compiler cannot create executables
 
3150
$as_echo "$as_me: error: C compiler cannot create executables
2995
3151
See \`config.log' for more details." >&2;}
2996
 
   { (exit 77); exit 77; }; }
 
3152
   { (exit 77); exit 77; }; }; }
2997
3153
fi
2998
3154
 
2999
3155
ac_exeext=$ac_cv_exeext
3000
3156
 
3001
3157
# Check that the compiler produces executables we can run.  If not, either
3002
3158
# the compiler is broken, or we cross compile.
3003
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3004
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3159
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3160
$as_echo_n "checking whether the C compiler works... " >&6; }
3005
3161
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3006
3162
# If not cross compiling, check that we can run a simple program.
3007
3163
if test "$cross_compiling" != yes; then
3010
3166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011
3167
  *) ac_try_echo=$ac_try;;
3012
3168
esac
3013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3169
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3170
$as_echo "$ac_try_echo") >&5
3014
3171
  (eval "$ac_try") 2>&5
3015
3172
  ac_status=$?
3016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3173
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017
3174
  (exit $ac_status); }; }; then
3018
3175
    cross_compiling=no
3019
3176
  else
3020
3177
    if test "$cross_compiling" = maybe; then
3021
3178
        cross_compiling=yes
3022
3179
    else
3023
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3180
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3181
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3182
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3024
3183
If you meant to cross compile, use \`--host'.
3025
3184
See \`config.log' for more details." >&5
3026
 
echo "$as_me: error: cannot run C compiled programs.
 
3185
$as_echo "$as_me: error: cannot run C compiled programs.
3027
3186
If you meant to cross compile, use \`--host'.
3028
3187
See \`config.log' for more details." >&2;}
3029
 
   { (exit 1); exit 1; }; }
 
3188
   { (exit 1); exit 1; }; }; }
3030
3189
    fi
3031
3190
  fi
3032
3191
fi
3033
 
{ echo "$as_me:$LINENO: result: yes" >&5
3034
 
echo "${ECHO_T}yes" >&6; }
 
3192
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3193
$as_echo "yes" >&6; }
3035
3194
 
3036
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3195
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3037
3196
ac_clean_files=$ac_clean_files_save
3038
3197
# Check that the compiler produces executables we can run.  If not, either
3039
3198
# the compiler is broken, or we cross compile.
3040
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3041
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3042
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3043
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3199
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3200
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3201
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3202
$as_echo "$cross_compiling" >&6; }
3044
3203
 
3045
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3046
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3204
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3205
$as_echo_n "checking for suffix of executables... " >&6; }
3047
3206
if { (ac_try="$ac_link"
3048
3207
case "(($ac_try" in
3049
3208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050
3209
  *) ac_try_echo=$ac_try;;
3051
3210
esac
3052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3211
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3212
$as_echo "$ac_try_echo") >&5
3053
3213
  (eval "$ac_link") 2>&5
3054
3214
  ac_status=$?
3055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3215
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056
3216
  (exit $ac_status); }; then
3057
3217
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3058
3218
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3061
3221
for ac_file in conftest.exe conftest conftest.*; do
3062
3222
  test -f "$ac_file" || continue
3063
3223
  case $ac_file in
3064
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3224
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3065
3225
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3066
3226
          break;;
3067
3227
    * ) break;;
3068
3228
  esac
3069
3229
done
3070
3230
else
3071
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3231
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3232
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3233
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3072
3234
See \`config.log' for more details." >&5
3073
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3235
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3074
3236
See \`config.log' for more details." >&2;}
3075
 
   { (exit 1); exit 1; }; }
 
3237
   { (exit 1); exit 1; }; }; }
3076
3238
fi
3077
3239
 
3078
3240
rm -f conftest$ac_cv_exeext
3079
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3080
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3241
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3242
$as_echo "$ac_cv_exeext" >&6; }
3081
3243
 
3082
3244
rm -f conftest.$ac_ext
3083
3245
EXEEXT=$ac_cv_exeext
3084
3246
ac_exeext=$EXEEXT
3085
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3086
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3247
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3248
$as_echo_n "checking for suffix of object files... " >&6; }
3087
3249
if test "${ac_cv_objext+set}" = set; then
3088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3250
  $as_echo_n "(cached) " >&6
3089
3251
else
3090
3252
  cat >conftest.$ac_ext <<_ACEOF
3091
3253
/* confdefs.h.  */
3108
3270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109
3271
  *) ac_try_echo=$ac_try;;
3110
3272
esac
3111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3273
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3274
$as_echo "$ac_try_echo") >&5
3112
3275
  (eval "$ac_compile") 2>&5
3113
3276
  ac_status=$?
3114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3277
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115
3278
  (exit $ac_status); }; then
3116
3279
  for ac_file in conftest.o conftest.obj conftest.*; do
3117
3280
  test -f "$ac_file" || continue;
3118
3281
  case $ac_file in
3119
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3282
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3120
3283
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3121
3284
       break;;
3122
3285
  esac
3123
3286
done
3124
3287
else
3125
 
  echo "$as_me: failed program was:" >&5
 
3288
  $as_echo "$as_me: failed program was:" >&5
3126
3289
sed 's/^/| /' conftest.$ac_ext >&5
3127
3290
 
3128
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3291
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3292
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3293
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3129
3294
See \`config.log' for more details." >&5
3130
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3295
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3131
3296
See \`config.log' for more details." >&2;}
3132
 
   { (exit 1); exit 1; }; }
 
3297
   { (exit 1); exit 1; }; }; }
3133
3298
fi
3134
3299
 
3135
3300
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3136
3301
fi
3137
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3138
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3302
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3303
$as_echo "$ac_cv_objext" >&6; }
3139
3304
OBJEXT=$ac_cv_objext
3140
3305
ac_objext=$OBJEXT
3141
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3142
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3306
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3307
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3143
3308
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3309
  $as_echo_n "(cached) " >&6
3145
3310
else
3146
3311
  cat >conftest.$ac_ext <<_ACEOF
3147
3312
/* confdefs.h.  */
3167
3332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168
3333
  *) ac_try_echo=$ac_try;;
3169
3334
esac
3170
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3335
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3336
$as_echo "$ac_try_echo") >&5
3171
3337
  (eval "$ac_compile") 2>conftest.er1
3172
3338
  ac_status=$?
3173
3339
  grep -v '^ *+' conftest.er1 >conftest.err
3174
3340
  rm -f conftest.er1
3175
3341
  cat conftest.err >&5
3176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3342
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177
3343
  (exit $ac_status); } && {
3178
3344
         test -z "$ac_c_werror_flag" ||
3179
3345
         test ! -s conftest.err
3180
3346
       } && test -s conftest.$ac_objext; then
3181
3347
  ac_compiler_gnu=yes
3182
3348
else
3183
 
  echo "$as_me: failed program was:" >&5
 
3349
  $as_echo "$as_me: failed program was:" >&5
3184
3350
sed 's/^/| /' conftest.$ac_ext >&5
3185
3351
 
3186
3352
        ac_compiler_gnu=no
3190
3356
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3191
3357
 
3192
3358
fi
3193
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3194
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3195
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3359
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3360
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3361
if test $ac_compiler_gnu = yes; then
 
3362
  GCC=yes
 
3363
else
 
3364
  GCC=
 
3365
fi
3196
3366
ac_test_CFLAGS=${CFLAGS+set}
3197
3367
ac_save_CFLAGS=$CFLAGS
3198
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3199
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3368
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3369
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3200
3370
if test "${ac_cv_prog_cc_g+set}" = set; then
3201
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3371
  $as_echo_n "(cached) " >&6
3202
3372
else
3203
3373
  ac_save_c_werror_flag=$ac_c_werror_flag
3204
3374
   ac_c_werror_flag=yes
3225
3395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226
3396
  *) ac_try_echo=$ac_try;;
3227
3397
esac
3228
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3398
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3399
$as_echo "$ac_try_echo") >&5
3229
3400
  (eval "$ac_compile") 2>conftest.er1
3230
3401
  ac_status=$?
3231
3402
  grep -v '^ *+' conftest.er1 >conftest.err
3232
3403
  rm -f conftest.er1
3233
3404
  cat conftest.err >&5
3234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235
3406
  (exit $ac_status); } && {
3236
3407
         test -z "$ac_c_werror_flag" ||
3237
3408
         test ! -s conftest.err
3238
3409
       } && test -s conftest.$ac_objext; then
3239
3410
  ac_cv_prog_cc_g=yes
3240
3411
else
3241
 
  echo "$as_me: failed program was:" >&5
 
3412
  $as_echo "$as_me: failed program was:" >&5
3242
3413
sed 's/^/| /' conftest.$ac_ext >&5
3243
3414
 
3244
3415
        CFLAGS=""
3263
3434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264
3435
  *) ac_try_echo=$ac_try;;
3265
3436
esac
3266
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3438
$as_echo "$ac_try_echo") >&5
3267
3439
  (eval "$ac_compile") 2>conftest.er1
3268
3440
  ac_status=$?
3269
3441
  grep -v '^ *+' conftest.er1 >conftest.err
3270
3442
  rm -f conftest.er1
3271
3443
  cat conftest.err >&5
3272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3444
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
3445
  (exit $ac_status); } && {
3274
3446
         test -z "$ac_c_werror_flag" ||
3275
3447
         test ! -s conftest.err
3276
3448
       } && test -s conftest.$ac_objext; then
3277
3449
  :
3278
3450
else
3279
 
  echo "$as_me: failed program was:" >&5
 
3451
  $as_echo "$as_me: failed program was:" >&5
3280
3452
sed 's/^/| /' conftest.$ac_ext >&5
3281
3453
 
3282
3454
        ac_c_werror_flag=$ac_save_c_werror_flag
3302
3474
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303
3475
  *) ac_try_echo=$ac_try;;
3304
3476
esac
3305
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3477
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3478
$as_echo "$ac_try_echo") >&5
3306
3479
  (eval "$ac_compile") 2>conftest.er1
3307
3480
  ac_status=$?
3308
3481
  grep -v '^ *+' conftest.er1 >conftest.err
3309
3482
  rm -f conftest.er1
3310
3483
  cat conftest.err >&5
3311
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3484
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312
3485
  (exit $ac_status); } && {
3313
3486
         test -z "$ac_c_werror_flag" ||
3314
3487
         test ! -s conftest.err
3315
3488
       } && test -s conftest.$ac_objext; then
3316
3489
  ac_cv_prog_cc_g=yes
3317
3490
else
3318
 
  echo "$as_me: failed program was:" >&5
 
3491
  $as_echo "$as_me: failed program was:" >&5
3319
3492
sed 's/^/| /' conftest.$ac_ext >&5
3320
3493
 
3321
3494
 
3330
3503
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331
3504
   ac_c_werror_flag=$ac_save_c_werror_flag
3332
3505
fi
3333
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3334
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3506
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3507
$as_echo "$ac_cv_prog_cc_g" >&6; }
3335
3508
if test "$ac_test_CFLAGS" = set; then
3336
3509
  CFLAGS=$ac_save_CFLAGS
3337
3510
elif test $ac_cv_prog_cc_g = yes; then
3347
3520
    CFLAGS=
3348
3521
  fi
3349
3522
fi
3350
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3351
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3523
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3524
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3352
3525
if test "${ac_cv_prog_cc_c89+set}" = set; then
3353
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3526
  $as_echo_n "(cached) " >&6
3354
3527
else
3355
3528
  ac_cv_prog_cc_c89=no
3356
3529
ac_save_CC=$CC
3421
3594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422
3595
  *) ac_try_echo=$ac_try;;
3423
3596
esac
3424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3597
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3598
$as_echo "$ac_try_echo") >&5
3425
3599
  (eval "$ac_compile") 2>conftest.er1
3426
3600
  ac_status=$?
3427
3601
  grep -v '^ *+' conftest.er1 >conftest.err
3428
3602
  rm -f conftest.er1
3429
3603
  cat conftest.err >&5
3430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3604
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431
3605
  (exit $ac_status); } && {
3432
3606
         test -z "$ac_c_werror_flag" ||
3433
3607
         test ! -s conftest.err
3434
3608
       } && test -s conftest.$ac_objext; then
3435
3609
  ac_cv_prog_cc_c89=$ac_arg
3436
3610
else
3437
 
  echo "$as_me: failed program was:" >&5
 
3611
  $as_echo "$as_me: failed program was:" >&5
3438
3612
sed 's/^/| /' conftest.$ac_ext >&5
3439
3613
 
3440
3614
 
3450
3624
# AC_CACHE_VAL
3451
3625
case "x$ac_cv_prog_cc_c89" in
3452
3626
  x)
3453
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3454
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3627
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3628
$as_echo "none needed" >&6; } ;;
3455
3629
  xno)
3456
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3457
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3630
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3631
$as_echo "unsupported" >&6; } ;;
3458
3632
  *)
3459
3633
    CC="$CC $ac_cv_prog_cc_c89"
3460
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3461
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3634
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3635
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3462
3636
esac
3463
3637
 
3464
3638
 
3467
3641
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468
3642
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469
3643
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470
 
DEPDIR="${am__leading_dot}deps"
3471
 
 
3472
 
ac_config_commands="$ac_config_commands depfiles"
3473
 
 
3474
 
 
3475
 
am_make=${MAKE-make}
3476
 
cat > confinc << 'END'
3477
 
am__doit:
3478
 
        @echo done
3479
 
.PHONY: am__doit
3480
 
END
3481
 
# If we don't find an include directive, just comment out the code.
3482
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3483
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3484
 
am__include="#"
3485
 
am__quote=
3486
 
_am_result=none
3487
 
# First try GNU make style include.
3488
 
echo "include confinc" > confmf
3489
 
# We grep out `Entering directory' and `Leaving directory'
3490
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3491
 
# In particular we don't look at `^make:' because GNU make might
3492
 
# be invoked under some other name (usually "gmake"), in which
3493
 
# case it prints its new name instead of `make'.
3494
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3495
 
   am__include=include
3496
 
   am__quote=
3497
 
   _am_result=GNU
3498
 
fi
3499
 
# Now try BSD make style include.
3500
 
if test "$am__include" = "#"; then
3501
 
   echo '.include "confinc"' > confmf
3502
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3503
 
      am__include=.include
3504
 
      am__quote="\""
3505
 
      _am_result=BSD
3506
 
   fi
3507
 
fi
3508
 
 
3509
 
 
3510
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3511
 
echo "${ECHO_T}$_am_result" >&6; }
3512
 
rm -f confinc confmf
3513
 
 
3514
 
# Check whether --enable-dependency-tracking was given.
3515
 
if test "${enable_dependency_tracking+set}" = set; then
3516
 
  enableval=$enable_dependency_tracking;
3517
 
fi
3518
 
 
3519
 
if test "x$enable_dependency_tracking" != xno; then
3520
 
  am_depcomp="$ac_aux_dir/depcomp"
3521
 
  AMDEPBACKSLASH='\'
3522
 
fi
3523
 
 
3524
 
 
3525
 
if test "x$enable_dependency_tracking" != xno; then
3526
 
  AMDEP_TRUE=
3527
 
  AMDEP_FALSE='#'
3528
 
else
3529
 
  AMDEP_TRUE='#'
3530
 
  AMDEP_FALSE=
3531
 
fi
3532
 
 
3533
 
 
3534
 
 
3535
3644
 
3536
3645
depcc="$CC"   am_compiler_list=
3537
3646
 
3538
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3539
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3647
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3648
$as_echo_n "checking dependency style of $depcc... " >&6; }
3540
3649
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3650
  $as_echo_n "(cached) " >&6
3542
3651
else
3543
3652
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3544
3653
  # We make a subdir and do the tests there.  Otherwise we can end up
3625
3734
fi
3626
3735
 
3627
3736
fi
3628
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3629
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3737
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3738
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3630
3739
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3631
3740
 
3632
3741
 
3642
3751
fi
3643
3752
 
3644
3753
 
 
3754
 
3645
3755
ac_ext=c
3646
3756
ac_cpp='$CPP $CPPFLAGS'
3647
3757
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648
3758
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649
3759
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3650
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3651
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3760
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3761
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3652
3762
# On Suns, sometimes $CPP names a directory.
3653
3763
if test -n "$CPP" && test -d "$CPP"; then
3654
3764
  CPP=
3655
3765
fi
3656
3766
if test -z "$CPP"; then
3657
3767
  if test "${ac_cv_prog_CPP+set}" = set; then
3658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3768
  $as_echo_n "(cached) " >&6
3659
3769
else
3660
3770
      # Double quotes because CPP needs to be expanded
3661
3771
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3687
3797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688
3798
  *) ac_try_echo=$ac_try;;
3689
3799
esac
3690
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3800
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3801
$as_echo "$ac_try_echo") >&5
3691
3802
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3692
3803
  ac_status=$?
3693
3804
  grep -v '^ *+' conftest.er1 >conftest.err
3694
3805
  rm -f conftest.er1
3695
3806
  cat conftest.err >&5
3696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3807
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697
3808
  (exit $ac_status); } >/dev/null && {
3698
3809
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3699
3810
         test ! -s conftest.err
3700
3811
       }; then
3701
3812
  :
3702
3813
else
3703
 
  echo "$as_me: failed program was:" >&5
 
3814
  $as_echo "$as_me: failed program was:" >&5
3704
3815
sed 's/^/| /' conftest.$ac_ext >&5
3705
3816
 
3706
3817
  # Broken: fails on valid input.
3724
3835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725
3836
  *) ac_try_echo=$ac_try;;
3726
3837
esac
3727
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3838
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3839
$as_echo "$ac_try_echo") >&5
3728
3840
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3729
3841
  ac_status=$?
3730
3842
  grep -v '^ *+' conftest.er1 >conftest.err
3731
3843
  rm -f conftest.er1
3732
3844
  cat conftest.err >&5
3733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3845
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734
3846
  (exit $ac_status); } >/dev/null && {
3735
3847
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3736
3848
         test ! -s conftest.err
3738
3850
  # Broken: success on invalid input.
3739
3851
continue
3740
3852
else
3741
 
  echo "$as_me: failed program was:" >&5
 
3853
  $as_echo "$as_me: failed program was:" >&5
3742
3854
sed 's/^/| /' conftest.$ac_ext >&5
3743
3855
 
3744
3856
  # Passes both tests.
3763
3875
else
3764
3876
  ac_cv_prog_CPP=$CPP
3765
3877
fi
3766
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3767
 
echo "${ECHO_T}$CPP" >&6; }
 
3878
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3879
$as_echo "$CPP" >&6; }
3768
3880
ac_preproc_ok=false
3769
3881
for ac_c_preproc_warn_flag in '' yes
3770
3882
do
3792
3904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793
3905
  *) ac_try_echo=$ac_try;;
3794
3906
esac
3795
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3907
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3908
$as_echo "$ac_try_echo") >&5
3796
3909
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797
3910
  ac_status=$?
3798
3911
  grep -v '^ *+' conftest.er1 >conftest.err
3799
3912
  rm -f conftest.er1
3800
3913
  cat conftest.err >&5
3801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3914
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802
3915
  (exit $ac_status); } >/dev/null && {
3803
3916
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804
3917
         test ! -s conftest.err
3805
3918
       }; then
3806
3919
  :
3807
3920
else
3808
 
  echo "$as_me: failed program was:" >&5
 
3921
  $as_echo "$as_me: failed program was:" >&5
3809
3922
sed 's/^/| /' conftest.$ac_ext >&5
3810
3923
 
3811
3924
  # Broken: fails on valid input.
3829
3942
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830
3943
  *) ac_try_echo=$ac_try;;
3831
3944
esac
3832
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3945
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3946
$as_echo "$ac_try_echo") >&5
3833
3947
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3834
3948
  ac_status=$?
3835
3949
  grep -v '^ *+' conftest.er1 >conftest.err
3836
3950
  rm -f conftest.er1
3837
3951
  cat conftest.err >&5
3838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3952
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839
3953
  (exit $ac_status); } >/dev/null && {
3840
3954
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3841
3955
         test ! -s conftest.err
3843
3957
  # Broken: success on invalid input.
3844
3958
continue
3845
3959
else
3846
 
  echo "$as_me: failed program was:" >&5
 
3960
  $as_echo "$as_me: failed program was:" >&5
3847
3961
sed 's/^/| /' conftest.$ac_ext >&5
3848
3962
 
3849
3963
  # Passes both tests.
3859
3973
if $ac_preproc_ok; then
3860
3974
  :
3861
3975
else
3862
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3976
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3977
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3978
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3863
3979
See \`config.log' for more details." >&5
3864
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3980
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3865
3981
See \`config.log' for more details." >&2;}
3866
 
   { (exit 1); exit 1; }; }
 
3982
   { (exit 1); exit 1; }; }; }
3867
3983
fi
3868
3984
 
3869
3985
ac_ext=c
3872
3988
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873
3989
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3874
3990
 
3875
 
# Find a good install program.  We prefer a C program (faster),
3876
 
# so one script is as good as another.  But avoid the broken or
3877
 
# incompatible versions:
3878
 
# SysV /etc/install, /usr/sbin/install
3879
 
# SunOS /usr/etc/install
3880
 
# IRIX /sbin/install
3881
 
# AIX /bin/install
3882
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3883
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3884
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3885
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3886
 
# OS/2's system install, which has a completely different semantic
3887
 
# ./install, which can be erroneously created by make from ./install.sh.
3888
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3889
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3890
 
if test -z "$INSTALL"; then
3891
 
if test "${ac_cv_path_install+set}" = set; then
3892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3893
 
else
3894
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895
 
for as_dir in $PATH
3896
 
do
3897
 
  IFS=$as_save_IFS
3898
 
  test -z "$as_dir" && as_dir=.
3899
 
  # Account for people who put trailing slashes in PATH elements.
3900
 
case $as_dir/ in
3901
 
  ./ | .// | /cC/* | \
3902
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3903
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3904
 
  /usr/ucb/* ) ;;
3905
 
  *)
3906
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3907
 
    # Don't use installbsd from OSF since it installs stuff as root
3908
 
    # by default.
3909
 
    for ac_prog in ginstall scoinst install; do
3910
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3911
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3912
 
          if test $ac_prog = install &&
3913
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3914
 
            # AIX install.  It has an incompatible calling convention.
3915
 
            :
3916
 
          elif test $ac_prog = install &&
3917
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3918
 
            # program-specific install script used by HP pwplus--don't use.
3919
 
            :
3920
 
          else
3921
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3922
 
            break 3
3923
 
          fi
3924
 
        fi
3925
 
      done
3926
 
    done
3927
 
    ;;
3928
 
esac
3929
 
done
3930
 
IFS=$as_save_IFS
3931
 
 
3932
 
 
3933
 
fi
3934
 
  if test "${ac_cv_path_install+set}" = set; then
3935
 
    INSTALL=$ac_cv_path_install
3936
 
  else
3937
 
    # As a last resort, use the slow shell script.  Don't cache a
3938
 
    # value for INSTALL within a source directory, because that will
3939
 
    # break other packages using the cache if that directory is
3940
 
    # removed, or if the value is a relative name.
3941
 
    INSTALL=$ac_install_sh
3942
 
  fi
3943
 
fi
3944
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3945
 
echo "${ECHO_T}$INSTALL" >&6; }
3946
 
 
3947
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3948
 
# It thinks the first close brace ends the variable substitution.
3949
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3950
 
 
3951
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3952
 
 
3953
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3954
 
 
3955
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3956
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3957
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3958
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3960
 
else
3961
 
  cat >conftest.make <<\_ACEOF
3962
 
SHELL = /bin/sh
3963
 
all:
3964
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3965
 
_ACEOF
3966
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3967
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3968
 
  *@@@%%%=?*=@@@%%%*)
3969
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3970
 
  *)
3971
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3972
 
esac
3973
 
rm -f conftest.make
3974
 
fi
3975
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3976
 
  { echo "$as_me:$LINENO: result: yes" >&5
3977
 
echo "${ECHO_T}yes" >&6; }
3978
 
  SET_MAKE=
3979
 
else
3980
 
  { echo "$as_me:$LINENO: result: no" >&5
3981
 
echo "${ECHO_T}no" >&6; }
3982
 
  SET_MAKE="MAKE=${MAKE-make}"
3983
 
fi
3984
 
 
3985
 
# Check whether --enable-static was given.
3986
 
if test "${enable_static+set}" = set; then
3987
 
  enableval=$enable_static; p=${PACKAGE-default}
3988
 
    case $enableval in
3989
 
    yes) enable_static=yes ;;
3990
 
    no) enable_static=no ;;
3991
 
    *)
3992
 
     enable_static=no
3993
 
      # Look at the argument we got.  We use all the common list separators.
3994
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3995
 
      for pkg in $enableval; do
3996
 
        IFS="$lt_save_ifs"
3997
 
        if test "X$pkg" = "X$p"; then
3998
 
          enable_static=yes
3999
 
        fi
4000
 
      done
4001
 
      IFS="$lt_save_ifs"
4002
 
      ;;
4003
 
    esac
4004
 
else
4005
 
  enable_static=no
4006
 
fi
4007
 
 
4008
 
 
4009
 
# Check whether --enable-shared was given.
4010
 
if test "${enable_shared+set}" = set; then
4011
 
  enableval=$enable_shared; p=${PACKAGE-default}
4012
 
    case $enableval in
4013
 
    yes) enable_shared=yes ;;
4014
 
    no) enable_shared=no ;;
4015
 
    *)
4016
 
      enable_shared=no
4017
 
      # Look at the argument we got.  We use all the common list separators.
4018
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4019
 
      for pkg in $enableval; do
4020
 
        IFS="$lt_save_ifs"
4021
 
        if test "X$pkg" = "X$p"; then
4022
 
          enable_shared=yes
4023
 
        fi
4024
 
      done
4025
 
      IFS="$lt_save_ifs"
4026
 
      ;;
4027
 
    esac
4028
 
else
4029
 
  enable_shared=yes
4030
 
fi
4031
 
 
4032
 
 
4033
 
# Check whether --enable-fast-install was given.
4034
 
if test "${enable_fast_install+set}" = set; then
4035
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4036
 
    case $enableval in
4037
 
    yes) enable_fast_install=yes ;;
4038
 
    no) enable_fast_install=no ;;
4039
 
    *)
4040
 
      enable_fast_install=no
4041
 
      # Look at the argument we got.  We use all the common list separators.
4042
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4043
 
      for pkg in $enableval; do
4044
 
        IFS="$lt_save_ifs"
4045
 
        if test "X$pkg" = "X$p"; then
4046
 
          enable_fast_install=yes
4047
 
        fi
4048
 
      done
4049
 
      IFS="$lt_save_ifs"
4050
 
      ;;
4051
 
    esac
4052
 
else
4053
 
  enable_fast_install=yes
4054
 
fi
4055
 
 
4056
 
 
4057
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4058
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4059
 
if test "${lt_cv_path_SED+set}" = set; then
4060
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4061
 
else
4062
 
  # Loop through the user's path and test for sed and gsed.
4063
 
# Then use that list of sed's as ones to test for truncation.
4064
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4065
 
for as_dir in $PATH
4066
 
do
4067
 
  IFS=$as_save_IFS
4068
 
  test -z "$as_dir" && as_dir=.
4069
 
  for lt_ac_prog in sed gsed; do
4070
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4071
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4072
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4073
 
      fi
4074
 
    done
4075
 
  done
4076
 
done
4077
 
IFS=$as_save_IFS
4078
 
lt_ac_max=0
4079
 
lt_ac_count=0
4080
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4081
 
# along with /bin/sed that truncates output.
4082
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4083
 
  test ! -f $lt_ac_sed && continue
4084
 
  cat /dev/null > conftest.in
4085
 
  lt_ac_count=0
4086
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4087
 
  # Check for GNU sed and select it if it is found.
4088
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4089
 
    lt_cv_path_SED=$lt_ac_sed
4090
 
    break
4091
 
  fi
4092
 
  while true; do
4093
 
    cat conftest.in conftest.in >conftest.tmp
4094
 
    mv conftest.tmp conftest.in
4095
 
    cp conftest.in conftest.nl
4096
 
    echo >>conftest.nl
4097
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4098
 
    cmp -s conftest.out conftest.nl || break
4099
 
    # 10000 chars as input seems more than enough
4100
 
    test $lt_ac_count -gt 10 && break
4101
 
    lt_ac_count=`expr $lt_ac_count + 1`
4102
 
    if test $lt_ac_count -gt $lt_ac_max; then
4103
 
      lt_ac_max=$lt_ac_count
4104
 
      lt_cv_path_SED=$lt_ac_sed
4105
 
    fi
4106
 
  done
4107
 
done
4108
 
 
4109
 
fi
4110
 
 
4111
 
SED=$lt_cv_path_SED
4112
 
 
4113
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4114
 
echo "${ECHO_T}$SED" >&6; }
4115
 
 
4116
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4117
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4118
 
if test "${ac_cv_path_GREP+set}" = set; then
4119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4120
 
else
4121
 
  # Extract the first word of "grep ggrep" to use in msg output
4122
 
if test -z "$GREP"; then
4123
 
set dummy grep ggrep; ac_prog_name=$2
4124
 
if test "${ac_cv_path_GREP+set}" = set; then
4125
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4126
 
else
 
3991
 
 
3992
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3993
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3994
if test "${ac_cv_path_GREP+set}" = set; then
 
3995
  $as_echo_n "(cached) " >&6
 
3996
else
 
3997
  if test -z "$GREP"; then
4127
3998
  ac_path_GREP_found=false
4128
 
# Loop through the user's path and test for each of PROGNAME-LIST
4129
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3999
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4000
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130
4001
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4131
4002
do
4132
4003
  IFS=$as_save_IFS
4133
4004
  test -z "$as_dir" && as_dir=.
4134
4005
  for ac_prog in grep ggrep; do
4135
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4136
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4137
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4138
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4006
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4007
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4008
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4009
# Check for GNU ac_path_GREP and select it if it is found.
4139
4010
  # Check for GNU $ac_path_GREP
4140
4011
case `"$ac_path_GREP" --version 2>&1` in
4141
4012
*GNU*)
4142
4013
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4143
4014
*)
4144
4015
  ac_count=0
4145
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4016
  $as_echo_n 0123456789 >"conftest.in"
4146
4017
  while :
4147
4018
  do
4148
4019
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4149
4020
    mv "conftest.tmp" "conftest.in"
4150
4021
    cp "conftest.in" "conftest.nl"
4151
 
    echo 'GREP' >> "conftest.nl"
 
4022
    $as_echo 'GREP' >> "conftest.nl"
4152
4023
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4153
4024
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4154
4025
    ac_count=`expr $ac_count + 1`
4163
4034
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4164
4035
esac
4165
4036
 
4166
 
 
4167
 
    $ac_path_GREP_found && break 3
 
4037
      $ac_path_GREP_found && break 3
 
4038
    done
4168
4039
  done
4169
4040
done
4170
 
 
4171
 
done
4172
4041
IFS=$as_save_IFS
4173
 
 
4174
 
 
4175
 
fi
4176
 
 
4177
 
GREP="$ac_cv_path_GREP"
4178
 
if test -z "$GREP"; then
4179
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4180
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4042
  if test -z "$ac_cv_path_GREP"; then
 
4043
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4044
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4181
4045
   { (exit 1); exit 1; }; }
4182
 
fi
4183
 
 
 
4046
  fi
4184
4047
else
4185
4048
  ac_cv_path_GREP=$GREP
4186
4049
fi
4187
4050
 
4188
 
 
4189
4051
fi
4190
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4191
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4052
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4053
$as_echo "$ac_cv_path_GREP" >&6; }
4192
4054
 GREP="$ac_cv_path_GREP"
4193
4055
 
4194
4056
 
4195
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4196
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4057
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4058
$as_echo_n "checking for egrep... " >&6; }
4197
4059
if test "${ac_cv_path_EGREP+set}" = set; then
4198
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4060
  $as_echo_n "(cached) " >&6
4199
4061
else
4200
4062
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4201
4063
   then ac_cv_path_EGREP="$GREP -E"
4202
4064
   else
4203
 
     # Extract the first word of "egrep" to use in msg output
4204
 
if test -z "$EGREP"; then
4205
 
set dummy egrep; ac_prog_name=$2
4206
 
if test "${ac_cv_path_EGREP+set}" = set; then
4207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4208
 
else
 
4065
     if test -z "$EGREP"; then
4209
4066
  ac_path_EGREP_found=false
4210
 
# Loop through the user's path and test for each of PROGNAME-LIST
4211
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4067
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4068
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212
4069
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4213
4070
do
4214
4071
  IFS=$as_save_IFS
4215
4072
  test -z "$as_dir" && as_dir=.
4216
4073
  for ac_prog in egrep; do
4217
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4218
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4219
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4220
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4074
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4075
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4076
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4077
# Check for GNU ac_path_EGREP and select it if it is found.
4221
4078
  # Check for GNU $ac_path_EGREP
4222
4079
case `"$ac_path_EGREP" --version 2>&1` in
4223
4080
*GNU*)
4224
4081
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4225
4082
*)
4226
4083
  ac_count=0
4227
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4084
  $as_echo_n 0123456789 >"conftest.in"
4228
4085
  while :
4229
4086
  do
4230
4087
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4231
4088
    mv "conftest.tmp" "conftest.in"
4232
4089
    cp "conftest.in" "conftest.nl"
4233
 
    echo 'EGREP' >> "conftest.nl"
 
4090
    $as_echo 'EGREP' >> "conftest.nl"
4234
4091
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4235
4092
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4236
4093
    ac_count=`expr $ac_count + 1`
4245
4102
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4246
4103
esac
4247
4104
 
4248
 
 
4249
 
    $ac_path_EGREP_found && break 3
 
4105
      $ac_path_EGREP_found && break 3
 
4106
    done
4250
4107
  done
4251
4108
done
4252
 
 
4253
 
done
4254
4109
IFS=$as_save_IFS
4255
 
 
4256
 
 
4257
 
fi
4258
 
 
4259
 
EGREP="$ac_cv_path_EGREP"
4260
 
if test -z "$EGREP"; then
4261
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4262
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4110
  if test -z "$ac_cv_path_EGREP"; then
 
4111
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4112
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4263
4113
   { (exit 1); exit 1; }; }
4264
 
fi
4265
 
 
 
4114
  fi
4266
4115
else
4267
4116
  ac_cv_path_EGREP=$EGREP
4268
4117
fi
4269
4118
 
4270
 
 
4271
4119
   fi
4272
4120
fi
4273
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4274
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4121
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4122
$as_echo "$ac_cv_path_EGREP" >&6; }
4275
4123
 EGREP="$ac_cv_path_EGREP"
4276
4124
 
4277
4125
 
 
4126
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4127
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4128
if test "${ac_cv_header_stdc+set}" = set; then
 
4129
  $as_echo_n "(cached) " >&6
 
4130
else
 
4131
  cat >conftest.$ac_ext <<_ACEOF
 
4132
/* confdefs.h.  */
 
4133
_ACEOF
 
4134
cat confdefs.h >>conftest.$ac_ext
 
4135
cat >>conftest.$ac_ext <<_ACEOF
 
4136
/* end confdefs.h.  */
 
4137
#include <stdlib.h>
 
4138
#include <stdarg.h>
 
4139
#include <string.h>
 
4140
#include <float.h>
 
4141
 
 
4142
int
 
4143
main ()
 
4144
{
 
4145
 
 
4146
  ;
 
4147
  return 0;
 
4148
}
 
4149
_ACEOF
 
4150
rm -f conftest.$ac_objext
 
4151
if { (ac_try="$ac_compile"
 
4152
case "(($ac_try" in
 
4153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4154
  *) ac_try_echo=$ac_try;;
 
4155
esac
 
4156
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4157
$as_echo "$ac_try_echo") >&5
 
4158
  (eval "$ac_compile") 2>conftest.er1
 
4159
  ac_status=$?
 
4160
  grep -v '^ *+' conftest.er1 >conftest.err
 
4161
  rm -f conftest.er1
 
4162
  cat conftest.err >&5
 
4163
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4164
  (exit $ac_status); } && {
 
4165
         test -z "$ac_c_werror_flag" ||
 
4166
         test ! -s conftest.err
 
4167
       } && test -s conftest.$ac_objext; then
 
4168
  ac_cv_header_stdc=yes
 
4169
else
 
4170
  $as_echo "$as_me: failed program was:" >&5
 
4171
sed 's/^/| /' conftest.$ac_ext >&5
 
4172
 
 
4173
        ac_cv_header_stdc=no
 
4174
fi
 
4175
 
 
4176
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4177
 
 
4178
if test $ac_cv_header_stdc = yes; then
 
4179
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4180
  cat >conftest.$ac_ext <<_ACEOF
 
4181
/* confdefs.h.  */
 
4182
_ACEOF
 
4183
cat confdefs.h >>conftest.$ac_ext
 
4184
cat >>conftest.$ac_ext <<_ACEOF
 
4185
/* end confdefs.h.  */
 
4186
#include <string.h>
 
4187
 
 
4188
_ACEOF
 
4189
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4190
  $EGREP "memchr" >/dev/null 2>&1; then
 
4191
  :
 
4192
else
 
4193
  ac_cv_header_stdc=no
 
4194
fi
 
4195
rm -f conftest*
 
4196
 
 
4197
fi
 
4198
 
 
4199
if test $ac_cv_header_stdc = yes; then
 
4200
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4201
  cat >conftest.$ac_ext <<_ACEOF
 
4202
/* confdefs.h.  */
 
4203
_ACEOF
 
4204
cat confdefs.h >>conftest.$ac_ext
 
4205
cat >>conftest.$ac_ext <<_ACEOF
 
4206
/* end confdefs.h.  */
 
4207
#include <stdlib.h>
 
4208
 
 
4209
_ACEOF
 
4210
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4211
  $EGREP "free" >/dev/null 2>&1; then
 
4212
  :
 
4213
else
 
4214
  ac_cv_header_stdc=no
 
4215
fi
 
4216
rm -f conftest*
 
4217
 
 
4218
fi
 
4219
 
 
4220
if test $ac_cv_header_stdc = yes; then
 
4221
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4222
  if test "$cross_compiling" = yes; then
 
4223
  :
 
4224
else
 
4225
  cat >conftest.$ac_ext <<_ACEOF
 
4226
/* confdefs.h.  */
 
4227
_ACEOF
 
4228
cat confdefs.h >>conftest.$ac_ext
 
4229
cat >>conftest.$ac_ext <<_ACEOF
 
4230
/* end confdefs.h.  */
 
4231
#include <ctype.h>
 
4232
#include <stdlib.h>
 
4233
#if ((' ' & 0x0FF) == 0x020)
 
4234
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4235
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4236
#else
 
4237
# define ISLOWER(c) \
 
4238
                   (('a' <= (c) && (c) <= 'i') \
 
4239
                     || ('j' <= (c) && (c) <= 'r') \
 
4240
                     || ('s' <= (c) && (c) <= 'z'))
 
4241
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4242
#endif
 
4243
 
 
4244
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4245
int
 
4246
main ()
 
4247
{
 
4248
  int i;
 
4249
  for (i = 0; i < 256; i++)
 
4250
    if (XOR (islower (i), ISLOWER (i))
 
4251
        || toupper (i) != TOUPPER (i))
 
4252
      return 2;
 
4253
  return 0;
 
4254
}
 
4255
_ACEOF
 
4256
rm -f conftest$ac_exeext
 
4257
if { (ac_try="$ac_link"
 
4258
case "(($ac_try" in
 
4259
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4260
  *) ac_try_echo=$ac_try;;
 
4261
esac
 
4262
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4263
$as_echo "$ac_try_echo") >&5
 
4264
  (eval "$ac_link") 2>&5
 
4265
  ac_status=$?
 
4266
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4267
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4268
  { (case "(($ac_try" in
 
4269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4270
  *) ac_try_echo=$ac_try;;
 
4271
esac
 
4272
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4273
$as_echo "$ac_try_echo") >&5
 
4274
  (eval "$ac_try") 2>&5
 
4275
  ac_status=$?
 
4276
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4277
  (exit $ac_status); }; }; then
 
4278
  :
 
4279
else
 
4280
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4281
$as_echo "$as_me: failed program was:" >&5
 
4282
sed 's/^/| /' conftest.$ac_ext >&5
 
4283
 
 
4284
( exit $ac_status )
 
4285
ac_cv_header_stdc=no
 
4286
fi
 
4287
rm -rf conftest.dSYM
 
4288
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4289
fi
 
4290
 
 
4291
 
 
4292
fi
 
4293
fi
 
4294
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4295
$as_echo "$ac_cv_header_stdc" >&6; }
 
4296
if test $ac_cv_header_stdc = yes; then
 
4297
 
 
4298
cat >>confdefs.h <<\_ACEOF
 
4299
#define STDC_HEADERS 1
 
4300
_ACEOF
 
4301
 
 
4302
fi
 
4303
 
 
4304
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4305
 
 
4306
 
 
4307
 
 
4308
 
 
4309
 
 
4310
 
 
4311
 
 
4312
 
 
4313
 
 
4314
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4315
                  inttypes.h stdint.h unistd.h
 
4316
do
 
4317
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4318
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4319
$as_echo_n "checking for $ac_header... " >&6; }
 
4320
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4321
  $as_echo_n "(cached) " >&6
 
4322
else
 
4323
  cat >conftest.$ac_ext <<_ACEOF
 
4324
/* confdefs.h.  */
 
4325
_ACEOF
 
4326
cat confdefs.h >>conftest.$ac_ext
 
4327
cat >>conftest.$ac_ext <<_ACEOF
 
4328
/* end confdefs.h.  */
 
4329
$ac_includes_default
 
4330
 
 
4331
#include <$ac_header>
 
4332
_ACEOF
 
4333
rm -f conftest.$ac_objext
 
4334
if { (ac_try="$ac_compile"
 
4335
case "(($ac_try" in
 
4336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4337
  *) ac_try_echo=$ac_try;;
 
4338
esac
 
4339
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4340
$as_echo "$ac_try_echo") >&5
 
4341
  (eval "$ac_compile") 2>conftest.er1
 
4342
  ac_status=$?
 
4343
  grep -v '^ *+' conftest.er1 >conftest.err
 
4344
  rm -f conftest.er1
 
4345
  cat conftest.err >&5
 
4346
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4347
  (exit $ac_status); } && {
 
4348
         test -z "$ac_c_werror_flag" ||
 
4349
         test ! -s conftest.err
 
4350
       } && test -s conftest.$ac_objext; then
 
4351
  eval "$as_ac_Header=yes"
 
4352
else
 
4353
  $as_echo "$as_me: failed program was:" >&5
 
4354
sed 's/^/| /' conftest.$ac_ext >&5
 
4355
 
 
4356
        eval "$as_ac_Header=no"
 
4357
fi
 
4358
 
 
4359
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4360
fi
 
4361
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4362
                 $as_echo "$as_val"'`
 
4363
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4364
$as_echo "$ac_res" >&6; }
 
4365
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4366
                 $as_echo "$as_val"'`
 
4367
   if test "x$as_val" = x""yes; then
 
4368
  cat >>confdefs.h <<_ACEOF
 
4369
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4370
_ACEOF
 
4371
 
 
4372
fi
 
4373
 
 
4374
done
 
4375
 
 
4376
 
 
4377
 
 
4378
  if test "${ac_cv_header_minix_config_h+set}" = set; then
 
4379
  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
 
4380
$as_echo_n "checking for minix/config.h... " >&6; }
 
4381
if test "${ac_cv_header_minix_config_h+set}" = set; then
 
4382
  $as_echo_n "(cached) " >&6
 
4383
fi
 
4384
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
 
4385
$as_echo "$ac_cv_header_minix_config_h" >&6; }
 
4386
else
 
4387
  # Is the header compilable?
 
4388
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
 
4389
$as_echo_n "checking minix/config.h usability... " >&6; }
 
4390
cat >conftest.$ac_ext <<_ACEOF
 
4391
/* confdefs.h.  */
 
4392
_ACEOF
 
4393
cat confdefs.h >>conftest.$ac_ext
 
4394
cat >>conftest.$ac_ext <<_ACEOF
 
4395
/* end confdefs.h.  */
 
4396
$ac_includes_default
 
4397
#include <minix/config.h>
 
4398
_ACEOF
 
4399
rm -f conftest.$ac_objext
 
4400
if { (ac_try="$ac_compile"
 
4401
case "(($ac_try" in
 
4402
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4403
  *) ac_try_echo=$ac_try;;
 
4404
esac
 
4405
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4406
$as_echo "$ac_try_echo") >&5
 
4407
  (eval "$ac_compile") 2>conftest.er1
 
4408
  ac_status=$?
 
4409
  grep -v '^ *+' conftest.er1 >conftest.err
 
4410
  rm -f conftest.er1
 
4411
  cat conftest.err >&5
 
4412
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4413
  (exit $ac_status); } && {
 
4414
         test -z "$ac_c_werror_flag" ||
 
4415
         test ! -s conftest.err
 
4416
       } && test -s conftest.$ac_objext; then
 
4417
  ac_header_compiler=yes
 
4418
else
 
4419
  $as_echo "$as_me: failed program was:" >&5
 
4420
sed 's/^/| /' conftest.$ac_ext >&5
 
4421
 
 
4422
        ac_header_compiler=no
 
4423
fi
 
4424
 
 
4425
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4426
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4427
$as_echo "$ac_header_compiler" >&6; }
 
4428
 
 
4429
# Is the header present?
 
4430
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
 
4431
$as_echo_n "checking minix/config.h presence... " >&6; }
 
4432
cat >conftest.$ac_ext <<_ACEOF
 
4433
/* confdefs.h.  */
 
4434
_ACEOF
 
4435
cat confdefs.h >>conftest.$ac_ext
 
4436
cat >>conftest.$ac_ext <<_ACEOF
 
4437
/* end confdefs.h.  */
 
4438
#include <minix/config.h>
 
4439
_ACEOF
 
4440
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4441
case "(($ac_try" in
 
4442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4443
  *) ac_try_echo=$ac_try;;
 
4444
esac
 
4445
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4446
$as_echo "$ac_try_echo") >&5
 
4447
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4448
  ac_status=$?
 
4449
  grep -v '^ *+' conftest.er1 >conftest.err
 
4450
  rm -f conftest.er1
 
4451
  cat conftest.err >&5
 
4452
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4453
  (exit $ac_status); } >/dev/null && {
 
4454
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4455
         test ! -s conftest.err
 
4456
       }; then
 
4457
  ac_header_preproc=yes
 
4458
else
 
4459
  $as_echo "$as_me: failed program was:" >&5
 
4460
sed 's/^/| /' conftest.$ac_ext >&5
 
4461
 
 
4462
  ac_header_preproc=no
 
4463
fi
 
4464
 
 
4465
rm -f conftest.err conftest.$ac_ext
 
4466
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4467
$as_echo "$ac_header_preproc" >&6; }
 
4468
 
 
4469
# So?  What about this header?
 
4470
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4471
  yes:no: )
 
4472
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
4473
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4474
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
 
4475
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
 
4476
    ac_header_preproc=yes
 
4477
    ;;
 
4478
  no:yes:* )
 
4479
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
 
4480
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
 
4481
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
 
4482
$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
 
4483
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
 
4484
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
 
4485
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
 
4486
$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4487
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
 
4488
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
 
4489
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
 
4490
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
 
4491
 
 
4492
    ;;
 
4493
esac
 
4494
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
 
4495
$as_echo_n "checking for minix/config.h... " >&6; }
 
4496
if test "${ac_cv_header_minix_config_h+set}" = set; then
 
4497
  $as_echo_n "(cached) " >&6
 
4498
else
 
4499
  ac_cv_header_minix_config_h=$ac_header_preproc
 
4500
fi
 
4501
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
 
4502
$as_echo "$ac_cv_header_minix_config_h" >&6; }
 
4503
 
 
4504
fi
 
4505
if test "x$ac_cv_header_minix_config_h" = x""yes; then
 
4506
  MINIX=yes
 
4507
else
 
4508
  MINIX=
 
4509
fi
 
4510
 
 
4511
 
 
4512
  if test "$MINIX" = yes; then
 
4513
 
 
4514
cat >>confdefs.h <<\_ACEOF
 
4515
#define _POSIX_SOURCE 1
 
4516
_ACEOF
 
4517
 
 
4518
 
 
4519
cat >>confdefs.h <<\_ACEOF
 
4520
#define _POSIX_1_SOURCE 2
 
4521
_ACEOF
 
4522
 
 
4523
 
 
4524
cat >>confdefs.h <<\_ACEOF
 
4525
#define _MINIX 1
 
4526
_ACEOF
 
4527
 
 
4528
  fi
 
4529
 
 
4530
 
 
4531
 
 
4532
  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
 
4533
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 
4534
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
 
4535
  $as_echo_n "(cached) " >&6
 
4536
else
 
4537
  cat >conftest.$ac_ext <<_ACEOF
 
4538
/* confdefs.h.  */
 
4539
_ACEOF
 
4540
cat confdefs.h >>conftest.$ac_ext
 
4541
cat >>conftest.$ac_ext <<_ACEOF
 
4542
/* end confdefs.h.  */
 
4543
 
 
4544
#         define __EXTENSIONS__ 1
 
4545
          $ac_includes_default
 
4546
int
 
4547
main ()
 
4548
{
 
4549
 
 
4550
  ;
 
4551
  return 0;
 
4552
}
 
4553
_ACEOF
 
4554
rm -f conftest.$ac_objext
 
4555
if { (ac_try="$ac_compile"
 
4556
case "(($ac_try" in
 
4557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4558
  *) ac_try_echo=$ac_try;;
 
4559
esac
 
4560
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4561
$as_echo "$ac_try_echo") >&5
 
4562
  (eval "$ac_compile") 2>conftest.er1
 
4563
  ac_status=$?
 
4564
  grep -v '^ *+' conftest.er1 >conftest.err
 
4565
  rm -f conftest.er1
 
4566
  cat conftest.err >&5
 
4567
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4568
  (exit $ac_status); } && {
 
4569
         test -z "$ac_c_werror_flag" ||
 
4570
         test ! -s conftest.err
 
4571
       } && test -s conftest.$ac_objext; then
 
4572
  ac_cv_safe_to_define___extensions__=yes
 
4573
else
 
4574
  $as_echo "$as_me: failed program was:" >&5
 
4575
sed 's/^/| /' conftest.$ac_ext >&5
 
4576
 
 
4577
        ac_cv_safe_to_define___extensions__=no
 
4578
fi
 
4579
 
 
4580
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4581
fi
 
4582
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
 
4583
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 
4584
  test $ac_cv_safe_to_define___extensions__ = yes &&
 
4585
    cat >>confdefs.h <<\_ACEOF
 
4586
#define __EXTENSIONS__ 1
 
4587
_ACEOF
 
4588
 
 
4589
  cat >>confdefs.h <<\_ACEOF
 
4590
#define _ALL_SOURCE 1
 
4591
_ACEOF
 
4592
 
 
4593
  cat >>confdefs.h <<\_ACEOF
 
4594
#define _GNU_SOURCE 1
 
4595
_ACEOF
 
4596
 
 
4597
  cat >>confdefs.h <<\_ACEOF
 
4598
#define _POSIX_PTHREAD_SEMANTICS 1
 
4599
_ACEOF
 
4600
 
 
4601
  cat >>confdefs.h <<\_ACEOF
 
4602
#define _TANDEM_SOURCE 1
 
4603
_ACEOF
 
4604
 
 
4605
 
 
4606
ac_ext=c
 
4607
ac_cpp='$CPP $CPPFLAGS'
 
4608
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4609
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4610
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4611
if test -n "$ac_tool_prefix"; then
 
4612
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4613
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4614
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4615
$as_echo_n "checking for $ac_word... " >&6; }
 
4616
if test "${ac_cv_prog_CC+set}" = set; then
 
4617
  $as_echo_n "(cached) " >&6
 
4618
else
 
4619
  if test -n "$CC"; then
 
4620
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4621
else
 
4622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4623
for as_dir in $PATH
 
4624
do
 
4625
  IFS=$as_save_IFS
 
4626
  test -z "$as_dir" && as_dir=.
 
4627
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4628
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4629
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4630
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4631
    break 2
 
4632
  fi
 
4633
done
 
4634
done
 
4635
IFS=$as_save_IFS
 
4636
 
 
4637
fi
 
4638
fi
 
4639
CC=$ac_cv_prog_CC
 
4640
if test -n "$CC"; then
 
4641
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4642
$as_echo "$CC" >&6; }
 
4643
else
 
4644
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4645
$as_echo "no" >&6; }
 
4646
fi
 
4647
 
 
4648
 
 
4649
fi
 
4650
if test -z "$ac_cv_prog_CC"; then
 
4651
  ac_ct_CC=$CC
 
4652
  # Extract the first word of "gcc", so it can be a program name with args.
 
4653
set dummy gcc; ac_word=$2
 
4654
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4655
$as_echo_n "checking for $ac_word... " >&6; }
 
4656
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4657
  $as_echo_n "(cached) " >&6
 
4658
else
 
4659
  if test -n "$ac_ct_CC"; then
 
4660
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4661
else
 
4662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4663
for as_dir in $PATH
 
4664
do
 
4665
  IFS=$as_save_IFS
 
4666
  test -z "$as_dir" && as_dir=.
 
4667
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4668
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4669
    ac_cv_prog_ac_ct_CC="gcc"
 
4670
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4671
    break 2
 
4672
  fi
 
4673
done
 
4674
done
 
4675
IFS=$as_save_IFS
 
4676
 
 
4677
fi
 
4678
fi
 
4679
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4680
if test -n "$ac_ct_CC"; then
 
4681
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4682
$as_echo "$ac_ct_CC" >&6; }
 
4683
else
 
4684
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4685
$as_echo "no" >&6; }
 
4686
fi
 
4687
 
 
4688
  if test "x$ac_ct_CC" = x; then
 
4689
    CC=""
 
4690
  else
 
4691
    case $cross_compiling:$ac_tool_warned in
 
4692
yes:)
 
4693
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4694
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4695
ac_tool_warned=yes ;;
 
4696
esac
 
4697
    CC=$ac_ct_CC
 
4698
  fi
 
4699
else
 
4700
  CC="$ac_cv_prog_CC"
 
4701
fi
 
4702
 
 
4703
if test -z "$CC"; then
 
4704
          if test -n "$ac_tool_prefix"; then
 
4705
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4706
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4707
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4708
$as_echo_n "checking for $ac_word... " >&6; }
 
4709
if test "${ac_cv_prog_CC+set}" = set; then
 
4710
  $as_echo_n "(cached) " >&6
 
4711
else
 
4712
  if test -n "$CC"; then
 
4713
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4714
else
 
4715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4716
for as_dir in $PATH
 
4717
do
 
4718
  IFS=$as_save_IFS
 
4719
  test -z "$as_dir" && as_dir=.
 
4720
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4722
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4723
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4724
    break 2
 
4725
  fi
 
4726
done
 
4727
done
 
4728
IFS=$as_save_IFS
 
4729
 
 
4730
fi
 
4731
fi
 
4732
CC=$ac_cv_prog_CC
 
4733
if test -n "$CC"; then
 
4734
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4735
$as_echo "$CC" >&6; }
 
4736
else
 
4737
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4738
$as_echo "no" >&6; }
 
4739
fi
 
4740
 
 
4741
 
 
4742
  fi
 
4743
fi
 
4744
if test -z "$CC"; then
 
4745
  # Extract the first word of "cc", so it can be a program name with args.
 
4746
set dummy cc; ac_word=$2
 
4747
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4748
$as_echo_n "checking for $ac_word... " >&6; }
 
4749
if test "${ac_cv_prog_CC+set}" = set; then
 
4750
  $as_echo_n "(cached) " >&6
 
4751
else
 
4752
  if test -n "$CC"; then
 
4753
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4754
else
 
4755
  ac_prog_rejected=no
 
4756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4757
for as_dir in $PATH
 
4758
do
 
4759
  IFS=$as_save_IFS
 
4760
  test -z "$as_dir" && as_dir=.
 
4761
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4763
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4764
       ac_prog_rejected=yes
 
4765
       continue
 
4766
     fi
 
4767
    ac_cv_prog_CC="cc"
 
4768
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4769
    break 2
 
4770
  fi
 
4771
done
 
4772
done
 
4773
IFS=$as_save_IFS
 
4774
 
 
4775
if test $ac_prog_rejected = yes; then
 
4776
  # We found a bogon in the path, so make sure we never use it.
 
4777
  set dummy $ac_cv_prog_CC
 
4778
  shift
 
4779
  if test $# != 0; then
 
4780
    # We chose a different compiler from the bogus one.
 
4781
    # However, it has the same basename, so the bogon will be chosen
 
4782
    # first if we set CC to just the basename; use the full file name.
 
4783
    shift
 
4784
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4785
  fi
 
4786
fi
 
4787
fi
 
4788
fi
 
4789
CC=$ac_cv_prog_CC
 
4790
if test -n "$CC"; then
 
4791
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4792
$as_echo "$CC" >&6; }
 
4793
else
 
4794
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4795
$as_echo "no" >&6; }
 
4796
fi
 
4797
 
 
4798
 
 
4799
fi
 
4800
if test -z "$CC"; then
 
4801
  if test -n "$ac_tool_prefix"; then
 
4802
  for ac_prog in cl.exe
 
4803
  do
 
4804
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4805
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4806
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4807
$as_echo_n "checking for $ac_word... " >&6; }
 
4808
if test "${ac_cv_prog_CC+set}" = set; then
 
4809
  $as_echo_n "(cached) " >&6
 
4810
else
 
4811
  if test -n "$CC"; then
 
4812
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4813
else
 
4814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4815
for as_dir in $PATH
 
4816
do
 
4817
  IFS=$as_save_IFS
 
4818
  test -z "$as_dir" && as_dir=.
 
4819
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4820
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4821
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4822
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4823
    break 2
 
4824
  fi
 
4825
done
 
4826
done
 
4827
IFS=$as_save_IFS
 
4828
 
 
4829
fi
 
4830
fi
 
4831
CC=$ac_cv_prog_CC
 
4832
if test -n "$CC"; then
 
4833
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4834
$as_echo "$CC" >&6; }
 
4835
else
 
4836
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4837
$as_echo "no" >&6; }
 
4838
fi
 
4839
 
 
4840
 
 
4841
    test -n "$CC" && break
 
4842
  done
 
4843
fi
 
4844
if test -z "$CC"; then
 
4845
  ac_ct_CC=$CC
 
4846
  for ac_prog in cl.exe
 
4847
do
 
4848
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4849
set dummy $ac_prog; ac_word=$2
 
4850
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4851
$as_echo_n "checking for $ac_word... " >&6; }
 
4852
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4853
  $as_echo_n "(cached) " >&6
 
4854
else
 
4855
  if test -n "$ac_ct_CC"; then
 
4856
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4857
else
 
4858
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4859
for as_dir in $PATH
 
4860
do
 
4861
  IFS=$as_save_IFS
 
4862
  test -z "$as_dir" && as_dir=.
 
4863
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4864
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4865
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4866
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4867
    break 2
 
4868
  fi
 
4869
done
 
4870
done
 
4871
IFS=$as_save_IFS
 
4872
 
 
4873
fi
 
4874
fi
 
4875
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4876
if test -n "$ac_ct_CC"; then
 
4877
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4878
$as_echo "$ac_ct_CC" >&6; }
 
4879
else
 
4880
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4881
$as_echo "no" >&6; }
 
4882
fi
 
4883
 
 
4884
 
 
4885
  test -n "$ac_ct_CC" && break
 
4886
done
 
4887
 
 
4888
  if test "x$ac_ct_CC" = x; then
 
4889
    CC=""
 
4890
  else
 
4891
    case $cross_compiling:$ac_tool_warned in
 
4892
yes:)
 
4893
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4894
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4895
ac_tool_warned=yes ;;
 
4896
esac
 
4897
    CC=$ac_ct_CC
 
4898
  fi
 
4899
fi
 
4900
 
 
4901
fi
 
4902
 
 
4903
 
 
4904
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4905
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4906
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4907
See \`config.log' for more details." >&5
 
4908
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4909
See \`config.log' for more details." >&2;}
 
4910
   { (exit 1); exit 1; }; }; }
 
4911
 
 
4912
# Provide some information about the compiler.
 
4913
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4914
set X $ac_compile
 
4915
ac_compiler=$2
 
4916
{ (ac_try="$ac_compiler --version >&5"
 
4917
case "(($ac_try" in
 
4918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4919
  *) ac_try_echo=$ac_try;;
 
4920
esac
 
4921
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4922
$as_echo "$ac_try_echo") >&5
 
4923
  (eval "$ac_compiler --version >&5") 2>&5
 
4924
  ac_status=$?
 
4925
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4926
  (exit $ac_status); }
 
4927
{ (ac_try="$ac_compiler -v >&5"
 
4928
case "(($ac_try" in
 
4929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4930
  *) ac_try_echo=$ac_try;;
 
4931
esac
 
4932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4933
$as_echo "$ac_try_echo") >&5
 
4934
  (eval "$ac_compiler -v >&5") 2>&5
 
4935
  ac_status=$?
 
4936
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4937
  (exit $ac_status); }
 
4938
{ (ac_try="$ac_compiler -V >&5"
 
4939
case "(($ac_try" in
 
4940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4941
  *) ac_try_echo=$ac_try;;
 
4942
esac
 
4943
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4944
$as_echo "$ac_try_echo") >&5
 
4945
  (eval "$ac_compiler -V >&5") 2>&5
 
4946
  ac_status=$?
 
4947
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4948
  (exit $ac_status); }
 
4949
 
 
4950
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4951
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4952
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4953
  $as_echo_n "(cached) " >&6
 
4954
else
 
4955
  cat >conftest.$ac_ext <<_ACEOF
 
4956
/* confdefs.h.  */
 
4957
_ACEOF
 
4958
cat confdefs.h >>conftest.$ac_ext
 
4959
cat >>conftest.$ac_ext <<_ACEOF
 
4960
/* end confdefs.h.  */
 
4961
 
 
4962
int
 
4963
main ()
 
4964
{
 
4965
#ifndef __GNUC__
 
4966
       choke me
 
4967
#endif
 
4968
 
 
4969
  ;
 
4970
  return 0;
 
4971
}
 
4972
_ACEOF
 
4973
rm -f conftest.$ac_objext
 
4974
if { (ac_try="$ac_compile"
 
4975
case "(($ac_try" in
 
4976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4977
  *) ac_try_echo=$ac_try;;
 
4978
esac
 
4979
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4980
$as_echo "$ac_try_echo") >&5
 
4981
  (eval "$ac_compile") 2>conftest.er1
 
4982
  ac_status=$?
 
4983
  grep -v '^ *+' conftest.er1 >conftest.err
 
4984
  rm -f conftest.er1
 
4985
  cat conftest.err >&5
 
4986
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4987
  (exit $ac_status); } && {
 
4988
         test -z "$ac_c_werror_flag" ||
 
4989
         test ! -s conftest.err
 
4990
       } && test -s conftest.$ac_objext; then
 
4991
  ac_compiler_gnu=yes
 
4992
else
 
4993
  $as_echo "$as_me: failed program was:" >&5
 
4994
sed 's/^/| /' conftest.$ac_ext >&5
 
4995
 
 
4996
        ac_compiler_gnu=no
 
4997
fi
 
4998
 
 
4999
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5000
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
5001
 
 
5002
fi
 
5003
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
5004
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5005
if test $ac_compiler_gnu = yes; then
 
5006
  GCC=yes
 
5007
else
 
5008
  GCC=
 
5009
fi
 
5010
ac_test_CFLAGS=${CFLAGS+set}
 
5011
ac_save_CFLAGS=$CFLAGS
 
5012
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
5013
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
5014
if test "${ac_cv_prog_cc_g+set}" = set; then
 
5015
  $as_echo_n "(cached) " >&6
 
5016
else
 
5017
  ac_save_c_werror_flag=$ac_c_werror_flag
 
5018
   ac_c_werror_flag=yes
 
5019
   ac_cv_prog_cc_g=no
 
5020
   CFLAGS="-g"
 
5021
   cat >conftest.$ac_ext <<_ACEOF
 
5022
/* confdefs.h.  */
 
5023
_ACEOF
 
5024
cat confdefs.h >>conftest.$ac_ext
 
5025
cat >>conftest.$ac_ext <<_ACEOF
 
5026
/* end confdefs.h.  */
 
5027
 
 
5028
int
 
5029
main ()
 
5030
{
 
5031
 
 
5032
  ;
 
5033
  return 0;
 
5034
}
 
5035
_ACEOF
 
5036
rm -f conftest.$ac_objext
 
5037
if { (ac_try="$ac_compile"
 
5038
case "(($ac_try" in
 
5039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5040
  *) ac_try_echo=$ac_try;;
 
5041
esac
 
5042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5043
$as_echo "$ac_try_echo") >&5
 
5044
  (eval "$ac_compile") 2>conftest.er1
 
5045
  ac_status=$?
 
5046
  grep -v '^ *+' conftest.er1 >conftest.err
 
5047
  rm -f conftest.er1
 
5048
  cat conftest.err >&5
 
5049
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5050
  (exit $ac_status); } && {
 
5051
         test -z "$ac_c_werror_flag" ||
 
5052
         test ! -s conftest.err
 
5053
       } && test -s conftest.$ac_objext; then
 
5054
  ac_cv_prog_cc_g=yes
 
5055
else
 
5056
  $as_echo "$as_me: failed program was:" >&5
 
5057
sed 's/^/| /' conftest.$ac_ext >&5
 
5058
 
 
5059
        CFLAGS=""
 
5060
      cat >conftest.$ac_ext <<_ACEOF
 
5061
/* confdefs.h.  */
 
5062
_ACEOF
 
5063
cat confdefs.h >>conftest.$ac_ext
 
5064
cat >>conftest.$ac_ext <<_ACEOF
 
5065
/* end confdefs.h.  */
 
5066
 
 
5067
int
 
5068
main ()
 
5069
{
 
5070
 
 
5071
  ;
 
5072
  return 0;
 
5073
}
 
5074
_ACEOF
 
5075
rm -f conftest.$ac_objext
 
5076
if { (ac_try="$ac_compile"
 
5077
case "(($ac_try" in
 
5078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5079
  *) ac_try_echo=$ac_try;;
 
5080
esac
 
5081
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5082
$as_echo "$ac_try_echo") >&5
 
5083
  (eval "$ac_compile") 2>conftest.er1
 
5084
  ac_status=$?
 
5085
  grep -v '^ *+' conftest.er1 >conftest.err
 
5086
  rm -f conftest.er1
 
5087
  cat conftest.err >&5
 
5088
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5089
  (exit $ac_status); } && {
 
5090
         test -z "$ac_c_werror_flag" ||
 
5091
         test ! -s conftest.err
 
5092
       } && test -s conftest.$ac_objext; then
 
5093
  :
 
5094
else
 
5095
  $as_echo "$as_me: failed program was:" >&5
 
5096
sed 's/^/| /' conftest.$ac_ext >&5
 
5097
 
 
5098
        ac_c_werror_flag=$ac_save_c_werror_flag
 
5099
         CFLAGS="-g"
 
5100
         cat >conftest.$ac_ext <<_ACEOF
 
5101
/* confdefs.h.  */
 
5102
_ACEOF
 
5103
cat confdefs.h >>conftest.$ac_ext
 
5104
cat >>conftest.$ac_ext <<_ACEOF
 
5105
/* end confdefs.h.  */
 
5106
 
 
5107
int
 
5108
main ()
 
5109
{
 
5110
 
 
5111
  ;
 
5112
  return 0;
 
5113
}
 
5114
_ACEOF
 
5115
rm -f conftest.$ac_objext
 
5116
if { (ac_try="$ac_compile"
 
5117
case "(($ac_try" in
 
5118
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5119
  *) ac_try_echo=$ac_try;;
 
5120
esac
 
5121
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5122
$as_echo "$ac_try_echo") >&5
 
5123
  (eval "$ac_compile") 2>conftest.er1
 
5124
  ac_status=$?
 
5125
  grep -v '^ *+' conftest.er1 >conftest.err
 
5126
  rm -f conftest.er1
 
5127
  cat conftest.err >&5
 
5128
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5129
  (exit $ac_status); } && {
 
5130
         test -z "$ac_c_werror_flag" ||
 
5131
         test ! -s conftest.err
 
5132
       } && test -s conftest.$ac_objext; then
 
5133
  ac_cv_prog_cc_g=yes
 
5134
else
 
5135
  $as_echo "$as_me: failed program was:" >&5
 
5136
sed 's/^/| /' conftest.$ac_ext >&5
 
5137
 
 
5138
 
 
5139
fi
 
5140
 
 
5141
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5142
fi
 
5143
 
 
5144
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5145
fi
 
5146
 
 
5147
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5148
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5149
fi
 
5150
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5151
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
5152
if test "$ac_test_CFLAGS" = set; then
 
5153
  CFLAGS=$ac_save_CFLAGS
 
5154
elif test $ac_cv_prog_cc_g = yes; then
 
5155
  if test "$GCC" = yes; then
 
5156
    CFLAGS="-g -O2"
 
5157
  else
 
5158
    CFLAGS="-g"
 
5159
  fi
 
5160
else
 
5161
  if test "$GCC" = yes; then
 
5162
    CFLAGS="-O2"
 
5163
  else
 
5164
    CFLAGS=
 
5165
  fi
 
5166
fi
 
5167
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5168
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5169
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
5170
  $as_echo_n "(cached) " >&6
 
5171
else
 
5172
  ac_cv_prog_cc_c89=no
 
5173
ac_save_CC=$CC
 
5174
cat >conftest.$ac_ext <<_ACEOF
 
5175
/* confdefs.h.  */
 
5176
_ACEOF
 
5177
cat confdefs.h >>conftest.$ac_ext
 
5178
cat >>conftest.$ac_ext <<_ACEOF
 
5179
/* end confdefs.h.  */
 
5180
#include <stdarg.h>
 
5181
#include <stdio.h>
 
5182
#include <sys/types.h>
 
5183
#include <sys/stat.h>
 
5184
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5185
struct buf { int x; };
 
5186
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5187
static char *e (p, i)
 
5188
     char **p;
 
5189
     int i;
 
5190
{
 
5191
  return p[i];
 
5192
}
 
5193
static char *f (char * (*g) (char **, int), char **p, ...)
 
5194
{
 
5195
  char *s;
 
5196
  va_list v;
 
5197
  va_start (v,p);
 
5198
  s = g (p, va_arg (v,int));
 
5199
  va_end (v);
 
5200
  return s;
 
5201
}
 
5202
 
 
5203
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5204
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5205
   These don't provoke an error unfortunately, instead are silently treated
 
5206
   as 'x'.  The following induces an error, until -std is added to get
 
5207
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5208
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5209
   that's true only with -std.  */
 
5210
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5211
 
 
5212
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5213
   inside strings and character constants.  */
 
5214
#define FOO(x) 'x'
 
5215
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5216
 
 
5217
int test (int i, double x);
 
5218
struct s1 {int (*f) (int a);};
 
5219
struct s2 {int (*f) (double a);};
 
5220
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5221
int argc;
 
5222
char **argv;
 
5223
int
 
5224
main ()
 
5225
{
 
5226
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5227
  ;
 
5228
  return 0;
 
5229
}
 
5230
_ACEOF
 
5231
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5232
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5233
do
 
5234
  CC="$ac_save_CC $ac_arg"
 
5235
  rm -f conftest.$ac_objext
 
5236
if { (ac_try="$ac_compile"
 
5237
case "(($ac_try" in
 
5238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5239
  *) ac_try_echo=$ac_try;;
 
5240
esac
 
5241
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5242
$as_echo "$ac_try_echo") >&5
 
5243
  (eval "$ac_compile") 2>conftest.er1
 
5244
  ac_status=$?
 
5245
  grep -v '^ *+' conftest.er1 >conftest.err
 
5246
  rm -f conftest.er1
 
5247
  cat conftest.err >&5
 
5248
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5249
  (exit $ac_status); } && {
 
5250
         test -z "$ac_c_werror_flag" ||
 
5251
         test ! -s conftest.err
 
5252
       } && test -s conftest.$ac_objext; then
 
5253
  ac_cv_prog_cc_c89=$ac_arg
 
5254
else
 
5255
  $as_echo "$as_me: failed program was:" >&5
 
5256
sed 's/^/| /' conftest.$ac_ext >&5
 
5257
 
 
5258
 
 
5259
fi
 
5260
 
 
5261
rm -f core conftest.err conftest.$ac_objext
 
5262
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5263
done
 
5264
rm -f conftest.$ac_ext
 
5265
CC=$ac_save_CC
 
5266
 
 
5267
fi
 
5268
# AC_CACHE_VAL
 
5269
case "x$ac_cv_prog_cc_c89" in
 
5270
  x)
 
5271
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5272
$as_echo "none needed" >&6; } ;;
 
5273
  xno)
 
5274
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5275
$as_echo "unsupported" >&6; } ;;
 
5276
  *)
 
5277
    CC="$CC $ac_cv_prog_cc_c89"
 
5278
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5279
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5280
esac
 
5281
 
 
5282
 
 
5283
ac_ext=c
 
5284
ac_cpp='$CPP $CPPFLAGS'
 
5285
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5286
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5287
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5288
 
 
5289
depcc="$CC"   am_compiler_list=
 
5290
 
 
5291
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5292
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5293
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5294
  $as_echo_n "(cached) " >&6
 
5295
else
 
5296
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5297
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5298
  # making bogus files that we don't know about and never remove.  For
 
5299
  # instance it was reported that on HP-UX the gcc test will end up
 
5300
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5301
  # in D'.
 
5302
  mkdir conftest.dir
 
5303
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5304
  # using a relative directory.
 
5305
  cp "$am_depcomp" conftest.dir
 
5306
  cd conftest.dir
 
5307
  # We will build objects and dependencies in a subdirectory because
 
5308
  # it helps to detect inapplicable dependency modes.  For instance
 
5309
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5310
  # side effect of compilation, but ICC will put the dependencies in
 
5311
  # the current directory while Tru64 will put them in the object
 
5312
  # directory.
 
5313
  mkdir sub
 
5314
 
 
5315
  am_cv_CC_dependencies_compiler_type=none
 
5316
  if test "$am_compiler_list" = ""; then
 
5317
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5318
  fi
 
5319
  for depmode in $am_compiler_list; do
 
5320
    # Setup a source with many dependencies, because some compilers
 
5321
    # like to wrap large dependency lists on column 80 (with \), and
 
5322
    # we should not choose a depcomp mode which is confused by this.
 
5323
    #
 
5324
    # We need to recreate these files for each test, as the compiler may
 
5325
    # overwrite some of them when testing with obscure command lines.
 
5326
    # This happens at least with the AIX C compiler.
 
5327
    : > sub/conftest.c
 
5328
    for i in 1 2 3 4 5 6; do
 
5329
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5330
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5331
      # Solaris 8's {/usr,}/bin/sh.
 
5332
      touch sub/conftst$i.h
 
5333
    done
 
5334
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5335
 
 
5336
    case $depmode in
 
5337
    nosideeffect)
 
5338
      # after this tag, mechanisms are not by side-effect, so they'll
 
5339
      # only be used when explicitly requested
 
5340
      if test "x$enable_dependency_tracking" = xyes; then
 
5341
        continue
 
5342
      else
 
5343
        break
 
5344
      fi
 
5345
      ;;
 
5346
    none) break ;;
 
5347
    esac
 
5348
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5349
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5350
    # handle `-M -o', and we need to detect this.
 
5351
    if depmode=$depmode \
 
5352
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5353
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5354
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5355
         >/dev/null 2>conftest.err &&
 
5356
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5357
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5358
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5359
      # icc doesn't choke on unknown options, it will just issue warnings
 
5360
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5361
      # that says an option was ignored or not supported.
 
5362
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5363
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5364
      # The diagnosis changed in icc 8.0:
 
5365
      #   icc: Command line remark: option '-MP' not supported
 
5366
      if (grep 'ignoring option' conftest.err ||
 
5367
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5368
        am_cv_CC_dependencies_compiler_type=$depmode
 
5369
        break
 
5370
      fi
 
5371
    fi
 
5372
  done
 
5373
 
 
5374
  cd ..
 
5375
  rm -rf conftest.dir
 
5376
else
 
5377
  am_cv_CC_dependencies_compiler_type=none
 
5378
fi
 
5379
 
 
5380
fi
 
5381
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5382
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5383
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5384
 
 
5385
 
 
5386
 
 
5387
if
 
5388
  test "x$enable_dependency_tracking" != xno \
 
5389
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5390
  am__fastdepCC_TRUE=
 
5391
  am__fastdepCC_FALSE='#'
 
5392
else
 
5393
  am__fastdepCC_TRUE='#'
 
5394
  am__fastdepCC_FALSE=
 
5395
fi
 
5396
 
 
5397
 
 
5398
ac_ext=c
 
5399
ac_cpp='$CPP $CPPFLAGS'
 
5400
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5401
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5402
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5403
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5404
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
5405
# On Suns, sometimes $CPP names a directory.
 
5406
if test -n "$CPP" && test -d "$CPP"; then
 
5407
  CPP=
 
5408
fi
 
5409
if test -z "$CPP"; then
 
5410
  if test "${ac_cv_prog_CPP+set}" = set; then
 
5411
  $as_echo_n "(cached) " >&6
 
5412
else
 
5413
      # Double quotes because CPP needs to be expanded
 
5414
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
5415
    do
 
5416
      ac_preproc_ok=false
 
5417
for ac_c_preproc_warn_flag in '' yes
 
5418
do
 
5419
  # Use a header file that comes with gcc, so configuring glibc
 
5420
  # with a fresh cross-compiler works.
 
5421
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5422
  # <limits.h> exists even on freestanding compilers.
 
5423
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5424
  # not just through cpp. "Syntax error" is here to catch this case.
 
5425
  cat >conftest.$ac_ext <<_ACEOF
 
5426
/* confdefs.h.  */
 
5427
_ACEOF
 
5428
cat confdefs.h >>conftest.$ac_ext
 
5429
cat >>conftest.$ac_ext <<_ACEOF
 
5430
/* end confdefs.h.  */
 
5431
#ifdef __STDC__
 
5432
# include <limits.h>
 
5433
#else
 
5434
# include <assert.h>
 
5435
#endif
 
5436
                     Syntax error
 
5437
_ACEOF
 
5438
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5439
case "(($ac_try" in
 
5440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5441
  *) ac_try_echo=$ac_try;;
 
5442
esac
 
5443
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5444
$as_echo "$ac_try_echo") >&5
 
5445
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5446
  ac_status=$?
 
5447
  grep -v '^ *+' conftest.er1 >conftest.err
 
5448
  rm -f conftest.er1
 
5449
  cat conftest.err >&5
 
5450
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5451
  (exit $ac_status); } >/dev/null && {
 
5452
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5453
         test ! -s conftest.err
 
5454
       }; then
 
5455
  :
 
5456
else
 
5457
  $as_echo "$as_me: failed program was:" >&5
 
5458
sed 's/^/| /' conftest.$ac_ext >&5
 
5459
 
 
5460
  # Broken: fails on valid input.
 
5461
continue
 
5462
fi
 
5463
 
 
5464
rm -f conftest.err conftest.$ac_ext
 
5465
 
 
5466
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5467
  # can be detected and how.
 
5468
  cat >conftest.$ac_ext <<_ACEOF
 
5469
/* confdefs.h.  */
 
5470
_ACEOF
 
5471
cat confdefs.h >>conftest.$ac_ext
 
5472
cat >>conftest.$ac_ext <<_ACEOF
 
5473
/* end confdefs.h.  */
 
5474
#include <ac_nonexistent.h>
 
5475
_ACEOF
 
5476
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5477
case "(($ac_try" in
 
5478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5479
  *) ac_try_echo=$ac_try;;
 
5480
esac
 
5481
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5482
$as_echo "$ac_try_echo") >&5
 
5483
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5484
  ac_status=$?
 
5485
  grep -v '^ *+' conftest.er1 >conftest.err
 
5486
  rm -f conftest.er1
 
5487
  cat conftest.err >&5
 
5488
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5489
  (exit $ac_status); } >/dev/null && {
 
5490
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5491
         test ! -s conftest.err
 
5492
       }; then
 
5493
  # Broken: success on invalid input.
 
5494
continue
 
5495
else
 
5496
  $as_echo "$as_me: failed program was:" >&5
 
5497
sed 's/^/| /' conftest.$ac_ext >&5
 
5498
 
 
5499
  # Passes both tests.
 
5500
ac_preproc_ok=:
 
5501
break
 
5502
fi
 
5503
 
 
5504
rm -f conftest.err conftest.$ac_ext
 
5505
 
 
5506
done
 
5507
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5508
rm -f conftest.err conftest.$ac_ext
 
5509
if $ac_preproc_ok; then
 
5510
  break
 
5511
fi
 
5512
 
 
5513
    done
 
5514
    ac_cv_prog_CPP=$CPP
 
5515
 
 
5516
fi
 
5517
  CPP=$ac_cv_prog_CPP
 
5518
else
 
5519
  ac_cv_prog_CPP=$CPP
 
5520
fi
 
5521
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5522
$as_echo "$CPP" >&6; }
 
5523
ac_preproc_ok=false
 
5524
for ac_c_preproc_warn_flag in '' yes
 
5525
do
 
5526
  # Use a header file that comes with gcc, so configuring glibc
 
5527
  # with a fresh cross-compiler works.
 
5528
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5529
  # <limits.h> exists even on freestanding compilers.
 
5530
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5531
  # not just through cpp. "Syntax error" is here to catch this case.
 
5532
  cat >conftest.$ac_ext <<_ACEOF
 
5533
/* confdefs.h.  */
 
5534
_ACEOF
 
5535
cat confdefs.h >>conftest.$ac_ext
 
5536
cat >>conftest.$ac_ext <<_ACEOF
 
5537
/* end confdefs.h.  */
 
5538
#ifdef __STDC__
 
5539
# include <limits.h>
 
5540
#else
 
5541
# include <assert.h>
 
5542
#endif
 
5543
                     Syntax error
 
5544
_ACEOF
 
5545
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5546
case "(($ac_try" in
 
5547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5548
  *) ac_try_echo=$ac_try;;
 
5549
esac
 
5550
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5551
$as_echo "$ac_try_echo") >&5
 
5552
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5553
  ac_status=$?
 
5554
  grep -v '^ *+' conftest.er1 >conftest.err
 
5555
  rm -f conftest.er1
 
5556
  cat conftest.err >&5
 
5557
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5558
  (exit $ac_status); } >/dev/null && {
 
5559
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5560
         test ! -s conftest.err
 
5561
       }; then
 
5562
  :
 
5563
else
 
5564
  $as_echo "$as_me: failed program was:" >&5
 
5565
sed 's/^/| /' conftest.$ac_ext >&5
 
5566
 
 
5567
  # Broken: fails on valid input.
 
5568
continue
 
5569
fi
 
5570
 
 
5571
rm -f conftest.err conftest.$ac_ext
 
5572
 
 
5573
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5574
  # can be detected and how.
 
5575
  cat >conftest.$ac_ext <<_ACEOF
 
5576
/* confdefs.h.  */
 
5577
_ACEOF
 
5578
cat confdefs.h >>conftest.$ac_ext
 
5579
cat >>conftest.$ac_ext <<_ACEOF
 
5580
/* end confdefs.h.  */
 
5581
#include <ac_nonexistent.h>
 
5582
_ACEOF
 
5583
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5584
case "(($ac_try" in
 
5585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5586
  *) ac_try_echo=$ac_try;;
 
5587
esac
 
5588
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5589
$as_echo "$ac_try_echo") >&5
 
5590
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5591
  ac_status=$?
 
5592
  grep -v '^ *+' conftest.er1 >conftest.err
 
5593
  rm -f conftest.er1
 
5594
  cat conftest.err >&5
 
5595
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5596
  (exit $ac_status); } >/dev/null && {
 
5597
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5598
         test ! -s conftest.err
 
5599
       }; then
 
5600
  # Broken: success on invalid input.
 
5601
continue
 
5602
else
 
5603
  $as_echo "$as_me: failed program was:" >&5
 
5604
sed 's/^/| /' conftest.$ac_ext >&5
 
5605
 
 
5606
  # Passes both tests.
 
5607
ac_preproc_ok=:
 
5608
break
 
5609
fi
 
5610
 
 
5611
rm -f conftest.err conftest.$ac_ext
 
5612
 
 
5613
done
 
5614
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5615
rm -f conftest.err conftest.$ac_ext
 
5616
if $ac_preproc_ok; then
 
5617
  :
 
5618
else
 
5619
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5620
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5621
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5622
See \`config.log' for more details." >&5
 
5623
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
5624
See \`config.log' for more details." >&2;}
 
5625
   { (exit 1); exit 1; }; }; }
 
5626
fi
 
5627
 
 
5628
ac_ext=c
 
5629
ac_cpp='$CPP $CPPFLAGS'
 
5630
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5631
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5632
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5633
 
 
5634
# Find a good install program.  We prefer a C program (faster),
 
5635
# so one script is as good as another.  But avoid the broken or
 
5636
# incompatible versions:
 
5637
# SysV /etc/install, /usr/sbin/install
 
5638
# SunOS /usr/etc/install
 
5639
# IRIX /sbin/install
 
5640
# AIX /bin/install
 
5641
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
5642
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
5643
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
5644
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
5645
# OS/2's system install, which has a completely different semantic
 
5646
# ./install, which can be erroneously created by make from ./install.sh.
 
5647
# Reject install programs that cannot install multiple files.
 
5648
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
5649
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
5650
if test -z "$INSTALL"; then
 
5651
if test "${ac_cv_path_install+set}" = set; then
 
5652
  $as_echo_n "(cached) " >&6
 
5653
else
 
5654
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5655
for as_dir in $PATH
 
5656
do
 
5657
  IFS=$as_save_IFS
 
5658
  test -z "$as_dir" && as_dir=.
 
5659
  # Account for people who put trailing slashes in PATH elements.
 
5660
case $as_dir/ in
 
5661
  ./ | .// | /cC/* | \
 
5662
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
5663
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
5664
  /usr/ucb/* ) ;;
 
5665
  *)
 
5666
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
5667
    # Don't use installbsd from OSF since it installs stuff as root
 
5668
    # by default.
 
5669
    for ac_prog in ginstall scoinst install; do
 
5670
      for ac_exec_ext in '' $ac_executable_extensions; do
 
5671
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
5672
          if test $ac_prog = install &&
 
5673
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
5674
            # AIX install.  It has an incompatible calling convention.
 
5675
            :
 
5676
          elif test $ac_prog = install &&
 
5677
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
5678
            # program-specific install script used by HP pwplus--don't use.
 
5679
            :
 
5680
          else
 
5681
            rm -rf conftest.one conftest.two conftest.dir
 
5682
            echo one > conftest.one
 
5683
            echo two > conftest.two
 
5684
            mkdir conftest.dir
 
5685
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
5686
              test -s conftest.one && test -s conftest.two &&
 
5687
              test -s conftest.dir/conftest.one &&
 
5688
              test -s conftest.dir/conftest.two
 
5689
            then
 
5690
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
5691
              break 3
 
5692
            fi
 
5693
          fi
 
5694
        fi
 
5695
      done
 
5696
    done
 
5697
    ;;
 
5698
esac
 
5699
 
 
5700
done
 
5701
IFS=$as_save_IFS
 
5702
 
 
5703
rm -rf conftest.one conftest.two conftest.dir
 
5704
 
 
5705
fi
 
5706
  if test "${ac_cv_path_install+set}" = set; then
 
5707
    INSTALL=$ac_cv_path_install
 
5708
  else
 
5709
    # As a last resort, use the slow shell script.  Don't cache a
 
5710
    # value for INSTALL within a source directory, because that will
 
5711
    # break other packages using the cache if that directory is
 
5712
    # removed, or if the value is a relative name.
 
5713
    INSTALL=$ac_install_sh
 
5714
  fi
 
5715
fi
 
5716
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
5717
$as_echo "$INSTALL" >&6; }
 
5718
 
 
5719
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
5720
# It thinks the first close brace ends the variable substitution.
 
5721
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
5722
 
 
5723
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
5724
 
 
5725
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
5726
 
 
5727
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
5728
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
5729
set x ${MAKE-make}
 
5730
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
5731
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
5732
  $as_echo_n "(cached) " >&6
 
5733
else
 
5734
  cat >conftest.make <<\_ACEOF
 
5735
SHELL = /bin/sh
 
5736
all:
 
5737
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
5738
_ACEOF
 
5739
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
5740
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
5741
  *@@@%%%=?*=@@@%%%*)
 
5742
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
5743
  *)
 
5744
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
5745
esac
 
5746
rm -f conftest.make
 
5747
fi
 
5748
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
5749
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5750
$as_echo "yes" >&6; }
 
5751
  SET_MAKE=
 
5752
else
 
5753
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5754
$as_echo "no" >&6; }
 
5755
  SET_MAKE="MAKE=${MAKE-make}"
 
5756
fi
 
5757
 
 
5758
# Check whether --enable-static was given.
 
5759
if test "${enable_static+set}" = set; then
 
5760
  enableval=$enable_static; p=${PACKAGE-default}
 
5761
    case $enableval in
 
5762
    yes) enable_static=yes ;;
 
5763
    no) enable_static=no ;;
 
5764
    *)
 
5765
     enable_static=no
 
5766
      # Look at the argument we got.  We use all the common list separators.
 
5767
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
5768
      for pkg in $enableval; do
 
5769
        IFS="$lt_save_ifs"
 
5770
        if test "X$pkg" = "X$p"; then
 
5771
          enable_static=yes
 
5772
        fi
 
5773
      done
 
5774
      IFS="$lt_save_ifs"
 
5775
      ;;
 
5776
    esac
 
5777
else
 
5778
  enable_static=no
 
5779
fi
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
case `pwd` in
 
5790
  *\ * | *\     *)
 
5791
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5792
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5793
esac
 
5794
 
 
5795
 
 
5796
 
 
5797
macro_version='2.2.6'
 
5798
macro_revision='1.3012'
 
5799
 
 
5800
 
 
5801
 
 
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
 
 
5810
 
 
5811
 
 
5812
ltmain="$ac_aux_dir/ltmain.sh"
 
5813
 
 
5814
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5815
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5816
if test "${ac_cv_path_SED+set}" = set; then
 
5817
  $as_echo_n "(cached) " >&6
 
5818
else
 
5819
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5820
     for ac_i in 1 2 3 4 5 6 7; do
 
5821
       ac_script="$ac_script$as_nl$ac_script"
 
5822
     done
 
5823
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5824
     $as_unset ac_script || ac_script=
 
5825
     if test -z "$SED"; then
 
5826
  ac_path_SED_found=false
 
5827
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5828
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5829
for as_dir in $PATH
 
5830
do
 
5831
  IFS=$as_save_IFS
 
5832
  test -z "$as_dir" && as_dir=.
 
5833
  for ac_prog in sed gsed; do
 
5834
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5835
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5836
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5837
# Check for GNU ac_path_SED and select it if it is found.
 
5838
  # Check for GNU $ac_path_SED
 
5839
case `"$ac_path_SED" --version 2>&1` in
 
5840
*GNU*)
 
5841
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5842
*)
 
5843
  ac_count=0
 
5844
  $as_echo_n 0123456789 >"conftest.in"
 
5845
  while :
 
5846
  do
 
5847
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5848
    mv "conftest.tmp" "conftest.in"
 
5849
    cp "conftest.in" "conftest.nl"
 
5850
    $as_echo '' >> "conftest.nl"
 
5851
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5852
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5853
    ac_count=`expr $ac_count + 1`
 
5854
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5855
      # Best one so far, save it but keep looking for a better one
 
5856
      ac_cv_path_SED="$ac_path_SED"
 
5857
      ac_path_SED_max=$ac_count
 
5858
    fi
 
5859
    # 10*(2^10) chars as input seems more than enough
 
5860
    test $ac_count -gt 10 && break
 
5861
  done
 
5862
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5863
esac
 
5864
 
 
5865
      $ac_path_SED_found && break 3
 
5866
    done
 
5867
  done
 
5868
done
 
5869
IFS=$as_save_IFS
 
5870
  if test -z "$ac_cv_path_SED"; then
 
5871
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
5872
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
5873
   { (exit 1); exit 1; }; }
 
5874
  fi
 
5875
else
 
5876
  ac_cv_path_SED=$SED
 
5877
fi
 
5878
 
 
5879
fi
 
5880
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5881
$as_echo "$ac_cv_path_SED" >&6; }
 
5882
 SED="$ac_cv_path_SED"
 
5883
  rm -f conftest.sed
 
5884
 
 
5885
test -z "$SED" && SED=sed
 
5886
Xsed="$SED -e 1s/^X//"
 
5887
 
 
5888
 
 
5889
 
 
5890
 
 
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
 
 
5896
 
 
5897
 
 
5898
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5899
$as_echo_n "checking for fgrep... " >&6; }
 
5900
if test "${ac_cv_path_FGREP+set}" = set; then
 
5901
  $as_echo_n "(cached) " >&6
 
5902
else
 
5903
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5904
   then ac_cv_path_FGREP="$GREP -F"
 
5905
   else
 
5906
     if test -z "$FGREP"; then
 
5907
  ac_path_FGREP_found=false
 
5908
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5909
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5910
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5911
do
 
5912
  IFS=$as_save_IFS
 
5913
  test -z "$as_dir" && as_dir=.
 
5914
  for ac_prog in fgrep; do
 
5915
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5916
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5917
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5918
# Check for GNU ac_path_FGREP and select it if it is found.
 
5919
  # Check for GNU $ac_path_FGREP
 
5920
case `"$ac_path_FGREP" --version 2>&1` in
 
5921
*GNU*)
 
5922
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5923
*)
 
5924
  ac_count=0
 
5925
  $as_echo_n 0123456789 >"conftest.in"
 
5926
  while :
 
5927
  do
 
5928
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5929
    mv "conftest.tmp" "conftest.in"
 
5930
    cp "conftest.in" "conftest.nl"
 
5931
    $as_echo 'FGREP' >> "conftest.nl"
 
5932
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5933
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5934
    ac_count=`expr $ac_count + 1`
 
5935
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5936
      # Best one so far, save it but keep looking for a better one
 
5937
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5938
      ac_path_FGREP_max=$ac_count
 
5939
    fi
 
5940
    # 10*(2^10) chars as input seems more than enough
 
5941
    test $ac_count -gt 10 && break
 
5942
  done
 
5943
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5944
esac
 
5945
 
 
5946
      $ac_path_FGREP_found && break 3
 
5947
    done
 
5948
  done
 
5949
done
 
5950
IFS=$as_save_IFS
 
5951
  if test -z "$ac_cv_path_FGREP"; then
 
5952
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5953
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5954
   { (exit 1); exit 1; }; }
 
5955
  fi
 
5956
else
 
5957
  ac_cv_path_FGREP=$FGREP
 
5958
fi
 
5959
 
 
5960
   fi
 
5961
fi
 
5962
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5963
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5964
 FGREP="$ac_cv_path_FGREP"
 
5965
 
 
5966
 
 
5967
test -z "$GREP" && GREP=grep
 
5968
 
 
5969
 
 
5970
 
 
5971
 
 
5972
 
 
5973
 
 
5974
 
 
5975
 
 
5976
 
 
5977
 
 
5978
 
 
5979
 
 
5980
 
 
5981
 
 
5982
 
 
5983
 
 
5984
 
 
5985
 
4278
5986
 
4279
5987
# Check whether --with-gnu-ld was given.
4280
5988
if test "${with_gnu_ld+set}" = set; then
4286
5994
ac_prog=ld
4287
5995
if test "$GCC" = yes; then
4288
5996
  # Check if gcc -print-prog-name=ld gives a path.
4289
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4290
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
5997
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5998
$as_echo_n "checking for ld used by $CC... " >&6; }
4291
5999
  case $host in
4292
6000
  *-*-mingw*)
4293
6001
    # gcc leaves a trailing carriage return which upsets mingw
4300
6008
    [\\/]* | ?:[\\/]*)
4301
6009
      re_direlt='/[^/][^/]*/\.\./'
4302
6010
      # Canonicalize the pathname of ld
4303
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4304
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4305
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
6011
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6012
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6013
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4306
6014
      done
4307
6015
      test -z "$LD" && LD="$ac_prog"
4308
6016
      ;;
4316
6024
    ;;
4317
6025
  esac
4318
6026
elif test "$with_gnu_ld" = yes; then
4319
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4320
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
6027
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
6028
$as_echo_n "checking for GNU ld... " >&6; }
4321
6029
else
4322
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4323
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
6030
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
6031
$as_echo_n "checking for non-GNU ld... " >&6; }
4324
6032
fi
4325
6033
if test "${lt_cv_path_LD+set}" = set; then
4326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6034
  $as_echo_n "(cached) " >&6
4327
6035
else
4328
6036
  if test -z "$LD"; then
4329
6037
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4353
6061
 
4354
6062
LD="$lt_cv_path_LD"
4355
6063
if test -n "$LD"; then
4356
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4357
 
echo "${ECHO_T}$LD" >&6; }
 
6064
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
6065
$as_echo "$LD" >&6; }
4358
6066
else
4359
 
  { echo "$as_me:$LINENO: result: no" >&5
4360
 
echo "${ECHO_T}no" >&6; }
 
6067
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6068
$as_echo "no" >&6; }
4361
6069
fi
4362
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4363
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
6070
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
6071
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4364
6072
   { (exit 1); exit 1; }; }
4365
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4366
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
6073
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
6074
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4367
6075
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4368
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6076
  $as_echo_n "(cached) " >&6
4369
6077
else
4370
6078
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4371
6079
case `$LD -v 2>&1 </dev/null` in
4377
6085
  ;;
4378
6086
esac
4379
6087
fi
4380
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4381
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
6088
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6089
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4382
6090
with_gnu_ld=$lt_cv_prog_gnu_ld
4383
6091
 
4384
6092
 
4385
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4386
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4387
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4389
 
else
4390
 
  lt_cv_ld_reload_flag='-r'
4391
 
fi
4392
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4393
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4394
 
reload_flag=$lt_cv_ld_reload_flag
4395
 
case $reload_flag in
4396
 
"" | " "*) ;;
4397
 
*) reload_flag=" $reload_flag" ;;
4398
 
esac
4399
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4400
 
case $host_os in
4401
 
  darwin*)
4402
 
    if test "$GCC" = yes; then
4403
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4404
 
    else
4405
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4406
 
    fi
4407
 
    ;;
4408
 
esac
4409
 
 
4410
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4411
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
6093
 
 
6094
 
 
6095
 
 
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6101
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4412
6102
if test "${lt_cv_path_NM+set}" = set; then
4413
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6103
  $as_echo_n "(cached) " >&6
4414
6104
else
4415
6105
  if test -n "$NM"; then
4416
6106
  # Let the user override the test.
4453
6143
    done
4454
6144
    IFS="$lt_save_ifs"
4455
6145
  done
4456
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4457
 
fi
4458
 
fi
4459
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4460
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4461
 
NM="$lt_cv_path_NM"
4462
 
 
4463
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4464
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
6146
  : ${lt_cv_path_NM=no}
 
6147
fi
 
6148
fi
 
6149
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6150
$as_echo "$lt_cv_path_NM" >&6; }
 
6151
if test "$lt_cv_path_NM" != "no"; then
 
6152
  NM="$lt_cv_path_NM"
 
6153
else
 
6154
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6155
  if test -n "$ac_tool_prefix"; then
 
6156
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6157
  do
 
6158
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6159
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6160
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6161
$as_echo_n "checking for $ac_word... " >&6; }
 
6162
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
6163
  $as_echo_n "(cached) " >&6
 
6164
else
 
6165
  if test -n "$DUMPBIN"; then
 
6166
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6167
else
 
6168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6169
for as_dir in $PATH
 
6170
do
 
6171
  IFS=$as_save_IFS
 
6172
  test -z "$as_dir" && as_dir=.
 
6173
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6174
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6175
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6176
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6177
    break 2
 
6178
  fi
 
6179
done
 
6180
done
 
6181
IFS=$as_save_IFS
 
6182
 
 
6183
fi
 
6184
fi
 
6185
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6186
if test -n "$DUMPBIN"; then
 
6187
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
6188
$as_echo "$DUMPBIN" >&6; }
 
6189
else
 
6190
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6191
$as_echo "no" >&6; }
 
6192
fi
 
6193
 
 
6194
 
 
6195
    test -n "$DUMPBIN" && break
 
6196
  done
 
6197
fi
 
6198
if test -z "$DUMPBIN"; then
 
6199
  ac_ct_DUMPBIN=$DUMPBIN
 
6200
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6201
do
 
6202
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6203
set dummy $ac_prog; ac_word=$2
 
6204
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6205
$as_echo_n "checking for $ac_word... " >&6; }
 
6206
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
6207
  $as_echo_n "(cached) " >&6
 
6208
else
 
6209
  if test -n "$ac_ct_DUMPBIN"; then
 
6210
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6211
else
 
6212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6213
for as_dir in $PATH
 
6214
do
 
6215
  IFS=$as_save_IFS
 
6216
  test -z "$as_dir" && as_dir=.
 
6217
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6218
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6219
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6220
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6221
    break 2
 
6222
  fi
 
6223
done
 
6224
done
 
6225
IFS=$as_save_IFS
 
6226
 
 
6227
fi
 
6228
fi
 
6229
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6230
if test -n "$ac_ct_DUMPBIN"; then
 
6231
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
6232
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6233
else
 
6234
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6235
$as_echo "no" >&6; }
 
6236
fi
 
6237
 
 
6238
 
 
6239
  test -n "$ac_ct_DUMPBIN" && break
 
6240
done
 
6241
 
 
6242
  if test "x$ac_ct_DUMPBIN" = x; then
 
6243
    DUMPBIN=":"
 
6244
  else
 
6245
    case $cross_compiling:$ac_tool_warned in
 
6246
yes:)
 
6247
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6248
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6249
ac_tool_warned=yes ;;
 
6250
esac
 
6251
    DUMPBIN=$ac_ct_DUMPBIN
 
6252
  fi
 
6253
fi
 
6254
 
 
6255
 
 
6256
  if test "$DUMPBIN" != ":"; then
 
6257
    NM="$DUMPBIN"
 
6258
  fi
 
6259
fi
 
6260
test -z "$NM" && NM=nm
 
6261
 
 
6262
 
 
6263
 
 
6264
 
 
6265
 
 
6266
 
 
6267
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
6268
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6269
if test "${lt_cv_nm_interface+set}" = set; then
 
6270
  $as_echo_n "(cached) " >&6
 
6271
else
 
6272
  lt_cv_nm_interface="BSD nm"
 
6273
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6274
  (eval echo "\"\$as_me:6274: $ac_compile\"" >&5)
 
6275
  (eval "$ac_compile" 2>conftest.err)
 
6276
  cat conftest.err >&5
 
6277
  (eval echo "\"\$as_me:6277: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6278
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6279
  cat conftest.err >&5
 
6280
  (eval echo "\"\$as_me:6280: output\"" >&5)
 
6281
  cat conftest.out >&5
 
6282
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6283
    lt_cv_nm_interface="MS dumpbin"
 
6284
  fi
 
6285
  rm -f conftest*
 
6286
fi
 
6287
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6288
$as_echo "$lt_cv_nm_interface" >&6; }
 
6289
 
 
6290
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6291
$as_echo_n "checking whether ln -s works... " >&6; }
4465
6292
LN_S=$as_ln_s
4466
6293
if test "$LN_S" = "ln -s"; then
4467
 
  { echo "$as_me:$LINENO: result: yes" >&5
4468
 
echo "${ECHO_T}yes" >&6; }
4469
 
else
4470
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4471
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4472
 
fi
4473
 
 
4474
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4475
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
6294
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6295
$as_echo "yes" >&6; }
 
6296
else
 
6297
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6298
$as_echo "no, using $LN_S" >&6; }
 
6299
fi
 
6300
 
 
6301
# find the maximum length of command line arguments
 
6302
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6303
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6304
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6305
  $as_echo_n "(cached) " >&6
 
6306
else
 
6307
    i=0
 
6308
  teststring="ABCD"
 
6309
 
 
6310
  case $build_os in
 
6311
  msdosdjgpp*)
 
6312
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6313
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6314
    # during glob expansion).  Even if it were fixed, the result of this
 
6315
    # check would be larger than it should be.
 
6316
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6317
    ;;
 
6318
 
 
6319
  gnu*)
 
6320
    # Under GNU Hurd, this test is not required because there is
 
6321
    # no limit to the length of command line arguments.
 
6322
    # Libtool will interpret -1 as no limit whatsoever
 
6323
    lt_cv_sys_max_cmd_len=-1;
 
6324
    ;;
 
6325
 
 
6326
  cygwin* | mingw* | cegcc*)
 
6327
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6328
    # about 5 minutes as the teststring grows exponentially.
 
6329
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6330
    # you end up with a "frozen" computer, even though with patience
 
6331
    # the test eventually succeeds (with a max line length of 256k).
 
6332
    # Instead, let's just punt: use the minimum linelength reported by
 
6333
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6334
    lt_cv_sys_max_cmd_len=8192;
 
6335
    ;;
 
6336
 
 
6337
  amigaos*)
 
6338
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6339
    # So we just punt and use a minimum line length of 8192.
 
6340
    lt_cv_sys_max_cmd_len=8192;
 
6341
    ;;
 
6342
 
 
6343
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6344
    # This has been around since 386BSD, at least.  Likely further.
 
6345
    if test -x /sbin/sysctl; then
 
6346
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6347
    elif test -x /usr/sbin/sysctl; then
 
6348
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6349
    else
 
6350
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6351
    fi
 
6352
    # And add a safety zone
 
6353
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6354
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6355
    ;;
 
6356
 
 
6357
  interix*)
 
6358
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6359
    lt_cv_sys_max_cmd_len=196608
 
6360
    ;;
 
6361
 
 
6362
  osf*)
 
6363
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6364
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6365
    # nice to cause kernel panics so lets avoid the loop below.
 
6366
    # First set a reasonable default.
 
6367
    lt_cv_sys_max_cmd_len=16384
 
6368
    #
 
6369
    if test -x /sbin/sysconfig; then
 
6370
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6371
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6372
      esac
 
6373
    fi
 
6374
    ;;
 
6375
  sco3.2v5*)
 
6376
    lt_cv_sys_max_cmd_len=102400
 
6377
    ;;
 
6378
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6379
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6380
    if test -n "$kargmax"; then
 
6381
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6382
    else
 
6383
      lt_cv_sys_max_cmd_len=32768
 
6384
    fi
 
6385
    ;;
 
6386
  *)
 
6387
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6388
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6389
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6390
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6391
    else
 
6392
      # Make teststring a little bigger before we do anything with it.
 
6393
      # a 1K string should be a reasonable start.
 
6394
      for i in 1 2 3 4 5 6 7 8 ; do
 
6395
        teststring=$teststring$teststring
 
6396
      done
 
6397
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6398
      # If test is not a shell built-in, we'll probably end up computing a
 
6399
      # maximum length that is only half of the actual maximum length, but
 
6400
      # we can't tell.
 
6401
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6402
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6403
              test $i != 17 # 1/2 MB should be enough
 
6404
      do
 
6405
        i=`expr $i + 1`
 
6406
        teststring=$teststring$teststring
 
6407
      done
 
6408
      # Only check the string length outside the loop.
 
6409
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6410
      teststring=
 
6411
      # Add a significant safety factor because C++ compilers can tack on
 
6412
      # massive amounts of additional arguments before passing them to the
 
6413
      # linker.  It appears as though 1/2 is a usable value.
 
6414
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6415
    fi
 
6416
    ;;
 
6417
  esac
 
6418
 
 
6419
fi
 
6420
 
 
6421
if test -n $lt_cv_sys_max_cmd_len ; then
 
6422
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6423
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6424
else
 
6425
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6426
$as_echo "none" >&6; }
 
6427
fi
 
6428
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6429
 
 
6430
 
 
6431
 
 
6432
 
 
6433
 
 
6434
 
 
6435
: ${CP="cp -f"}
 
6436
: ${MV="mv -f"}
 
6437
: ${RM="rm -f"}
 
6438
 
 
6439
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6440
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6441
# Try some XSI features
 
6442
xsi_shell=no
 
6443
( _lt_dummy="a/b/c"
 
6444
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6445
      = c,a/b,, \
 
6446
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6447
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6448
  && xsi_shell=yes
 
6449
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6450
$as_echo "$xsi_shell" >&6; }
 
6451
 
 
6452
 
 
6453
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6454
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6455
lt_shell_append=no
 
6456
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6457
    >/dev/null 2>&1 \
 
6458
  && lt_shell_append=yes
 
6459
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6460
$as_echo "$lt_shell_append" >&6; }
 
6461
 
 
6462
 
 
6463
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6464
  lt_unset=unset
 
6465
else
 
6466
  lt_unset=false
 
6467
fi
 
6468
 
 
6469
 
 
6470
 
 
6471
 
 
6472
 
 
6473
# test EBCDIC or ASCII
 
6474
case `echo X|tr X '\101'` in
 
6475
 A) # ASCII based system
 
6476
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6477
  lt_SP2NL='tr \040 \012'
 
6478
  lt_NL2SP='tr \015\012 \040\040'
 
6479
  ;;
 
6480
 *) # EBCDIC based system
 
6481
  lt_SP2NL='tr \100 \n'
 
6482
  lt_NL2SP='tr \r\n \100\100'
 
6483
  ;;
 
6484
esac
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6495
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6496
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6497
  $as_echo_n "(cached) " >&6
 
6498
else
 
6499
  lt_cv_ld_reload_flag='-r'
 
6500
fi
 
6501
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6502
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6503
reload_flag=$lt_cv_ld_reload_flag
 
6504
case $reload_flag in
 
6505
"" | " "*) ;;
 
6506
*) reload_flag=" $reload_flag" ;;
 
6507
esac
 
6508
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6509
case $host_os in
 
6510
  darwin*)
 
6511
    if test "$GCC" = yes; then
 
6512
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6513
    else
 
6514
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6515
    fi
 
6516
    ;;
 
6517
esac
 
6518
 
 
6519
 
 
6520
 
 
6521
 
 
6522
 
 
6523
 
 
6524
 
 
6525
 
 
6526
 
 
6527
if test -n "$ac_tool_prefix"; then
 
6528
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6529
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6530
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6531
$as_echo_n "checking for $ac_word... " >&6; }
 
6532
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6533
  $as_echo_n "(cached) " >&6
 
6534
else
 
6535
  if test -n "$OBJDUMP"; then
 
6536
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6537
else
 
6538
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6539
for as_dir in $PATH
 
6540
do
 
6541
  IFS=$as_save_IFS
 
6542
  test -z "$as_dir" && as_dir=.
 
6543
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6544
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6545
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6546
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6547
    break 2
 
6548
  fi
 
6549
done
 
6550
done
 
6551
IFS=$as_save_IFS
 
6552
 
 
6553
fi
 
6554
fi
 
6555
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6556
if test -n "$OBJDUMP"; then
 
6557
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6558
$as_echo "$OBJDUMP" >&6; }
 
6559
else
 
6560
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6561
$as_echo "no" >&6; }
 
6562
fi
 
6563
 
 
6564
 
 
6565
fi
 
6566
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6567
  ac_ct_OBJDUMP=$OBJDUMP
 
6568
  # Extract the first word of "objdump", so it can be a program name with args.
 
6569
set dummy objdump; ac_word=$2
 
6570
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6571
$as_echo_n "checking for $ac_word... " >&6; }
 
6572
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6573
  $as_echo_n "(cached) " >&6
 
6574
else
 
6575
  if test -n "$ac_ct_OBJDUMP"; then
 
6576
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6577
else
 
6578
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6579
for as_dir in $PATH
 
6580
do
 
6581
  IFS=$as_save_IFS
 
6582
  test -z "$as_dir" && as_dir=.
 
6583
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6584
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6585
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6586
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6587
    break 2
 
6588
  fi
 
6589
done
 
6590
done
 
6591
IFS=$as_save_IFS
 
6592
 
 
6593
fi
 
6594
fi
 
6595
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6596
if test -n "$ac_ct_OBJDUMP"; then
 
6597
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6598
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6599
else
 
6600
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6601
$as_echo "no" >&6; }
 
6602
fi
 
6603
 
 
6604
  if test "x$ac_ct_OBJDUMP" = x; then
 
6605
    OBJDUMP="false"
 
6606
  else
 
6607
    case $cross_compiling:$ac_tool_warned in
 
6608
yes:)
 
6609
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6610
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6611
ac_tool_warned=yes ;;
 
6612
esac
 
6613
    OBJDUMP=$ac_ct_OBJDUMP
 
6614
  fi
 
6615
else
 
6616
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6617
fi
 
6618
 
 
6619
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6620
 
 
6621
 
 
6622
 
 
6623
 
 
6624
 
 
6625
 
 
6626
 
 
6627
 
 
6628
 
 
6629
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6630
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4476
6631
if test "${lt_cv_deplibs_check_method+set}" = set; then
4477
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6632
  $as_echo_n "(cached) " >&6
4478
6633
else
4479
6634
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4480
6635
lt_cv_file_magic_test_file=
4524
6679
  fi
4525
6680
  ;;
4526
6681
 
 
6682
cegcc)
 
6683
  # use the weaker test based on 'objdump'. See mingw*.
 
6684
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6685
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6686
  ;;
 
6687
 
4527
6688
darwin* | rhapsody*)
4528
6689
  lt_cv_deplibs_check_method=pass_all
4529
6690
  ;;
4530
6691
 
4531
6692
freebsd* | dragonfly*)
4532
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6693
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4533
6694
    case $host_cpu in
4534
6695
    i*86 )
4535
6696
      # Not sure whether the presence of OpenBSD here was a mistake.
4586
6747
  lt_cv_deplibs_check_method=pass_all
4587
6748
  ;;
4588
6749
 
4589
 
netbsd*)
4590
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6750
netbsd* | netbsdelf*-gnu)
 
6751
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4591
6752
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4592
6753
  else
4593
6754
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4600
6761
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4601
6762
  ;;
4602
6763
 
4603
 
nto-qnx*)
4604
 
  lt_cv_deplibs_check_method=unknown
 
6764
*nto* | *qnx*)
 
6765
  lt_cv_deplibs_check_method=pass_all
4605
6766
  ;;
4606
6767
 
4607
6768
openbsd*)
4608
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6769
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4609
6770
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4610
6771
  else
4611
6772
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4624
6785
  lt_cv_deplibs_check_method=pass_all
4625
6786
  ;;
4626
6787
 
 
6788
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6789
  lt_cv_deplibs_check_method=pass_all
 
6790
  ;;
 
6791
 
4627
6792
sysv4 | sysv4.3*)
4628
6793
  case $host_vendor in
4629
6794
  motorola)
4651
6816
  esac
4652
6817
  ;;
4653
6818
 
4654
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6819
tpf*)
4655
6820
  lt_cv_deplibs_check_method=pass_all
4656
6821
  ;;
4657
6822
esac
4658
6823
 
4659
6824
fi
4660
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4661
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6825
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6826
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4662
6827
file_magic_cmd=$lt_cv_file_magic_cmd
4663
6828
deplibs_check_method=$lt_cv_deplibs_check_method
4664
6829
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4666
6831
 
4667
6832
 
4668
6833
 
 
6834
 
 
6835
 
 
6836
 
 
6837
 
 
6838
 
 
6839
 
 
6840
 
 
6841
 
 
6842
if test -n "$ac_tool_prefix"; then
 
6843
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6844
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6845
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6846
$as_echo_n "checking for $ac_word... " >&6; }
 
6847
if test "${ac_cv_prog_AR+set}" = set; then
 
6848
  $as_echo_n "(cached) " >&6
 
6849
else
 
6850
  if test -n "$AR"; then
 
6851
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6852
else
 
6853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6854
for as_dir in $PATH
 
6855
do
 
6856
  IFS=$as_save_IFS
 
6857
  test -z "$as_dir" && as_dir=.
 
6858
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6859
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6860
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6861
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6862
    break 2
 
6863
  fi
 
6864
done
 
6865
done
 
6866
IFS=$as_save_IFS
 
6867
 
 
6868
fi
 
6869
fi
 
6870
AR=$ac_cv_prog_AR
 
6871
if test -n "$AR"; then
 
6872
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6873
$as_echo "$AR" >&6; }
 
6874
else
 
6875
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6876
$as_echo "no" >&6; }
 
6877
fi
 
6878
 
 
6879
 
 
6880
fi
 
6881
if test -z "$ac_cv_prog_AR"; then
 
6882
  ac_ct_AR=$AR
 
6883
  # Extract the first word of "ar", so it can be a program name with args.
 
6884
set dummy ar; ac_word=$2
 
6885
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6886
$as_echo_n "checking for $ac_word... " >&6; }
 
6887
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6888
  $as_echo_n "(cached) " >&6
 
6889
else
 
6890
  if test -n "$ac_ct_AR"; then
 
6891
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6892
else
 
6893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6894
for as_dir in $PATH
 
6895
do
 
6896
  IFS=$as_save_IFS
 
6897
  test -z "$as_dir" && as_dir=.
 
6898
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6900
    ac_cv_prog_ac_ct_AR="ar"
 
6901
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6902
    break 2
 
6903
  fi
 
6904
done
 
6905
done
 
6906
IFS=$as_save_IFS
 
6907
 
 
6908
fi
 
6909
fi
 
6910
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6911
if test -n "$ac_ct_AR"; then
 
6912
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6913
$as_echo "$ac_ct_AR" >&6; }
 
6914
else
 
6915
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6916
$as_echo "no" >&6; }
 
6917
fi
 
6918
 
 
6919
  if test "x$ac_ct_AR" = x; then
 
6920
    AR="false"
 
6921
  else
 
6922
    case $cross_compiling:$ac_tool_warned in
 
6923
yes:)
 
6924
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6925
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6926
ac_tool_warned=yes ;;
 
6927
esac
 
6928
    AR=$ac_ct_AR
 
6929
  fi
 
6930
else
 
6931
  AR="$ac_cv_prog_AR"
 
6932
fi
 
6933
 
 
6934
test -z "$AR" && AR=ar
 
6935
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6936
 
 
6937
 
 
6938
 
 
6939
 
 
6940
 
 
6941
 
 
6942
 
 
6943
 
 
6944
 
 
6945
 
 
6946
 
 
6947
if test -n "$ac_tool_prefix"; then
 
6948
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6949
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6950
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6951
$as_echo_n "checking for $ac_word... " >&6; }
 
6952
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6953
  $as_echo_n "(cached) " >&6
 
6954
else
 
6955
  if test -n "$STRIP"; then
 
6956
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6957
else
 
6958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6959
for as_dir in $PATH
 
6960
do
 
6961
  IFS=$as_save_IFS
 
6962
  test -z "$as_dir" && as_dir=.
 
6963
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6964
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6965
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6966
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6967
    break 2
 
6968
  fi
 
6969
done
 
6970
done
 
6971
IFS=$as_save_IFS
 
6972
 
 
6973
fi
 
6974
fi
 
6975
STRIP=$ac_cv_prog_STRIP
 
6976
if test -n "$STRIP"; then
 
6977
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6978
$as_echo "$STRIP" >&6; }
 
6979
else
 
6980
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6981
$as_echo "no" >&6; }
 
6982
fi
 
6983
 
 
6984
 
 
6985
fi
 
6986
if test -z "$ac_cv_prog_STRIP"; then
 
6987
  ac_ct_STRIP=$STRIP
 
6988
  # Extract the first word of "strip", so it can be a program name with args.
 
6989
set dummy strip; ac_word=$2
 
6990
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6991
$as_echo_n "checking for $ac_word... " >&6; }
 
6992
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6993
  $as_echo_n "(cached) " >&6
 
6994
else
 
6995
  if test -n "$ac_ct_STRIP"; then
 
6996
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6997
else
 
6998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6999
for as_dir in $PATH
 
7000
do
 
7001
  IFS=$as_save_IFS
 
7002
  test -z "$as_dir" && as_dir=.
 
7003
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7004
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7005
    ac_cv_prog_ac_ct_STRIP="strip"
 
7006
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7007
    break 2
 
7008
  fi
 
7009
done
 
7010
done
 
7011
IFS=$as_save_IFS
 
7012
 
 
7013
fi
 
7014
fi
 
7015
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7016
if test -n "$ac_ct_STRIP"; then
 
7017
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7018
$as_echo "$ac_ct_STRIP" >&6; }
 
7019
else
 
7020
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7021
$as_echo "no" >&6; }
 
7022
fi
 
7023
 
 
7024
  if test "x$ac_ct_STRIP" = x; then
 
7025
    STRIP=":"
 
7026
  else
 
7027
    case $cross_compiling:$ac_tool_warned in
 
7028
yes:)
 
7029
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7030
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7031
ac_tool_warned=yes ;;
 
7032
esac
 
7033
    STRIP=$ac_ct_STRIP
 
7034
  fi
 
7035
else
 
7036
  STRIP="$ac_cv_prog_STRIP"
 
7037
fi
 
7038
 
 
7039
test -z "$STRIP" && STRIP=:
 
7040
 
 
7041
 
 
7042
 
 
7043
 
 
7044
 
 
7045
 
 
7046
if test -n "$ac_tool_prefix"; then
 
7047
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7048
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7049
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7050
$as_echo_n "checking for $ac_word... " >&6; }
 
7051
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7052
  $as_echo_n "(cached) " >&6
 
7053
else
 
7054
  if test -n "$RANLIB"; then
 
7055
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7056
else
 
7057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7058
for as_dir in $PATH
 
7059
do
 
7060
  IFS=$as_save_IFS
 
7061
  test -z "$as_dir" && as_dir=.
 
7062
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7064
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7065
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7066
    break 2
 
7067
  fi
 
7068
done
 
7069
done
 
7070
IFS=$as_save_IFS
 
7071
 
 
7072
fi
 
7073
fi
 
7074
RANLIB=$ac_cv_prog_RANLIB
 
7075
if test -n "$RANLIB"; then
 
7076
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7077
$as_echo "$RANLIB" >&6; }
 
7078
else
 
7079
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7080
$as_echo "no" >&6; }
 
7081
fi
 
7082
 
 
7083
 
 
7084
fi
 
7085
if test -z "$ac_cv_prog_RANLIB"; then
 
7086
  ac_ct_RANLIB=$RANLIB
 
7087
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7088
set dummy ranlib; ac_word=$2
 
7089
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7090
$as_echo_n "checking for $ac_word... " >&6; }
 
7091
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7092
  $as_echo_n "(cached) " >&6
 
7093
else
 
7094
  if test -n "$ac_ct_RANLIB"; then
 
7095
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7096
else
 
7097
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7098
for as_dir in $PATH
 
7099
do
 
7100
  IFS=$as_save_IFS
 
7101
  test -z "$as_dir" && as_dir=.
 
7102
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7103
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7104
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7105
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7106
    break 2
 
7107
  fi
 
7108
done
 
7109
done
 
7110
IFS=$as_save_IFS
 
7111
 
 
7112
fi
 
7113
fi
 
7114
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7115
if test -n "$ac_ct_RANLIB"; then
 
7116
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7117
$as_echo "$ac_ct_RANLIB" >&6; }
 
7118
else
 
7119
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7120
$as_echo "no" >&6; }
 
7121
fi
 
7122
 
 
7123
  if test "x$ac_ct_RANLIB" = x; then
 
7124
    RANLIB=":"
 
7125
  else
 
7126
    case $cross_compiling:$ac_tool_warned in
 
7127
yes:)
 
7128
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7129
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7130
ac_tool_warned=yes ;;
 
7131
esac
 
7132
    RANLIB=$ac_ct_RANLIB
 
7133
  fi
 
7134
else
 
7135
  RANLIB="$ac_cv_prog_RANLIB"
 
7136
fi
 
7137
 
 
7138
test -z "$RANLIB" && RANLIB=:
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
 
 
7145
# Determine commands to create old-style static archives.
 
7146
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7147
old_postinstall_cmds='chmod 644 $oldlib'
 
7148
old_postuninstall_cmds=
 
7149
 
 
7150
if test -n "$RANLIB"; then
 
7151
  case $host_os in
 
7152
  openbsd*)
 
7153
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7154
    ;;
 
7155
  *)
 
7156
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7157
    ;;
 
7158
  esac
 
7159
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7160
fi
 
7161
 
 
7162
 
 
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
 
7192
 
 
7193
 
 
7194
 
4669
7195
# If no C compiler was specified, use CC.
4670
7196
LTCC=${LTCC-"$CC"}
4671
7197
 
4676
7202
compiler=$CC
4677
7203
 
4678
7204
 
4679
 
# Check whether --enable-libtool-lock was given.
4680
 
if test "${enable_libtool_lock+set}" = set; then
4681
 
  enableval=$enable_libtool_lock;
4682
 
fi
4683
 
 
4684
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4685
 
 
4686
 
# Some flags need to be propagated to the compiler or linker for good
4687
 
# libtool support.
4688
 
case $host in
4689
 
ia64-*-hpux*)
4690
 
  # Find out which ABI we are using.
4691
 
  echo 'int i;' > conftest.$ac_ext
4692
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4693
 
  (eval $ac_compile) 2>&5
4694
 
  ac_status=$?
4695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696
 
  (exit $ac_status); }; then
4697
 
    case `/usr/bin/file conftest.$ac_objext` in
4698
 
    *ELF-32*)
4699
 
      HPUX_IA64_MODE="32"
4700
 
      ;;
4701
 
    *ELF-64*)
4702
 
      HPUX_IA64_MODE="64"
4703
 
      ;;
4704
 
    esac
4705
 
  fi
4706
 
  rm -rf conftest*
4707
 
  ;;
4708
 
*-*-irix6*)
4709
 
  # Find out which ABI we are using.
4710
 
  echo '#line 4710 "configure"' > conftest.$ac_ext
4711
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712
 
  (eval $ac_compile) 2>&5
4713
 
  ac_status=$?
4714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715
 
  (exit $ac_status); }; then
4716
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4717
 
    case `/usr/bin/file conftest.$ac_objext` in
4718
 
    *32-bit*)
4719
 
      LD="${LD-ld} -melf32bsmip"
4720
 
      ;;
4721
 
    *N32*)
4722
 
      LD="${LD-ld} -melf32bmipn32"
4723
 
      ;;
4724
 
    *64-bit*)
4725
 
      LD="${LD-ld} -melf64bmip"
4726
 
      ;;
4727
 
    esac
4728
 
   else
4729
 
    case `/usr/bin/file conftest.$ac_objext` in
4730
 
    *32-bit*)
4731
 
      LD="${LD-ld} -32"
4732
 
      ;;
4733
 
    *N32*)
4734
 
      LD="${LD-ld} -n32"
4735
 
      ;;
4736
 
    *64-bit*)
4737
 
      LD="${LD-ld} -64"
4738
 
      ;;
4739
 
    esac
4740
 
   fi
4741
 
  fi
4742
 
  rm -rf conftest*
4743
 
  ;;
4744
 
 
4745
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4746
 
s390*-*linux*|sparc*-*linux*)
4747
 
  # Find out which ABI we are using.
4748
 
  echo 'int i;' > conftest.$ac_ext
4749
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4750
 
  (eval $ac_compile) 2>&5
4751
 
  ac_status=$?
4752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753
 
  (exit $ac_status); }; then
4754
 
    case `/usr/bin/file conftest.o` in
4755
 
    *32-bit*)
4756
 
      case $host in
4757
 
        x86_64-*kfreebsd*-gnu)
4758
 
          LD="${LD-ld} -m elf_i386_fbsd"
4759
 
          ;;
4760
 
        x86_64-*linux*)
4761
 
          LD="${LD-ld} -m elf_i386"
4762
 
          ;;
4763
 
        ppc64-*linux*|powerpc64-*linux*)
4764
 
          LD="${LD-ld} -m elf32ppclinux"
4765
 
          ;;
4766
 
        s390x-*linux*)
4767
 
          LD="${LD-ld} -m elf_s390"
4768
 
          ;;
4769
 
        sparc64-*linux*)
4770
 
          LD="${LD-ld} -m elf32_sparc"
4771
 
          ;;
4772
 
      esac
4773
 
      ;;
4774
 
    *64-bit*)
4775
 
      case $host in
4776
 
        x86_64-*kfreebsd*-gnu)
4777
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4778
 
          ;;
4779
 
        x86_64-*linux*)
4780
 
          LD="${LD-ld} -m elf_x86_64"
4781
 
          ;;
4782
 
        ppc*-*linux*|powerpc*-*linux*)
4783
 
          LD="${LD-ld} -m elf64ppc"
4784
 
          ;;
4785
 
        s390*-*linux*)
4786
 
          LD="${LD-ld} -m elf64_s390"
4787
 
          ;;
4788
 
        sparc*-*linux*)
4789
 
          LD="${LD-ld} -m elf64_sparc"
4790
 
          ;;
4791
 
      esac
4792
 
      ;;
4793
 
    esac
4794
 
  fi
4795
 
  rm -rf conftest*
4796
 
  ;;
4797
 
 
4798
 
*-*-sco3.2v5*)
4799
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4800
 
  SAVE_CFLAGS="$CFLAGS"
4801
 
  CFLAGS="$CFLAGS -belf"
4802
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4803
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4804
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4805
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4806
 
else
4807
 
  ac_ext=c
4808
 
ac_cpp='$CPP $CPPFLAGS'
4809
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4810
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4811
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4812
 
 
4813
 
     cat >conftest.$ac_ext <<_ACEOF
4814
 
/* confdefs.h.  */
4815
 
_ACEOF
4816
 
cat confdefs.h >>conftest.$ac_ext
4817
 
cat >>conftest.$ac_ext <<_ACEOF
4818
 
/* end confdefs.h.  */
4819
 
 
4820
 
int
4821
 
main ()
4822
 
{
4823
 
 
4824
 
  ;
4825
 
  return 0;
4826
 
}
4827
 
_ACEOF
4828
 
rm -f conftest.$ac_objext conftest$ac_exeext
4829
 
if { (ac_try="$ac_link"
4830
 
case "(($ac_try" in
4831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832
 
  *) ac_try_echo=$ac_try;;
4833
 
esac
4834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835
 
  (eval "$ac_link") 2>conftest.er1
4836
 
  ac_status=$?
4837
 
  grep -v '^ *+' conftest.er1 >conftest.err
4838
 
  rm -f conftest.er1
4839
 
  cat conftest.err >&5
4840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
 
  (exit $ac_status); } && {
4842
 
         test -z "$ac_c_werror_flag" ||
4843
 
         test ! -s conftest.err
4844
 
       } && test -s conftest$ac_exeext &&
4845
 
       $as_test_x conftest$ac_exeext; then
4846
 
  lt_cv_cc_needs_belf=yes
4847
 
else
4848
 
  echo "$as_me: failed program was:" >&5
4849
 
sed 's/^/| /' conftest.$ac_ext >&5
4850
 
 
4851
 
        lt_cv_cc_needs_belf=no
4852
 
fi
4853
 
 
4854
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4855
 
      conftest$ac_exeext conftest.$ac_ext
4856
 
     ac_ext=c
4857
 
ac_cpp='$CPP $CPPFLAGS'
4858
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4859
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4860
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4861
 
 
4862
 
fi
4863
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4864
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4865
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4866
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4867
 
    CFLAGS="$SAVE_CFLAGS"
4868
 
  fi
4869
 
  ;;
4870
 
sparc*-*solaris*)
4871
 
  # Find out which ABI we are using.
4872
 
  echo 'int i;' > conftest.$ac_ext
4873
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4874
 
  (eval $ac_compile) 2>&5
4875
 
  ac_status=$?
4876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877
 
  (exit $ac_status); }; then
4878
 
    case `/usr/bin/file conftest.o` in
4879
 
    *64-bit*)
4880
 
      case $lt_cv_prog_gnu_ld in
4881
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4882
 
      *)
4883
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4884
 
          LD="${LD-ld} -64"
4885
 
        fi
4886
 
        ;;
4887
 
      esac
4888
 
      ;;
4889
 
    esac
4890
 
  fi
4891
 
  rm -rf conftest*
4892
 
  ;;
4893
 
 
4894
 
 
4895
 
esac
4896
 
 
4897
 
need_locks="$enable_libtool_lock"
4898
 
 
4899
 
 
4900
 
 
4901
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4902
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4903
 
if test "${ac_cv_header_stdc+set}" = set; then
4904
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4905
 
else
4906
 
  cat >conftest.$ac_ext <<_ACEOF
4907
 
/* confdefs.h.  */
4908
 
_ACEOF
4909
 
cat confdefs.h >>conftest.$ac_ext
4910
 
cat >>conftest.$ac_ext <<_ACEOF
4911
 
/* end confdefs.h.  */
4912
 
#include <stdlib.h>
4913
 
#include <stdarg.h>
4914
 
#include <string.h>
4915
 
#include <float.h>
4916
 
 
4917
 
int
4918
 
main ()
4919
 
{
4920
 
 
4921
 
  ;
4922
 
  return 0;
4923
 
}
4924
 
_ACEOF
4925
 
rm -f conftest.$ac_objext
4926
 
if { (ac_try="$ac_compile"
4927
 
case "(($ac_try" in
4928
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929
 
  *) ac_try_echo=$ac_try;;
4930
 
esac
4931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932
 
  (eval "$ac_compile") 2>conftest.er1
4933
 
  ac_status=$?
4934
 
  grep -v '^ *+' conftest.er1 >conftest.err
4935
 
  rm -f conftest.er1
4936
 
  cat conftest.err >&5
4937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938
 
  (exit $ac_status); } && {
4939
 
         test -z "$ac_c_werror_flag" ||
4940
 
         test ! -s conftest.err
4941
 
       } && test -s conftest.$ac_objext; then
4942
 
  ac_cv_header_stdc=yes
4943
 
else
4944
 
  echo "$as_me: failed program was:" >&5
4945
 
sed 's/^/| /' conftest.$ac_ext >&5
4946
 
 
4947
 
        ac_cv_header_stdc=no
4948
 
fi
4949
 
 
4950
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951
 
 
4952
 
if test $ac_cv_header_stdc = yes; then
4953
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4954
 
  cat >conftest.$ac_ext <<_ACEOF
4955
 
/* confdefs.h.  */
4956
 
_ACEOF
4957
 
cat confdefs.h >>conftest.$ac_ext
4958
 
cat >>conftest.$ac_ext <<_ACEOF
4959
 
/* end confdefs.h.  */
4960
 
#include <string.h>
4961
 
 
4962
 
_ACEOF
4963
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4964
 
  $EGREP "memchr" >/dev/null 2>&1; then
4965
 
  :
4966
 
else
4967
 
  ac_cv_header_stdc=no
4968
 
fi
4969
 
rm -f conftest*
4970
 
 
4971
 
fi
4972
 
 
4973
 
if test $ac_cv_header_stdc = yes; then
4974
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4975
 
  cat >conftest.$ac_ext <<_ACEOF
4976
 
/* confdefs.h.  */
4977
 
_ACEOF
4978
 
cat confdefs.h >>conftest.$ac_ext
4979
 
cat >>conftest.$ac_ext <<_ACEOF
4980
 
/* end confdefs.h.  */
4981
 
#include <stdlib.h>
4982
 
 
4983
 
_ACEOF
4984
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4985
 
  $EGREP "free" >/dev/null 2>&1; then
4986
 
  :
4987
 
else
4988
 
  ac_cv_header_stdc=no
4989
 
fi
4990
 
rm -f conftest*
4991
 
 
4992
 
fi
4993
 
 
4994
 
if test $ac_cv_header_stdc = yes; then
4995
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4996
 
  if test "$cross_compiling" = yes; then
4997
 
  :
4998
 
else
4999
 
  cat >conftest.$ac_ext <<_ACEOF
5000
 
/* confdefs.h.  */
5001
 
_ACEOF
5002
 
cat confdefs.h >>conftest.$ac_ext
5003
 
cat >>conftest.$ac_ext <<_ACEOF
5004
 
/* end confdefs.h.  */
5005
 
#include <ctype.h>
5006
 
#include <stdlib.h>
5007
 
#if ((' ' & 0x0FF) == 0x020)
5008
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5009
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5010
 
#else
5011
 
# define ISLOWER(c) \
5012
 
                   (('a' <= (c) && (c) <= 'i') \
5013
 
                     || ('j' <= (c) && (c) <= 'r') \
5014
 
                     || ('s' <= (c) && (c) <= 'z'))
5015
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5016
 
#endif
5017
 
 
5018
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5019
 
int
5020
 
main ()
5021
 
{
5022
 
  int i;
5023
 
  for (i = 0; i < 256; i++)
5024
 
    if (XOR (islower (i), ISLOWER (i))
5025
 
        || toupper (i) != TOUPPER (i))
5026
 
      return 2;
5027
 
  return 0;
5028
 
}
5029
 
_ACEOF
5030
 
rm -f conftest$ac_exeext
5031
 
if { (ac_try="$ac_link"
5032
 
case "(($ac_try" in
5033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034
 
  *) ac_try_echo=$ac_try;;
5035
 
esac
5036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037
 
  (eval "$ac_link") 2>&5
5038
 
  ac_status=$?
5039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5041
 
  { (case "(($ac_try" in
5042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043
 
  *) ac_try_echo=$ac_try;;
5044
 
esac
5045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5046
 
  (eval "$ac_try") 2>&5
5047
 
  ac_status=$?
5048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049
 
  (exit $ac_status); }; }; then
5050
 
  :
5051
 
else
5052
 
  echo "$as_me: program exited with status $ac_status" >&5
5053
 
echo "$as_me: failed program was:" >&5
5054
 
sed 's/^/| /' conftest.$ac_ext >&5
5055
 
 
5056
 
( exit $ac_status )
5057
 
ac_cv_header_stdc=no
5058
 
fi
5059
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5060
 
fi
5061
 
 
5062
 
 
5063
 
fi
5064
 
fi
5065
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5066
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5067
 
if test $ac_cv_header_stdc = yes; then
5068
 
 
5069
 
cat >>confdefs.h <<\_ACEOF
5070
 
#define STDC_HEADERS 1
5071
 
_ACEOF
5072
 
 
5073
 
fi
5074
 
 
5075
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5076
 
 
5077
 
 
5078
 
 
5079
 
 
5080
 
 
5081
 
 
5082
 
 
5083
 
 
5084
 
 
5085
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5086
 
                  inttypes.h stdint.h unistd.h
5087
 
do
5088
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5089
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5090
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5091
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5092
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5093
 
else
5094
 
  cat >conftest.$ac_ext <<_ACEOF
5095
 
/* confdefs.h.  */
5096
 
_ACEOF
5097
 
cat confdefs.h >>conftest.$ac_ext
5098
 
cat >>conftest.$ac_ext <<_ACEOF
5099
 
/* end confdefs.h.  */
5100
 
$ac_includes_default
5101
 
 
5102
 
#include <$ac_header>
5103
 
_ACEOF
5104
 
rm -f conftest.$ac_objext
5105
 
if { (ac_try="$ac_compile"
5106
 
case "(($ac_try" in
5107
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108
 
  *) ac_try_echo=$ac_try;;
5109
 
esac
5110
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111
 
  (eval "$ac_compile") 2>conftest.er1
5112
 
  ac_status=$?
5113
 
  grep -v '^ *+' conftest.er1 >conftest.err
5114
 
  rm -f conftest.er1
5115
 
  cat conftest.err >&5
5116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117
 
  (exit $ac_status); } && {
5118
 
         test -z "$ac_c_werror_flag" ||
5119
 
         test ! -s conftest.err
5120
 
       } && test -s conftest.$ac_objext; then
5121
 
  eval "$as_ac_Header=yes"
5122
 
else
5123
 
  echo "$as_me: failed program was:" >&5
5124
 
sed 's/^/| /' conftest.$ac_ext >&5
5125
 
 
5126
 
        eval "$as_ac_Header=no"
5127
 
fi
5128
 
 
5129
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130
 
fi
5131
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5132
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5133
 
echo "${ECHO_T}$ac_res" >&6; }
5134
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5135
 
  cat >>confdefs.h <<_ACEOF
5136
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5137
 
_ACEOF
5138
 
 
5139
 
fi
5140
 
 
5141
 
done
5142
 
 
5143
 
 
5144
 
 
5145
 
for ac_header in dlfcn.h
5146
 
do
5147
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5148
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5149
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5150
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5151
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5153
 
fi
5154
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5155
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5156
 
echo "${ECHO_T}$ac_res" >&6; }
5157
 
else
5158
 
  # Is the header compilable?
5159
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5160
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5161
 
cat >conftest.$ac_ext <<_ACEOF
5162
 
/* confdefs.h.  */
5163
 
_ACEOF
5164
 
cat confdefs.h >>conftest.$ac_ext
5165
 
cat >>conftest.$ac_ext <<_ACEOF
5166
 
/* end confdefs.h.  */
5167
 
$ac_includes_default
5168
 
#include <$ac_header>
5169
 
_ACEOF
5170
 
rm -f conftest.$ac_objext
5171
 
if { (ac_try="$ac_compile"
5172
 
case "(($ac_try" in
5173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5174
 
  *) ac_try_echo=$ac_try;;
5175
 
esac
5176
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5177
 
  (eval "$ac_compile") 2>conftest.er1
5178
 
  ac_status=$?
5179
 
  grep -v '^ *+' conftest.er1 >conftest.err
5180
 
  rm -f conftest.er1
5181
 
  cat conftest.err >&5
5182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183
 
  (exit $ac_status); } && {
5184
 
         test -z "$ac_c_werror_flag" ||
5185
 
         test ! -s conftest.err
5186
 
       } && test -s conftest.$ac_objext; then
5187
 
  ac_header_compiler=yes
5188
 
else
5189
 
  echo "$as_me: failed program was:" >&5
5190
 
sed 's/^/| /' conftest.$ac_ext >&5
5191
 
 
5192
 
        ac_header_compiler=no
5193
 
fi
5194
 
 
5195
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5196
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5197
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5198
 
 
5199
 
# Is the header present?
5200
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5201
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5202
 
cat >conftest.$ac_ext <<_ACEOF
5203
 
/* confdefs.h.  */
5204
 
_ACEOF
5205
 
cat confdefs.h >>conftest.$ac_ext
5206
 
cat >>conftest.$ac_ext <<_ACEOF
5207
 
/* end confdefs.h.  */
5208
 
#include <$ac_header>
5209
 
_ACEOF
5210
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5211
 
case "(($ac_try" in
5212
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5213
 
  *) ac_try_echo=$ac_try;;
5214
 
esac
5215
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5217
 
  ac_status=$?
5218
 
  grep -v '^ *+' conftest.er1 >conftest.err
5219
 
  rm -f conftest.er1
5220
 
  cat conftest.err >&5
5221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222
 
  (exit $ac_status); } >/dev/null && {
5223
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5224
 
         test ! -s conftest.err
5225
 
       }; then
5226
 
  ac_header_preproc=yes
5227
 
else
5228
 
  echo "$as_me: failed program was:" >&5
5229
 
sed 's/^/| /' conftest.$ac_ext >&5
5230
 
 
5231
 
  ac_header_preproc=no
5232
 
fi
5233
 
 
5234
 
rm -f conftest.err conftest.$ac_ext
5235
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5236
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5237
 
 
5238
 
# So?  What about this header?
5239
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5240
 
  yes:no: )
5241
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5242
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5243
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5244
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5245
 
    ac_header_preproc=yes
5246
 
    ;;
5247
 
  no:yes:* )
5248
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5249
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5250
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5251
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5252
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5253
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5254
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5255
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5256
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5257
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5258
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5259
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5260
 
 
5261
 
    ;;
5262
 
esac
5263
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5264
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5265
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5266
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5267
 
else
5268
 
  eval "$as_ac_Header=\$ac_header_preproc"
5269
 
fi
5270
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5271
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5272
 
echo "${ECHO_T}$ac_res" >&6; }
5273
 
 
5274
 
fi
5275
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5276
 
  cat >>confdefs.h <<_ACEOF
5277
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5278
 
_ACEOF
5279
 
 
5280
 
fi
5281
 
 
5282
 
done
5283
 
 
5284
 
ac_ext=cpp
5285
 
ac_cpp='$CXXCPP $CPPFLAGS'
5286
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5289
 
if test -z "$CXX"; then
5290
 
  if test -n "$CCC"; then
5291
 
    CXX=$CCC
5292
 
  else
5293
 
    if test -n "$ac_tool_prefix"; then
5294
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5295
 
  do
5296
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5297
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5298
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5299
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300
 
if test "${ac_cv_prog_CXX+set}" = set; then
5301
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5302
 
else
5303
 
  if test -n "$CXX"; then
5304
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5305
 
else
5306
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307
 
for as_dir in $PATH
5308
 
do
5309
 
  IFS=$as_save_IFS
5310
 
  test -z "$as_dir" && as_dir=.
5311
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5312
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5314
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315
 
    break 2
5316
 
  fi
5317
 
done
5318
 
done
5319
 
IFS=$as_save_IFS
5320
 
 
5321
 
fi
5322
 
fi
5323
 
CXX=$ac_cv_prog_CXX
5324
 
if test -n "$CXX"; then
5325
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5326
 
echo "${ECHO_T}$CXX" >&6; }
5327
 
else
5328
 
  { echo "$as_me:$LINENO: result: no" >&5
5329
 
echo "${ECHO_T}no" >&6; }
5330
 
fi
5331
 
 
5332
 
 
5333
 
    test -n "$CXX" && break
5334
 
  done
5335
 
fi
5336
 
if test -z "$CXX"; then
5337
 
  ac_ct_CXX=$CXX
5338
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5339
 
do
5340
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5341
 
set dummy $ac_prog; ac_word=$2
5342
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5343
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5344
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5345
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5346
 
else
5347
 
  if test -n "$ac_ct_CXX"; then
5348
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5349
 
else
5350
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351
 
for as_dir in $PATH
5352
 
do
5353
 
  IFS=$as_save_IFS
5354
 
  test -z "$as_dir" && as_dir=.
5355
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5356
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5358
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5359
 
    break 2
5360
 
  fi
5361
 
done
5362
 
done
5363
 
IFS=$as_save_IFS
5364
 
 
5365
 
fi
5366
 
fi
5367
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5368
 
if test -n "$ac_ct_CXX"; then
5369
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5370
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5371
 
else
5372
 
  { echo "$as_me:$LINENO: result: no" >&5
5373
 
echo "${ECHO_T}no" >&6; }
5374
 
fi
5375
 
 
5376
 
 
5377
 
  test -n "$ac_ct_CXX" && break
5378
 
done
5379
 
 
5380
 
  if test "x$ac_ct_CXX" = x; then
5381
 
    CXX="g++"
5382
 
  else
5383
 
    case $cross_compiling:$ac_tool_warned in
5384
 
yes:)
5385
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5386
 
whose name does not start with the host triplet.  If you think this
5387
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5388
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5389
 
whose name does not start with the host triplet.  If you think this
5390
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5391
 
ac_tool_warned=yes ;;
5392
 
esac
5393
 
    CXX=$ac_ct_CXX
5394
 
  fi
5395
 
fi
5396
 
 
5397
 
  fi
5398
 
fi
5399
 
# Provide some information about the compiler.
5400
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5401
 
ac_compiler=`set X $ac_compile; echo $2`
5402
 
{ (ac_try="$ac_compiler --version >&5"
5403
 
case "(($ac_try" in
5404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5405
 
  *) ac_try_echo=$ac_try;;
5406
 
esac
5407
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5408
 
  (eval "$ac_compiler --version >&5") 2>&5
5409
 
  ac_status=$?
5410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411
 
  (exit $ac_status); }
5412
 
{ (ac_try="$ac_compiler -v >&5"
5413
 
case "(($ac_try" in
5414
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5415
 
  *) ac_try_echo=$ac_try;;
5416
 
esac
5417
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5418
 
  (eval "$ac_compiler -v >&5") 2>&5
5419
 
  ac_status=$?
5420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421
 
  (exit $ac_status); }
5422
 
{ (ac_try="$ac_compiler -V >&5"
5423
 
case "(($ac_try" in
5424
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5425
 
  *) ac_try_echo=$ac_try;;
5426
 
esac
5427
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5428
 
  (eval "$ac_compiler -V >&5") 2>&5
5429
 
  ac_status=$?
5430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431
 
  (exit $ac_status); }
5432
 
 
5433
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5434
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5435
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5437
 
else
5438
 
  cat >conftest.$ac_ext <<_ACEOF
5439
 
/* confdefs.h.  */
5440
 
_ACEOF
5441
 
cat confdefs.h >>conftest.$ac_ext
5442
 
cat >>conftest.$ac_ext <<_ACEOF
5443
 
/* end confdefs.h.  */
5444
 
 
5445
 
int
5446
 
main ()
5447
 
{
5448
 
#ifndef __GNUC__
5449
 
       choke me
5450
 
#endif
5451
 
 
5452
 
  ;
5453
 
  return 0;
5454
 
}
5455
 
_ACEOF
5456
 
rm -f conftest.$ac_objext
5457
 
if { (ac_try="$ac_compile"
5458
 
case "(($ac_try" in
5459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5460
 
  *) ac_try_echo=$ac_try;;
5461
 
esac
5462
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5463
 
  (eval "$ac_compile") 2>conftest.er1
5464
 
  ac_status=$?
5465
 
  grep -v '^ *+' conftest.er1 >conftest.err
5466
 
  rm -f conftest.er1
5467
 
  cat conftest.err >&5
5468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469
 
  (exit $ac_status); } && {
5470
 
         test -z "$ac_cxx_werror_flag" ||
5471
 
         test ! -s conftest.err
5472
 
       } && test -s conftest.$ac_objext; then
5473
 
  ac_compiler_gnu=yes
5474
 
else
5475
 
  echo "$as_me: failed program was:" >&5
5476
 
sed 's/^/| /' conftest.$ac_ext >&5
5477
 
 
5478
 
        ac_compiler_gnu=no
5479
 
fi
5480
 
 
5481
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5482
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5483
 
 
5484
 
fi
5485
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5486
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5487
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5488
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5489
 
ac_save_CXXFLAGS=$CXXFLAGS
5490
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5491
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5492
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5494
 
else
5495
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5496
 
   ac_cxx_werror_flag=yes
5497
 
   ac_cv_prog_cxx_g=no
5498
 
   CXXFLAGS="-g"
5499
 
   cat >conftest.$ac_ext <<_ACEOF
5500
 
/* confdefs.h.  */
5501
 
_ACEOF
5502
 
cat confdefs.h >>conftest.$ac_ext
5503
 
cat >>conftest.$ac_ext <<_ACEOF
5504
 
/* end confdefs.h.  */
5505
 
 
5506
 
int
5507
 
main ()
5508
 
{
5509
 
 
5510
 
  ;
5511
 
  return 0;
5512
 
}
5513
 
_ACEOF
5514
 
rm -f conftest.$ac_objext
5515
 
if { (ac_try="$ac_compile"
5516
 
case "(($ac_try" in
5517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518
 
  *) ac_try_echo=$ac_try;;
5519
 
esac
5520
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521
 
  (eval "$ac_compile") 2>conftest.er1
5522
 
  ac_status=$?
5523
 
  grep -v '^ *+' conftest.er1 >conftest.err
5524
 
  rm -f conftest.er1
5525
 
  cat conftest.err >&5
5526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527
 
  (exit $ac_status); } && {
5528
 
         test -z "$ac_cxx_werror_flag" ||
5529
 
         test ! -s conftest.err
5530
 
       } && test -s conftest.$ac_objext; then
5531
 
  ac_cv_prog_cxx_g=yes
5532
 
else
5533
 
  echo "$as_me: failed program was:" >&5
5534
 
sed 's/^/| /' conftest.$ac_ext >&5
5535
 
 
5536
 
        CXXFLAGS=""
5537
 
      cat >conftest.$ac_ext <<_ACEOF
5538
 
/* confdefs.h.  */
5539
 
_ACEOF
5540
 
cat confdefs.h >>conftest.$ac_ext
5541
 
cat >>conftest.$ac_ext <<_ACEOF
5542
 
/* end confdefs.h.  */
5543
 
 
5544
 
int
5545
 
main ()
5546
 
{
5547
 
 
5548
 
  ;
5549
 
  return 0;
5550
 
}
5551
 
_ACEOF
5552
 
rm -f conftest.$ac_objext
5553
 
if { (ac_try="$ac_compile"
5554
 
case "(($ac_try" in
5555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5556
 
  *) ac_try_echo=$ac_try;;
5557
 
esac
5558
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559
 
  (eval "$ac_compile") 2>conftest.er1
5560
 
  ac_status=$?
5561
 
  grep -v '^ *+' conftest.er1 >conftest.err
5562
 
  rm -f conftest.er1
5563
 
  cat conftest.err >&5
5564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565
 
  (exit $ac_status); } && {
5566
 
         test -z "$ac_cxx_werror_flag" ||
5567
 
         test ! -s conftest.err
5568
 
       } && test -s conftest.$ac_objext; then
5569
 
  :
5570
 
else
5571
 
  echo "$as_me: failed program was:" >&5
5572
 
sed 's/^/| /' conftest.$ac_ext >&5
5573
 
 
5574
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5575
 
         CXXFLAGS="-g"
5576
 
         cat >conftest.$ac_ext <<_ACEOF
5577
 
/* confdefs.h.  */
5578
 
_ACEOF
5579
 
cat confdefs.h >>conftest.$ac_ext
5580
 
cat >>conftest.$ac_ext <<_ACEOF
5581
 
/* end confdefs.h.  */
5582
 
 
5583
 
int
5584
 
main ()
5585
 
{
5586
 
 
5587
 
  ;
5588
 
  return 0;
5589
 
}
5590
 
_ACEOF
5591
 
rm -f conftest.$ac_objext
5592
 
if { (ac_try="$ac_compile"
5593
 
case "(($ac_try" in
5594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595
 
  *) ac_try_echo=$ac_try;;
5596
 
esac
5597
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598
 
  (eval "$ac_compile") 2>conftest.er1
5599
 
  ac_status=$?
5600
 
  grep -v '^ *+' conftest.er1 >conftest.err
5601
 
  rm -f conftest.er1
5602
 
  cat conftest.err >&5
5603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604
 
  (exit $ac_status); } && {
5605
 
         test -z "$ac_cxx_werror_flag" ||
5606
 
         test ! -s conftest.err
5607
 
       } && test -s conftest.$ac_objext; then
5608
 
  ac_cv_prog_cxx_g=yes
5609
 
else
5610
 
  echo "$as_me: failed program was:" >&5
5611
 
sed 's/^/| /' conftest.$ac_ext >&5
5612
 
 
5613
 
 
5614
 
fi
5615
 
 
5616
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617
 
fi
5618
 
 
5619
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5620
 
fi
5621
 
 
5622
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5623
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5624
 
fi
5625
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5626
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5627
 
if test "$ac_test_CXXFLAGS" = set; then
5628
 
  CXXFLAGS=$ac_save_CXXFLAGS
5629
 
elif test $ac_cv_prog_cxx_g = yes; then
5630
 
  if test "$GXX" = yes; then
5631
 
    CXXFLAGS="-g -O2"
5632
 
  else
5633
 
    CXXFLAGS="-g"
5634
 
  fi
5635
 
else
5636
 
  if test "$GXX" = yes; then
5637
 
    CXXFLAGS="-O2"
5638
 
  else
5639
 
    CXXFLAGS=
5640
 
  fi
5641
 
fi
5642
 
ac_ext=cpp
5643
 
ac_cpp='$CXXCPP $CPPFLAGS'
5644
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5645
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5646
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5647
 
 
5648
 
depcc="$CXX"  am_compiler_list=
5649
 
 
5650
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5651
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5652
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5654
 
else
5655
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5656
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5657
 
  # making bogus files that we don't know about and never remove.  For
5658
 
  # instance it was reported that on HP-UX the gcc test will end up
5659
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5660
 
  # in D'.
5661
 
  mkdir conftest.dir
5662
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5663
 
  # using a relative directory.
5664
 
  cp "$am_depcomp" conftest.dir
5665
 
  cd conftest.dir
5666
 
  # We will build objects and dependencies in a subdirectory because
5667
 
  # it helps to detect inapplicable dependency modes.  For instance
5668
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5669
 
  # side effect of compilation, but ICC will put the dependencies in
5670
 
  # the current directory while Tru64 will put them in the object
5671
 
  # directory.
5672
 
  mkdir sub
5673
 
 
5674
 
  am_cv_CXX_dependencies_compiler_type=none
5675
 
  if test "$am_compiler_list" = ""; then
5676
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5677
 
  fi
5678
 
  for depmode in $am_compiler_list; do
5679
 
    # Setup a source with many dependencies, because some compilers
5680
 
    # like to wrap large dependency lists on column 80 (with \), and
5681
 
    # we should not choose a depcomp mode which is confused by this.
5682
 
    #
5683
 
    # We need to recreate these files for each test, as the compiler may
5684
 
    # overwrite some of them when testing with obscure command lines.
5685
 
    # This happens at least with the AIX C compiler.
5686
 
    : > sub/conftest.c
5687
 
    for i in 1 2 3 4 5 6; do
5688
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5689
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5690
 
      # Solaris 8's {/usr,}/bin/sh.
5691
 
      touch sub/conftst$i.h
5692
 
    done
5693
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5694
 
 
5695
 
    case $depmode in
5696
 
    nosideeffect)
5697
 
      # after this tag, mechanisms are not by side-effect, so they'll
5698
 
      # only be used when explicitly requested
5699
 
      if test "x$enable_dependency_tracking" = xyes; then
5700
 
        continue
5701
 
      else
5702
 
        break
5703
 
      fi
5704
 
      ;;
5705
 
    none) break ;;
5706
 
    esac
5707
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5708
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5709
 
    # handle `-M -o', and we need to detect this.
5710
 
    if depmode=$depmode \
5711
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5712
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5713
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5714
 
         >/dev/null 2>conftest.err &&
5715
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5716
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5717
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5718
 
      # icc doesn't choke on unknown options, it will just issue warnings
5719
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5720
 
      # that says an option was ignored or not supported.
5721
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5722
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5723
 
      # The diagnosis changed in icc 8.0:
5724
 
      #   icc: Command line remark: option '-MP' not supported
5725
 
      if (grep 'ignoring option' conftest.err ||
5726
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5727
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5728
 
        break
5729
 
      fi
5730
 
    fi
5731
 
  done
5732
 
 
5733
 
  cd ..
5734
 
  rm -rf conftest.dir
5735
 
else
5736
 
  am_cv_CXX_dependencies_compiler_type=none
5737
 
fi
5738
 
 
5739
 
fi
5740
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5741
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5742
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5743
 
 
5744
 
 
5745
 
 
5746
 
if
5747
 
  test "x$enable_dependency_tracking" != xno \
5748
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5749
 
  am__fastdepCXX_TRUE=
5750
 
  am__fastdepCXX_FALSE='#'
5751
 
else
5752
 
  am__fastdepCXX_TRUE='#'
5753
 
  am__fastdepCXX_FALSE=
5754
 
fi
5755
 
 
5756
 
 
5757
 
 
5758
 
 
5759
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5760
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5761
 
    (test "X$CXX" != "Xg++"))) ; then
5762
 
  ac_ext=cpp
5763
 
ac_cpp='$CXXCPP $CPPFLAGS'
5764
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5765
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5766
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5767
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5768
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5769
 
if test -z "$CXXCPP"; then
5770
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5772
 
else
5773
 
      # Double quotes because CXXCPP needs to be expanded
5774
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5775
 
    do
5776
 
      ac_preproc_ok=false
5777
 
for ac_cxx_preproc_warn_flag in '' yes
5778
 
do
5779
 
  # Use a header file that comes with gcc, so configuring glibc
5780
 
  # with a fresh cross-compiler works.
5781
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5782
 
  # <limits.h> exists even on freestanding compilers.
5783
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5784
 
  # not just through cpp. "Syntax error" is here to catch this case.
5785
 
  cat >conftest.$ac_ext <<_ACEOF
5786
 
/* confdefs.h.  */
5787
 
_ACEOF
5788
 
cat confdefs.h >>conftest.$ac_ext
5789
 
cat >>conftest.$ac_ext <<_ACEOF
5790
 
/* end confdefs.h.  */
5791
 
#ifdef __STDC__
5792
 
# include <limits.h>
5793
 
#else
5794
 
# include <assert.h>
5795
 
#endif
5796
 
                     Syntax error
5797
 
_ACEOF
5798
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5799
 
case "(($ac_try" in
5800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5801
 
  *) ac_try_echo=$ac_try;;
5802
 
esac
5803
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5804
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5805
 
  ac_status=$?
5806
 
  grep -v '^ *+' conftest.er1 >conftest.err
5807
 
  rm -f conftest.er1
5808
 
  cat conftest.err >&5
5809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810
 
  (exit $ac_status); } >/dev/null && {
5811
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5812
 
         test ! -s conftest.err
5813
 
       }; then
5814
 
  :
5815
 
else
5816
 
  echo "$as_me: failed program was:" >&5
5817
 
sed 's/^/| /' conftest.$ac_ext >&5
5818
 
 
5819
 
  # Broken: fails on valid input.
5820
 
continue
5821
 
fi
5822
 
 
5823
 
rm -f conftest.err conftest.$ac_ext
5824
 
 
5825
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5826
 
  # can be detected and how.
5827
 
  cat >conftest.$ac_ext <<_ACEOF
5828
 
/* confdefs.h.  */
5829
 
_ACEOF
5830
 
cat confdefs.h >>conftest.$ac_ext
5831
 
cat >>conftest.$ac_ext <<_ACEOF
5832
 
/* end confdefs.h.  */
5833
 
#include <ac_nonexistent.h>
5834
 
_ACEOF
5835
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5836
 
case "(($ac_try" in
5837
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5838
 
  *) ac_try_echo=$ac_try;;
5839
 
esac
5840
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5841
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5842
 
  ac_status=$?
5843
 
  grep -v '^ *+' conftest.er1 >conftest.err
5844
 
  rm -f conftest.er1
5845
 
  cat conftest.err >&5
5846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847
 
  (exit $ac_status); } >/dev/null && {
5848
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5849
 
         test ! -s conftest.err
5850
 
       }; then
5851
 
  # Broken: success on invalid input.
5852
 
continue
5853
 
else
5854
 
  echo "$as_me: failed program was:" >&5
5855
 
sed 's/^/| /' conftest.$ac_ext >&5
5856
 
 
5857
 
  # Passes both tests.
5858
 
ac_preproc_ok=:
5859
 
break
5860
 
fi
5861
 
 
5862
 
rm -f conftest.err conftest.$ac_ext
5863
 
 
5864
 
done
5865
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5866
 
rm -f conftest.err conftest.$ac_ext
5867
 
if $ac_preproc_ok; then
5868
 
  break
5869
 
fi
5870
 
 
5871
 
    done
5872
 
    ac_cv_prog_CXXCPP=$CXXCPP
5873
 
 
5874
 
fi
5875
 
  CXXCPP=$ac_cv_prog_CXXCPP
5876
 
else
5877
 
  ac_cv_prog_CXXCPP=$CXXCPP
5878
 
fi
5879
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5880
 
echo "${ECHO_T}$CXXCPP" >&6; }
5881
 
ac_preproc_ok=false
5882
 
for ac_cxx_preproc_warn_flag in '' yes
5883
 
do
5884
 
  # Use a header file that comes with gcc, so configuring glibc
5885
 
  # with a fresh cross-compiler works.
5886
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5887
 
  # <limits.h> exists even on freestanding compilers.
5888
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5889
 
  # not just through cpp. "Syntax error" is here to catch this case.
5890
 
  cat >conftest.$ac_ext <<_ACEOF
5891
 
/* confdefs.h.  */
5892
 
_ACEOF
5893
 
cat confdefs.h >>conftest.$ac_ext
5894
 
cat >>conftest.$ac_ext <<_ACEOF
5895
 
/* end confdefs.h.  */
5896
 
#ifdef __STDC__
5897
 
# include <limits.h>
5898
 
#else
5899
 
# include <assert.h>
5900
 
#endif
5901
 
                     Syntax error
5902
 
_ACEOF
5903
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5904
 
case "(($ac_try" in
5905
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5906
 
  *) ac_try_echo=$ac_try;;
5907
 
esac
5908
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5909
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5910
 
  ac_status=$?
5911
 
  grep -v '^ *+' conftest.er1 >conftest.err
5912
 
  rm -f conftest.er1
5913
 
  cat conftest.err >&5
5914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915
 
  (exit $ac_status); } >/dev/null && {
5916
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5917
 
         test ! -s conftest.err
5918
 
       }; then
5919
 
  :
5920
 
else
5921
 
  echo "$as_me: failed program was:" >&5
5922
 
sed 's/^/| /' conftest.$ac_ext >&5
5923
 
 
5924
 
  # Broken: fails on valid input.
5925
 
continue
5926
 
fi
5927
 
 
5928
 
rm -f conftest.err conftest.$ac_ext
5929
 
 
5930
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5931
 
  # can be detected and how.
5932
 
  cat >conftest.$ac_ext <<_ACEOF
5933
 
/* confdefs.h.  */
5934
 
_ACEOF
5935
 
cat confdefs.h >>conftest.$ac_ext
5936
 
cat >>conftest.$ac_ext <<_ACEOF
5937
 
/* end confdefs.h.  */
5938
 
#include <ac_nonexistent.h>
5939
 
_ACEOF
5940
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5941
 
case "(($ac_try" in
5942
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5943
 
  *) ac_try_echo=$ac_try;;
5944
 
esac
5945
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5946
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5947
 
  ac_status=$?
5948
 
  grep -v '^ *+' conftest.er1 >conftest.err
5949
 
  rm -f conftest.er1
5950
 
  cat conftest.err >&5
5951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952
 
  (exit $ac_status); } >/dev/null && {
5953
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5954
 
         test ! -s conftest.err
5955
 
       }; then
5956
 
  # Broken: success on invalid input.
5957
 
continue
5958
 
else
5959
 
  echo "$as_me: failed program was:" >&5
5960
 
sed 's/^/| /' conftest.$ac_ext >&5
5961
 
 
5962
 
  # Passes both tests.
5963
 
ac_preproc_ok=:
5964
 
break
5965
 
fi
5966
 
 
5967
 
rm -f conftest.err conftest.$ac_ext
5968
 
 
5969
 
done
5970
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5971
 
rm -f conftest.err conftest.$ac_ext
5972
 
if $ac_preproc_ok; then
5973
 
  :
5974
 
else
5975
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5976
 
See \`config.log' for more details." >&5
5977
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5978
 
See \`config.log' for more details." >&2;}
5979
 
   { (exit 1); exit 1; }; }
5980
 
fi
5981
 
 
5982
 
ac_ext=cpp
5983
 
ac_cpp='$CXXCPP $CPPFLAGS'
5984
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5985
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5986
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5987
 
 
5988
 
fi
5989
 
 
5990
 
 
5991
 
ac_ext=f
5992
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5993
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5994
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5995
 
if test -n "$ac_tool_prefix"; then
5996
 
  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
5997
 
  do
5998
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5999
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6000
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6001
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6002
 
if test "${ac_cv_prog_F77+set}" = set; then
6003
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6004
 
else
6005
 
  if test -n "$F77"; then
6006
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6007
 
else
6008
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009
 
for as_dir in $PATH
6010
 
do
6011
 
  IFS=$as_save_IFS
6012
 
  test -z "$as_dir" && as_dir=.
6013
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6014
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6016
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017
 
    break 2
6018
 
  fi
6019
 
done
6020
 
done
6021
 
IFS=$as_save_IFS
6022
 
 
6023
 
fi
6024
 
fi
6025
 
F77=$ac_cv_prog_F77
6026
 
if test -n "$F77"; then
6027
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6028
 
echo "${ECHO_T}$F77" >&6; }
6029
 
else
6030
 
  { echo "$as_me:$LINENO: result: no" >&5
6031
 
echo "${ECHO_T}no" >&6; }
6032
 
fi
6033
 
 
6034
 
 
6035
 
    test -n "$F77" && break
6036
 
  done
6037
 
fi
6038
 
if test -z "$F77"; then
6039
 
  ac_ct_F77=$F77
6040
 
  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
6041
 
do
6042
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6043
 
set dummy $ac_prog; ac_word=$2
6044
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6045
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6046
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6048
 
else
6049
 
  if test -n "$ac_ct_F77"; then
6050
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6051
 
else
6052
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053
 
for as_dir in $PATH
6054
 
do
6055
 
  IFS=$as_save_IFS
6056
 
  test -z "$as_dir" && as_dir=.
6057
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6058
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6060
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6061
 
    break 2
6062
 
  fi
6063
 
done
6064
 
done
6065
 
IFS=$as_save_IFS
6066
 
 
6067
 
fi
6068
 
fi
6069
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6070
 
if test -n "$ac_ct_F77"; then
6071
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6072
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6073
 
else
6074
 
  { echo "$as_me:$LINENO: result: no" >&5
6075
 
echo "${ECHO_T}no" >&6; }
6076
 
fi
6077
 
 
6078
 
 
6079
 
  test -n "$ac_ct_F77" && break
6080
 
done
6081
 
 
6082
 
  if test "x$ac_ct_F77" = x; then
6083
 
    F77=""
6084
 
  else
6085
 
    case $cross_compiling:$ac_tool_warned in
6086
 
yes:)
6087
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6088
 
whose name does not start with the host triplet.  If you think this
6089
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6090
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6091
 
whose name does not start with the host triplet.  If you think this
6092
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6093
 
ac_tool_warned=yes ;;
6094
 
esac
6095
 
    F77=$ac_ct_F77
6096
 
  fi
6097
 
fi
6098
 
 
6099
 
 
6100
 
# Provide some information about the compiler.
6101
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6102
 
ac_compiler=`set X $ac_compile; echo $2`
6103
 
{ (ac_try="$ac_compiler --version >&5"
6104
 
case "(($ac_try" in
6105
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6106
 
  *) ac_try_echo=$ac_try;;
6107
 
esac
6108
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6109
 
  (eval "$ac_compiler --version >&5") 2>&5
6110
 
  ac_status=$?
6111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112
 
  (exit $ac_status); }
6113
 
{ (ac_try="$ac_compiler -v >&5"
6114
 
case "(($ac_try" in
6115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6116
 
  *) ac_try_echo=$ac_try;;
6117
 
esac
6118
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6119
 
  (eval "$ac_compiler -v >&5") 2>&5
6120
 
  ac_status=$?
6121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122
 
  (exit $ac_status); }
6123
 
{ (ac_try="$ac_compiler -V >&5"
6124
 
case "(($ac_try" in
6125
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6126
 
  *) ac_try_echo=$ac_try;;
6127
 
esac
6128
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6129
 
  (eval "$ac_compiler -V >&5") 2>&5
6130
 
  ac_status=$?
6131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132
 
  (exit $ac_status); }
6133
 
rm -f a.out
6134
 
 
6135
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6136
 
# input file.  (Note that this only needs to work for GNU compilers.)
6137
 
ac_save_ext=$ac_ext
6138
 
ac_ext=F
6139
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6140
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6141
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6143
 
else
6144
 
  cat >conftest.$ac_ext <<_ACEOF
6145
 
      program main
6146
 
#ifndef __GNUC__
6147
 
       choke me
6148
 
#endif
6149
 
 
6150
 
      end
6151
 
_ACEOF
6152
 
rm -f conftest.$ac_objext
6153
 
if { (ac_try="$ac_compile"
6154
 
case "(($ac_try" in
6155
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6156
 
  *) ac_try_echo=$ac_try;;
6157
 
esac
6158
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159
 
  (eval "$ac_compile") 2>conftest.er1
6160
 
  ac_status=$?
6161
 
  grep -v '^ *+' conftest.er1 >conftest.err
6162
 
  rm -f conftest.er1
6163
 
  cat conftest.err >&5
6164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165
 
  (exit $ac_status); } && {
6166
 
         test -z "$ac_f77_werror_flag" ||
6167
 
         test ! -s conftest.err
6168
 
       } && test -s conftest.$ac_objext; then
6169
 
  ac_compiler_gnu=yes
6170
 
else
6171
 
  echo "$as_me: failed program was:" >&5
6172
 
sed 's/^/| /' conftest.$ac_ext >&5
6173
 
 
6174
 
        ac_compiler_gnu=no
6175
 
fi
6176
 
 
6177
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6178
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6179
 
 
6180
 
fi
6181
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6182
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6183
 
ac_ext=$ac_save_ext
6184
 
ac_test_FFLAGS=${FFLAGS+set}
6185
 
ac_save_FFLAGS=$FFLAGS
6186
 
FFLAGS=
6187
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6188
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6189
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6191
 
else
6192
 
  FFLAGS=-g
6193
 
cat >conftest.$ac_ext <<_ACEOF
6194
 
      program main
6195
 
 
6196
 
      end
6197
 
_ACEOF
6198
 
rm -f conftest.$ac_objext
6199
 
if { (ac_try="$ac_compile"
6200
 
case "(($ac_try" in
6201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6202
 
  *) ac_try_echo=$ac_try;;
6203
 
esac
6204
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6205
 
  (eval "$ac_compile") 2>conftest.er1
6206
 
  ac_status=$?
6207
 
  grep -v '^ *+' conftest.er1 >conftest.err
6208
 
  rm -f conftest.er1
6209
 
  cat conftest.err >&5
6210
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211
 
  (exit $ac_status); } && {
6212
 
         test -z "$ac_f77_werror_flag" ||
6213
 
         test ! -s conftest.err
6214
 
       } && test -s conftest.$ac_objext; then
6215
 
  ac_cv_prog_f77_g=yes
6216
 
else
6217
 
  echo "$as_me: failed program was:" >&5
6218
 
sed 's/^/| /' conftest.$ac_ext >&5
6219
 
 
6220
 
        ac_cv_prog_f77_g=no
6221
 
fi
6222
 
 
6223
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6224
 
 
6225
 
fi
6226
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6227
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6228
 
if test "$ac_test_FFLAGS" = set; then
6229
 
  FFLAGS=$ac_save_FFLAGS
6230
 
elif test $ac_cv_prog_f77_g = yes; then
6231
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6232
 
    FFLAGS="-g -O2"
6233
 
  else
6234
 
    FFLAGS="-g"
6235
 
  fi
6236
 
else
6237
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6238
 
    FFLAGS="-O2"
6239
 
  else
6240
 
    FFLAGS=
6241
 
  fi
6242
 
fi
6243
 
 
6244
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6245
 
ac_ext=c
6246
 
ac_cpp='$CPP $CPPFLAGS'
6247
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6248
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6249
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6250
 
 
6251
 
 
6252
 
 
6253
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6254
 
# find the maximum length of command line arguments
6255
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6256
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6257
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6258
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6259
 
else
6260
 
    i=0
6261
 
  teststring="ABCD"
6262
 
 
6263
 
  case $build_os in
6264
 
  msdosdjgpp*)
6265
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6266
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6267
 
    # during glob expansion).  Even if it were fixed, the result of this
6268
 
    # check would be larger than it should be.
6269
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6270
 
    ;;
6271
 
 
6272
 
  gnu*)
6273
 
    # Under GNU Hurd, this test is not required because there is
6274
 
    # no limit to the length of command line arguments.
6275
 
    # Libtool will interpret -1 as no limit whatsoever
6276
 
    lt_cv_sys_max_cmd_len=-1;
6277
 
    ;;
6278
 
 
6279
 
  cygwin* | mingw*)
6280
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6281
 
    # about 5 minutes as the teststring grows exponentially.
6282
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6283
 
    # you end up with a "frozen" computer, even though with patience
6284
 
    # the test eventually succeeds (with a max line length of 256k).
6285
 
    # Instead, let's just punt: use the minimum linelength reported by
6286
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6287
 
    lt_cv_sys_max_cmd_len=8192;
6288
 
    ;;
6289
 
 
6290
 
  amigaos*)
6291
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6292
 
    # So we just punt and use a minimum line length of 8192.
6293
 
    lt_cv_sys_max_cmd_len=8192;
6294
 
    ;;
6295
 
 
6296
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6297
 
    # This has been around since 386BSD, at least.  Likely further.
6298
 
    if test -x /sbin/sysctl; then
6299
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6300
 
    elif test -x /usr/sbin/sysctl; then
6301
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6302
 
    else
6303
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6304
 
    fi
6305
 
    # And add a safety zone
6306
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6307
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6308
 
    ;;
6309
 
 
6310
 
  interix*)
6311
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6312
 
    lt_cv_sys_max_cmd_len=196608
6313
 
    ;;
6314
 
 
6315
 
  osf*)
6316
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6317
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6318
 
    # nice to cause kernel panics so lets avoid the loop below.
6319
 
    # First set a reasonable default.
6320
 
    lt_cv_sys_max_cmd_len=16384
6321
 
    #
6322
 
    if test -x /sbin/sysconfig; then
6323
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6324
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6325
 
      esac
6326
 
    fi
6327
 
    ;;
6328
 
  sco3.2v5*)
6329
 
    lt_cv_sys_max_cmd_len=102400
6330
 
    ;;
6331
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6332
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6333
 
    if test -n "$kargmax"; then
6334
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6335
 
    else
6336
 
      lt_cv_sys_max_cmd_len=32768
6337
 
    fi
6338
 
    ;;
6339
 
  *)
6340
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6341
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6342
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6343
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6344
 
    else
6345
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6346
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6347
 
               = "XX$teststring") >/dev/null 2>&1 &&
6348
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6349
 
              lt_cv_sys_max_cmd_len=$new_result &&
6350
 
              test $i != 17 # 1/2 MB should be enough
6351
 
      do
6352
 
        i=`expr $i + 1`
6353
 
        teststring=$teststring$teststring
6354
 
      done
6355
 
      teststring=
6356
 
      # Add a significant safety factor because C++ compilers can tack on massive
6357
 
      # amounts of additional arguments before passing them to the linker.
6358
 
      # It appears as though 1/2 is a usable value.
6359
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6360
 
    fi
6361
 
    ;;
6362
 
  esac
6363
 
 
6364
 
fi
6365
 
 
6366
 
if test -n $lt_cv_sys_max_cmd_len ; then
6367
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6368
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6369
 
else
6370
 
  { echo "$as_me:$LINENO: result: none" >&5
6371
 
echo "${ECHO_T}none" >&6; }
6372
 
fi
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
7205
# Check for command to grab the raw symbol name followed by C symbol from nm.
6379
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6380
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
7206
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7207
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6381
7208
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6382
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7209
  $as_echo_n "(cached) " >&6
6383
7210
else
6384
7211
 
6385
7212
# These are sane defaults that work on at least a few old systems.
6391
7218
# Regexp to match symbols that can be accessed directly from C.
6392
7219
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6393
7220
 
6394
 
# Transform an extracted symbol line into a proper C declaration
6395
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6396
 
 
6397
 
# Transform an extracted symbol line into symbol name and symbol address
6398
 
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'"
6399
 
 
6400
7221
# Define system-specific variables.
6401
7222
case $host_os in
6402
7223
aix*)
6403
7224
  symcode='[BCDT]'
6404
7225
  ;;
6405
 
cygwin* | mingw* | pw32*)
 
7226
cygwin* | mingw* | pw32* | cegcc*)
6406
7227
  symcode='[ABCDGISTW]'
6407
7228
  ;;
6408
 
hpux*) # Its linker distinguishes data from code symbols
 
7229
hpux*)
6409
7230
  if test "$host_cpu" = ia64; then
6410
7231
    symcode='[ABCDEGRST]'
6411
7232
  fi
6412
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6413
 
  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'"
6414
 
  ;;
6415
 
linux* | k*bsd*-gnu)
6416
 
  if test "$host_cpu" = ia64; then
6417
 
    symcode='[ABCDGIRSTW]'
6418
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6419
 
    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'"
6420
 
  fi
6421
7233
  ;;
6422
7234
irix* | nonstopux*)
6423
7235
  symcode='[BCDEGRST]'
6442
7254
  ;;
6443
7255
esac
6444
7256
 
 
7257
# If we're using GNU nm, then use its standard symbol codes.
 
7258
case `$NM -V 2>&1` in
 
7259
*GNU* | *'with BFD'*)
 
7260
  symcode='[ABCDGIRSTW]' ;;
 
7261
esac
 
7262
 
 
7263
# Transform an extracted symbol line into a proper C declaration.
 
7264
# Some systems (esp. on ia64) link data and code symbols differently,
 
7265
# so use this general approach.
 
7266
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7267
 
 
7268
# Transform an extracted symbol line into symbol name and symbol address
 
7269
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7270
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'"
 
7271
 
6445
7272
# Handle CRLF in mingw tool chain
6446
7273
opt_cr=
6447
7274
case $build_os in
6448
7275
mingw*)
6449
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7276
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6450
7277
  ;;
6451
7278
esac
6452
7279
 
6453
 
# If we're using GNU nm, then use its standard symbol codes.
6454
 
case `$NM -V 2>&1` in
6455
 
*GNU* | *'with BFD'*)
6456
 
  symcode='[ABCDGIRSTW]' ;;
6457
 
esac
6458
 
 
6459
 
# Try without a prefix undercore, then with it.
 
7280
# Try without a prefix underscore, then with it.
6460
7281
for ac_symprfx in "" "_"; do
6461
7282
 
6462
7283
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6463
7284
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6464
7285
 
6465
7286
  # Write the raw and C identifiers.
6466
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7287
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7288
    # Fake it for dumpbin and say T for any non-static function
 
7289
    # and D for any global variable.
 
7290
    # Also find C++ and __fastcall symbols from MSVC++,
 
7291
    # which start with @ or ?.
 
7292
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7293
"     {last_section=section; section=\$ 3};"\
 
7294
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7295
"     \$ 0!~/External *\|/{next};"\
 
7296
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7297
"     {if(hide[section]) next};"\
 
7298
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7299
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7300
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7301
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7302
"     ' prfx=^$ac_symprfx"
 
7303
  else
 
7304
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7305
  fi
6467
7306
 
6468
7307
  # Check to see that the pipe works correctly.
6469
7308
  pipe_works=no
6470
7309
 
6471
7310
  rm -f conftest*
6472
 
  cat > conftest.$ac_ext <<EOF
 
7311
  cat > conftest.$ac_ext <<_LT_EOF
6473
7312
#ifdef __cplusplus
6474
7313
extern "C" {
6475
7314
#endif
6476
7315
char nm_test_var;
6477
 
void nm_test_func(){}
 
7316
void nm_test_func(void);
 
7317
void nm_test_func(void){}
6478
7318
#ifdef __cplusplus
6479
7319
}
6480
7320
#endif
6481
7321
int main(){nm_test_var='a';nm_test_func();return(0);}
6482
 
EOF
 
7322
_LT_EOF
6483
7323
 
6484
7324
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6485
7325
  (eval $ac_compile) 2>&5
6486
7326
  ac_status=$?
6487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7327
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488
7328
  (exit $ac_status); }; then
6489
7329
    # Now try to grab the symbols.
6490
7330
    nlist=conftest.nm
6491
7331
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6492
7332
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6493
7333
  ac_status=$?
6494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7334
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495
7335
  (exit $ac_status); } && test -s "$nlist"; then
6496
7336
      # Try sorting and uniquifying the output.
6497
7337
      if sort "$nlist" | uniq > "$nlist"T; then
6501
7341
      fi
6502
7342
 
6503
7343
      # Make sure that we snagged all the symbols we need.
6504
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6505
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6506
 
          cat <<EOF > conftest.$ac_ext
 
7344
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7345
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7346
          cat <<_LT_EOF > conftest.$ac_ext
6507
7347
#ifdef __cplusplus
6508
7348
extern "C" {
6509
7349
#endif
6510
7350
 
6511
 
EOF
 
7351
_LT_EOF
6512
7352
          # Now generate the symbol file.
6513
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6514
 
 
6515
 
          cat <<EOF >> conftest.$ac_ext
6516
 
#if defined (__STDC__) && __STDC__
6517
 
# define lt_ptr_t void *
6518
 
#else
6519
 
# define lt_ptr_t char *
6520
 
# define const
6521
 
#endif
6522
 
 
6523
 
/* The mapping between symbol names and symbols. */
 
7353
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7354
 
 
7355
          cat <<_LT_EOF >> conftest.$ac_ext
 
7356
 
 
7357
/* The mapping between symbol names and symbols.  */
6524
7358
const struct {
6525
7359
  const char *name;
6526
 
  lt_ptr_t address;
 
7360
  void       *address;
6527
7361
}
6528
 
lt_preloaded_symbols[] =
 
7362
lt__PROGRAM__LTX_preloaded_symbols[] =
6529
7363
{
6530
 
EOF
6531
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6532
 
          cat <<\EOF >> conftest.$ac_ext
6533
 
  {0, (lt_ptr_t) 0}
 
7364
  { "@PROGRAM@", (void *) 0 },
 
7365
_LT_EOF
 
7366
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7367
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7368
  {0, (void *) 0}
6534
7369
};
6535
7370
 
 
7371
/* This works around a problem in FreeBSD linker */
 
7372
#ifdef FREEBSD_WORKAROUND
 
7373
static const void *lt_preloaded_setup() {
 
7374
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7375
}
 
7376
#endif
 
7377
 
6536
7378
#ifdef __cplusplus
6537
7379
}
6538
7380
#endif
6539
 
EOF
 
7381
_LT_EOF
6540
7382
          # Now try linking the two files.
6541
7383
          mv conftest.$ac_objext conftstm.$ac_objext
6542
7384
          lt_save_LIBS="$LIBS"
6546
7388
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6547
7389
  (eval $ac_link) 2>&5
6548
7390
  ac_status=$?
6549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7391
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550
7392
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6551
7393
            pipe_works=yes
6552
7394
          fi
6581
7423
  lt_cv_sys_global_symbol_to_cdecl=
6582
7424
fi
6583
7425
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6584
 
  { echo "$as_me:$LINENO: result: failed" >&5
6585
 
echo "${ECHO_T}failed" >&6; }
6586
 
else
6587
 
  { echo "$as_me:$LINENO: result: ok" >&5
6588
 
echo "${ECHO_T}ok" >&6; }
6589
 
fi
6590
 
 
6591
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6592
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6593
 
if test "${lt_cv_objdir+set}" = set; then
6594
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6595
 
else
6596
 
  rm -f .libs 2>/dev/null
6597
 
mkdir .libs 2>/dev/null
6598
 
if test -d .libs; then
6599
 
  lt_cv_objdir=.libs
6600
 
else
6601
 
  # MS-DOS does not allow filenames that begin with a dot.
6602
 
  lt_cv_objdir=_libs
6603
 
fi
6604
 
rmdir .libs 2>/dev/null
6605
 
fi
6606
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6607
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6608
 
objdir=$lt_cv_objdir
6609
 
 
6610
 
 
6611
 
 
6612
 
 
6613
 
 
6614
 
case $host_os in
6615
 
aix3*)
6616
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6617
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6618
 
  # vanish in a puff of smoke.
6619
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6620
 
    COLLECT_NAMES=
6621
 
    export COLLECT_NAMES
6622
 
  fi
6623
 
  ;;
6624
 
esac
6625
 
 
6626
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6627
 
# metacharacters that are still active within double-quoted strings.
6628
 
Xsed='sed -e 1s/^X//'
6629
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6630
 
 
6631
 
# Same as above, but do not quote variable references.
6632
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6633
 
 
6634
 
# Sed substitution to delay expansion of an escaped shell variable in a
6635
 
# double_quote_subst'ed string.
6636
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6637
 
 
6638
 
# Sed substitution to avoid accidental globbing in evaled expressions
6639
 
no_glob_subst='s/\*/\\\*/g'
6640
 
 
6641
 
# Constants:
6642
 
rm="rm -f"
6643
 
 
6644
 
# Global variables:
6645
 
default_ofile=libtool
6646
 
can_build_shared=yes
6647
 
 
6648
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6649
 
# which needs '.lib').
6650
 
libext=a
6651
 
ltmain="$ac_aux_dir/ltmain.sh"
6652
 
ofile="$default_ofile"
6653
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6654
 
 
6655
 
if test -n "$ac_tool_prefix"; then
6656
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6657
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6658
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6659
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6660
 
if test "${ac_cv_prog_AR+set}" = set; then
6661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6662
 
else
6663
 
  if test -n "$AR"; then
6664
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6665
 
else
6666
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667
 
for as_dir in $PATH
6668
 
do
6669
 
  IFS=$as_save_IFS
6670
 
  test -z "$as_dir" && as_dir=.
6671
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6672
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6674
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6675
 
    break 2
6676
 
  fi
6677
 
done
6678
 
done
6679
 
IFS=$as_save_IFS
6680
 
 
6681
 
fi
6682
 
fi
6683
 
AR=$ac_cv_prog_AR
6684
 
if test -n "$AR"; then
6685
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6686
 
echo "${ECHO_T}$AR" >&6; }
6687
 
else
6688
 
  { echo "$as_me:$LINENO: result: no" >&5
6689
 
echo "${ECHO_T}no" >&6; }
6690
 
fi
6691
 
 
6692
 
 
6693
 
fi
6694
 
if test -z "$ac_cv_prog_AR"; then
6695
 
  ac_ct_AR=$AR
6696
 
  # Extract the first word of "ar", so it can be a program name with args.
6697
 
set dummy ar; ac_word=$2
6698
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6699
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6700
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6701
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6702
 
else
6703
 
  if test -n "$ac_ct_AR"; then
6704
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6705
 
else
6706
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707
 
for as_dir in $PATH
6708
 
do
6709
 
  IFS=$as_save_IFS
6710
 
  test -z "$as_dir" && as_dir=.
6711
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6712
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713
 
    ac_cv_prog_ac_ct_AR="ar"
6714
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6715
 
    break 2
6716
 
  fi
6717
 
done
6718
 
done
6719
 
IFS=$as_save_IFS
6720
 
 
6721
 
fi
6722
 
fi
6723
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6724
 
if test -n "$ac_ct_AR"; then
6725
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6726
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6727
 
else
6728
 
  { echo "$as_me:$LINENO: result: no" >&5
6729
 
echo "${ECHO_T}no" >&6; }
6730
 
fi
6731
 
 
6732
 
  if test "x$ac_ct_AR" = x; then
6733
 
    AR="false"
6734
 
  else
6735
 
    case $cross_compiling:$ac_tool_warned in
6736
 
yes:)
6737
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6738
 
whose name does not start with the host triplet.  If you think this
6739
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6740
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6741
 
whose name does not start with the host triplet.  If you think this
6742
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6743
 
ac_tool_warned=yes ;;
6744
 
esac
6745
 
    AR=$ac_ct_AR
6746
 
  fi
6747
 
else
6748
 
  AR="$ac_cv_prog_AR"
6749
 
fi
6750
 
 
6751
 
if test -n "$ac_tool_prefix"; then
6752
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6753
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6754
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6755
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6756
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6757
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6758
 
else
6759
 
  if test -n "$RANLIB"; then
6760
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6761
 
else
6762
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763
 
for as_dir in $PATH
6764
 
do
6765
 
  IFS=$as_save_IFS
6766
 
  test -z "$as_dir" && as_dir=.
6767
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6768
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6769
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6770
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6771
 
    break 2
6772
 
  fi
6773
 
done
6774
 
done
6775
 
IFS=$as_save_IFS
6776
 
 
6777
 
fi
6778
 
fi
6779
 
RANLIB=$ac_cv_prog_RANLIB
6780
 
if test -n "$RANLIB"; then
6781
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6782
 
echo "${ECHO_T}$RANLIB" >&6; }
6783
 
else
6784
 
  { echo "$as_me:$LINENO: result: no" >&5
6785
 
echo "${ECHO_T}no" >&6; }
6786
 
fi
6787
 
 
6788
 
 
6789
 
fi
6790
 
if test -z "$ac_cv_prog_RANLIB"; then
6791
 
  ac_ct_RANLIB=$RANLIB
6792
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6793
 
set dummy ranlib; ac_word=$2
6794
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6795
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6796
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6797
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6798
 
else
6799
 
  if test -n "$ac_ct_RANLIB"; then
6800
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6801
 
else
6802
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803
 
for as_dir in $PATH
6804
 
do
6805
 
  IFS=$as_save_IFS
6806
 
  test -z "$as_dir" && as_dir=.
6807
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6808
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6809
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6810
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6811
 
    break 2
6812
 
  fi
6813
 
done
6814
 
done
6815
 
IFS=$as_save_IFS
6816
 
 
6817
 
fi
6818
 
fi
6819
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6820
 
if test -n "$ac_ct_RANLIB"; then
6821
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6822
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6823
 
else
6824
 
  { echo "$as_me:$LINENO: result: no" >&5
6825
 
echo "${ECHO_T}no" >&6; }
6826
 
fi
6827
 
 
6828
 
  if test "x$ac_ct_RANLIB" = x; then
6829
 
    RANLIB=":"
6830
 
  else
6831
 
    case $cross_compiling:$ac_tool_warned in
6832
 
yes:)
6833
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6834
 
whose name does not start with the host triplet.  If you think this
6835
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6836
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6837
 
whose name does not start with the host triplet.  If you think this
6838
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6839
 
ac_tool_warned=yes ;;
6840
 
esac
6841
 
    RANLIB=$ac_ct_RANLIB
6842
 
  fi
6843
 
else
6844
 
  RANLIB="$ac_cv_prog_RANLIB"
6845
 
fi
6846
 
 
6847
 
if test -n "$ac_tool_prefix"; then
6848
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6849
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6850
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6851
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6852
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6854
 
else
6855
 
  if test -n "$STRIP"; then
6856
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6857
 
else
6858
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859
 
for as_dir in $PATH
6860
 
do
6861
 
  IFS=$as_save_IFS
6862
 
  test -z "$as_dir" && as_dir=.
6863
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6864
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6865
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6866
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6867
 
    break 2
6868
 
  fi
6869
 
done
6870
 
done
6871
 
IFS=$as_save_IFS
6872
 
 
6873
 
fi
6874
 
fi
6875
 
STRIP=$ac_cv_prog_STRIP
6876
 
if test -n "$STRIP"; then
6877
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6878
 
echo "${ECHO_T}$STRIP" >&6; }
6879
 
else
6880
 
  { echo "$as_me:$LINENO: result: no" >&5
6881
 
echo "${ECHO_T}no" >&6; }
6882
 
fi
6883
 
 
6884
 
 
6885
 
fi
6886
 
if test -z "$ac_cv_prog_STRIP"; then
6887
 
  ac_ct_STRIP=$STRIP
6888
 
  # Extract the first word of "strip", so it can be a program name with args.
6889
 
set dummy strip; ac_word=$2
6890
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6891
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6892
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6894
 
else
6895
 
  if test -n "$ac_ct_STRIP"; then
6896
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6897
 
else
6898
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899
 
for as_dir in $PATH
6900
 
do
6901
 
  IFS=$as_save_IFS
6902
 
  test -z "$as_dir" && as_dir=.
6903
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6904
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905
 
    ac_cv_prog_ac_ct_STRIP="strip"
6906
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6907
 
    break 2
6908
 
  fi
6909
 
done
6910
 
done
6911
 
IFS=$as_save_IFS
6912
 
 
6913
 
fi
6914
 
fi
6915
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6916
 
if test -n "$ac_ct_STRIP"; then
6917
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6918
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6919
 
else
6920
 
  { echo "$as_me:$LINENO: result: no" >&5
6921
 
echo "${ECHO_T}no" >&6; }
6922
 
fi
6923
 
 
6924
 
  if test "x$ac_ct_STRIP" = x; then
6925
 
    STRIP=":"
6926
 
  else
6927
 
    case $cross_compiling:$ac_tool_warned in
6928
 
yes:)
6929
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6930
 
whose name does not start with the host triplet.  If you think this
6931
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6932
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6933
 
whose name does not start with the host triplet.  If you think this
6934
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6935
 
ac_tool_warned=yes ;;
6936
 
esac
6937
 
    STRIP=$ac_ct_STRIP
6938
 
  fi
6939
 
else
6940
 
  STRIP="$ac_cv_prog_STRIP"
6941
 
fi
6942
 
 
6943
 
 
6944
 
old_CC="$CC"
6945
 
old_CFLAGS="$CFLAGS"
6946
 
 
6947
 
# Set sane defaults for various variables
6948
 
test -z "$AR" && AR=ar
6949
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6950
 
test -z "$AS" && AS=as
6951
 
test -z "$CC" && CC=cc
6952
 
test -z "$LTCC" && LTCC=$CC
6953
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6954
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6955
 
test -z "$LD" && LD=ld
6956
 
test -z "$LN_S" && LN_S="ln -s"
6957
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6958
 
test -z "$NM" && NM=nm
6959
 
test -z "$SED" && SED=sed
6960
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6961
 
test -z "$RANLIB" && RANLIB=:
6962
 
test -z "$STRIP" && STRIP=:
6963
 
test -z "$ac_objext" && ac_objext=o
6964
 
 
6965
 
# Determine commands to create old-style static archives.
6966
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6967
 
old_postinstall_cmds='chmod 644 $oldlib'
6968
 
old_postuninstall_cmds=
6969
 
 
6970
 
if test -n "$RANLIB"; then
6971
 
  case $host_os in
6972
 
  openbsd*)
6973
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6974
 
    ;;
6975
 
  *)
6976
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6977
 
    ;;
6978
 
  esac
6979
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6980
 
fi
6981
 
 
6982
 
for cc_temp in $compiler""; do
6983
 
  case $cc_temp in
6984
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6985
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6986
 
    \-*) ;;
6987
 
    *) break;;
6988
 
  esac
6989
 
done
6990
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6991
 
 
6992
 
 
6993
 
# Only perform the check for file, if the check method requires it
6994
 
case $deplibs_check_method in
6995
 
file_magic*)
6996
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6997
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6998
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6999
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7000
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7001
 
else
7002
 
  case $MAGIC_CMD in
7003
 
[\\/*] |  ?:[\\/]*)
7004
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7005
 
  ;;
7006
 
*)
7007
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7008
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7009
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7010
 
  for ac_dir in $ac_dummy; do
7011
 
    IFS="$lt_save_ifs"
7012
 
    test -z "$ac_dir" && ac_dir=.
7013
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7014
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7015
 
      if test -n "$file_magic_test_file"; then
7016
 
        case $deplibs_check_method in
7017
 
        "file_magic "*)
7018
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7019
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7020
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7021
 
            $EGREP "$file_magic_regex" > /dev/null; then
7022
 
            :
7023
 
          else
7024
 
            cat <<EOF 1>&2
7025
 
 
7026
 
*** Warning: the command libtool uses to detect shared libraries,
7027
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7028
 
*** The result is that libtool may fail to recognize shared libraries
7029
 
*** as such.  This will affect the creation of libtool libraries that
7030
 
*** depend on shared libraries, but programs linked with such libtool
7031
 
*** libraries will work regardless of this problem.  Nevertheless, you
7032
 
*** may want to report the problem to your system manager and/or to
7033
 
*** bug-libtool@gnu.org
7034
 
 
7035
 
EOF
7036
 
          fi ;;
7037
 
        esac
7038
 
      fi
7039
 
      break
7040
 
    fi
7041
 
  done
7042
 
  IFS="$lt_save_ifs"
7043
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7044
 
  ;;
7045
 
esac
7046
 
fi
7047
 
 
7048
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7049
 
if test -n "$MAGIC_CMD"; then
7050
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7051
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7052
 
else
7053
 
  { echo "$as_me:$LINENO: result: no" >&5
7054
 
echo "${ECHO_T}no" >&6; }
7055
 
fi
7056
 
 
7057
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7058
 
  if test -n "$ac_tool_prefix"; then
7059
 
    { echo "$as_me:$LINENO: checking for file" >&5
7060
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7061
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7063
 
else
7064
 
  case $MAGIC_CMD in
7065
 
[\\/*] |  ?:[\\/]*)
7066
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7067
 
  ;;
7068
 
*)
7069
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7070
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7071
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7072
 
  for ac_dir in $ac_dummy; do
7073
 
    IFS="$lt_save_ifs"
7074
 
    test -z "$ac_dir" && ac_dir=.
7075
 
    if test -f $ac_dir/file; then
7076
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7077
 
      if test -n "$file_magic_test_file"; then
7078
 
        case $deplibs_check_method in
7079
 
        "file_magic "*)
7080
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7081
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7082
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7083
 
            $EGREP "$file_magic_regex" > /dev/null; then
7084
 
            :
7085
 
          else
7086
 
            cat <<EOF 1>&2
7087
 
 
7088
 
*** Warning: the command libtool uses to detect shared libraries,
7089
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7090
 
*** The result is that libtool may fail to recognize shared libraries
7091
 
*** as such.  This will affect the creation of libtool libraries that
7092
 
*** depend on shared libraries, but programs linked with such libtool
7093
 
*** libraries will work regardless of this problem.  Nevertheless, you
7094
 
*** may want to report the problem to your system manager and/or to
7095
 
*** bug-libtool@gnu.org
7096
 
 
7097
 
EOF
7098
 
          fi ;;
7099
 
        esac
7100
 
      fi
7101
 
      break
7102
 
    fi
7103
 
  done
7104
 
  IFS="$lt_save_ifs"
7105
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7106
 
  ;;
7107
 
esac
7108
 
fi
7109
 
 
7110
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7111
 
if test -n "$MAGIC_CMD"; then
7112
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7113
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7114
 
else
7115
 
  { echo "$as_me:$LINENO: result: no" >&5
7116
 
echo "${ECHO_T}no" >&6; }
7117
 
fi
7118
 
 
7119
 
  else
7120
 
    MAGIC_CMD=:
7121
 
  fi
7122
 
fi
7123
 
 
7124
 
  fi
7125
 
  ;;
7126
 
esac
 
7426
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7427
$as_echo "failed" >&6; }
 
7428
else
 
7429
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7430
$as_echo "ok" >&6; }
 
7431
fi
 
7432
 
 
7433
 
 
7434
 
 
7435
 
 
7436
 
 
7437
 
 
7438
 
 
7439
 
 
7440
 
 
7441
 
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
# Check whether --enable-libtool-lock was given.
 
7455
if test "${enable_libtool_lock+set}" = set; then
 
7456
  enableval=$enable_libtool_lock;
 
7457
fi
 
7458
 
 
7459
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7460
 
 
7461
# Some flags need to be propagated to the compiler or linker for good
 
7462
# libtool support.
 
7463
case $host in
 
7464
ia64-*-hpux*)
 
7465
  # Find out which ABI we are using.
 
7466
  echo 'int i;' > conftest.$ac_ext
 
7467
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7468
  (eval $ac_compile) 2>&5
 
7469
  ac_status=$?
 
7470
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7471
  (exit $ac_status); }; then
 
7472
    case `/usr/bin/file conftest.$ac_objext` in
 
7473
      *ELF-32*)
 
7474
        HPUX_IA64_MODE="32"
 
7475
        ;;
 
7476
      *ELF-64*)
 
7477
        HPUX_IA64_MODE="64"
 
7478
        ;;
 
7479
    esac
 
7480
  fi
 
7481
  rm -rf conftest*
 
7482
  ;;
 
7483
*-*-irix6*)
 
7484
  # Find out which ABI we are using.
 
7485
  echo '#line 7485 "configure"' > conftest.$ac_ext
 
7486
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7487
  (eval $ac_compile) 2>&5
 
7488
  ac_status=$?
 
7489
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7490
  (exit $ac_status); }; then
 
7491
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7492
      case `/usr/bin/file conftest.$ac_objext` in
 
7493
        *32-bit*)
 
7494
          LD="${LD-ld} -melf32bsmip"
 
7495
          ;;
 
7496
        *N32*)
 
7497
          LD="${LD-ld} -melf32bmipn32"
 
7498
          ;;
 
7499
        *64-bit*)
 
7500
          LD="${LD-ld} -melf64bmip"
 
7501
        ;;
 
7502
      esac
 
7503
    else
 
7504
      case `/usr/bin/file conftest.$ac_objext` in
 
7505
        *32-bit*)
 
7506
          LD="${LD-ld} -32"
 
7507
          ;;
 
7508
        *N32*)
 
7509
          LD="${LD-ld} -n32"
 
7510
          ;;
 
7511
        *64-bit*)
 
7512
          LD="${LD-ld} -64"
 
7513
          ;;
 
7514
      esac
 
7515
    fi
 
7516
  fi
 
7517
  rm -rf conftest*
 
7518
  ;;
 
7519
 
 
7520
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7521
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7522
  # Find out which ABI we are using.
 
7523
  echo 'int i;' > conftest.$ac_ext
 
7524
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7525
  (eval $ac_compile) 2>&5
 
7526
  ac_status=$?
 
7527
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7528
  (exit $ac_status); }; then
 
7529
    case `/usr/bin/file conftest.o` in
 
7530
      *32-bit*)
 
7531
        case $host in
 
7532
          x86_64-*kfreebsd*-gnu)
 
7533
            LD="${LD-ld} -m elf_i386_fbsd"
 
7534
            ;;
 
7535
          x86_64-*linux*)
 
7536
            LD="${LD-ld} -m elf_i386"
 
7537
            ;;
 
7538
          ppc64-*linux*|powerpc64-*linux*)
 
7539
            LD="${LD-ld} -m elf32ppclinux"
 
7540
            ;;
 
7541
          s390x-*linux*)
 
7542
            LD="${LD-ld} -m elf_s390"
 
7543
            ;;
 
7544
          sparc64-*linux*)
 
7545
            LD="${LD-ld} -m elf32_sparc"
 
7546
            ;;
 
7547
        esac
 
7548
        ;;
 
7549
      *64-bit*)
 
7550
        case $host in
 
7551
          x86_64-*kfreebsd*-gnu)
 
7552
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7553
            ;;
 
7554
          x86_64-*linux*)
 
7555
            LD="${LD-ld} -m elf_x86_64"
 
7556
            ;;
 
7557
          ppc*-*linux*|powerpc*-*linux*)
 
7558
            LD="${LD-ld} -m elf64ppc"
 
7559
            ;;
 
7560
          s390*-*linux*|s390*-*tpf*)
 
7561
            LD="${LD-ld} -m elf64_s390"
 
7562
            ;;
 
7563
          sparc*-*linux*)
 
7564
            LD="${LD-ld} -m elf64_sparc"
 
7565
            ;;
 
7566
        esac
 
7567
        ;;
 
7568
    esac
 
7569
  fi
 
7570
  rm -rf conftest*
 
7571
  ;;
 
7572
 
 
7573
*-*-sco3.2v5*)
 
7574
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7575
  SAVE_CFLAGS="$CFLAGS"
 
7576
  CFLAGS="$CFLAGS -belf"
 
7577
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7578
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7579
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7580
  $as_echo_n "(cached) " >&6
 
7581
else
 
7582
  ac_ext=c
 
7583
ac_cpp='$CPP $CPPFLAGS'
 
7584
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7585
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7586
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7587
 
 
7588
     cat >conftest.$ac_ext <<_ACEOF
 
7589
/* confdefs.h.  */
 
7590
_ACEOF
 
7591
cat confdefs.h >>conftest.$ac_ext
 
7592
cat >>conftest.$ac_ext <<_ACEOF
 
7593
/* end confdefs.h.  */
 
7594
 
 
7595
int
 
7596
main ()
 
7597
{
 
7598
 
 
7599
  ;
 
7600
  return 0;
 
7601
}
 
7602
_ACEOF
 
7603
rm -f conftest.$ac_objext conftest$ac_exeext
 
7604
if { (ac_try="$ac_link"
 
7605
case "(($ac_try" in
 
7606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7607
  *) ac_try_echo=$ac_try;;
 
7608
esac
 
7609
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7610
$as_echo "$ac_try_echo") >&5
 
7611
  (eval "$ac_link") 2>conftest.er1
 
7612
  ac_status=$?
 
7613
  grep -v '^ *+' conftest.er1 >conftest.err
 
7614
  rm -f conftest.er1
 
7615
  cat conftest.err >&5
 
7616
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7617
  (exit $ac_status); } && {
 
7618
         test -z "$ac_c_werror_flag" ||
 
7619
         test ! -s conftest.err
 
7620
       } && test -s conftest$ac_exeext && {
 
7621
         test "$cross_compiling" = yes ||
 
7622
         $as_test_x conftest$ac_exeext
 
7623
       }; then
 
7624
  lt_cv_cc_needs_belf=yes
 
7625
else
 
7626
  $as_echo "$as_me: failed program was:" >&5
 
7627
sed 's/^/| /' conftest.$ac_ext >&5
 
7628
 
 
7629
        lt_cv_cc_needs_belf=no
 
7630
fi
 
7631
 
 
7632
rm -rf conftest.dSYM
 
7633
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7634
      conftest$ac_exeext conftest.$ac_ext
 
7635
     ac_ext=c
 
7636
ac_cpp='$CPP $CPPFLAGS'
 
7637
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7638
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7639
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7640
 
 
7641
fi
 
7642
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7643
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7644
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7645
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7646
    CFLAGS="$SAVE_CFLAGS"
 
7647
  fi
 
7648
  ;;
 
7649
sparc*-*solaris*)
 
7650
  # Find out which ABI we are using.
 
7651
  echo 'int i;' > conftest.$ac_ext
 
7652
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7653
  (eval $ac_compile) 2>&5
 
7654
  ac_status=$?
 
7655
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7656
  (exit $ac_status); }; then
 
7657
    case `/usr/bin/file conftest.o` in
 
7658
    *64-bit*)
 
7659
      case $lt_cv_prog_gnu_ld in
 
7660
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7661
      *)
 
7662
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7663
          LD="${LD-ld} -64"
 
7664
        fi
 
7665
        ;;
 
7666
      esac
 
7667
      ;;
 
7668
    esac
 
7669
  fi
 
7670
  rm -rf conftest*
 
7671
  ;;
 
7672
esac
 
7673
 
 
7674
need_locks="$enable_libtool_lock"
7127
7675
 
7128
7676
 
7129
7677
  case $host_os in
7131
7679
    if test -n "$ac_tool_prefix"; then
7132
7680
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7133
7681
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7134
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7135
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7682
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7683
$as_echo_n "checking for $ac_word... " >&6; }
7136
7684
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7685
  $as_echo_n "(cached) " >&6
7138
7686
else
7139
7687
  if test -n "$DSYMUTIL"; then
7140
7688
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7147
7695
  for ac_exec_ext in '' $ac_executable_extensions; do
7148
7696
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7149
7697
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7150
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7698
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7151
7699
    break 2
7152
7700
  fi
7153
7701
done
7158
7706
fi
7159
7707
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7160
7708
if test -n "$DSYMUTIL"; then
7161
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7162
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7709
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7710
$as_echo "$DSYMUTIL" >&6; }
7163
7711
else
7164
 
  { echo "$as_me:$LINENO: result: no" >&5
7165
 
echo "${ECHO_T}no" >&6; }
 
7712
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7713
$as_echo "no" >&6; }
7166
7714
fi
7167
7715
 
7168
7716
 
7171
7719
  ac_ct_DSYMUTIL=$DSYMUTIL
7172
7720
  # Extract the first word of "dsymutil", so it can be a program name with args.
7173
7721
set dummy dsymutil; ac_word=$2
7174
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7175
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7722
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7723
$as_echo_n "checking for $ac_word... " >&6; }
7176
7724
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7177
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7725
  $as_echo_n "(cached) " >&6
7178
7726
else
7179
7727
  if test -n "$ac_ct_DSYMUTIL"; then
7180
7728
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7187
7735
  for ac_exec_ext in '' $ac_executable_extensions; do
7188
7736
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7189
7737
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7190
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7738
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7191
7739
    break 2
7192
7740
  fi
7193
7741
done
7198
7746
fi
7199
7747
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7200
7748
if test -n "$ac_ct_DSYMUTIL"; then
7201
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7202
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7749
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7750
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7203
7751
else
7204
 
  { echo "$as_me:$LINENO: result: no" >&5
7205
 
echo "${ECHO_T}no" >&6; }
 
7752
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7753
$as_echo "no" >&6; }
7206
7754
fi
7207
7755
 
7208
7756
  if test "x$ac_ct_DSYMUTIL" = x; then
7210
7758
  else
7211
7759
    case $cross_compiling:$ac_tool_warned in
7212
7760
yes:)
7213
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7214
 
whose name does not start with the host triplet.  If you think this
7215
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7216
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7217
 
whose name does not start with the host triplet.  If you think this
7218
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7761
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7762
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7219
7763
ac_tool_warned=yes ;;
7220
7764
esac
7221
7765
    DSYMUTIL=$ac_ct_DSYMUTIL
7227
7771
    if test -n "$ac_tool_prefix"; then
7228
7772
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7229
7773
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7230
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7231
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7774
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7775
$as_echo_n "checking for $ac_word... " >&6; }
7232
7776
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7777
  $as_echo_n "(cached) " >&6
7234
7778
else
7235
7779
  if test -n "$NMEDIT"; then
7236
7780
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7243
7787
  for ac_exec_ext in '' $ac_executable_extensions; do
7244
7788
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245
7789
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7246
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7790
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7247
7791
    break 2
7248
7792
  fi
7249
7793
done
7254
7798
fi
7255
7799
NMEDIT=$ac_cv_prog_NMEDIT
7256
7800
if test -n "$NMEDIT"; then
7257
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7258
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
7801
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7802
$as_echo "$NMEDIT" >&6; }
7259
7803
else
7260
 
  { echo "$as_me:$LINENO: result: no" >&5
7261
 
echo "${ECHO_T}no" >&6; }
 
7804
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7805
$as_echo "no" >&6; }
7262
7806
fi
7263
7807
 
7264
7808
 
7267
7811
  ac_ct_NMEDIT=$NMEDIT
7268
7812
  # Extract the first word of "nmedit", so it can be a program name with args.
7269
7813
set dummy nmedit; ac_word=$2
7270
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7271
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7814
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7815
$as_echo_n "checking for $ac_word... " >&6; }
7272
7816
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7817
  $as_echo_n "(cached) " >&6
7274
7818
else
7275
7819
  if test -n "$ac_ct_NMEDIT"; then
7276
7820
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7283
7827
  for ac_exec_ext in '' $ac_executable_extensions; do
7284
7828
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285
7829
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7286
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7830
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7287
7831
    break 2
7288
7832
  fi
7289
7833
done
7294
7838
fi
7295
7839
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7296
7840
if test -n "$ac_ct_NMEDIT"; then
7297
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7298
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7841
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7842
$as_echo "$ac_ct_NMEDIT" >&6; }
7299
7843
else
7300
 
  { echo "$as_me:$LINENO: result: no" >&5
7301
 
echo "${ECHO_T}no" >&6; }
 
7844
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7845
$as_echo "no" >&6; }
7302
7846
fi
7303
7847
 
7304
7848
  if test "x$ac_ct_NMEDIT" = x; then
7306
7850
  else
7307
7851
    case $cross_compiling:$ac_tool_warned in
7308
7852
yes:)
7309
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7310
 
whose name does not start with the host triplet.  If you think this
7311
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7312
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7313
 
whose name does not start with the host triplet.  If you think this
7314
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7853
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7854
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315
7855
ac_tool_warned=yes ;;
7316
7856
esac
7317
7857
    NMEDIT=$ac_ct_NMEDIT
7320
7860
  NMEDIT="$ac_cv_prog_NMEDIT"
7321
7861
fi
7322
7862
 
7323
 
 
7324
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7325
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7863
    if test -n "$ac_tool_prefix"; then
 
7864
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7865
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7866
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7867
$as_echo_n "checking for $ac_word... " >&6; }
 
7868
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7869
  $as_echo_n "(cached) " >&6
 
7870
else
 
7871
  if test -n "$LIPO"; then
 
7872
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7873
else
 
7874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7875
for as_dir in $PATH
 
7876
do
 
7877
  IFS=$as_save_IFS
 
7878
  test -z "$as_dir" && as_dir=.
 
7879
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7880
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7881
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7882
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7883
    break 2
 
7884
  fi
 
7885
done
 
7886
done
 
7887
IFS=$as_save_IFS
 
7888
 
 
7889
fi
 
7890
fi
 
7891
LIPO=$ac_cv_prog_LIPO
 
7892
if test -n "$LIPO"; then
 
7893
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7894
$as_echo "$LIPO" >&6; }
 
7895
else
 
7896
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7897
$as_echo "no" >&6; }
 
7898
fi
 
7899
 
 
7900
 
 
7901
fi
 
7902
if test -z "$ac_cv_prog_LIPO"; then
 
7903
  ac_ct_LIPO=$LIPO
 
7904
  # Extract the first word of "lipo", so it can be a program name with args.
 
7905
set dummy lipo; ac_word=$2
 
7906
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7907
$as_echo_n "checking for $ac_word... " >&6; }
 
7908
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7909
  $as_echo_n "(cached) " >&6
 
7910
else
 
7911
  if test -n "$ac_ct_LIPO"; then
 
7912
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7913
else
 
7914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7915
for as_dir in $PATH
 
7916
do
 
7917
  IFS=$as_save_IFS
 
7918
  test -z "$as_dir" && as_dir=.
 
7919
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7920
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7921
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7922
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7923
    break 2
 
7924
  fi
 
7925
done
 
7926
done
 
7927
IFS=$as_save_IFS
 
7928
 
 
7929
fi
 
7930
fi
 
7931
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7932
if test -n "$ac_ct_LIPO"; then
 
7933
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7934
$as_echo "$ac_ct_LIPO" >&6; }
 
7935
else
 
7936
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7937
$as_echo "no" >&6; }
 
7938
fi
 
7939
 
 
7940
  if test "x$ac_ct_LIPO" = x; then
 
7941
    LIPO=":"
 
7942
  else
 
7943
    case $cross_compiling:$ac_tool_warned in
 
7944
yes:)
 
7945
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7946
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7947
ac_tool_warned=yes ;;
 
7948
esac
 
7949
    LIPO=$ac_ct_LIPO
 
7950
  fi
 
7951
else
 
7952
  LIPO="$ac_cv_prog_LIPO"
 
7953
fi
 
7954
 
 
7955
    if test -n "$ac_tool_prefix"; then
 
7956
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7957
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7958
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7959
$as_echo_n "checking for $ac_word... " >&6; }
 
7960
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7961
  $as_echo_n "(cached) " >&6
 
7962
else
 
7963
  if test -n "$OTOOL"; then
 
7964
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7965
else
 
7966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7967
for as_dir in $PATH
 
7968
do
 
7969
  IFS=$as_save_IFS
 
7970
  test -z "$as_dir" && as_dir=.
 
7971
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7972
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7973
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7974
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7975
    break 2
 
7976
  fi
 
7977
done
 
7978
done
 
7979
IFS=$as_save_IFS
 
7980
 
 
7981
fi
 
7982
fi
 
7983
OTOOL=$ac_cv_prog_OTOOL
 
7984
if test -n "$OTOOL"; then
 
7985
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7986
$as_echo "$OTOOL" >&6; }
 
7987
else
 
7988
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7989
$as_echo "no" >&6; }
 
7990
fi
 
7991
 
 
7992
 
 
7993
fi
 
7994
if test -z "$ac_cv_prog_OTOOL"; then
 
7995
  ac_ct_OTOOL=$OTOOL
 
7996
  # Extract the first word of "otool", so it can be a program name with args.
 
7997
set dummy otool; ac_word=$2
 
7998
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7999
$as_echo_n "checking for $ac_word... " >&6; }
 
8000
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
8001
  $as_echo_n "(cached) " >&6
 
8002
else
 
8003
  if test -n "$ac_ct_OTOOL"; then
 
8004
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8005
else
 
8006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8007
for as_dir in $PATH
 
8008
do
 
8009
  IFS=$as_save_IFS
 
8010
  test -z "$as_dir" && as_dir=.
 
8011
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8012
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8013
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8014
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8015
    break 2
 
8016
  fi
 
8017
done
 
8018
done
 
8019
IFS=$as_save_IFS
 
8020
 
 
8021
fi
 
8022
fi
 
8023
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8024
if test -n "$ac_ct_OTOOL"; then
 
8025
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
8026
$as_echo "$ac_ct_OTOOL" >&6; }
 
8027
else
 
8028
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8029
$as_echo "no" >&6; }
 
8030
fi
 
8031
 
 
8032
  if test "x$ac_ct_OTOOL" = x; then
 
8033
    OTOOL=":"
 
8034
  else
 
8035
    case $cross_compiling:$ac_tool_warned in
 
8036
yes:)
 
8037
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8038
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8039
ac_tool_warned=yes ;;
 
8040
esac
 
8041
    OTOOL=$ac_ct_OTOOL
 
8042
  fi
 
8043
else
 
8044
  OTOOL="$ac_cv_prog_OTOOL"
 
8045
fi
 
8046
 
 
8047
    if test -n "$ac_tool_prefix"; then
 
8048
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8049
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8050
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8051
$as_echo_n "checking for $ac_word... " >&6; }
 
8052
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
8053
  $as_echo_n "(cached) " >&6
 
8054
else
 
8055
  if test -n "$OTOOL64"; then
 
8056
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8057
else
 
8058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8059
for as_dir in $PATH
 
8060
do
 
8061
  IFS=$as_save_IFS
 
8062
  test -z "$as_dir" && as_dir=.
 
8063
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8064
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8065
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8066
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8067
    break 2
 
8068
  fi
 
8069
done
 
8070
done
 
8071
IFS=$as_save_IFS
 
8072
 
 
8073
fi
 
8074
fi
 
8075
OTOOL64=$ac_cv_prog_OTOOL64
 
8076
if test -n "$OTOOL64"; then
 
8077
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
8078
$as_echo "$OTOOL64" >&6; }
 
8079
else
 
8080
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8081
$as_echo "no" >&6; }
 
8082
fi
 
8083
 
 
8084
 
 
8085
fi
 
8086
if test -z "$ac_cv_prog_OTOOL64"; then
 
8087
  ac_ct_OTOOL64=$OTOOL64
 
8088
  # Extract the first word of "otool64", so it can be a program name with args.
 
8089
set dummy otool64; ac_word=$2
 
8090
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8091
$as_echo_n "checking for $ac_word... " >&6; }
 
8092
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
8093
  $as_echo_n "(cached) " >&6
 
8094
else
 
8095
  if test -n "$ac_ct_OTOOL64"; then
 
8096
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8097
else
 
8098
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8099
for as_dir in $PATH
 
8100
do
 
8101
  IFS=$as_save_IFS
 
8102
  test -z "$as_dir" && as_dir=.
 
8103
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8105
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8106
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8107
    break 2
 
8108
  fi
 
8109
done
 
8110
done
 
8111
IFS=$as_save_IFS
 
8112
 
 
8113
fi
 
8114
fi
 
8115
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8116
if test -n "$ac_ct_OTOOL64"; then
 
8117
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8118
$as_echo "$ac_ct_OTOOL64" >&6; }
 
8119
else
 
8120
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8121
$as_echo "no" >&6; }
 
8122
fi
 
8123
 
 
8124
  if test "x$ac_ct_OTOOL64" = x; then
 
8125
    OTOOL64=":"
 
8126
  else
 
8127
    case $cross_compiling:$ac_tool_warned in
 
8128
yes:)
 
8129
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8130
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8131
ac_tool_warned=yes ;;
 
8132
esac
 
8133
    OTOOL64=$ac_ct_OTOOL64
 
8134
  fi
 
8135
else
 
8136
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8137
fi
 
8138
 
 
8139
 
 
8140
 
 
8141
 
 
8142
 
 
8143
 
 
8144
 
 
8145
 
 
8146
 
 
8147
 
 
8148
 
 
8149
 
 
8150
 
 
8151
 
 
8152
 
 
8153
 
 
8154
 
 
8155
 
 
8156
 
 
8157
 
 
8158
 
 
8159
 
 
8160
 
 
8161
 
 
8162
 
 
8163
 
 
8164
 
 
8165
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8166
$as_echo_n "checking for -single_module linker flag... " >&6; }
7326
8167
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7327
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8168
  $as_echo_n "(cached) " >&6
7328
8169
else
7329
8170
  lt_cv_apple_cc_single_mod=no
7330
8171
      if test -z "${LT_MULTI_MODULE}"; then
7331
 
   # By default we will add the -single_module flag. You can override
7332
 
   # by either setting the environment variable LT_MULTI_MODULE
7333
 
   # non-empty at configure time, or by adding -multi_module to the
7334
 
   # link flags.
7335
 
   echo "int foo(void){return 1;}" > conftest.c
7336
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7337
 
     -dynamiclib ${wl}-single_module conftest.c
7338
 
   if test -f libconftest.dylib; then
7339
 
     lt_cv_apple_cc_single_mod=yes
7340
 
     rm -rf libconftest.dylib*
7341
 
   fi
7342
 
   rm conftest.c
 
8172
        # By default we will add the -single_module flag. You can override
 
8173
        # by either setting the environment variable LT_MULTI_MODULE
 
8174
        # non-empty at configure time, or by adding -multi_module to the
 
8175
        # link flags.
 
8176
        rm -rf libconftest.dylib*
 
8177
        echo "int foo(void){return 1;}" > conftest.c
 
8178
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8179
-dynamiclib -Wl,-single_module conftest.c" >&5
 
8180
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8181
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8182
        _lt_result=$?
 
8183
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
8184
          lt_cv_apple_cc_single_mod=yes
 
8185
        else
 
8186
          cat conftest.err >&5
 
8187
        fi
 
8188
        rm -rf libconftest.dylib*
 
8189
        rm -f conftest.*
7343
8190
      fi
7344
8191
fi
7345
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7346
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7347
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7348
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
8192
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8193
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8194
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8195
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7349
8196
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7350
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8197
  $as_echo_n "(cached) " >&6
7351
8198
else
7352
8199
  lt_cv_ld_exported_symbols_list=no
7353
8200
      save_LDFLAGS=$LDFLAGS
7374
8221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7375
8222
  *) ac_try_echo=$ac_try;;
7376
8223
esac
7377
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8224
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8225
$as_echo "$ac_try_echo") >&5
7378
8226
  (eval "$ac_link") 2>conftest.er1
7379
8227
  ac_status=$?
7380
8228
  grep -v '^ *+' conftest.er1 >conftest.err
7381
8229
  rm -f conftest.er1
7382
8230
  cat conftest.err >&5
7383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8231
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384
8232
  (exit $ac_status); } && {
7385
8233
         test -z "$ac_c_werror_flag" ||
7386
8234
         test ! -s conftest.err
7387
 
       } && test -s conftest$ac_exeext &&
7388
 
       $as_test_x conftest$ac_exeext; then
 
8235
       } && test -s conftest$ac_exeext && {
 
8236
         test "$cross_compiling" = yes ||
 
8237
         $as_test_x conftest$ac_exeext
 
8238
       }; then
7389
8239
  lt_cv_ld_exported_symbols_list=yes
7390
8240
else
7391
 
  echo "$as_me: failed program was:" >&5
 
8241
  $as_echo "$as_me: failed program was:" >&5
7392
8242
sed 's/^/| /' conftest.$ac_ext >&5
7393
8243
 
7394
8244
        lt_cv_ld_exported_symbols_list=no
7395
8245
fi
7396
8246
 
 
8247
rm -rf conftest.dSYM
7397
8248
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7398
8249
      conftest$ac_exeext conftest.$ac_ext
7399
 
   LDFLAGS="$save_LDFLAGS"
 
8250
        LDFLAGS="$save_LDFLAGS"
7400
8251
 
7401
8252
fi
7402
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7403
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
8253
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8254
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7404
8255
    case $host_os in
7405
 
    rhapsody* | darwin1.[0123])
 
8256
    rhapsody* | darwin1.[012])
7406
8257
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7407
8258
    darwin1.*)
7408
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7409
 
    darwin*)
 
8259
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8260
    darwin*) # darwin 5.x on
7410
8261
      # if running on 10.5 or later, the deployment target defaults
7411
8262
      # to the OS version, if on x86, and 10.4, the deployment
7412
8263
      # target defaults to 10.4. Don't you love it?
7413
8264
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7414
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7415
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7416
 
   10.[012]*)
7417
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7418
 
   10.*)
7419
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8265
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8266
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8267
        10.[012]*)
 
8268
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8269
        10.*)
 
8270
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7420
8271
      esac
7421
8272
    ;;
7422
8273
  esac
7426
8277
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7427
8278
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7428
8279
    else
7429
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
8280
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7430
8281
    fi
7431
8282
    if test "$DSYMUTIL" != ":"; then
7432
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
8283
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7433
8284
    else
7434
8285
      _lt_dsymutil=
7435
8286
    fi
7437
8288
  esac
7438
8289
 
7439
8290
 
7440
 
enable_dlopen=no
7441
 
enable_win32_dll=no
7442
 
 
7443
 
# Check whether --enable-libtool-lock was given.
7444
 
if test "${enable_libtool_lock+set}" = set; then
7445
 
  enableval=$enable_libtool_lock;
7446
 
fi
7447
 
 
7448
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8291
for ac_header in dlfcn.h
 
8292
do
 
8293
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8294
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8295
$as_echo_n "checking for $ac_header... " >&6; }
 
8296
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8297
  $as_echo_n "(cached) " >&6
 
8298
else
 
8299
  cat >conftest.$ac_ext <<_ACEOF
 
8300
/* confdefs.h.  */
 
8301
_ACEOF
 
8302
cat confdefs.h >>conftest.$ac_ext
 
8303
cat >>conftest.$ac_ext <<_ACEOF
 
8304
/* end confdefs.h.  */
 
8305
$ac_includes_default
 
8306
 
 
8307
#include <$ac_header>
 
8308
_ACEOF
 
8309
rm -f conftest.$ac_objext
 
8310
if { (ac_try="$ac_compile"
 
8311
case "(($ac_try" in
 
8312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8313
  *) ac_try_echo=$ac_try;;
 
8314
esac
 
8315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8316
$as_echo "$ac_try_echo") >&5
 
8317
  (eval "$ac_compile") 2>conftest.er1
 
8318
  ac_status=$?
 
8319
  grep -v '^ *+' conftest.er1 >conftest.err
 
8320
  rm -f conftest.er1
 
8321
  cat conftest.err >&5
 
8322
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8323
  (exit $ac_status); } && {
 
8324
         test -z "$ac_c_werror_flag" ||
 
8325
         test ! -s conftest.err
 
8326
       } && test -s conftest.$ac_objext; then
 
8327
  eval "$as_ac_Header=yes"
 
8328
else
 
8329
  $as_echo "$as_me: failed program was:" >&5
 
8330
sed 's/^/| /' conftest.$ac_ext >&5
 
8331
 
 
8332
        eval "$as_ac_Header=no"
 
8333
fi
 
8334
 
 
8335
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8336
fi
 
8337
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8338
                 $as_echo "$as_val"'`
 
8339
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8340
$as_echo "$ac_res" >&6; }
 
8341
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8342
                 $as_echo "$as_val"'`
 
8343
   if test "x$as_val" = x""yes; then
 
8344
  cat >>confdefs.h <<_ACEOF
 
8345
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8346
_ACEOF
 
8347
 
 
8348
fi
 
8349
 
 
8350
done
 
8351
 
 
8352
 
 
8353
 
 
8354
# Set options
 
8355
 
 
8356
 
 
8357
 
 
8358
        enable_dlopen=no
 
8359
 
 
8360
 
 
8361
  enable_win32_dll=no
 
8362
 
 
8363
 
 
8364
            # Check whether --enable-shared was given.
 
8365
if test "${enable_shared+set}" = set; then
 
8366
  enableval=$enable_shared; p=${PACKAGE-default}
 
8367
    case $enableval in
 
8368
    yes) enable_shared=yes ;;
 
8369
    no) enable_shared=no ;;
 
8370
    *)
 
8371
      enable_shared=no
 
8372
      # Look at the argument we got.  We use all the common list separators.
 
8373
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8374
      for pkg in $enableval; do
 
8375
        IFS="$lt_save_ifs"
 
8376
        if test "X$pkg" = "X$p"; then
 
8377
          enable_shared=yes
 
8378
        fi
 
8379
      done
 
8380
      IFS="$lt_save_ifs"
 
8381
      ;;
 
8382
    esac
 
8383
else
 
8384
  enable_shared=yes
 
8385
fi
 
8386
 
 
8387
 
 
8388
 
 
8389
 
 
8390
 
 
8391
 
 
8392
 
 
8393
 
 
8394
 
7449
8395
 
7450
8396
 
7451
8397
# Check whether --with-pic was given.
7455
8401
  pic_mode=default
7456
8402
fi
7457
8403
 
 
8404
 
7458
8405
test -z "$pic_mode" && pic_mode=default
7459
8406
 
7460
 
# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
7461
 
#
7462
 
# Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
7463
 
#        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
7464
 
#        calls AC_LIBTOOL_CONFIG and creates libtool.
7465
 
#
7466
 
{ echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
7467
 
echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
7468
 
if test "x$ltmain" = "x" ; then
7469
 
  { echo "$as_me:$LINENO: result: no" >&5
7470
 
echo "${ECHO_T}no" >&6; }
7471
 
  { { echo "$as_me:$LINENO: error:
7472
 
 
7473
 
*** [Gentoo] sanity check failed! ***
7474
 
*** \$ltmain is not defined, please check the patch for consistency! ***
7475
 
" >&5
7476
 
echo "$as_me: error:
7477
 
 
7478
 
*** [Gentoo] sanity check failed! ***
7479
 
*** \$ltmain is not defined, please check the patch for consistency! ***
7480
 
" >&2;}
7481
 
   { (exit 1); exit 1; }; }
7482
 
fi
7483
 
gentoo_lt_version="1.5.26"
7484
 
gentoo_ltmain_version=`sed -n '/^[      ]*VERSION=/{s/^[        ]*VERSION=//;p;q;}' "$ltmain"`
7485
 
if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
7486
 
  { echo "$as_me:$LINENO: result: no" >&5
7487
 
echo "${ECHO_T}no" >&6; }
7488
 
  { { echo "$as_me:$LINENO: error:
7489
 
 
7490
 
*** [Gentoo] sanity check failed! ***
7491
 
*** libtool.m4 and ltmain.sh have a version mismatch! ***
7492
 
*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
7493
 
 
7494
 
Please run:
7495
 
 
7496
 
  libtoolize --copy --force
7497
 
 
7498
 
if appropriate, please contact the maintainer of this
7499
 
package (or your distribution) for help.
7500
 
" >&5
7501
 
echo "$as_me: error:
7502
 
 
7503
 
*** [Gentoo] sanity check failed! ***
7504
 
*** libtool.m4 and ltmain.sh have a version mismatch! ***
7505
 
*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
7506
 
 
7507
 
Please run:
7508
 
 
7509
 
  libtoolize --copy --force
7510
 
 
7511
 
if appropriate, please contact the maintainer of this
7512
 
package (or your distribution) for help.
7513
 
" >&2;}
7514
 
   { (exit 1); exit 1; }; }
7515
 
else
7516
 
  { echo "$as_me:$LINENO: result: yes" >&5
7517
 
echo "${ECHO_T}yes" >&6; }
7518
 
fi
7519
 
 
 
8407
 
 
8408
 
 
8409
 
 
8410
 
 
8411
 
 
8412
 
 
8413
  # Check whether --enable-fast-install was given.
 
8414
if test "${enable_fast_install+set}" = set; then
 
8415
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8416
    case $enableval in
 
8417
    yes) enable_fast_install=yes ;;
 
8418
    no) enable_fast_install=no ;;
 
8419
    *)
 
8420
      enable_fast_install=no
 
8421
      # Look at the argument we got.  We use all the common list separators.
 
8422
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8423
      for pkg in $enableval; do
 
8424
        IFS="$lt_save_ifs"
 
8425
        if test "X$pkg" = "X$p"; then
 
8426
          enable_fast_install=yes
 
8427
        fi
 
8428
      done
 
8429
      IFS="$lt_save_ifs"
 
8430
      ;;
 
8431
    esac
 
8432
else
 
8433
  enable_fast_install=yes
 
8434
fi
 
8435
 
 
8436
 
 
8437
 
 
8438
 
 
8439
 
 
8440
 
 
8441
 
 
8442
 
 
8443
 
 
8444
 
 
8445
 
 
8446
# This can be used to rebuild libtool when needed
 
8447
LIBTOOL_DEPS="$ltmain"
 
8448
 
 
8449
# Always use our own libtool.
 
8450
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8451
 
 
8452
 
 
8453
 
 
8454
 
 
8455
 
 
8456
 
 
8457
 
 
8458
 
 
8459
 
 
8460
 
 
8461
 
 
8462
 
 
8463
 
 
8464
 
 
8465
 
 
8466
 
 
8467
 
 
8468
 
 
8469
 
 
8470
 
 
8471
 
 
8472
 
 
8473
 
 
8474
 
 
8475
 
 
8476
test -z "$LN_S" && LN_S="ln -s"
 
8477
 
 
8478
 
 
8479
 
 
8480
 
 
8481
 
 
8482
 
 
8483
 
 
8484
 
 
8485
 
 
8486
 
 
8487
 
 
8488
 
 
8489
 
 
8490
 
 
8491
if test -n "${ZSH_VERSION+set}" ; then
 
8492
   setopt NO_GLOB_SUBST
 
8493
fi
 
8494
 
 
8495
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8496
$as_echo_n "checking for objdir... " >&6; }
 
8497
if test "${lt_cv_objdir+set}" = set; then
 
8498
  $as_echo_n "(cached) " >&6
 
8499
else
 
8500
  rm -f .libs 2>/dev/null
 
8501
mkdir .libs 2>/dev/null
 
8502
if test -d .libs; then
 
8503
  lt_cv_objdir=.libs
 
8504
else
 
8505
  # MS-DOS does not allow filenames that begin with a dot.
 
8506
  lt_cv_objdir=_libs
 
8507
fi
 
8508
rmdir .libs 2>/dev/null
 
8509
fi
 
8510
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8511
$as_echo "$lt_cv_objdir" >&6; }
 
8512
objdir=$lt_cv_objdir
 
8513
 
 
8514
 
 
8515
 
 
8516
 
 
8517
 
 
8518
cat >>confdefs.h <<_ACEOF
 
8519
#define LT_OBJDIR "$lt_cv_objdir/"
 
8520
_ACEOF
 
8521
 
 
8522
 
 
8523
 
 
8524
 
 
8525
 
 
8526
 
 
8527
 
 
8528
 
 
8529
 
 
8530
 
 
8531
 
 
8532
 
 
8533
 
 
8534
 
 
8535
 
 
8536
 
 
8537
 
 
8538
case $host_os in
 
8539
aix3*)
 
8540
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8541
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8542
  # vanish in a puff of smoke.
 
8543
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8544
    COLLECT_NAMES=
 
8545
    export COLLECT_NAMES
 
8546
  fi
 
8547
  ;;
 
8548
esac
 
8549
 
 
8550
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8551
# metacharacters that are still active within double-quoted strings.
 
8552
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8553
 
 
8554
# Same as above, but do not quote variable references.
 
8555
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8556
 
 
8557
# Sed substitution to delay expansion of an escaped shell variable in a
 
8558
# double_quote_subst'ed string.
 
8559
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8560
 
 
8561
# Sed substitution to delay expansion of an escaped single quote.
 
8562
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8563
 
 
8564
# Sed substitution to avoid accidental globbing in evaled expressions
 
8565
no_glob_subst='s/\*/\\\*/g'
 
8566
 
 
8567
# Global variables:
 
8568
ofile=libtool
 
8569
can_build_shared=yes
 
8570
 
 
8571
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8572
# which needs '.lib').
 
8573
libext=a
 
8574
 
 
8575
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8576
 
 
8577
old_CC="$CC"
 
8578
old_CFLAGS="$CFLAGS"
 
8579
 
 
8580
# Set sane defaults for various variables
 
8581
test -z "$CC" && CC=cc
 
8582
test -z "$LTCC" && LTCC=$CC
 
8583
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8584
test -z "$LD" && LD=ld
 
8585
test -z "$ac_objext" && ac_objext=o
 
8586
 
 
8587
for cc_temp in $compiler""; do
 
8588
  case $cc_temp in
 
8589
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8590
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8591
    \-*) ;;
 
8592
    *) break;;
 
8593
  esac
 
8594
done
 
8595
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8596
 
 
8597
 
 
8598
# Only perform the check for file, if the check method requires it
 
8599
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8600
case $deplibs_check_method in
 
8601
file_magic*)
 
8602
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8603
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8604
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8605
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8606
  $as_echo_n "(cached) " >&6
 
8607
else
 
8608
  case $MAGIC_CMD in
 
8609
[\\/*] |  ?:[\\/]*)
 
8610
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8611
  ;;
 
8612
*)
 
8613
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8614
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8615
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8616
  for ac_dir in $ac_dummy; do
 
8617
    IFS="$lt_save_ifs"
 
8618
    test -z "$ac_dir" && ac_dir=.
 
8619
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8620
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8621
      if test -n "$file_magic_test_file"; then
 
8622
        case $deplibs_check_method in
 
8623
        "file_magic "*)
 
8624
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8625
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8626
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8627
            $EGREP "$file_magic_regex" > /dev/null; then
 
8628
            :
 
8629
          else
 
8630
            cat <<_LT_EOF 1>&2
 
8631
 
 
8632
*** Warning: the command libtool uses to detect shared libraries,
 
8633
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8634
*** The result is that libtool may fail to recognize shared libraries
 
8635
*** as such.  This will affect the creation of libtool libraries that
 
8636
*** depend on shared libraries, but programs linked with such libtool
 
8637
*** libraries will work regardless of this problem.  Nevertheless, you
 
8638
*** may want to report the problem to your system manager and/or to
 
8639
*** bug-libtool@gnu.org
 
8640
 
 
8641
_LT_EOF
 
8642
          fi ;;
 
8643
        esac
 
8644
      fi
 
8645
      break
 
8646
    fi
 
8647
  done
 
8648
  IFS="$lt_save_ifs"
 
8649
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8650
  ;;
 
8651
esac
 
8652
fi
 
8653
 
 
8654
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8655
if test -n "$MAGIC_CMD"; then
 
8656
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8657
$as_echo "$MAGIC_CMD" >&6; }
 
8658
else
 
8659
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8660
$as_echo "no" >&6; }
 
8661
fi
 
8662
 
 
8663
 
 
8664
 
 
8665
 
 
8666
 
 
8667
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8668
  if test -n "$ac_tool_prefix"; then
 
8669
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8670
$as_echo_n "checking for file... " >&6; }
 
8671
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8672
  $as_echo_n "(cached) " >&6
 
8673
else
 
8674
  case $MAGIC_CMD in
 
8675
[\\/*] |  ?:[\\/]*)
 
8676
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8677
  ;;
 
8678
*)
 
8679
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8680
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8681
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8682
  for ac_dir in $ac_dummy; do
 
8683
    IFS="$lt_save_ifs"
 
8684
    test -z "$ac_dir" && ac_dir=.
 
8685
    if test -f $ac_dir/file; then
 
8686
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8687
      if test -n "$file_magic_test_file"; then
 
8688
        case $deplibs_check_method in
 
8689
        "file_magic "*)
 
8690
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8691
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8692
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8693
            $EGREP "$file_magic_regex" > /dev/null; then
 
8694
            :
 
8695
          else
 
8696
            cat <<_LT_EOF 1>&2
 
8697
 
 
8698
*** Warning: the command libtool uses to detect shared libraries,
 
8699
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8700
*** The result is that libtool may fail to recognize shared libraries
 
8701
*** as such.  This will affect the creation of libtool libraries that
 
8702
*** depend on shared libraries, but programs linked with such libtool
 
8703
*** libraries will work regardless of this problem.  Nevertheless, you
 
8704
*** may want to report the problem to your system manager and/or to
 
8705
*** bug-libtool@gnu.org
 
8706
 
 
8707
_LT_EOF
 
8708
          fi ;;
 
8709
        esac
 
8710
      fi
 
8711
      break
 
8712
    fi
 
8713
  done
 
8714
  IFS="$lt_save_ifs"
 
8715
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8716
  ;;
 
8717
esac
 
8718
fi
 
8719
 
 
8720
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8721
if test -n "$MAGIC_CMD"; then
 
8722
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8723
$as_echo "$MAGIC_CMD" >&6; }
 
8724
else
 
8725
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8726
$as_echo "no" >&6; }
 
8727
fi
 
8728
 
 
8729
 
 
8730
  else
 
8731
    MAGIC_CMD=:
 
8732
  fi
 
8733
fi
 
8734
 
 
8735
  fi
 
8736
  ;;
 
8737
esac
7520
8738
 
7521
8739
# Use C for the default configuration in the libtool script
7522
 
tagname=
 
8740
 
7523
8741
lt_save_CC="$CC"
7524
8742
ac_ext=c
7525
8743
ac_cpp='$CPP $CPPFLAGS'
7542
8760
lt_simple_link_test_code='int main(){return(0);}'
7543
8761
 
7544
8762
 
 
8763
 
 
8764
 
 
8765
 
 
8766
 
 
8767
 
7545
8768
# If no C compiler was specified, use CC.
7546
8769
LTCC=${LTCC-"$CC"}
7547
8770
 
7551
8774
# Allow CC to be a program name with arguments.
7552
8775
compiler=$CC
7553
8776
 
 
8777
# Save the default compiler, since it gets overwritten when the other
 
8778
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8779
compiler_DEFAULT=$CC
7554
8780
 
7555
8781
# save warnings/boilerplate of simple test code
7556
8782
ac_outfile=conftest.$ac_objext
7557
8783
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7558
8784
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7559
8785
_lt_compiler_boilerplate=`cat conftest.err`
7560
 
$rm conftest*
 
8786
$RM conftest*
7561
8787
 
7562
8788
ac_outfile=conftest.$ac_objext
7563
8789
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7564
8790
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7565
8791
_lt_linker_boilerplate=`cat conftest.err`
7566
 
$rm -r conftest*
7567
 
 
7568
 
 
 
8792
$RM -r conftest*
 
8793
 
 
8794
 
 
8795
## CAVEAT EMPTOR:
 
8796
## There is no encapsulation within the following macros, do not change
 
8797
## the running order or otherwise move them around unless you know exactly
 
8798
## what you are doing...
 
8799
if test -n "$compiler"; then
7569
8800
 
7570
8801
lt_prog_compiler_no_builtin_flag=
7571
8802
 
7572
8803
if test "$GCC" = yes; then
7573
8804
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7574
8805
 
7575
 
 
7576
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7577
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
8806
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8807
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7578
8808
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7579
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8809
  $as_echo_n "(cached) " >&6
7580
8810
else
7581
8811
  lt_cv_prog_compiler_rtti_exceptions=no
7582
 
  ac_outfile=conftest.$ac_objext
 
8812
   ac_outfile=conftest.$ac_objext
7583
8813
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7584
8814
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7585
8815
   # Insert the option either (1) after the last *FLAGS variable, or
7591
8821
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7592
8822
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7593
8823
   -e 's:$: $lt_compiler_flag:'`
7594
 
   (eval echo "\"\$as_me:7594: $lt_compile\"" >&5)
 
8824
   (eval echo "\"\$as_me:8824: $lt_compile\"" >&5)
7595
8825
   (eval "$lt_compile" 2>conftest.err)
7596
8826
   ac_status=$?
7597
8827
   cat conftest.err >&5
7598
 
   echo "$as_me:7598: \$? = $ac_status" >&5
 
8828
   echo "$as_me:8828: \$? = $ac_status" >&5
7599
8829
   if (exit $ac_status) && test -s "$ac_outfile"; then
7600
8830
     # The compiler can only warn and ignore the option if not recognized
7601
8831
     # So say no if there are warnings other than the usual output.
7602
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8832
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7603
8833
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7604
8834
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7605
8835
       lt_cv_prog_compiler_rtti_exceptions=yes
7606
8836
     fi
7607
8837
   fi
7608
 
   $rm conftest*
 
8838
   $RM conftest*
7609
8839
 
7610
8840
fi
7611
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7612
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8841
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8842
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7613
8843
 
7614
8844
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7615
8845
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7619
8849
 
7620
8850
fi
7621
8851
 
7622
 
lt_prog_compiler_wl=
 
8852
 
 
8853
 
 
8854
 
 
8855
 
 
8856
 
 
8857
  lt_prog_compiler_wl=
7623
8858
lt_prog_compiler_pic=
7624
8859
lt_prog_compiler_static=
7625
8860
 
7626
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7627
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
8861
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8862
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7628
8863
 
7629
8864
  if test "$GCC" = yes; then
7630
8865
    lt_prog_compiler_wl='-Wl,'
7640
8875
      ;;
7641
8876
 
7642
8877
    amigaos*)
7643
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7644
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7645
 
      # like `-m68040'.
7646
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8878
      case $host_cpu in
 
8879
      powerpc)
 
8880
            # see comment about AmigaOS4 .so support
 
8881
            lt_prog_compiler_pic='-fPIC'
 
8882
        ;;
 
8883
      m68k)
 
8884
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8885
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8886
            # like `-m68040'.
 
8887
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8888
        ;;
 
8889
      esac
7647
8890
      ;;
7648
8891
 
7649
8892
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7650
8893
      # PIC is the default for these OSes.
7651
8894
      ;;
7652
8895
 
7653
 
    mingw* | cygwin* | pw32* | os2*)
 
8896
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7654
8897
      # This hack is so that the source file can tell whether it is being
7655
8898
      # built for inclusion in a dll (and should export symbols for example).
7656
8899
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7664
8907
      lt_prog_compiler_pic='-fno-common'
7665
8908
      ;;
7666
8909
 
 
8910
    hpux*)
 
8911
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8912
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8913
      # sets the default TLS model and affects inlining.
 
8914
      case $host_cpu in
 
8915
      hppa*64*)
 
8916
        # +Z the default
 
8917
        ;;
 
8918
      *)
 
8919
        lt_prog_compiler_pic='-fPIC'
 
8920
        ;;
 
8921
      esac
 
8922
      ;;
 
8923
 
7667
8924
    interix[3-9]*)
7668
8925
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7669
8926
      # Instead, we relocate shared libraries at runtime.
7676
8933
      enable_shared=no
7677
8934
      ;;
7678
8935
 
 
8936
    *nto* | *qnx*)
 
8937
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8938
      # it will coredump.
 
8939
      lt_prog_compiler_pic='-fPIC -shared'
 
8940
      ;;
 
8941
 
7679
8942
    sysv4*MP*)
7680
8943
      if test -d /usr/nec; then
7681
8944
        lt_prog_compiler_pic=-Kconform_pic
7682
8945
      fi
7683
8946
      ;;
7684
8947
 
7685
 
    hpux*)
7686
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7687
 
      # not for PA HP-UX.
7688
 
      case $host_cpu in
7689
 
      hppa*64*|ia64*)
7690
 
        # +Z the default
7691
 
        ;;
7692
 
      *)
7693
 
        lt_prog_compiler_pic='-fPIC'
7694
 
        ;;
7695
 
      esac
7696
 
      ;;
7697
 
 
7698
8948
    *)
7699
8949
      lt_prog_compiler_pic='-fPIC'
7700
8950
      ;;
7711
8961
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7712
8962
      fi
7713
8963
      ;;
7714
 
      darwin*)
7715
 
        # PIC is the default on this platform
7716
 
        # Common symbols not allowed in MH_DYLIB files
7717
 
       case $cc_basename in
7718
 
         xlc*)
7719
 
         lt_prog_compiler_pic='-qnocommon'
7720
 
         lt_prog_compiler_wl='-Wl,'
7721
 
         ;;
7722
 
       esac
7723
 
       ;;
7724
8964
 
7725
 
    mingw* | cygwin* | pw32* | os2*)
 
8965
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7726
8966
      # This hack is so that the source file can tell whether it is being
7727
8967
      # built for inclusion in a dll (and should export symbols for example).
7728
8968
      lt_prog_compiler_pic='-DDLL_EXPORT'
7750
8990
      lt_prog_compiler_static='-non_shared'
7751
8991
      ;;
7752
8992
 
7753
 
    newsos6)
7754
 
      lt_prog_compiler_pic='-KPIC'
7755
 
      lt_prog_compiler_static='-Bstatic'
7756
 
      ;;
7757
 
 
7758
8993
    linux* | k*bsd*-gnu)
7759
8994
      case $cc_basename in
7760
 
      icc* | ecc*)
 
8995
      # old Intel for x86_64 which still supported -KPIC.
 
8996
      ecc*)
7761
8997
        lt_prog_compiler_wl='-Wl,'
7762
8998
        lt_prog_compiler_pic='-KPIC'
7763
8999
        lt_prog_compiler_static='-static'
7764
9000
        ;;
 
9001
      # icc used to be incompatible with GCC.
 
9002
      # ICC 10 doesn't accept -KPIC any more.
 
9003
      icc* | ifort*)
 
9004
        lt_prog_compiler_wl='-Wl,'
 
9005
        lt_prog_compiler_pic='-fPIC'
 
9006
        lt_prog_compiler_static='-static'
 
9007
        ;;
 
9008
      # Lahey Fortran 8.1.
 
9009
      lf95*)
 
9010
        lt_prog_compiler_wl='-Wl,'
 
9011
        lt_prog_compiler_pic='--shared'
 
9012
        lt_prog_compiler_static='--static'
 
9013
        ;;
7765
9014
      pgcc* | pgf77* | pgf90* | pgf95*)
7766
9015
        # Portland Group compilers (*not* the Pentium gcc compiler,
7767
9016
        # which looks to be a dead project)
7774
9023
        # All Alpha code is PIC.
7775
9024
        lt_prog_compiler_static='-non_shared'
7776
9025
        ;;
 
9026
      xl*)
 
9027
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9028
        lt_prog_compiler_wl='-Wl,'
 
9029
        lt_prog_compiler_pic='-qpic'
 
9030
        lt_prog_compiler_static='-qstaticlink'
 
9031
        ;;
7777
9032
      *)
7778
 
        case `$CC -V 2>&1 | sed 5q` in
 
9033
        case `$CC -V 2>&1 | sed 5q` in
7779
9034
        *Sun\ C*)
7780
9035
          # Sun C 5.9
7781
9036
          lt_prog_compiler_pic='-KPIC'
7793
9048
      esac
7794
9049
      ;;
7795
9050
 
 
9051
    newsos6)
 
9052
      lt_prog_compiler_pic='-KPIC'
 
9053
      lt_prog_compiler_static='-Bstatic'
 
9054
      ;;
 
9055
 
 
9056
    *nto* | *qnx*)
 
9057
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9058
      # it will coredump.
 
9059
      lt_prog_compiler_pic='-fPIC -shared'
 
9060
      ;;
 
9061
 
7796
9062
    osf3* | osf4* | osf5*)
7797
9063
      lt_prog_compiler_wl='-Wl,'
7798
9064
      # All OSF/1 code is PIC.
7855
9121
    esac
7856
9122
  fi
7857
9123
 
7858
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7859
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9124
case $host_os in
 
9125
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9126
  *djgpp*)
 
9127
    lt_prog_compiler_pic=
 
9128
    ;;
 
9129
  *)
 
9130
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9131
    ;;
 
9132
esac
 
9133
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9134
$as_echo "$lt_prog_compiler_pic" >&6; }
 
9135
 
 
9136
 
 
9137
 
 
9138
 
 
9139
 
7860
9140
 
7861
9141
#
7862
9142
# Check to make sure the PIC flag actually works.
7863
9143
#
7864
9144
if test -n "$lt_prog_compiler_pic"; then
7865
 
 
7866
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7867
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
9145
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9146
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7868
9147
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9148
  $as_echo_n "(cached) " >&6
7870
9149
else
7871
9150
  lt_cv_prog_compiler_pic_works=no
7872
 
  ac_outfile=conftest.$ac_objext
 
9151
   ac_outfile=conftest.$ac_objext
7873
9152
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7874
9153
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7875
9154
   # Insert the option either (1) after the last *FLAGS variable, or
7881
9160
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7882
9161
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7883
9162
   -e 's:$: $lt_compiler_flag:'`
7884
 
   (eval echo "\"\$as_me:7884: $lt_compile\"" >&5)
 
9163
   (eval echo "\"\$as_me:9163: $lt_compile\"" >&5)
7885
9164
   (eval "$lt_compile" 2>conftest.err)
7886
9165
   ac_status=$?
7887
9166
   cat conftest.err >&5
7888
 
   echo "$as_me:7888: \$? = $ac_status" >&5
 
9167
   echo "$as_me:9167: \$? = $ac_status" >&5
7889
9168
   if (exit $ac_status) && test -s "$ac_outfile"; then
7890
9169
     # The compiler can only warn and ignore the option if not recognized
7891
9170
     # So say no if there are warnings other than the usual output.
7892
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9171
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7893
9172
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7894
9173
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7895
9174
       lt_cv_prog_compiler_pic_works=yes
7896
9175
     fi
7897
9176
   fi
7898
 
   $rm conftest*
 
9177
   $RM conftest*
7899
9178
 
7900
9179
fi
7901
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7902
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
9180
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9181
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7903
9182
 
7904
9183
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7905
9184
    case $lt_prog_compiler_pic in
7912
9191
fi
7913
9192
 
7914
9193
fi
7915
 
case $host_os in
7916
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7917
 
  *djgpp*)
7918
 
    lt_prog_compiler_pic=
7919
 
    ;;
7920
 
  *)
7921
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7922
 
    ;;
7923
 
esac
 
9194
 
 
9195
 
 
9196
 
 
9197
 
 
9198
 
7924
9199
 
7925
9200
#
7926
9201
# Check to make sure the static flag actually works.
7927
9202
#
7928
9203
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7929
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7930
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
9204
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9205
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7931
9206
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7932
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9207
  $as_echo_n "(cached) " >&6
7933
9208
else
7934
9209
  lt_cv_prog_compiler_static_works=no
7935
9210
   save_LDFLAGS="$LDFLAGS"
7941
9216
     if test -s conftest.err; then
7942
9217
       # Append any errors to the config.log.
7943
9218
       cat conftest.err 1>&5
7944
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9219
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7945
9220
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7946
9221
       if diff conftest.exp conftest.er2 >/dev/null; then
7947
9222
         lt_cv_prog_compiler_static_works=yes
7950
9225
       lt_cv_prog_compiler_static_works=yes
7951
9226
     fi
7952
9227
   fi
7953
 
   $rm -r conftest*
 
9228
   $RM -r conftest*
7954
9229
   LDFLAGS="$save_LDFLAGS"
7955
9230
 
7956
9231
fi
7957
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7958
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
9232
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9233
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7959
9234
 
7960
9235
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7961
9236
    :
7964
9239
fi
7965
9240
 
7966
9241
 
7967
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7968
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7969
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7971
 
else
7972
 
  lt_cv_prog_compiler_c_o=no
7973
 
   $rm -r conftest 2>/dev/null
7974
 
   mkdir conftest
7975
 
   cd conftest
7976
 
   mkdir out
7977
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7978
 
 
7979
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7980
 
   # Insert the option either (1) after the last *FLAGS variable, or
7981
 
   # (2) before a word containing "conftest.", or (3) at the end.
7982
 
   # Note that $ac_compile itself does not contain backslashes and begins
7983
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7984
 
   lt_compile=`echo "$ac_compile" | $SED \
7985
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7986
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7987
 
   -e 's:$: $lt_compiler_flag:'`
7988
 
   (eval echo "\"\$as_me:7988: $lt_compile\"" >&5)
7989
 
   (eval "$lt_compile" 2>out/conftest.err)
7990
 
   ac_status=$?
7991
 
   cat out/conftest.err >&5
7992
 
   echo "$as_me:7992: \$? = $ac_status" >&5
7993
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7994
 
   then
7995
 
     # The compiler can only warn and ignore the option if not recognized
7996
 
     # So say no if there are warnings
7997
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7998
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7999
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8000
 
       lt_cv_prog_compiler_c_o=yes
8001
 
     fi
8002
 
   fi
8003
 
   chmod u+w . 2>&5
8004
 
   $rm conftest*
8005
 
   # SGI C++ compiler will create directory out/ii_files/ for
8006
 
   # template instantiation
8007
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8008
 
   $rm out/* && rmdir out
8009
 
   cd ..
8010
 
   rmdir conftest
8011
 
   $rm conftest*
8012
 
 
8013
 
fi
8014
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8015
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9242
 
 
9243
 
 
9244
 
 
9245
 
 
9246
 
 
9247
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9248
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9249
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9250
  $as_echo_n "(cached) " >&6
 
9251
else
 
9252
  lt_cv_prog_compiler_c_o=no
 
9253
   $RM -r conftest 2>/dev/null
 
9254
   mkdir conftest
 
9255
   cd conftest
 
9256
   mkdir out
 
9257
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9258
 
 
9259
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9260
   # Insert the option either (1) after the last *FLAGS variable, or
 
9261
   # (2) before a word containing "conftest.", or (3) at the end.
 
9262
   # Note that $ac_compile itself does not contain backslashes and begins
 
9263
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9264
   lt_compile=`echo "$ac_compile" | $SED \
 
9265
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9266
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9267
   -e 's:$: $lt_compiler_flag:'`
 
9268
   (eval echo "\"\$as_me:9268: $lt_compile\"" >&5)
 
9269
   (eval "$lt_compile" 2>out/conftest.err)
 
9270
   ac_status=$?
 
9271
   cat out/conftest.err >&5
 
9272
   echo "$as_me:9272: \$? = $ac_status" >&5
 
9273
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9274
   then
 
9275
     # The compiler can only warn and ignore the option if not recognized
 
9276
     # So say no if there are warnings
 
9277
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9278
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9279
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9280
       lt_cv_prog_compiler_c_o=yes
 
9281
     fi
 
9282
   fi
 
9283
   chmod u+w . 2>&5
 
9284
   $RM conftest*
 
9285
   # SGI C++ compiler will create directory out/ii_files/ for
 
9286
   # template instantiation
 
9287
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9288
   $RM out/* && rmdir out
 
9289
   cd ..
 
9290
   $RM -r conftest
 
9291
   $RM conftest*
 
9292
 
 
9293
fi
 
9294
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9295
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9296
 
 
9297
 
 
9298
 
 
9299
 
 
9300
 
 
9301
 
 
9302
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9303
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9304
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9305
  $as_echo_n "(cached) " >&6
 
9306
else
 
9307
  lt_cv_prog_compiler_c_o=no
 
9308
   $RM -r conftest 2>/dev/null
 
9309
   mkdir conftest
 
9310
   cd conftest
 
9311
   mkdir out
 
9312
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9313
 
 
9314
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9315
   # Insert the option either (1) after the last *FLAGS variable, or
 
9316
   # (2) before a word containing "conftest.", or (3) at the end.
 
9317
   # Note that $ac_compile itself does not contain backslashes and begins
 
9318
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9319
   lt_compile=`echo "$ac_compile" | $SED \
 
9320
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9321
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9322
   -e 's:$: $lt_compiler_flag:'`
 
9323
   (eval echo "\"\$as_me:9323: $lt_compile\"" >&5)
 
9324
   (eval "$lt_compile" 2>out/conftest.err)
 
9325
   ac_status=$?
 
9326
   cat out/conftest.err >&5
 
9327
   echo "$as_me:9327: \$? = $ac_status" >&5
 
9328
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9329
   then
 
9330
     # The compiler can only warn and ignore the option if not recognized
 
9331
     # So say no if there are warnings
 
9332
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9333
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9334
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9335
       lt_cv_prog_compiler_c_o=yes
 
9336
     fi
 
9337
   fi
 
9338
   chmod u+w . 2>&5
 
9339
   $RM conftest*
 
9340
   # SGI C++ compiler will create directory out/ii_files/ for
 
9341
   # template instantiation
 
9342
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9343
   $RM out/* && rmdir out
 
9344
   cd ..
 
9345
   $RM -r conftest
 
9346
   $RM conftest*
 
9347
 
 
9348
fi
 
9349
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9350
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9351
 
 
9352
 
8016
9353
 
8017
9354
 
8018
9355
hard_links="nottested"
8019
9356
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8020
9357
  # do not overwrite the value of need_locks provided by the user
8021
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8022
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9358
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9359
$as_echo_n "checking if we can lock with hard links... " >&6; }
8023
9360
  hard_links=yes
8024
 
  $rm conftest*
 
9361
  $RM conftest*
8025
9362
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8026
9363
  touch conftest.a
8027
9364
  ln conftest.a conftest.b 2>&5 || hard_links=no
8028
9365
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8029
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8030
 
echo "${ECHO_T}$hard_links" >&6; }
 
9366
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9367
$as_echo "$hard_links" >&6; }
8031
9368
  if test "$hard_links" = no; then
8032
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8033
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9369
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9370
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8034
9371
    need_locks=warn
8035
9372
  fi
8036
9373
else
8037
9374
  need_locks=no
8038
9375
fi
8039
9376
 
8040
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8041
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9377
 
 
9378
 
 
9379
 
 
9380
 
 
9381
 
 
9382
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9383
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8042
9384
 
8043
9385
  runpath_var=
8044
9386
  allow_undefined_flag=
8045
 
  enable_shared_with_static_runtimes=no
 
9387
  always_export_symbols=no
8046
9388
  archive_cmds=
8047
9389
  archive_expsym_cmds=
8048
 
  old_archive_From_new_cmds=
8049
 
  old_archive_from_expsyms_cmds=
 
9390
  compiler_needs_object=no
 
9391
  enable_shared_with_static_runtimes=no
8050
9392
  export_dynamic_flag_spec=
8051
 
  whole_archive_flag_spec=
8052
 
  thread_safe_flag_spec=
 
9393
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9394
  hardcode_automatic=no
 
9395
  hardcode_direct=no
 
9396
  hardcode_direct_absolute=no
8053
9397
  hardcode_libdir_flag_spec=
8054
9398
  hardcode_libdir_flag_spec_ld=
8055
9399
  hardcode_libdir_separator=
8056
 
  hardcode_direct=no
8057
9400
  hardcode_minus_L=no
8058
9401
  hardcode_shlibpath_var=unsupported
 
9402
  inherit_rpath=no
8059
9403
  link_all_deplibs=unknown
8060
 
  hardcode_automatic=no
8061
9404
  module_cmds=
8062
9405
  module_expsym_cmds=
8063
 
  always_export_symbols=no
8064
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9406
  old_archive_from_new_cmds=
 
9407
  old_archive_from_expsyms_cmds=
 
9408
  thread_safe_flag_spec=
 
9409
  whole_archive_flag_spec=
8065
9410
  # include_expsyms should be a list of space-separated symbols to be *always*
8066
9411
  # included in the symbol list
8067
9412
  include_expsyms=
8077
9422
  # preloaded symbol tables.
8078
9423
  # Exclude shared library initialization/finalization symbols.
8079
9424
  extract_expsyms_cmds=
8080
 
  # Just being paranoid about ensuring that cc_basename is set.
8081
 
  for cc_temp in $compiler""; do
8082
 
  case $cc_temp in
8083
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8084
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8085
 
    \-*) ;;
8086
 
    *) break;;
8087
 
  esac
8088
 
done
8089
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8090
9425
 
8091
9426
  case $host_os in
8092
 
  cygwin* | mingw* | pw32*)
 
9427
  cygwin* | mingw* | pw32* | cegcc*)
8093
9428
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8094
9429
    # When not using gcc, we currently assume that we are using
8095
9430
    # Microsoft Visual C++.
8115
9450
    # are reset later if shared libraries are not supported. Putting them
8116
9451
    # here allows them to be overridden if necessary.
8117
9452
    runpath_var=LD_RUN_PATH
8118
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9453
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8119
9454
    export_dynamic_flag_spec='${wl}--export-dynamic'
8120
9455
    # ancient GNU ld didn't support --whole-archive et. al.
8121
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8122
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8123
 
      else
8124
 
        whole_archive_flag_spec=
 
9456
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9457
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9458
    else
 
9459
      whole_archive_flag_spec=
8125
9460
    fi
8126
9461
    supports_anon_versioning=no
8127
 
    case `$LD -v 2>/dev/null` in
 
9462
    case `$LD -v 2>&1` in
8128
9463
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8129
9464
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8130
9465
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8138
9473
      # On AIX/PPC, the GNU linker is very broken
8139
9474
      if test "$host_cpu" != ia64; then
8140
9475
        ld_shlibs=no
8141
 
        cat <<EOF 1>&2
 
9476
        cat <<_LT_EOF 1>&2
8142
9477
 
8143
9478
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8144
9479
*** to be unable to reliably create shared libraries on AIX.
8146
9481
*** really care for shared libraries, you may want to modify your PATH
8147
9482
*** so that a non-GNU linker is found, and then restart.
8148
9483
 
8149
 
EOF
 
9484
_LT_EOF
8150
9485
      fi
8151
9486
      ;;
8152
9487
 
8153
9488
    amigaos*)
8154
 
      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)'
8155
 
      hardcode_libdir_flag_spec='-L$libdir'
8156
 
      hardcode_minus_L=yes
8157
 
 
8158
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8159
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8160
 
      # to version 4, is to share data among multiple programs linked
8161
 
      # with the same dynamic library.  Since this doesn't match the
8162
 
      # behavior of shared libraries on other platforms, we can't use
8163
 
      # them.
8164
 
      ld_shlibs=no
 
9489
      case $host_cpu in
 
9490
      powerpc)
 
9491
            # see comment about AmigaOS4 .so support
 
9492
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9493
            archive_expsym_cmds=''
 
9494
        ;;
 
9495
      m68k)
 
9496
            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)'
 
9497
            hardcode_libdir_flag_spec='-L$libdir'
 
9498
            hardcode_minus_L=yes
 
9499
        ;;
 
9500
      esac
8165
9501
      ;;
8166
9502
 
8167
9503
    beos*)
8168
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9504
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8169
9505
        allow_undefined_flag=unsupported
8170
9506
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8171
9507
        # support --undefined.  This deserves some investigation.  FIXME
8175
9511
      fi
8176
9512
      ;;
8177
9513
 
8178
 
    cygwin* | mingw* | pw32*)
8179
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9514
    cygwin* | mingw* | pw32* | cegcc*)
 
9515
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8180
9516
      # as there is no search path for DLLs.
8181
9517
      hardcode_libdir_flag_spec='-L$libdir'
8182
9518
      allow_undefined_flag=unsupported
8183
9519
      always_export_symbols=no
8184
9520
      enable_shared_with_static_runtimes=yes
8185
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9521
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8186
9522
 
8187
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9523
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8188
9524
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8189
9525
        # If the export-symbols file already is a .def file (1st line
8190
9526
        # is EXPORTS), use it as is; otherwise, prepend...
8215
9551
      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'
8216
9552
      ;;
8217
9553
 
8218
 
    gnu* | linux* | k*bsd*-gnu)
8219
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9554
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9555
      tmp_diet=no
 
9556
      if test "$host_os" = linux-dietlibc; then
 
9557
        case $cc_basename in
 
9558
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9559
        esac
 
9560
      fi
 
9561
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9562
         && test "$tmp_diet" = no
 
9563
      then
8220
9564
        tmp_addflag=
 
9565
        tmp_sharedflag='-shared'
8221
9566
        case $cc_basename,$host_cpu in
8222
 
        pgcc*)                          # Portland Group C compiler
8223
 
          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'
 
9567
        pgcc*)                          # Portland Group C compiler
 
9568
          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'
8224
9569
          tmp_addflag=' $pic_flag'
8225
9570
          ;;
8226
9571
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8227
 
          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'
 
9572
          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'
8228
9573
          tmp_addflag=' $pic_flag -Mnomain' ;;
8229
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9574
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8230
9575
          tmp_addflag=' -i_dynamic' ;;
8231
9576
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8232
9577
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8233
9578
        ifc* | ifort*)                  # Intel Fortran compiler
8234
9579
          tmp_addflag=' -nofor_main' ;;
 
9580
        lf95*)                          # Lahey Fortran 8.1
 
9581
          whole_archive_flag_spec=
 
9582
          tmp_sharedflag='--shared' ;;
 
9583
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9584
          tmp_sharedflag='-qmkshrobj'
 
9585
          tmp_addflag= ;;
8235
9586
        esac
8236
9587
        case `$CC -V 2>&1 | sed 5q` in
8237
9588
        *Sun\ C*)                       # Sun C 5.9
8238
 
          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'
 
9589
          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'
 
9590
          compiler_needs_object=yes
8239
9591
          tmp_sharedflag='-G' ;;
8240
9592
        *Sun\ F*)                       # Sun Fortran 8.3
8241
9593
          tmp_sharedflag='-G' ;;
8242
 
        *)
8243
 
          tmp_sharedflag='-shared' ;;
8244
9594
        esac
8245
9595
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246
9596
 
8247
 
        if test $supports_anon_versioning = yes; then
8248
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8249
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8250
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8251
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8252
 
        fi
 
9597
        if test "x$supports_anon_versioning" = xyes; then
 
9598
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9599
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9600
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9601
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9602
        fi
 
9603
 
 
9604
        case $cc_basename in
 
9605
        xlf*)
 
9606
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9607
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9608
          hardcode_libdir_flag_spec=
 
9609
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9610
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9611
          if test "x$supports_anon_versioning" = xyes; then
 
9612
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9613
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9614
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9615
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9616
          fi
 
9617
          ;;
 
9618
        esac
8253
9619
      else
8254
 
        ld_shlibs=no
 
9620
        ld_shlibs=no
8255
9621
      fi
8256
9622
      ;;
8257
9623
 
8258
 
    netbsd*)
8259
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9624
    netbsd* | netbsdelf*-gnu)
 
9625
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8260
9626
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8261
9627
        wlarc=
8262
9628
      else
8266
9632
      ;;
8267
9633
 
8268
9634
    solaris*)
8269
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9635
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8270
9636
        ld_shlibs=no
8271
 
        cat <<EOF 1>&2
 
9637
        cat <<_LT_EOF 1>&2
8272
9638
 
8273
9639
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8274
9640
*** create shared libraries on Solaris systems.  Therefore, libtool
8277
9643
*** your PATH or compiler configuration so that the native linker is
8278
9644
*** used, and then restart.
8279
9645
 
8280
 
EOF
8281
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9646
_LT_EOF
 
9647
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8282
9648
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8283
9649
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8284
9650
      else
8302
9668
_LT_EOF
8303
9669
        ;;
8304
9670
        *)
8305
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8306
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8307
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8308
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9671
          # For security reasons, it is highly recommended that you always
 
9672
          # use absolute paths for naming shared libraries, and exclude the
 
9673
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9674
          # requires that you compile everything twice, which is a pain.
 
9675
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9676
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9677
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9678
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8309
9679
          else
8310
9680
            ld_shlibs=no
8311
9681
          fi
8321
9691
      ;;
8322
9692
 
8323
9693
    *)
8324
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9694
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8325
9695
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8326
9696
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8327
9697
      else
8363
9733
      else
8364
9734
        # If we're using GNU nm, then we don't want the "-C" option.
8365
9735
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8366
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8367
 
          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'
 
9736
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9737
          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'
8368
9738
        else
8369
 
          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'
 
9739
          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'
8370
9740
        fi
8371
9741
        aix_use_runtimelinking=no
8372
9742
 
8375
9745
        # need to do runtime linking.
8376
9746
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8377
9747
          for ld_flag in $LDFLAGS; do
8378
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8379
 
            aix_use_runtimelinking=yes
8380
 
            break
8381
 
          fi
 
9748
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9749
            aix_use_runtimelinking=yes
 
9750
            break
 
9751
          fi
8382
9752
          done
8383
9753
          ;;
8384
9754
        esac
8395
9765
 
8396
9766
      archive_cmds=''
8397
9767
      hardcode_direct=yes
 
9768
      hardcode_direct_absolute=yes
8398
9769
      hardcode_libdir_separator=':'
8399
9770
      link_all_deplibs=yes
 
9771
      file_list_spec='${wl}-f,'
8400
9772
 
8401
9773
      if test "$GCC" = yes; then
8402
9774
        case $host_os in aix4.[012]|aix4.[012].*)
8403
9775
        # We only want to do this on AIX 4.2 and lower, the check
8404
9776
        # below for broken collect2 doesn't work under 4.3+
8405
9777
          collect2name=`${CC} -print-prog-name=collect2`
8406
 
          if test -f "$collect2name" && \
8407
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9778
          if test -f "$collect2name" &&
 
9779
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8408
9780
          then
8409
 
          # We have reworked collect2
8410
 
          :
 
9781
          # We have reworked collect2
 
9782
          :
8411
9783
          else
8412
 
          # We have old collect2
8413
 
          hardcode_direct=unsupported
8414
 
          # It fails to find uninstalled libraries when the uninstalled
8415
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8416
 
          # to unsupported forces relinking
8417
 
          hardcode_minus_L=yes
8418
 
          hardcode_libdir_flag_spec='-L$libdir'
8419
 
          hardcode_libdir_separator=
 
9784
          # We have old collect2
 
9785
          hardcode_direct=unsupported
 
9786
          # It fails to find uninstalled libraries when the uninstalled
 
9787
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9788
          # to unsupported forces relinking
 
9789
          hardcode_minus_L=yes
 
9790
          hardcode_libdir_flag_spec='-L$libdir'
 
9791
          hardcode_libdir_separator=
8420
9792
          fi
8421
9793
          ;;
8422
9794
        esac
8424
9796
        if test "$aix_use_runtimelinking" = yes; then
8425
9797
          shared_flag="$shared_flag "'${wl}-G'
8426
9798
        fi
 
9799
        link_all_deplibs=no
8427
9800
      else
8428
9801
        # not using gcc
8429
9802
        if test "$host_cpu" = ia64; then
8430
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8431
 
        # chokes on -Wl,-G. The following line is correct:
 
9803
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9804
        # chokes on -Wl,-G. The following line is correct:
8432
9805
          shared_flag='-G'
8433
9806
        else
8434
9807
          if test "$aix_use_runtimelinking" = yes; then
8439
9812
        fi
8440
9813
      fi
8441
9814
 
 
9815
      export_dynamic_flag_spec='${wl}-bexpall'
8442
9816
      # It seems that -bexpall does not export symbols beginning with
8443
9817
      # underscore (_), so it is better to generate a list of symbols to export.
8444
9818
      always_export_symbols=yes
8446
9820
        # Warning - without using the other runtime loading flags (-brtl),
8447
9821
        # -berok will link without error, but may produce a broken library.
8448
9822
        allow_undefined_flag='-berok'
8449
 
       # Determine the default libpath from the value encoded in an empty executable.
8450
 
       cat >conftest.$ac_ext <<_ACEOF
 
9823
        # Determine the default libpath from the value encoded in an
 
9824
        # empty executable.
 
9825
        cat >conftest.$ac_ext <<_ACEOF
8451
9826
/* confdefs.h.  */
8452
9827
_ACEOF
8453
9828
cat confdefs.h >>conftest.$ac_ext
8468
9843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8469
9844
  *) ac_try_echo=$ac_try;;
8470
9845
esac
8471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9846
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9847
$as_echo "$ac_try_echo") >&5
8472
9848
  (eval "$ac_link") 2>conftest.er1
8473
9849
  ac_status=$?
8474
9850
  grep -v '^ *+' conftest.er1 >conftest.err
8475
9851
  rm -f conftest.er1
8476
9852
  cat conftest.err >&5
8477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9853
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478
9854
  (exit $ac_status); } && {
8479
9855
         test -z "$ac_c_werror_flag" ||
8480
9856
         test ! -s conftest.err
8481
 
       } && test -s conftest$ac_exeext &&
8482
 
       $as_test_x conftest$ac_exeext; then
 
9857
       } && test -s conftest$ac_exeext && {
 
9858
         test "$cross_compiling" = yes ||
 
9859
         $as_test_x conftest$ac_exeext
 
9860
       }; then
8483
9861
 
8484
9862
lt_aix_libpath_sed='
8485
9863
    /Import File Strings/,/^$/ {
8494
9872
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8495
9873
fi
8496
9874
else
8497
 
  echo "$as_me: failed program was:" >&5
 
9875
  $as_echo "$as_me: failed program was:" >&5
8498
9876
sed 's/^/| /' conftest.$ac_ext >&5
8499
9877
 
8500
9878
 
8501
9879
fi
8502
9880
 
 
9881
rm -rf conftest.dSYM
8503
9882
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8504
9883
      conftest$ac_exeext conftest.$ac_ext
8505
9884
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8506
9885
 
8507
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8508
 
        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"
8509
 
       else
 
9886
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9887
        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"
 
9888
      else
8510
9889
        if test "$host_cpu" = ia64; then
8511
9890
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8512
9891
          allow_undefined_flag="-z nodefs"
8513
9892
          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"
8514
9893
        else
8515
 
         # Determine the default libpath from the value encoded in an empty executable.
 
9894
         # Determine the default libpath from the value encoded in an
 
9895
         # empty executable.
8516
9896
         cat >conftest.$ac_ext <<_ACEOF
8517
9897
/* confdefs.h.  */
8518
9898
_ACEOF
8534
9914
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535
9915
  *) ac_try_echo=$ac_try;;
8536
9916
esac
8537
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9917
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9918
$as_echo "$ac_try_echo") >&5
8538
9919
  (eval "$ac_link") 2>conftest.er1
8539
9920
  ac_status=$?
8540
9921
  grep -v '^ *+' conftest.er1 >conftest.err
8541
9922
  rm -f conftest.er1
8542
9923
  cat conftest.err >&5
8543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9924
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544
9925
  (exit $ac_status); } && {
8545
9926
         test -z "$ac_c_werror_flag" ||
8546
9927
         test ! -s conftest.err
8547
 
       } && test -s conftest$ac_exeext &&
8548
 
       $as_test_x conftest$ac_exeext; then
 
9928
       } && test -s conftest$ac_exeext && {
 
9929
         test "$cross_compiling" = yes ||
 
9930
         $as_test_x conftest$ac_exeext
 
9931
       }; then
8549
9932
 
8550
9933
lt_aix_libpath_sed='
8551
9934
    /Import File Strings/,/^$/ {
8560
9943
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8561
9944
fi
8562
9945
else
8563
 
  echo "$as_me: failed program was:" >&5
 
9946
  $as_echo "$as_me: failed program was:" >&5
8564
9947
sed 's/^/| /' conftest.$ac_ext >&5
8565
9948
 
8566
9949
 
8567
9950
fi
8568
9951
 
 
9952
rm -rf conftest.dSYM
8569
9953
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8570
9954
      conftest$ac_exeext conftest.$ac_ext
8571
9955
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8585
9969
      ;;
8586
9970
 
8587
9971
    amigaos*)
8588
 
      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)'
8589
 
      hardcode_libdir_flag_spec='-L$libdir'
8590
 
      hardcode_minus_L=yes
8591
 
      # see comment about different semantics on the GNU ld section
8592
 
      ld_shlibs=no
 
9972
      case $host_cpu in
 
9973
      powerpc)
 
9974
            # see comment about AmigaOS4 .so support
 
9975
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9976
            archive_expsym_cmds=''
 
9977
        ;;
 
9978
      m68k)
 
9979
            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)'
 
9980
            hardcode_libdir_flag_spec='-L$libdir'
 
9981
            hardcode_minus_L=yes
 
9982
        ;;
 
9983
      esac
8593
9984
      ;;
8594
9985
 
8595
9986
    bsdi[45]*)
8596
9987
      export_dynamic_flag_spec=-rdynamic
8597
9988
      ;;
8598
9989
 
8599
 
    cygwin* | mingw* | pw32*)
 
9990
    cygwin* | mingw* | pw32* | cegcc*)
8600
9991
      # When not using gcc, we currently assume that we are using
8601
9992
      # Microsoft Visual C++.
8602
9993
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8608
9999
      # Tell ltmain to make .dll files, not .so files.
8609
10000
      shrext_cmds=".dll"
8610
10001
      # FIXME: Setting linknames here is a bad hack.
8611
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10002
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8612
10003
      # The linker will automatically build a .lib file if we build a DLL.
8613
 
      old_archive_From_new_cmds='true'
 
10004
      old_archive_from_new_cmds='true'
8614
10005
      # FIXME: Should let the user specify the lib program.
8615
10006
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8616
10007
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8618
10009
      ;;
8619
10010
 
8620
10011
    darwin* | rhapsody*)
8621
 
      case $host_os in
8622
 
        rhapsody* | darwin1.[012])
8623
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8624
 
         ;;
8625
 
       *) # Darwin 1.3 on
8626
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8627
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8628
 
         else
8629
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8630
 
             10.[012])
8631
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8632
 
               ;;
8633
 
             10.*)
8634
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8635
 
               ;;
8636
 
           esac
8637
 
         fi
8638
 
         ;;
8639
 
      esac
8640
 
      archive_cmds_need_lc=no
8641
 
      hardcode_direct=no
8642
 
      hardcode_automatic=yes
8643
 
      hardcode_shlibpath_var=unsupported
8644
 
      whole_archive_flag_spec=''
8645
 
      link_all_deplibs=yes
8646
 
    if test "$GCC" = yes ; then
8647
 
        output_verbose_link_cmd='echo'
8648
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8649
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8650
 
        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}"
8651
 
        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}"
8652
 
    else
8653
 
      case $cc_basename in
8654
 
        xlc*)
8655
 
         output_verbose_link_cmd='echo'
8656
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8657
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8658
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8659
 
         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}'
8660
 
          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}'
8661
 
          ;;
8662
 
       *)
8663
 
         ld_shlibs=no
8664
 
          ;;
8665
 
      esac
8666
 
    fi
 
10012
 
 
10013
 
 
10014
  archive_cmds_need_lc=no
 
10015
  hardcode_direct=no
 
10016
  hardcode_automatic=yes
 
10017
  hardcode_shlibpath_var=unsupported
 
10018
  whole_archive_flag_spec=''
 
10019
  link_all_deplibs=yes
 
10020
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10021
  case $cc_basename in
 
10022
     ifort*) _lt_dar_can_shared=yes ;;
 
10023
     *) _lt_dar_can_shared=$GCC ;;
 
10024
  esac
 
10025
  if test "$_lt_dar_can_shared" = "yes"; then
 
10026
    output_verbose_link_cmd=echo
 
10027
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10028
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10029
    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}"
 
10030
    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}"
 
10031
 
 
10032
  else
 
10033
  ld_shlibs=no
 
10034
  fi
 
10035
 
8667
10036
      ;;
8668
10037
 
8669
10038
    dgux*)
8705
10074
 
8706
10075
    hpux9*)
8707
10076
      if test "$GCC" = yes; then
8708
 
        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'
 
10077
        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'
8709
10078
      else
8710
 
        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'
 
10079
        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'
8711
10080
      fi
8712
10081
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8713
10082
      hardcode_libdir_separator=:
8727
10096
      fi
8728
10097
      if test "$with_gnu_ld" = no; then
8729
10098
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10099
        hardcode_libdir_flag_spec_ld='+b $libdir'
8730
10100
        hardcode_libdir_separator=:
8731
 
 
8732
10101
        hardcode_direct=yes
 
10102
        hardcode_direct_absolute=yes
8733
10103
        export_dynamic_flag_spec='${wl}-E'
8734
 
 
8735
10104
        # hardcode_minus_L: Not really in the search PATH,
8736
10105
        # but as the default location of the library.
8737
10106
        hardcode_minus_L=yes
8745
10114
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8746
10115
          ;;
8747
10116
        ia64*)
8748
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10117
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8749
10118
          ;;
8750
10119
        *)
8751
10120
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8770
10139
 
8771
10140
        case $host_cpu in
8772
10141
        hppa*64*|ia64*)
8773
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8774
10142
          hardcode_direct=no
8775
10143
          hardcode_shlibpath_var=no
8776
10144
          ;;
8777
10145
        *)
8778
10146
          hardcode_direct=yes
 
10147
          hardcode_direct_absolute=yes
8779
10148
          export_dynamic_flag_spec='${wl}-E'
8780
10149
 
8781
10150
          # hardcode_minus_L: Not really in the search PATH,
8788
10157
 
8789
10158
    irix5* | irix6* | nonstopux*)
8790
10159
      if test "$GCC" = yes; then
8791
 
        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'
 
10160
        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'
 
10161
        # Try to use the -exported_symbol ld option, if it does not
 
10162
        # work, assume that -exports_file does not work either and
 
10163
        # implicitly export all symbols.
 
10164
        save_LDFLAGS="$LDFLAGS"
 
10165
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10166
        cat >conftest.$ac_ext <<_ACEOF
 
10167
int foo(void) {}
 
10168
_ACEOF
 
10169
rm -f conftest.$ac_objext conftest$ac_exeext
 
10170
if { (ac_try="$ac_link"
 
10171
case "(($ac_try" in
 
10172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10173
  *) ac_try_echo=$ac_try;;
 
10174
esac
 
10175
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10176
$as_echo "$ac_try_echo") >&5
 
10177
  (eval "$ac_link") 2>conftest.er1
 
10178
  ac_status=$?
 
10179
  grep -v '^ *+' conftest.er1 >conftest.err
 
10180
  rm -f conftest.er1
 
10181
  cat conftest.err >&5
 
10182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10183
  (exit $ac_status); } && {
 
10184
         test -z "$ac_c_werror_flag" ||
 
10185
         test ! -s conftest.err
 
10186
       } && test -s conftest$ac_exeext && {
 
10187
         test "$cross_compiling" = yes ||
 
10188
         $as_test_x conftest$ac_exeext
 
10189
       }; then
 
10190
  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'
 
10191
 
 
10192
else
 
10193
  $as_echo "$as_me: failed program was:" >&5
 
10194
sed 's/^/| /' conftest.$ac_ext >&5
 
10195
 
 
10196
 
 
10197
fi
 
10198
 
 
10199
rm -rf conftest.dSYM
 
10200
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10201
      conftest$ac_exeext conftest.$ac_ext
 
10202
        LDFLAGS="$save_LDFLAGS"
8792
10203
      else
8793
 
        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'
8794
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10204
        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'
 
10205
        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'
8795
10206
      fi
 
10207
      archive_cmds_need_lc='no'
8796
10208
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8797
10209
      hardcode_libdir_separator=:
 
10210
      inherit_rpath=yes
8798
10211
      link_all_deplibs=yes
8799
10212
      ;;
8800
10213
 
8801
 
    netbsd*)
8802
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10214
    netbsd* | netbsdelf*-gnu)
 
10215
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8803
10216
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8804
10217
      else
8805
10218
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8817
10230
      hardcode_shlibpath_var=no
8818
10231
      ;;
8819
10232
 
 
10233
    *nto* | *qnx*)
 
10234
      ;;
 
10235
 
8820
10236
    openbsd*)
8821
10237
      if test -f /usr/libexec/ld.so; then
8822
10238
        hardcode_direct=yes
8823
10239
        hardcode_shlibpath_var=no
8824
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10240
        hardcode_direct_absolute=yes
 
10241
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8825
10242
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8826
10243
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8827
10244
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8837
10254
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8838
10255
             ;;
8839
10256
          esac
8840
 
        fi
 
10257
        fi
8841
10258
      else
8842
10259
        ld_shlibs=no
8843
10260
      fi
8847
10264
      hardcode_libdir_flag_spec='-L$libdir'
8848
10265
      hardcode_minus_L=yes
8849
10266
      allow_undefined_flag=unsupported
8850
 
      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'
8851
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10267
      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'
 
10268
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8852
10269
      ;;
8853
10270
 
8854
10271
    osf3*)
8855
10272
      if test "$GCC" = yes; then
8856
10273
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8857
 
        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'
 
10274
        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'
8858
10275
      else
8859
10276
        allow_undefined_flag=' -expect_unresolved \*'
8860
 
        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'
 
10277
        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'
8861
10278
      fi
 
10279
      archive_cmds_need_lc='no'
8862
10280
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8863
10281
      hardcode_libdir_separator=:
8864
10282
      ;;
8866
10284
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8867
10285
      if test "$GCC" = yes; then
8868
10286
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8869
 
        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'
 
10287
        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'
8870
10288
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8871
10289
      else
8872
10290
        allow_undefined_flag=' -expect_unresolved \*'
8873
 
        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'
8874
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8875
 
        $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'
 
10291
        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'
 
10292
        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~
 
10293
        $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'
8876
10294
 
8877
10295
        # Both c and cxx compiler support -rpath directly
8878
10296
        hardcode_libdir_flag_spec='-rpath $libdir'
8879
10297
      fi
 
10298
      archive_cmds_need_lc='no'
8880
10299
      hardcode_libdir_separator=:
8881
10300
      ;;
8882
10301
 
8883
10302
    solaris*)
8884
 
      no_undefined_flag=' -z text'
 
10303
      no_undefined_flag=' -z defs'
8885
10304
      if test "$GCC" = yes; then
8886
10305
        wlarc='${wl}'
8887
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8888
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8889
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10306
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10307
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10308
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8890
10309
      else
8891
 
        wlarc=''
8892
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8893
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8894
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10310
        case `$CC -V 2>&1` in
 
10311
        *"Compilers 5.0"*)
 
10312
          wlarc=''
 
10313
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10314
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10315
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10316
          ;;
 
10317
        *)
 
10318
          wlarc='${wl}'
 
10319
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10320
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10321
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10322
          ;;
 
10323
        esac
8895
10324
      fi
8896
10325
      hardcode_libdir_flag_spec='-R$libdir'
8897
10326
      hardcode_shlibpath_var=no
8901
10330
        # The compiler driver will combine and reorder linker options,
8902
10331
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8903
10332
        # but is careful enough not to reorder.
8904
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10333
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8905
10334
        if test "$GCC" = yes; then
8906
10335
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8907
10336
        else
8990
10419
      allow_undefined_flag='${wl}-z,nodefs'
8991
10420
      archive_cmds_need_lc=no
8992
10421
      hardcode_shlibpath_var=no
8993
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10422
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8994
10423
      hardcode_libdir_separator=':'
8995
10424
      link_all_deplibs=yes
8996
10425
      export_dynamic_flag_spec='${wl}-Bexport'
8997
10426
      runpath_var='LD_RUN_PATH'
8998
10427
 
8999
10428
      if test "$GCC" = yes; then
9000
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9001
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10429
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10430
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9002
10431
      else
9003
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9004
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10432
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10433
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9005
10434
      fi
9006
10435
      ;;
9007
10436
 
9015
10444
      ld_shlibs=no
9016
10445
      ;;
9017
10446
    esac
 
10447
 
 
10448
    if test x$host_vendor = xsni; then
 
10449
      case $host in
 
10450
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10451
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10452
        ;;
 
10453
      esac
 
10454
    fi
9018
10455
  fi
9019
10456
 
9020
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9021
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10457
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10458
$as_echo "$ld_shlibs" >&6; }
9022
10459
test "$ld_shlibs" = no && can_build_shared=no
9023
10460
 
 
10461
with_gnu_ld=$with_gnu_ld
 
10462
 
 
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
 
 
10470
 
 
10471
 
 
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
9024
10477
#
9025
10478
# Do we need to explicitly link libc?
9026
10479
#
9038
10491
      # Test whether the compiler implicitly links with -lc since on some
9039
10492
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9040
10493
      # to ld, don't add -lc before -lgcc.
9041
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9042
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9043
 
      $rm conftest*
 
10494
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10495
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10496
      $RM conftest*
9044
10497
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9045
10498
 
9046
10499
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9047
10500
  (eval $ac_compile) 2>&5
9048
10501
  ac_status=$?
9049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10502
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050
10503
  (exit $ac_status); } 2>conftest.err; then
9051
10504
        soname=conftest
9052
10505
        lib=conftest
9061
10514
        libname=conftest
9062
10515
        lt_save_allow_undefined_flag=$allow_undefined_flag
9063
10516
        allow_undefined_flag=
9064
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9065
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10517
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10518
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9066
10519
  ac_status=$?
9067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10520
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068
10521
  (exit $ac_status); }
9069
10522
        then
9070
10523
          archive_cmds_need_lc=no
9075
10528
      else
9076
10529
        cat conftest.err 1>&5
9077
10530
      fi
9078
 
      $rm conftest*
9079
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9080
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10531
      $RM conftest*
 
10532
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10533
$as_echo "$archive_cmds_need_lc" >&6; }
9081
10534
      ;;
9082
10535
    esac
9083
10536
  fi
9084
10537
  ;;
9085
10538
esac
9086
10539
 
9087
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9088
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9089
 
library_names_spec=
9090
 
libname_spec='lib$name'
9091
 
soname_spec=
9092
 
shrext_cmds=".so"
9093
 
postinstall_cmds=
9094
 
postuninstall_cmds=
9095
 
finish_cmds=
9096
 
finish_eval=
9097
 
shlibpath_var=
9098
 
shlibpath_overrides_runpath=unknown
9099
 
version_type=none
9100
 
dynamic_linker="$host_os ld.so"
9101
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
 
 
10552
 
 
10553
 
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
 
 
10565
 
 
10566
 
 
10567
 
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
 
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
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10697
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9102
10698
 
9103
10699
if test "$GCC" = yes; then
9104
10700
  case $host_os in
9106
10702
    *) lt_awk_arg="/^libraries:/" ;;
9107
10703
  esac
9108
10704
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9109
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
10705
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9110
10706
    # if the path contains ";" then we assume it to be the separator
9111
10707
    # otherwise default to the standard path separator (i.e. ":") - it is
9112
10708
    # assumed that no part of a normal pathname contains ";" but that should
9113
10709
    # okay in the real world where ";" in dirpaths is itself problematic.
9114
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10710
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9115
10711
  else
9116
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10712
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9117
10713
  fi
9118
10714
  # Ok, now we have the path, separated by spaces, we can step through it
9119
10715
  # and add multilib dir if necessary.
9127
10723
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9128
10724
    fi
9129
10725
  done
9130
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10726
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9131
10727
BEGIN {RS=" "; FS="/|\n";} {
9132
10728
  lt_foo="";
9133
10729
  lt_count=0;
9147
10743
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9148
10744
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9149
10745
}'`
9150
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
10746
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9151
10747
else
9152
10748
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9153
10749
fi
 
10750
library_names_spec=
 
10751
libname_spec='lib$name'
 
10752
soname_spec=
 
10753
shrext_cmds=".so"
 
10754
postinstall_cmds=
 
10755
postuninstall_cmds=
 
10756
finish_cmds=
 
10757
finish_eval=
 
10758
shlibpath_var=
 
10759
shlibpath_overrides_runpath=unknown
 
10760
version_type=none
 
10761
dynamic_linker="$host_os ld.so"
 
10762
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9154
10763
need_lib_prefix=unknown
9155
10764
hardcode_into_libs=no
9156
10765
 
9187
10796
      aix4 | aix4.[01] | aix4.[01].*)
9188
10797
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9189
10798
           echo ' yes '
9190
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10799
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9191
10800
        :
9192
10801
      else
9193
10802
        can_build_shared=no
9213
10822
  ;;
9214
10823
 
9215
10824
amigaos*)
9216
 
  library_names_spec='$libname.ixlibrary $libname.a'
9217
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9218
 
  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'
 
10825
  case $host_cpu in
 
10826
  powerpc)
 
10827
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10828
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10829
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10830
    ;;
 
10831
  m68k)
 
10832
    library_names_spec='$libname.ixlibrary $libname.a'
 
10833
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10834
    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'
 
10835
    ;;
 
10836
  esac
9219
10837
  ;;
9220
10838
 
9221
10839
beos*)
9238
10856
  # libtool to hard-code these into programs
9239
10857
  ;;
9240
10858
 
9241
 
cygwin* | mingw* | pw32*)
 
10859
cygwin* | mingw* | pw32* | cegcc*)
9242
10860
  version_type=windows
9243
10861
  shrext_cmds=".dll"
9244
10862
  need_version=no
9245
10863
  need_lib_prefix=no
9246
10864
 
9247
10865
  case $GCC,$host_os in
9248
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10866
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9249
10867
    library_names_spec='$libname.dll.a'
9250
10868
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9251
10869
    postinstall_cmds='base_file=`basename \${file}`~
9252
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10870
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9253
10871
      dldir=$destdir/`dirname \$dlpath`~
9254
10872
      test -d \$dldir || mkdir -p \$dldir~
9255
10873
      $install_prog $dir/$dlname \$dldir/$dlname~
9256
 
      chmod a+x \$dldir/$dlname'
 
10874
      chmod a+x \$dldir/$dlname~
 
10875
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10876
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10877
      fi'
9257
10878
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9258
10879
      dlpath=$dir/\$dldll~
9259
 
       $rm \$dlpath'
 
10880
       $RM \$dlpath'
9260
10881
    shlibpath_overrides_runpath=yes
9261
10882
 
9262
10883
    case $host_os in
9265
10886
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9266
10887
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9267
10888
      ;;
9268
 
    mingw*)
 
10889
    mingw* | cegcc*)
9269
10890
      # MinGW DLLs use traditional 'lib' prefix
9270
10891
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9271
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9272
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10892
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10893
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9273
10894
        # It is most probably a Windows format PATH printed by
9274
10895
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9275
10896
        # path with ; separators, and with drive letters. We can handle the
9276
10897
        # drive letters (cygwin fileutils understands them), so leave them,
9277
10898
        # especially as we might pass files found there to a mingw objdump,
9278
10899
        # which wouldn't understand a cygwinified path. Ahh.
9279
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10900
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9280
10901
      else
9281
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10902
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9282
10903
      fi
9283
10904
      ;;
9284
10905
    pw32*)
9302
10923
  version_type=darwin
9303
10924
  need_lib_prefix=no
9304
10925
  need_version=no
9305
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10926
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9306
10927
  soname_spec='${libname}${release}${major}$shared_ext'
9307
10928
  shlibpath_overrides_runpath=yes
9308
10929
  shlibpath_var=DYLD_LIBRARY_PATH
9336
10957
    *) objformat=elf ;;
9337
10958
    esac
9338
10959
  fi
9339
 
  # Handle Gentoo/FreeBSD as it was Linux
9340
 
  case $host_vendor in
9341
 
    gentoo)
9342
 
      version_type=linux ;;
9343
 
    *)
9344
 
      version_type=freebsd-$objformat ;;
9345
 
  esac
9346
 
 
 
10960
  version_type=freebsd-$objformat
9347
10961
  case $version_type in
9348
10962
    freebsd-elf*)
9349
10963
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9354
10968
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9355
10969
      need_version=yes
9356
10970
      ;;
9357
 
    linux)
9358
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9359
 
      soname_spec='${libname}${release}${shared_ext}$major'
9360
 
      need_lib_prefix=no
9361
 
      need_version=no
9362
 
      ;;
9363
10971
  esac
9364
10972
  shlibpath_var=LD_LIBRARY_PATH
9365
10973
  case $host_os in
9414
11022
    fi
9415
11023
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9416
11024
    ;;
9417
 
   hppa*64*)
9418
 
     shrext_cmds='.sl'
9419
 
     hardcode_into_libs=yes
9420
 
     dynamic_linker="$host_os dld.sl"
9421
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9422
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9423
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9424
 
     soname_spec='${libname}${release}${shared_ext}$major'
9425
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9426
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9427
 
     ;;
9428
 
   *)
 
11025
  hppa*64*)
 
11026
    shrext_cmds='.sl'
 
11027
    hardcode_into_libs=yes
 
11028
    dynamic_linker="$host_os dld.sl"
 
11029
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11030
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11031
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11032
    soname_spec='${libname}${release}${shared_ext}$major'
 
11033
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11034
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11035
    ;;
 
11036
  *)
9429
11037
    shrext_cmds='.sl'
9430
11038
    dynamic_linker="$host_os dld.sl"
9431
11039
    shlibpath_var=SHLIB_PATH
9502
11110
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9503
11111
  shlibpath_var=LD_LIBRARY_PATH
9504
11112
  shlibpath_overrides_runpath=no
 
11113
  # Some binutils ld are patched to set DT_RUNPATH
 
11114
  save_LDFLAGS=$LDFLAGS
 
11115
  save_libdir=$libdir
 
11116
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11117
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11118
  cat >conftest.$ac_ext <<_ACEOF
 
11119
/* confdefs.h.  */
 
11120
_ACEOF
 
11121
cat confdefs.h >>conftest.$ac_ext
 
11122
cat >>conftest.$ac_ext <<_ACEOF
 
11123
/* end confdefs.h.  */
 
11124
 
 
11125
int
 
11126
main ()
 
11127
{
 
11128
 
 
11129
  ;
 
11130
  return 0;
 
11131
}
 
11132
_ACEOF
 
11133
rm -f conftest.$ac_objext conftest$ac_exeext
 
11134
if { (ac_try="$ac_link"
 
11135
case "(($ac_try" in
 
11136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11137
  *) ac_try_echo=$ac_try;;
 
11138
esac
 
11139
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11140
$as_echo "$ac_try_echo") >&5
 
11141
  (eval "$ac_link") 2>conftest.er1
 
11142
  ac_status=$?
 
11143
  grep -v '^ *+' conftest.er1 >conftest.err
 
11144
  rm -f conftest.er1
 
11145
  cat conftest.err >&5
 
11146
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11147
  (exit $ac_status); } && {
 
11148
         test -z "$ac_c_werror_flag" ||
 
11149
         test ! -s conftest.err
 
11150
       } && test -s conftest$ac_exeext && {
 
11151
         test "$cross_compiling" = yes ||
 
11152
         $as_test_x conftest$ac_exeext
 
11153
       }; then
 
11154
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11155
  shlibpath_overrides_runpath=yes
 
11156
fi
 
11157
 
 
11158
else
 
11159
  $as_echo "$as_me: failed program was:" >&5
 
11160
sed 's/^/| /' conftest.$ac_ext >&5
 
11161
 
 
11162
 
 
11163
fi
 
11164
 
 
11165
rm -rf conftest.dSYM
 
11166
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11167
      conftest$ac_exeext conftest.$ac_ext
 
11168
  LDFLAGS=$save_LDFLAGS
 
11169
  libdir=$save_libdir
 
11170
 
9505
11171
  # This implies no fast_install, which is unacceptable.
9506
11172
  # Some rework will be needed to allow for fast_install
9507
11173
  # before this can be enabled.
9509
11175
 
9510
11176
  # Append ld.so.conf contents to the search path
9511
11177
  if test -f /etc/ld.so.conf; then
9512
 
    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' ' '`
 
11178
    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' ' '`
9513
11179
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9514
11180
  fi
9515
11181
 
9522
11188
  dynamic_linker='GNU/Linux ld.so'
9523
11189
  ;;
9524
11190
 
 
11191
netbsdelf*-gnu)
 
11192
  version_type=linux
 
11193
  need_lib_prefix=no
 
11194
  need_version=no
 
11195
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11196
  soname_spec='${libname}${release}${shared_ext}$major'
 
11197
  shlibpath_var=LD_LIBRARY_PATH
 
11198
  shlibpath_overrides_runpath=no
 
11199
  hardcode_into_libs=yes
 
11200
  dynamic_linker='NetBSD ld.elf_so'
 
11201
  ;;
 
11202
 
9525
11203
netbsd*)
9526
11204
  version_type=sunos
9527
11205
  need_lib_prefix=no
9528
11206
  need_version=no
9529
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11207
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9530
11208
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9531
11209
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9532
11210
    dynamic_linker='NetBSD (a.out) ld.so'
9547
11225
  shlibpath_overrides_runpath=yes
9548
11226
  ;;
9549
11227
 
9550
 
nto-qnx*)
9551
 
  version_type=linux
 
11228
*nto* | *qnx*)
 
11229
  version_type=qnx
9552
11230
  need_lib_prefix=no
9553
11231
  need_version=no
9554
11232
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9555
11233
  soname_spec='${libname}${release}${shared_ext}$major'
9556
11234
  shlibpath_var=LD_LIBRARY_PATH
9557
 
  shlibpath_overrides_runpath=yes
 
11235
  shlibpath_overrides_runpath=no
 
11236
  hardcode_into_libs=yes
 
11237
  dynamic_linker='ldqnx.so'
9558
11238
  ;;
9559
11239
 
9560
11240
openbsd*)
9563
11243
  need_lib_prefix=no
9564
11244
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9565
11245
  case $host_os in
9566
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9567
 
    *)                         need_version=no  ;;
 
11246
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11247
    *)                          need_version=no  ;;
9568
11248
  esac
9569
11249
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9570
11250
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9571
11251
  shlibpath_var=LD_LIBRARY_PATH
9572
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11252
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9573
11253
    case $host_os in
9574
11254
      openbsd2.[89] | openbsd2.[89].*)
9575
11255
        shlibpath_overrides_runpath=no
9641
11321
    sni)
9642
11322
      shlibpath_overrides_runpath=no
9643
11323
      need_lib_prefix=no
9644
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9645
11324
      runpath_var=LD_RUN_PATH
9646
11325
      ;;
9647
11326
    siemens)
9672
11351
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9673
11352
  soname_spec='${libname}${release}${shared_ext}$major'
9674
11353
  shlibpath_var=LD_LIBRARY_PATH
 
11354
  shlibpath_overrides_runpath=yes
9675
11355
  hardcode_into_libs=yes
9676
11356
  if test "$with_gnu_ld" = yes; then
9677
11357
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9678
 
    shlibpath_overrides_runpath=no
9679
11358
  else
9680
11359
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9681
 
    shlibpath_overrides_runpath=yes
9682
11360
    case $host_os in
9683
11361
      sco3.2v5*)
9684
11362
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9688
11366
  sys_lib_dlsearch_path_spec='/usr/lib'
9689
11367
  ;;
9690
11368
 
 
11369
tpf*)
 
11370
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11371
  version_type=linux
 
11372
  need_lib_prefix=no
 
11373
  need_version=no
 
11374
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11375
  shlibpath_var=LD_LIBRARY_PATH
 
11376
  shlibpath_overrides_runpath=no
 
11377
  hardcode_into_libs=yes
 
11378
  ;;
 
11379
 
9691
11380
uts4*)
9692
11381
  version_type=linux
9693
11382
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9699
11388
  dynamic_linker=no
9700
11389
  ;;
9701
11390
esac
9702
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9703
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11391
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11392
$as_echo "$dynamic_linker" >&6; }
9704
11393
test "$dynamic_linker" = no && can_build_shared=no
9705
11394
 
9706
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9707
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9708
 
else
9709
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9710
 
fi
9711
 
 
9712
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9713
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9715
 
else
9716
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9717
 
fi
9718
 
 
9719
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9720
 
 
9721
11395
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9722
11396
if test "$GCC" = yes; then
9723
11397
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9724
11398
fi
9725
11399
 
9726
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9727
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11400
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11401
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11402
fi
 
11403
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11404
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11405
fi
 
11406
 
 
11407
 
 
11408
 
 
11409
 
 
11410
 
 
11411
 
 
11412
 
 
11413
 
 
11414
 
 
11415
 
 
11416
 
 
11417
 
 
11418
 
 
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
 
 
11429
 
 
11430
 
 
11431
 
 
11432
 
 
11433
 
 
11434
 
 
11435
 
 
11436
 
 
11437
 
 
11438
 
 
11439
 
 
11440
 
 
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
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11494
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9728
11495
hardcode_action=
9729
 
if test -n "$hardcode_libdir_flag_spec" || \
9730
 
   test -n "$runpath_var" || \
 
11496
if test -n "$hardcode_libdir_flag_spec" ||
 
11497
   test -n "$runpath_var" ||
9731
11498
   test "X$hardcode_automatic" = "Xyes" ; then
9732
11499
 
9733
 
  # We can hardcode non-existant directories.
 
11500
  # We can hardcode non-existent directories.
9734
11501
  if test "$hardcode_direct" != no &&
9735
11502
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9736
11503
     # have to relink, otherwise we might link with an installed library
9737
11504
     # when we should be linking with a yet-to-be-installed one
9738
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11505
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9739
11506
     test "$hardcode_minus_L" != no; then
9740
11507
    # Linking always hardcodes the temporary library directory.
9741
11508
    hardcode_action=relink
9748
11515
  # directories.
9749
11516
  hardcode_action=unsupported
9750
11517
fi
9751
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9752
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11518
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11519
$as_echo "$hardcode_action" >&6; }
9753
11520
 
9754
 
if test "$hardcode_action" = relink; then
 
11521
if test "$hardcode_action" = relink ||
 
11522
   test "$inherit_rpath" = yes; then
9755
11523
  # Fast installation is not supported
9756
11524
  enable_fast_install=no
9757
11525
elif test "$shlibpath_overrides_runpath" = yes ||
9760
11528
  enable_fast_install=needless
9761
11529
fi
9762
11530
 
9763
 
striplib=
9764
 
old_striplib=
9765
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9766
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9767
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9768
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9769
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9770
 
  { echo "$as_me:$LINENO: result: yes" >&5
9771
 
echo "${ECHO_T}yes" >&6; }
9772
 
else
9773
 
# FIXME - insert some real tests, host_os isn't really good enough
9774
 
  case $host_os in
9775
 
   darwin*)
9776
 
       if test -n "$STRIP" ; then
9777
 
         striplib="$STRIP -x"
9778
 
         old_striplib="$STRIP -S"
9779
 
         { echo "$as_me:$LINENO: result: yes" >&5
9780
 
echo "${ECHO_T}yes" >&6; }
9781
 
       else
9782
 
  { echo "$as_me:$LINENO: result: no" >&5
9783
 
echo "${ECHO_T}no" >&6; }
9784
 
fi
9785
 
       ;;
9786
 
   *)
9787
 
  { echo "$as_me:$LINENO: result: no" >&5
9788
 
echo "${ECHO_T}no" >&6; }
9789
 
    ;;
9790
 
  esac
9791
 
fi
9792
 
 
9793
 
if test "x$enable_dlopen" != xyes; then
 
11531
 
 
11532
 
 
11533
 
 
11534
 
 
11535
 
 
11536
  if test "x$enable_dlopen" != xyes; then
9794
11537
  enable_dlopen=unknown
9795
11538
  enable_dlopen_self=unknown
9796
11539
  enable_dlopen_self_static=unknown
9805
11548
    lt_cv_dlopen_self=yes
9806
11549
    ;;
9807
11550
 
9808
 
  mingw* | pw32*)
 
11551
  mingw* | pw32* | cegcc*)
9809
11552
    lt_cv_dlopen="LoadLibrary"
9810
11553
    lt_cv_dlopen_libs=
9811
 
   ;;
 
11554
    ;;
9812
11555
 
9813
11556
  cygwin*)
9814
11557
    lt_cv_dlopen="dlopen"
9815
11558
    lt_cv_dlopen_libs=
9816
 
   ;;
 
11559
    ;;
9817
11560
 
9818
11561
  darwin*)
9819
11562
  # if libdl is installed we need to link against it
9820
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9821
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11563
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11564
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9822
11565
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9823
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11566
  $as_echo_n "(cached) " >&6
9824
11567
else
9825
11568
  ac_check_lib_save_LIBS=$LIBS
9826
11569
LIBS="-ldl  $LIBS"
9852
11595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853
11596
  *) ac_try_echo=$ac_try;;
9854
11597
esac
9855
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11598
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11599
$as_echo "$ac_try_echo") >&5
9856
11600
  (eval "$ac_link") 2>conftest.er1
9857
11601
  ac_status=$?
9858
11602
  grep -v '^ *+' conftest.er1 >conftest.err
9859
11603
  rm -f conftest.er1
9860
11604
  cat conftest.err >&5
9861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11605
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862
11606
  (exit $ac_status); } && {
9863
11607
         test -z "$ac_c_werror_flag" ||
9864
11608
         test ! -s conftest.err
9865
 
       } && test -s conftest$ac_exeext &&
9866
 
       $as_test_x conftest$ac_exeext; then
 
11609
       } && test -s conftest$ac_exeext && {
 
11610
         test "$cross_compiling" = yes ||
 
11611
         $as_test_x conftest$ac_exeext
 
11612
       }; then
9867
11613
  ac_cv_lib_dl_dlopen=yes
9868
11614
else
9869
 
  echo "$as_me: failed program was:" >&5
 
11615
  $as_echo "$as_me: failed program was:" >&5
9870
11616
sed 's/^/| /' conftest.$ac_ext >&5
9871
11617
 
9872
11618
        ac_cv_lib_dl_dlopen=no
9873
11619
fi
9874
11620
 
 
11621
rm -rf conftest.dSYM
9875
11622
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9876
11623
      conftest$ac_exeext conftest.$ac_ext
9877
11624
LIBS=$ac_check_lib_save_LIBS
9878
11625
fi
9879
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9880
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9881
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11626
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11627
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11628
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9882
11629
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9883
11630
else
9884
11631
 
9888
11635
 
9889
11636
fi
9890
11637
 
9891
 
   ;;
 
11638
    ;;
9892
11639
 
9893
11640
  *)
9894
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9895
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
11641
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11642
$as_echo_n "checking for shl_load... " >&6; }
9896
11643
if test "${ac_cv_func_shl_load+set}" = set; then
9897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11644
  $as_echo_n "(cached) " >&6
9898
11645
else
9899
11646
  cat >conftest.$ac_ext <<_ACEOF
9900
11647
/* confdefs.h.  */
9947
11694
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9948
11695
  *) ac_try_echo=$ac_try;;
9949
11696
esac
9950
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11697
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11698
$as_echo "$ac_try_echo") >&5
9951
11699
  (eval "$ac_link") 2>conftest.er1
9952
11700
  ac_status=$?
9953
11701
  grep -v '^ *+' conftest.er1 >conftest.err
9954
11702
  rm -f conftest.er1
9955
11703
  cat conftest.err >&5
9956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11704
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957
11705
  (exit $ac_status); } && {
9958
11706
         test -z "$ac_c_werror_flag" ||
9959
11707
         test ! -s conftest.err
9960
 
       } && test -s conftest$ac_exeext &&
9961
 
       $as_test_x conftest$ac_exeext; then
 
11708
       } && test -s conftest$ac_exeext && {
 
11709
         test "$cross_compiling" = yes ||
 
11710
         $as_test_x conftest$ac_exeext
 
11711
       }; then
9962
11712
  ac_cv_func_shl_load=yes
9963
11713
else
9964
 
  echo "$as_me: failed program was:" >&5
 
11714
  $as_echo "$as_me: failed program was:" >&5
9965
11715
sed 's/^/| /' conftest.$ac_ext >&5
9966
11716
 
9967
11717
        ac_cv_func_shl_load=no
9968
11718
fi
9969
11719
 
 
11720
rm -rf conftest.dSYM
9970
11721
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9971
11722
      conftest$ac_exeext conftest.$ac_ext
9972
11723
fi
9973
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9974
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9975
 
if test $ac_cv_func_shl_load = yes; then
 
11724
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11725
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11726
if test "x$ac_cv_func_shl_load" = x""yes; then
9976
11727
  lt_cv_dlopen="shl_load"
9977
11728
else
9978
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9979
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
11729
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11730
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9980
11731
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9981
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11732
  $as_echo_n "(cached) " >&6
9982
11733
else
9983
11734
  ac_check_lib_save_LIBS=$LIBS
9984
11735
LIBS="-ldld  $LIBS"
10010
11761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10011
11762
  *) ac_try_echo=$ac_try;;
10012
11763
esac
10013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11764
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11765
$as_echo "$ac_try_echo") >&5
10014
11766
  (eval "$ac_link") 2>conftest.er1
10015
11767
  ac_status=$?
10016
11768
  grep -v '^ *+' conftest.er1 >conftest.err
10017
11769
  rm -f conftest.er1
10018
11770
  cat conftest.err >&5
10019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11771
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020
11772
  (exit $ac_status); } && {
10021
11773
         test -z "$ac_c_werror_flag" ||
10022
11774
         test ! -s conftest.err
10023
 
       } && test -s conftest$ac_exeext &&
10024
 
       $as_test_x conftest$ac_exeext; then
 
11775
       } && test -s conftest$ac_exeext && {
 
11776
         test "$cross_compiling" = yes ||
 
11777
         $as_test_x conftest$ac_exeext
 
11778
       }; then
10025
11779
  ac_cv_lib_dld_shl_load=yes
10026
11780
else
10027
 
  echo "$as_me: failed program was:" >&5
 
11781
  $as_echo "$as_me: failed program was:" >&5
10028
11782
sed 's/^/| /' conftest.$ac_ext >&5
10029
11783
 
10030
11784
        ac_cv_lib_dld_shl_load=no
10031
11785
fi
10032
11786
 
 
11787
rm -rf conftest.dSYM
10033
11788
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10034
11789
      conftest$ac_exeext conftest.$ac_ext
10035
11790
LIBS=$ac_check_lib_save_LIBS
10036
11791
fi
10037
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10038
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10039
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
11792
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11793
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11794
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10040
11795
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10041
11796
else
10042
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10043
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
11797
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11798
$as_echo_n "checking for dlopen... " >&6; }
10044
11799
if test "${ac_cv_func_dlopen+set}" = set; then
10045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11800
  $as_echo_n "(cached) " >&6
10046
11801
else
10047
11802
  cat >conftest.$ac_ext <<_ACEOF
10048
11803
/* confdefs.h.  */
10095
11850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10096
11851
  *) ac_try_echo=$ac_try;;
10097
11852
esac
10098
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11853
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11854
$as_echo "$ac_try_echo") >&5
10099
11855
  (eval "$ac_link") 2>conftest.er1
10100
11856
  ac_status=$?
10101
11857
  grep -v '^ *+' conftest.er1 >conftest.err
10102
11858
  rm -f conftest.er1
10103
11859
  cat conftest.err >&5
10104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11860
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105
11861
  (exit $ac_status); } && {
10106
11862
         test -z "$ac_c_werror_flag" ||
10107
11863
         test ! -s conftest.err
10108
 
       } && test -s conftest$ac_exeext &&
10109
 
       $as_test_x conftest$ac_exeext; then
 
11864
       } && test -s conftest$ac_exeext && {
 
11865
         test "$cross_compiling" = yes ||
 
11866
         $as_test_x conftest$ac_exeext
 
11867
       }; then
10110
11868
  ac_cv_func_dlopen=yes
10111
11869
else
10112
 
  echo "$as_me: failed program was:" >&5
 
11870
  $as_echo "$as_me: failed program was:" >&5
10113
11871
sed 's/^/| /' conftest.$ac_ext >&5
10114
11872
 
10115
11873
        ac_cv_func_dlopen=no
10116
11874
fi
10117
11875
 
 
11876
rm -rf conftest.dSYM
10118
11877
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10119
11878
      conftest$ac_exeext conftest.$ac_ext
10120
11879
fi
10121
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10122
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10123
 
if test $ac_cv_func_dlopen = yes; then
 
11880
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11881
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11882
if test "x$ac_cv_func_dlopen" = x""yes; then
10124
11883
  lt_cv_dlopen="dlopen"
10125
11884
else
10126
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10127
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11885
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11886
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10128
11887
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11888
  $as_echo_n "(cached) " >&6
10130
11889
else
10131
11890
  ac_check_lib_save_LIBS=$LIBS
10132
11891
LIBS="-ldl  $LIBS"
10158
11917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10159
11918
  *) ac_try_echo=$ac_try;;
10160
11919
esac
10161
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11920
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11921
$as_echo "$ac_try_echo") >&5
10162
11922
  (eval "$ac_link") 2>conftest.er1
10163
11923
  ac_status=$?
10164
11924
  grep -v '^ *+' conftest.er1 >conftest.err
10165
11925
  rm -f conftest.er1
10166
11926
  cat conftest.err >&5
10167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168
11928
  (exit $ac_status); } && {
10169
11929
         test -z "$ac_c_werror_flag" ||
10170
11930
         test ! -s conftest.err
10171
 
       } && test -s conftest$ac_exeext &&
10172
 
       $as_test_x conftest$ac_exeext; then
 
11931
       } && test -s conftest$ac_exeext && {
 
11932
         test "$cross_compiling" = yes ||
 
11933
         $as_test_x conftest$ac_exeext
 
11934
       }; then
10173
11935
  ac_cv_lib_dl_dlopen=yes
10174
11936
else
10175
 
  echo "$as_me: failed program was:" >&5
 
11937
  $as_echo "$as_me: failed program was:" >&5
10176
11938
sed 's/^/| /' conftest.$ac_ext >&5
10177
11939
 
10178
11940
        ac_cv_lib_dl_dlopen=no
10179
11941
fi
10180
11942
 
 
11943
rm -rf conftest.dSYM
10181
11944
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10182
11945
      conftest$ac_exeext conftest.$ac_ext
10183
11946
LIBS=$ac_check_lib_save_LIBS
10184
11947
fi
10185
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10186
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10187
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11948
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11949
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11950
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10188
11951
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10189
11952
else
10190
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10191
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
11953
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11954
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10192
11955
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11956
  $as_echo_n "(cached) " >&6
10194
11957
else
10195
11958
  ac_check_lib_save_LIBS=$LIBS
10196
11959
LIBS="-lsvld  $LIBS"
10222
11985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10223
11986
  *) ac_try_echo=$ac_try;;
10224
11987
esac
10225
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11988
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11989
$as_echo "$ac_try_echo") >&5
10226
11990
  (eval "$ac_link") 2>conftest.er1
10227
11991
  ac_status=$?
10228
11992
  grep -v '^ *+' conftest.er1 >conftest.err
10229
11993
  rm -f conftest.er1
10230
11994
  cat conftest.err >&5
10231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11995
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232
11996
  (exit $ac_status); } && {
10233
11997
         test -z "$ac_c_werror_flag" ||
10234
11998
         test ! -s conftest.err
10235
 
       } && test -s conftest$ac_exeext &&
10236
 
       $as_test_x conftest$ac_exeext; then
 
11999
       } && test -s conftest$ac_exeext && {
 
12000
         test "$cross_compiling" = yes ||
 
12001
         $as_test_x conftest$ac_exeext
 
12002
       }; then
10237
12003
  ac_cv_lib_svld_dlopen=yes
10238
12004
else
10239
 
  echo "$as_me: failed program was:" >&5
 
12005
  $as_echo "$as_me: failed program was:" >&5
10240
12006
sed 's/^/| /' conftest.$ac_ext >&5
10241
12007
 
10242
12008
        ac_cv_lib_svld_dlopen=no
10243
12009
fi
10244
12010
 
 
12011
rm -rf conftest.dSYM
10245
12012
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10246
12013
      conftest$ac_exeext conftest.$ac_ext
10247
12014
LIBS=$ac_check_lib_save_LIBS
10248
12015
fi
10249
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10250
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10251
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
12016
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12017
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12018
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10252
12019
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10253
12020
else
10254
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10255
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
12021
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12022
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10256
12023
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12024
  $as_echo_n "(cached) " >&6
10258
12025
else
10259
12026
  ac_check_lib_save_LIBS=$LIBS
10260
12027
LIBS="-ldld  $LIBS"
10286
12053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10287
12054
  *) ac_try_echo=$ac_try;;
10288
12055
esac
10289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12056
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12057
$as_echo "$ac_try_echo") >&5
10290
12058
  (eval "$ac_link") 2>conftest.er1
10291
12059
  ac_status=$?
10292
12060
  grep -v '^ *+' conftest.er1 >conftest.err
10293
12061
  rm -f conftest.er1
10294
12062
  cat conftest.err >&5
10295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12063
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296
12064
  (exit $ac_status); } && {
10297
12065
         test -z "$ac_c_werror_flag" ||
10298
12066
         test ! -s conftest.err
10299
 
       } && test -s conftest$ac_exeext &&
10300
 
       $as_test_x conftest$ac_exeext; then
 
12067
       } && test -s conftest$ac_exeext && {
 
12068
         test "$cross_compiling" = yes ||
 
12069
         $as_test_x conftest$ac_exeext
 
12070
       }; then
10301
12071
  ac_cv_lib_dld_dld_link=yes
10302
12072
else
10303
 
  echo "$as_me: failed program was:" >&5
 
12073
  $as_echo "$as_me: failed program was:" >&5
10304
12074
sed 's/^/| /' conftest.$ac_ext >&5
10305
12075
 
10306
12076
        ac_cv_lib_dld_dld_link=no
10307
12077
fi
10308
12078
 
 
12079
rm -rf conftest.dSYM
10309
12080
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10310
12081
      conftest$ac_exeext conftest.$ac_ext
10311
12082
LIBS=$ac_check_lib_save_LIBS
10312
12083
fi
10313
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10314
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10315
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
12084
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12085
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12086
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10316
12087
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10317
12088
fi
10318
12089
 
10351
12122
    save_LIBS="$LIBS"
10352
12123
    LIBS="$lt_cv_dlopen_libs $LIBS"
10353
12124
 
10354
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10355
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
12125
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12126
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10356
12127
if test "${lt_cv_dlopen_self+set}" = set; then
10357
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12128
  $as_echo_n "(cached) " >&6
10358
12129
else
10359
12130
          if test "$cross_compiling" = yes; then :
10360
12131
  lt_cv_dlopen_self=cross
10361
12132
else
10362
12133
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10363
12134
  lt_status=$lt_dlunknown
10364
 
  cat > conftest.$ac_ext <<EOF
10365
 
#line 10365 "configure"
 
12135
  cat > conftest.$ac_ext <<_LT_EOF
 
12136
#line 12136 "configure"
10366
12137
#include "confdefs.h"
10367
12138
 
10368
12139
#if HAVE_DLFCN_H
10403
12174
#  endif
10404
12175
#endif
10405
12176
 
10406
 
#ifdef __cplusplus
10407
 
extern "C" void exit (int);
10408
 
#endif
10409
 
 
10410
12177
void fnord() { int i=42;}
10411
12178
int main ()
10412
12179
{
10422
12189
  else
10423
12190
    puts (dlerror ());
10424
12191
 
10425
 
    exit (status);
 
12192
  return status;
10426
12193
}
10427
 
EOF
 
12194
_LT_EOF
10428
12195
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10429
12196
  (eval $ac_link) 2>&5
10430
12197
  ac_status=$?
10431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12198
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432
12199
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10433
12200
    (./conftest; exit; ) >&5 2>/dev/null
10434
12201
    lt_status=$?
10446
12213
 
10447
12214
 
10448
12215
fi
10449
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10450
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
12216
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12217
$as_echo "$lt_cv_dlopen_self" >&6; }
10451
12218
 
10452
12219
    if test "x$lt_cv_dlopen_self" = xyes; then
10453
12220
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10454
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10455
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
12221
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12222
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10456
12223
if test "${lt_cv_dlopen_self_static+set}" = set; then
10457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12224
  $as_echo_n "(cached) " >&6
10458
12225
else
10459
12226
          if test "$cross_compiling" = yes; then :
10460
12227
  lt_cv_dlopen_self_static=cross
10461
12228
else
10462
12229
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10463
12230
  lt_status=$lt_dlunknown
10464
 
  cat > conftest.$ac_ext <<EOF
10465
 
#line 10465 "configure"
 
12231
  cat > conftest.$ac_ext <<_LT_EOF
 
12232
#line 12232 "configure"
10466
12233
#include "confdefs.h"
10467
12234
 
10468
12235
#if HAVE_DLFCN_H
10503
12270
#  endif
10504
12271
#endif
10505
12272
 
10506
 
#ifdef __cplusplus
10507
 
extern "C" void exit (int);
10508
 
#endif
10509
 
 
10510
12273
void fnord() { int i=42;}
10511
12274
int main ()
10512
12275
{
10522
12285
  else
10523
12286
    puts (dlerror ());
10524
12287
 
10525
 
    exit (status);
 
12288
  return status;
10526
12289
}
10527
 
EOF
 
12290
_LT_EOF
10528
12291
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10529
12292
  (eval $ac_link) 2>&5
10530
12293
  ac_status=$?
10531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12294
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532
12295
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10533
12296
    (./conftest; exit; ) >&5 2>/dev/null
10534
12297
    lt_status=$?
10546
12309
 
10547
12310
 
10548
12311
fi
10549
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10550
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12312
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12313
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10551
12314
    fi
10552
12315
 
10553
12316
    CPPFLAGS="$save_CPPFLAGS"
10568
12331
fi
10569
12332
 
10570
12333
 
10571
 
# Report which library types will actually be built
10572
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10573
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10574
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10575
 
echo "${ECHO_T}$can_build_shared" >&6; }
10576
 
 
10577
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10578
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10579
 
test "$can_build_shared" = "no" && enable_shared=no
10580
 
 
10581
 
# On AIX, shared libraries and static libraries use the same namespace, and
10582
 
# are all built from PIC.
10583
 
case $host_os in
10584
 
aix3*)
10585
 
  test "$enable_shared" = yes && enable_static=no
10586
 
  if test -n "$RANLIB"; then
10587
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10588
 
    postinstall_cmds='$RANLIB $lib'
10589
 
  fi
10590
 
  ;;
10591
 
 
10592
 
aix[4-9]*)
10593
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10594
 
    test "$enable_shared" = yes && enable_static=no
10595
 
  fi
10596
 
    ;;
10597
 
esac
10598
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10599
 
echo "${ECHO_T}$enable_shared" >&6; }
10600
 
 
10601
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10602
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10603
 
# Make sure either enable_shared or enable_static is yes.
10604
 
test "$enable_shared" = yes || enable_static=yes
10605
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10606
 
echo "${ECHO_T}$enable_static" >&6; }
10607
 
 
10608
 
# The else clause should only fire when bootstrapping the
10609
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10610
 
# with your package, and you will get complaints that there are
10611
 
# no rules to generate ltmain.sh.
10612
 
if test -f "$ltmain"; then
10613
 
  # See if we are running on zsh, and set the options which allow our commands through
10614
 
  # without removal of \ escapes.
10615
 
  if test -n "${ZSH_VERSION+set}" ; then
10616
 
    setopt NO_GLOB_SUBST
10617
 
  fi
10618
 
  # Now quote all the things that may contain metacharacters while being
10619
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10620
 
  # variables and quote the copies for generation of the libtool script.
10621
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10622
 
    SED SHELL STRIP \
10623
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10624
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10625
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10626
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10627
 
    lt_cv_sys_global_symbol_to_c_name_address \
10628
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10629
 
    old_postinstall_cmds old_postuninstall_cmds \
10630
 
    compiler \
10631
 
    CC \
10632
 
    LD \
10633
 
    lt_prog_compiler_wl \
10634
 
    lt_prog_compiler_pic \
10635
 
    lt_prog_compiler_static \
10636
 
    lt_prog_compiler_no_builtin_flag \
10637
 
    export_dynamic_flag_spec \
10638
 
    thread_safe_flag_spec \
10639
 
    whole_archive_flag_spec \
10640
 
    enable_shared_with_static_runtimes \
10641
 
    old_archive_cmds \
10642
 
    old_archive_from_new_cmds \
10643
 
    predep_objects \
10644
 
    postdep_objects \
10645
 
    predeps \
10646
 
    postdeps \
10647
 
    compiler_lib_search_path \
10648
 
    compiler_lib_search_dirs \
10649
 
    archive_cmds \
10650
 
    archive_expsym_cmds \
10651
 
    postinstall_cmds \
10652
 
    postuninstall_cmds \
10653
 
    old_archive_from_expsyms_cmds \
10654
 
    allow_undefined_flag \
10655
 
    no_undefined_flag \
10656
 
    export_symbols_cmds \
10657
 
    hardcode_libdir_flag_spec \
10658
 
    hardcode_libdir_flag_spec_ld \
10659
 
    hardcode_libdir_separator \
10660
 
    hardcode_automatic \
10661
 
    module_cmds \
10662
 
    module_expsym_cmds \
10663
 
    lt_cv_prog_compiler_c_o \
10664
 
    fix_srcfile_path \
10665
 
    exclude_expsyms \
10666
 
    include_expsyms; do
10667
 
 
10668
 
    case $var in
10669
 
    old_archive_cmds | \
10670
 
    old_archive_from_new_cmds | \
10671
 
    archive_cmds | \
10672
 
    archive_expsym_cmds | \
10673
 
    module_cmds | \
10674
 
    module_expsym_cmds | \
10675
 
    old_archive_from_expsyms_cmds | \
10676
 
    export_symbols_cmds | \
10677
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10678
 
    postinstall_cmds | postuninstall_cmds | \
10679
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10680
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10681
 
      # Double-quote double-evaled strings.
10682
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10683
 
      ;;
10684
 
    *)
10685
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10686
 
      ;;
10687
 
    esac
10688
 
  done
10689
 
 
10690
 
  case $lt_echo in
10691
 
  *'\$0 --fallback-echo"')
10692
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10693
 
    ;;
10694
 
  esac
10695
 
 
10696
 
cfgfile="${ofile}T"
10697
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10698
 
  $rm -f "$cfgfile"
10699
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10700
 
echo "$as_me: creating $ofile" >&6;}
10701
 
 
10702
 
  cat <<__EOF__ >> "$cfgfile"
10703
 
#! $SHELL
10704
 
 
10705
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10706
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10707
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10708
 
#
10709
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10710
 
# Free Software Foundation, Inc.
10711
 
#
10712
 
# This file is part of GNU Libtool:
10713
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10714
 
#
10715
 
# This program is free software; you can redistribute it and/or modify
10716
 
# it under the terms of the GNU General Public License as published by
10717
 
# the Free Software Foundation; either version 2 of the License, or
10718
 
# (at your option) any later version.
10719
 
#
10720
 
# This program is distributed in the hope that it will be useful, but
10721
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10722
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10723
 
# General Public License for more details.
10724
 
#
10725
 
# You should have received a copy of the GNU General Public License
10726
 
# along with this program; if not, write to the Free Software
10727
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10728
 
#
10729
 
# As a special exception to the GNU General Public License, if you
10730
 
# distribute this file as part of a program that contains a
10731
 
# configuration script generated by Autoconf, you may include it under
10732
 
# the same distribution terms that you use for the rest of that program.
10733
 
 
10734
 
# A sed program that does not truncate output.
10735
 
SED=$lt_SED
10736
 
 
10737
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10738
 
Xsed="$SED -e 1s/^X//"
10739
 
 
10740
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10741
 
# if CDPATH is set.
10742
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10743
 
 
10744
 
# The names of the tagged configurations supported by this script.
10745
 
available_tags=
10746
 
 
10747
 
# ### BEGIN LIBTOOL CONFIG
10748
 
 
10749
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10750
 
 
10751
 
# Shell to use when invoking shell scripts.
10752
 
SHELL=$lt_SHELL
10753
 
 
10754
 
# Whether or not to build shared libraries.
10755
 
build_libtool_libs=$enable_shared
10756
 
 
10757
 
# Whether or not to build static libraries.
10758
 
build_old_libs=$enable_static
10759
 
 
10760
 
# Whether or not to add -lc for building shared libraries.
10761
 
build_libtool_need_lc=$archive_cmds_need_lc
10762
 
 
10763
 
# Whether or not to disallow shared libs when runtime libs are static
10764
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10765
 
 
10766
 
# Whether or not to optimize for fast installation.
10767
 
fast_install=$enable_fast_install
10768
 
 
10769
 
# The host system.
10770
 
host_alias=$host_alias
10771
 
host=$host
10772
 
host_os=$host_os
10773
 
 
10774
 
# The build system.
10775
 
build_alias=$build_alias
10776
 
build=$build
10777
 
build_os=$build_os
10778
 
 
10779
 
# An echo program that does not interpret backslashes.
10780
 
echo=$lt_echo
10781
 
 
10782
 
# The archiver.
10783
 
AR=$lt_AR
10784
 
AR_FLAGS=$lt_AR_FLAGS
10785
 
 
10786
 
# A C compiler.
10787
 
LTCC=$lt_LTCC
10788
 
 
10789
 
# LTCC compiler flags.
10790
 
LTCFLAGS=$lt_LTCFLAGS
10791
 
 
10792
 
# A language-specific compiler.
10793
 
CC=$lt_compiler
10794
 
 
10795
 
# Is the compiler the GNU C compiler?
10796
 
with_gcc=$GCC
10797
 
 
10798
 
# An ERE matcher.
10799
 
EGREP=$lt_EGREP
10800
 
 
10801
 
# The linker used to build libraries.
10802
 
LD=$lt_LD
10803
 
 
10804
 
# Whether we need hard or soft links.
10805
 
LN_S=$lt_LN_S
10806
 
 
10807
 
# A BSD-compatible nm program.
10808
 
NM=$lt_NM
10809
 
 
10810
 
# A symbol stripping program
10811
 
STRIP=$lt_STRIP
10812
 
 
10813
 
# Used to examine libraries when file_magic_cmd begins "file"
10814
 
MAGIC_CMD=$MAGIC_CMD
10815
 
 
10816
 
# Used on cygwin: DLL creation program.
10817
 
DLLTOOL="$DLLTOOL"
10818
 
 
10819
 
# Used on cygwin: object dumper.
10820
 
OBJDUMP="$OBJDUMP"
10821
 
 
10822
 
# Used on cygwin: assembler.
10823
 
AS="$AS"
10824
 
 
10825
 
# The name of the directory that contains temporary libtool files.
10826
 
objdir=$objdir
10827
 
 
10828
 
# How to create reloadable object files.
10829
 
reload_flag=$lt_reload_flag
10830
 
reload_cmds=$lt_reload_cmds
10831
 
 
10832
 
# How to pass a linker flag through the compiler.
10833
 
wl=$lt_lt_prog_compiler_wl
10834
 
 
10835
 
# Object file suffix (normally "o").
10836
 
objext="$ac_objext"
10837
 
 
10838
 
# Old archive suffix (normally "a").
10839
 
libext="$libext"
10840
 
 
10841
 
# Shared library suffix (normally ".so").
10842
 
shrext_cmds='$shrext_cmds'
10843
 
 
10844
 
# Executable file suffix (normally "").
10845
 
exeext="$exeext"
10846
 
 
10847
 
# Additional compiler flags for building library objects.
10848
 
pic_flag=$lt_lt_prog_compiler_pic
10849
 
pic_mode=$pic_mode
10850
 
 
10851
 
# What is the maximum length of a command?
10852
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10853
 
 
10854
 
# Does compiler simultaneously support -c and -o options?
10855
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10856
 
 
10857
 
# Must we lock files when doing compilation?
10858
 
need_locks=$lt_need_locks
10859
 
 
10860
 
# Do we need the lib prefix for modules?
10861
 
need_lib_prefix=$need_lib_prefix
10862
 
 
10863
 
# Do we need a version for libraries?
10864
 
need_version=$need_version
10865
 
 
10866
 
# Whether dlopen is supported.
10867
 
dlopen_support=$enable_dlopen
10868
 
 
10869
 
# Whether dlopen of programs is supported.
10870
 
dlopen_self=$enable_dlopen_self
10871
 
 
10872
 
# Whether dlopen of statically linked programs is supported.
10873
 
dlopen_self_static=$enable_dlopen_self_static
10874
 
 
10875
 
# Compiler flag to prevent dynamic linking.
10876
 
link_static_flag=$lt_lt_prog_compiler_static
10877
 
 
10878
 
# Compiler flag to turn off builtin functions.
10879
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10880
 
 
10881
 
# Compiler flag to allow reflexive dlopens.
10882
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10883
 
 
10884
 
# Compiler flag to generate shared objects directly from archives.
10885
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10886
 
 
10887
 
# Compiler flag to generate thread-safe objects.
10888
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10889
 
 
10890
 
# Library versioning type.
10891
 
version_type=$version_type
10892
 
 
10893
 
# Format of library name prefix.
10894
 
libname_spec=$lt_libname_spec
10895
 
 
10896
 
# List of archive names.  First name is the real one, the rest are links.
10897
 
# The last name is the one that the linker finds with -lNAME.
10898
 
library_names_spec=$lt_library_names_spec
10899
 
 
10900
 
# The coded name of the library, if different from the real name.
10901
 
soname_spec=$lt_soname_spec
10902
 
 
10903
 
# Commands used to build and install an old-style archive.
10904
 
RANLIB=$lt_RANLIB
10905
 
old_archive_cmds=$lt_old_archive_cmds
10906
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10907
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10908
 
 
10909
 
# Create an old-style archive from a shared archive.
10910
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10911
 
 
10912
 
# Create a temporary old-style archive to link instead of a shared archive.
10913
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10914
 
 
10915
 
# Commands used to build and install a shared archive.
10916
 
archive_cmds=$lt_archive_cmds
10917
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10918
 
postinstall_cmds=$lt_postinstall_cmds
10919
 
postuninstall_cmds=$lt_postuninstall_cmds
10920
 
 
10921
 
# Commands used to build a loadable module (assumed same as above if empty)
10922
 
module_cmds=$lt_module_cmds
10923
 
module_expsym_cmds=$lt_module_expsym_cmds
10924
 
 
10925
 
# Commands to strip libraries.
10926
 
old_striplib=$lt_old_striplib
10927
 
striplib=$lt_striplib
10928
 
 
10929
 
# Dependencies to place before the objects being linked to create a
10930
 
# shared library.
10931
 
predep_objects=$lt_predep_objects
10932
 
 
10933
 
# Dependencies to place after the objects being linked to create a
10934
 
# shared library.
10935
 
postdep_objects=$lt_postdep_objects
10936
 
 
10937
 
# Dependencies to place before the objects being linked to create a
10938
 
# shared library.
10939
 
predeps=$lt_predeps
10940
 
 
10941
 
# Dependencies to place after the objects being linked to create a
10942
 
# shared library.
10943
 
postdeps=$lt_postdeps
10944
 
 
10945
 
# The directories searched by this compiler when creating a shared
10946
 
# library
10947
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10948
 
 
10949
 
# The library search path used internally by the compiler when linking
10950
 
# a shared library.
10951
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10952
 
 
10953
 
# Method to check whether dependent libraries are shared objects.
10954
 
deplibs_check_method=$lt_deplibs_check_method
10955
 
 
10956
 
# Command to use when deplibs_check_method == file_magic.
10957
 
file_magic_cmd=$lt_file_magic_cmd
10958
 
 
10959
 
# Flag that allows shared libraries with undefined symbols to be built.
10960
 
allow_undefined_flag=$lt_allow_undefined_flag
10961
 
 
10962
 
# Flag that forces no undefined symbols.
10963
 
no_undefined_flag=$lt_no_undefined_flag
10964
 
 
10965
 
# Commands used to finish a libtool library installation in a directory.
10966
 
finish_cmds=$lt_finish_cmds
10967
 
 
10968
 
# Same as above, but a single script fragment to be evaled but not shown.
10969
 
finish_eval=$lt_finish_eval
10970
 
 
10971
 
# Take the output of nm and produce a listing of raw symbols and C names.
10972
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10973
 
 
10974
 
# Transform the output of nm in a proper C declaration
10975
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10976
 
 
10977
 
# Transform the output of nm in a C name address pair
10978
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10979
 
 
10980
 
# This is the shared library runtime path variable.
10981
 
runpath_var=$runpath_var
10982
 
 
10983
 
# This is the shared library path variable.
10984
 
shlibpath_var=$shlibpath_var
10985
 
 
10986
 
# Is shlibpath searched before the hard-coded library search path?
10987
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10988
 
 
10989
 
# How to hardcode a shared library path into an executable.
10990
 
hardcode_action=$hardcode_action
10991
 
 
10992
 
# Whether we should hardcode library paths into libraries.
10993
 
hardcode_into_libs=$hardcode_into_libs
10994
 
 
10995
 
# Flag to hardcode \$libdir into a binary during linking.
10996
 
# This must work even if \$libdir does not exist.
10997
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10998
 
 
10999
 
# If ld is used when linking, flag to hardcode \$libdir into
11000
 
# a binary during linking. This must work even if \$libdir does
11001
 
# not exist.
11002
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11003
 
 
11004
 
# Whether we need a single -rpath flag with a separated argument.
11005
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11006
 
 
11007
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11008
 
# resulting binary.
11009
 
hardcode_direct=$hardcode_direct
11010
 
 
11011
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11012
 
# resulting binary.
11013
 
hardcode_minus_L=$hardcode_minus_L
11014
 
 
11015
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11016
 
# the resulting binary.
11017
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11018
 
 
11019
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11020
 
# and all subsequent libraries and executables linked against it.
11021
 
hardcode_automatic=$hardcode_automatic
11022
 
 
11023
 
# Variables whose values should be saved in libtool wrapper scripts and
11024
 
# restored at relink time.
11025
 
variables_saved_for_relink="$variables_saved_for_relink"
11026
 
 
11027
 
# Whether libtool must link a program against all its dependency libraries.
11028
 
link_all_deplibs=$link_all_deplibs
11029
 
 
11030
 
# Compile-time system search path for libraries
11031
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11032
 
 
11033
 
# Run-time system search path for libraries
11034
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11035
 
 
11036
 
# Fix the shell variable \$srcfile for the compiler.
11037
 
fix_srcfile_path=$lt_fix_srcfile_path
11038
 
 
11039
 
# Set to yes if exported symbols are required.
11040
 
always_export_symbols=$always_export_symbols
11041
 
 
11042
 
# The commands to list exported symbols.
11043
 
export_symbols_cmds=$lt_export_symbols_cmds
11044
 
 
11045
 
# The commands to extract the exported symbol list from a shared archive.
11046
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11047
 
 
11048
 
# Symbols that should not be listed in the preloaded symbols.
11049
 
exclude_expsyms=$lt_exclude_expsyms
11050
 
 
11051
 
# Symbols that must always be exported.
11052
 
include_expsyms=$lt_include_expsyms
11053
 
 
11054
 
# ### END LIBTOOL CONFIG
11055
 
 
11056
 
__EOF__
11057
 
 
11058
 
 
11059
 
  case $host_os in
11060
 
  aix3*)
11061
 
    cat <<\EOF >> "$cfgfile"
11062
 
 
11063
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11064
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11065
 
# vanish in a puff of smoke.
11066
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11067
 
  COLLECT_NAMES=
11068
 
  export COLLECT_NAMES
11069
 
fi
11070
 
EOF
11071
 
    ;;
11072
 
  esac
11073
 
 
11074
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11075
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11076
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11077
 
  # is reportedly fixed, but why not run on old versions too?
11078
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11079
 
 
11080
 
  mv -f "$cfgfile" "$ofile" || \
11081
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11082
 
  chmod +x "$ofile"
11083
 
 
11084
 
else
11085
 
  # If there is no Makefile yet, we rely on a make rule to execute
11086
 
  # `config.status --recheck' to rerun these tests and create the
11087
 
  # libtool script then.
11088
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11089
 
  if test -f "$ltmain_in"; then
11090
 
    test -f Makefile && make "$ltmain"
11091
 
  fi
11092
 
fi
11093
 
 
11094
 
 
11095
 
ac_ext=c
11096
 
ac_cpp='$CPP $CPPFLAGS'
11097
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11098
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11099
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11100
 
 
11101
 
CC="$lt_save_CC"
11102
 
 
11103
 
 
11104
 
# Check whether --with-tags was given.
11105
 
if test "${with_tags+set}" = set; then
11106
 
  withval=$with_tags; tagnames="$withval"
11107
 
fi
11108
 
 
11109
 
 
11110
 
if test -f "$ltmain" && test -n "$tagnames"; then
11111
 
  if test ! -f "${ofile}"; then
11112
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11113
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11114
 
  fi
11115
 
 
11116
 
  if test -z "$LTCC"; then
11117
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11118
 
    if test -z "$LTCC"; then
11119
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11120
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11121
 
    else
11122
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11123
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11124
 
    fi
11125
 
  fi
11126
 
  if test -z "$LTCFLAGS"; then
11127
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11128
 
  fi
11129
 
 
11130
 
  # Extract list of available tagged configurations in $ofile.
11131
 
  # Note that this assumes the entire list is on one line.
11132
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11133
 
 
11134
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11135
 
  for tagname in $tagnames; do
11136
 
    IFS="$lt_save_ifs"
11137
 
    # Check whether tagname contains only valid characters
11138
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11139
 
    "") ;;
11140
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11141
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11142
 
   { (exit 1); exit 1; }; }
11143
 
        ;;
11144
 
    esac
11145
 
 
11146
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11147
 
    then
11148
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11149
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11150
 
   { (exit 1); exit 1; }; }
11151
 
    fi
11152
 
 
11153
 
    # Update the list of available tags.
11154
 
    if test -n "$tagname"; then
11155
 
      echo appending configuration tag \"$tagname\" to $ofile
11156
 
 
11157
 
      case $tagname in
11158
 
      CXX)
11159
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11160
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11161
 
            (test "X$CXX" != "Xg++"))) ; then
11162
 
          ac_ext=cpp
11163
 
ac_cpp='$CXXCPP $CPPFLAGS'
11164
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11165
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11166
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11167
 
 
11168
 
 
11169
 
 
11170
 
 
11171
 
archive_cmds_need_lc_CXX=no
11172
 
allow_undefined_flag_CXX=
11173
 
always_export_symbols_CXX=no
11174
 
archive_expsym_cmds_CXX=
11175
 
export_dynamic_flag_spec_CXX=
11176
 
hardcode_direct_CXX=no
11177
 
hardcode_libdir_flag_spec_CXX=
11178
 
hardcode_libdir_flag_spec_ld_CXX=
11179
 
hardcode_libdir_separator_CXX=
11180
 
hardcode_minus_L_CXX=no
11181
 
hardcode_shlibpath_var_CXX=unsupported
11182
 
hardcode_automatic_CXX=no
11183
 
module_cmds_CXX=
11184
 
module_expsym_cmds_CXX=
11185
 
link_all_deplibs_CXX=unknown
11186
 
old_archive_cmds_CXX=$old_archive_cmds
11187
 
no_undefined_flag_CXX=
11188
 
whole_archive_flag_spec_CXX=
11189
 
enable_shared_with_static_runtimes_CXX=no
11190
 
 
11191
 
# Dependencies to place before and after the object being linked:
11192
 
predep_objects_CXX=
11193
 
postdep_objects_CXX=
11194
 
predeps_CXX=
11195
 
postdeps_CXX=
11196
 
compiler_lib_search_path_CXX=
11197
 
compiler_lib_search_dirs_CXX=
11198
 
 
11199
 
# Source file extension for C++ test sources.
11200
 
ac_ext=cpp
11201
 
 
11202
 
# Object file extension for compiled C++ test sources.
11203
 
objext=o
11204
 
objext_CXX=$objext
11205
 
 
11206
 
# Code to be used in simple compile tests
11207
 
lt_simple_compile_test_code="int some_variable = 0;"
11208
 
 
11209
 
# Code to be used in simple link tests
11210
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11211
 
 
11212
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11213
 
 
11214
 
# If no C compiler was specified, use CC.
11215
 
LTCC=${LTCC-"$CC"}
11216
 
 
11217
 
# If no C compiler flags were specified, use CFLAGS.
11218
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11219
 
 
11220
 
# Allow CC to be a program name with arguments.
11221
 
compiler=$CC
11222
 
 
11223
 
 
11224
 
# save warnings/boilerplate of simple test code
11225
 
ac_outfile=conftest.$ac_objext
11226
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11227
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11228
 
_lt_compiler_boilerplate=`cat conftest.err`
11229
 
$rm conftest*
11230
 
 
11231
 
ac_outfile=conftest.$ac_objext
11232
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11233
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11234
 
_lt_linker_boilerplate=`cat conftest.err`
11235
 
$rm -r conftest*
11236
 
 
11237
 
 
11238
 
# Allow CC to be a program name with arguments.
11239
 
lt_save_CC=$CC
11240
 
lt_save_LD=$LD
11241
 
lt_save_GCC=$GCC
11242
 
GCC=$GXX
11243
 
lt_save_with_gnu_ld=$with_gnu_ld
11244
 
lt_save_path_LD=$lt_cv_path_LD
11245
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11246
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11247
 
else
11248
 
  $as_unset lt_cv_prog_gnu_ld
11249
 
fi
11250
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11251
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11252
 
else
11253
 
  $as_unset lt_cv_path_LD
11254
 
fi
11255
 
test -z "${LDCXX+set}" || LD=$LDCXX
11256
 
CC=${CXX-"c++"}
11257
 
compiler=$CC
11258
 
compiler_CXX=$CC
11259
 
for cc_temp in $compiler""; do
11260
 
  case $cc_temp in
11261
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11262
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11263
 
    \-*) ;;
11264
 
    *) break;;
11265
 
  esac
11266
 
done
11267
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11268
 
 
11269
 
 
11270
 
# We don't want -fno-exception wen compiling C++ code, so set the
11271
 
# no_builtin_flag separately
11272
 
if test "$GXX" = yes; then
11273
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11274
 
else
11275
 
  lt_prog_compiler_no_builtin_flag_CXX=
11276
 
fi
11277
 
 
11278
 
if test "$GXX" = yes; then
11279
 
  # Set up default GNU C++ configuration
11280
 
 
11281
 
 
11282
 
# Check whether --with-gnu-ld was given.
11283
 
if test "${with_gnu_ld+set}" = set; then
11284
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11285
 
else
11286
 
  with_gnu_ld=no
11287
 
fi
11288
 
 
11289
 
ac_prog=ld
11290
 
if test "$GCC" = yes; then
11291
 
  # Check if gcc -print-prog-name=ld gives a path.
11292
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11293
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11294
 
  case $host in
11295
 
  *-*-mingw*)
11296
 
    # gcc leaves a trailing carriage return which upsets mingw
11297
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11298
 
  *)
11299
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11300
 
  esac
11301
 
  case $ac_prog in
11302
 
    # Accept absolute paths.
11303
 
    [\\/]* | ?:[\\/]*)
11304
 
      re_direlt='/[^/][^/]*/\.\./'
11305
 
      # Canonicalize the pathname of ld
11306
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11307
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11308
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11309
 
      done
11310
 
      test -z "$LD" && LD="$ac_prog"
11311
 
      ;;
11312
 
  "")
11313
 
    # If it fails, then pretend we aren't using GCC.
11314
 
    ac_prog=ld
11315
 
    ;;
11316
 
  *)
11317
 
    # If it is relative, then search for the first ld in PATH.
11318
 
    with_gnu_ld=unknown
11319
 
    ;;
11320
 
  esac
11321
 
elif test "$with_gnu_ld" = yes; then
11322
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11323
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11324
 
else
11325
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11326
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11327
 
fi
11328
 
if test "${lt_cv_path_LD+set}" = set; then
11329
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11330
 
else
11331
 
  if test -z "$LD"; then
11332
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11333
 
  for ac_dir in $PATH; do
11334
 
    IFS="$lt_save_ifs"
11335
 
    test -z "$ac_dir" && ac_dir=.
11336
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11337
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11338
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11339
 
      # but apparently some variants of GNU ld only accept -v.
11340
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11341
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11342
 
      *GNU* | *'with BFD'*)
11343
 
        test "$with_gnu_ld" != no && break
11344
 
        ;;
11345
 
      *)
11346
 
        test "$with_gnu_ld" != yes && break
11347
 
        ;;
11348
 
      esac
11349
 
    fi
11350
 
  done
11351
 
  IFS="$lt_save_ifs"
11352
 
else
11353
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11354
 
fi
11355
 
fi
11356
 
 
11357
 
LD="$lt_cv_path_LD"
11358
 
if test -n "$LD"; then
11359
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11360
 
echo "${ECHO_T}$LD" >&6; }
11361
 
else
11362
 
  { echo "$as_me:$LINENO: result: no" >&5
11363
 
echo "${ECHO_T}no" >&6; }
11364
 
fi
11365
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11366
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11367
 
   { (exit 1); exit 1; }; }
11368
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11369
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11370
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11371
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11372
 
else
11373
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11374
 
case `$LD -v 2>&1 </dev/null` in
11375
 
*GNU* | *'with BFD'*)
11376
 
  lt_cv_prog_gnu_ld=yes
11377
 
  ;;
11378
 
*)
11379
 
  lt_cv_prog_gnu_ld=no
11380
 
  ;;
11381
 
esac
11382
 
fi
11383
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11384
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11385
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11386
 
 
11387
 
 
11388
 
 
11389
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11390
 
  # archiving commands below assume that GNU ld is being used.
11391
 
  if test "$with_gnu_ld" = yes; then
11392
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11393
 
    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'
11394
 
 
11395
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11396
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11397
 
 
11398
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11399
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11400
 
    #     investigate it a little bit more. (MM)
11401
 
    wlarc='${wl}'
11402
 
 
11403
 
    # ancient GNU ld didn't support --whole-archive et. al.
11404
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11405
 
        grep 'no-whole-archive' > /dev/null; then
11406
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11407
 
    else
11408
 
      whole_archive_flag_spec_CXX=
11409
 
    fi
11410
 
  else
11411
 
    with_gnu_ld=no
11412
 
    wlarc=
11413
 
 
11414
 
    # A generic and very simple default shared library creation
11415
 
    # command for GNU C++ for the case where it uses the native
11416
 
    # linker, instead of GNU ld.  If possible, this setting should
11417
 
    # overridden to take advantage of the native linker features on
11418
 
    # the platform it is being used on.
11419
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11420
 
  fi
11421
 
 
11422
 
  # Commands to make compiler produce verbose output that lists
11423
 
  # what "hidden" libraries, object files and flags are used when
11424
 
  # linking a shared library.
11425
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11426
 
 
11427
 
else
11428
 
  GXX=no
11429
 
  with_gnu_ld=no
11430
 
  wlarc=
11431
 
fi
11432
 
 
11433
 
# PORTME: fill in a description of your system's C++ link characteristics
11434
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11435
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11436
 
ld_shlibs_CXX=yes
11437
 
case $host_os in
11438
 
  aix3*)
11439
 
    # FIXME: insert proper C++ library support
11440
 
    ld_shlibs_CXX=no
11441
 
    ;;
11442
 
  aix[4-9]*)
11443
 
    if test "$host_cpu" = ia64; then
11444
 
      # On IA64, the linker does run time linking by default, so we don't
11445
 
      # have to do anything special.
11446
 
      aix_use_runtimelinking=no
11447
 
      exp_sym_flag='-Bexport'
11448
 
      no_entry_flag=""
11449
 
    else
11450
 
      aix_use_runtimelinking=no
11451
 
 
11452
 
      # Test if we are trying to use run time linking or normal
11453
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11454
 
      # need to do runtime linking.
11455
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11456
 
        for ld_flag in $LDFLAGS; do
11457
 
          case $ld_flag in
11458
 
          *-brtl*)
11459
 
            aix_use_runtimelinking=yes
11460
 
            break
11461
 
            ;;
11462
 
          esac
11463
 
        done
11464
 
        ;;
11465
 
      esac
11466
 
 
11467
 
      exp_sym_flag='-bexport'
11468
 
      no_entry_flag='-bnoentry'
11469
 
    fi
11470
 
 
11471
 
    # When large executables or shared objects are built, AIX ld can
11472
 
    # have problems creating the table of contents.  If linking a library
11473
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11474
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11475
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11476
 
 
11477
 
    archive_cmds_CXX=''
11478
 
    hardcode_direct_CXX=yes
11479
 
    hardcode_libdir_separator_CXX=':'
11480
 
    link_all_deplibs_CXX=yes
11481
 
 
11482
 
    if test "$GXX" = yes; then
11483
 
      case $host_os in aix4.[012]|aix4.[012].*)
11484
 
      # We only want to do this on AIX 4.2 and lower, the check
11485
 
      # below for broken collect2 doesn't work under 4.3+
11486
 
        collect2name=`${CC} -print-prog-name=collect2`
11487
 
        if test -f "$collect2name" && \
11488
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11489
 
        then
11490
 
          # We have reworked collect2
11491
 
          :
11492
 
        else
11493
 
          # We have old collect2
11494
 
          hardcode_direct_CXX=unsupported
11495
 
          # It fails to find uninstalled libraries when the uninstalled
11496
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11497
 
          # to unsupported forces relinking
11498
 
          hardcode_minus_L_CXX=yes
11499
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11500
 
          hardcode_libdir_separator_CXX=
11501
 
        fi
11502
 
        ;;
11503
 
      esac
11504
 
      shared_flag='-shared'
11505
 
      if test "$aix_use_runtimelinking" = yes; then
11506
 
        shared_flag="$shared_flag "'${wl}-G'
11507
 
      fi
11508
 
    else
11509
 
      # not using gcc
11510
 
      if test "$host_cpu" = ia64; then
11511
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11512
 
        # chokes on -Wl,-G. The following line is correct:
11513
 
        shared_flag='-G'
11514
 
      else
11515
 
        if test "$aix_use_runtimelinking" = yes; then
11516
 
          shared_flag='${wl}-G'
11517
 
        else
11518
 
          shared_flag='${wl}-bM:SRE'
11519
 
        fi
11520
 
      fi
11521
 
    fi
11522
 
 
11523
 
    # It seems that -bexpall does not export symbols beginning with
11524
 
    # underscore (_), so it is better to generate a list of symbols to export.
11525
 
    always_export_symbols_CXX=yes
11526
 
    if test "$aix_use_runtimelinking" = yes; then
11527
 
      # Warning - without using the other runtime loading flags (-brtl),
11528
 
      # -berok will link without error, but may produce a broken library.
11529
 
      allow_undefined_flag_CXX='-berok'
11530
 
      # Determine the default libpath from the value encoded in an empty executable.
11531
 
      cat >conftest.$ac_ext <<_ACEOF
11532
 
/* confdefs.h.  */
11533
 
_ACEOF
11534
 
cat confdefs.h >>conftest.$ac_ext
11535
 
cat >>conftest.$ac_ext <<_ACEOF
11536
 
/* end confdefs.h.  */
11537
 
 
11538
 
int
11539
 
main ()
11540
 
{
11541
 
 
11542
 
  ;
11543
 
  return 0;
11544
 
}
11545
 
_ACEOF
11546
 
rm -f conftest.$ac_objext conftest$ac_exeext
11547
 
if { (ac_try="$ac_link"
11548
 
case "(($ac_try" in
11549
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11550
 
  *) ac_try_echo=$ac_try;;
11551
 
esac
11552
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11553
 
  (eval "$ac_link") 2>conftest.er1
11554
 
  ac_status=$?
11555
 
  grep -v '^ *+' conftest.er1 >conftest.err
11556
 
  rm -f conftest.er1
11557
 
  cat conftest.err >&5
11558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559
 
  (exit $ac_status); } && {
11560
 
         test -z "$ac_cxx_werror_flag" ||
11561
 
         test ! -s conftest.err
11562
 
       } && test -s conftest$ac_exeext &&
11563
 
       $as_test_x conftest$ac_exeext; then
11564
 
 
11565
 
lt_aix_libpath_sed='
11566
 
    /Import File Strings/,/^$/ {
11567
 
        /^0/ {
11568
 
            s/^0  *\(.*\)$/\1/
11569
 
            p
11570
 
        }
11571
 
    }'
11572
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11573
 
# Check for a 64-bit object if we didn't find anything.
11574
 
if test -z "$aix_libpath"; then
11575
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11576
 
fi
11577
 
else
11578
 
  echo "$as_me: failed program was:" >&5
11579
 
sed 's/^/| /' conftest.$ac_ext >&5
11580
 
 
11581
 
 
11582
 
fi
11583
 
 
11584
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11585
 
      conftest$ac_exeext conftest.$ac_ext
11586
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11587
 
 
11588
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11589
 
 
11590
 
      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"
11591
 
     else
11592
 
      if test "$host_cpu" = ia64; then
11593
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11594
 
        allow_undefined_flag_CXX="-z nodefs"
11595
 
        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"
11596
 
      else
11597
 
        # Determine the default libpath from the value encoded in an empty executable.
11598
 
        cat >conftest.$ac_ext <<_ACEOF
11599
 
/* confdefs.h.  */
11600
 
_ACEOF
11601
 
cat confdefs.h >>conftest.$ac_ext
11602
 
cat >>conftest.$ac_ext <<_ACEOF
11603
 
/* end confdefs.h.  */
11604
 
 
11605
 
int
11606
 
main ()
11607
 
{
11608
 
 
11609
 
  ;
11610
 
  return 0;
11611
 
}
11612
 
_ACEOF
11613
 
rm -f conftest.$ac_objext conftest$ac_exeext
11614
 
if { (ac_try="$ac_link"
11615
 
case "(($ac_try" in
11616
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11617
 
  *) ac_try_echo=$ac_try;;
11618
 
esac
11619
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11620
 
  (eval "$ac_link") 2>conftest.er1
11621
 
  ac_status=$?
11622
 
  grep -v '^ *+' conftest.er1 >conftest.err
11623
 
  rm -f conftest.er1
11624
 
  cat conftest.err >&5
11625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626
 
  (exit $ac_status); } && {
11627
 
         test -z "$ac_cxx_werror_flag" ||
11628
 
         test ! -s conftest.err
11629
 
       } && test -s conftest$ac_exeext &&
11630
 
       $as_test_x conftest$ac_exeext; then
11631
 
 
11632
 
lt_aix_libpath_sed='
11633
 
    /Import File Strings/,/^$/ {
11634
 
        /^0/ {
11635
 
            s/^0  *\(.*\)$/\1/
11636
 
            p
11637
 
        }
11638
 
    }'
11639
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11640
 
# Check for a 64-bit object if we didn't find anything.
11641
 
if test -z "$aix_libpath"; then
11642
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11643
 
fi
11644
 
else
11645
 
  echo "$as_me: failed program was:" >&5
11646
 
sed 's/^/| /' conftest.$ac_ext >&5
11647
 
 
11648
 
 
11649
 
fi
11650
 
 
11651
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11652
 
      conftest$ac_exeext conftest.$ac_ext
11653
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11654
 
 
11655
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11656
 
        # Warning - without using the other run time loading flags,
11657
 
        # -berok will link without error, but may produce a broken library.
11658
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11659
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11660
 
        # Exported symbols can be pulled into shared objects from archives
11661
 
        whole_archive_flag_spec_CXX='$convenience'
11662
 
        archive_cmds_need_lc_CXX=yes
11663
 
        # This is similar to how AIX traditionally builds its shared libraries.
11664
 
        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'
11665
 
      fi
11666
 
    fi
11667
 
    ;;
11668
 
 
11669
 
  beos*)
11670
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11671
 
      allow_undefined_flag_CXX=unsupported
11672
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11673
 
      # support --undefined.  This deserves some investigation.  FIXME
11674
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11675
 
    else
11676
 
      ld_shlibs_CXX=no
11677
 
    fi
11678
 
    ;;
11679
 
 
11680
 
  chorus*)
11681
 
    case $cc_basename in
11682
 
      *)
11683
 
        # FIXME: insert proper C++ library support
11684
 
        ld_shlibs_CXX=no
11685
 
        ;;
11686
 
    esac
11687
 
    ;;
11688
 
 
11689
 
  cygwin* | mingw* | pw32*)
11690
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11691
 
    # as there is no search path for DLLs.
11692
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11693
 
    allow_undefined_flag_CXX=unsupported
11694
 
    always_export_symbols_CXX=no
11695
 
    enable_shared_with_static_runtimes_CXX=yes
11696
 
 
11697
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11698
 
      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'
11699
 
      # If the export-symbols file already is a .def file (1st line
11700
 
      # is EXPORTS), use it as is; otherwise, prepend...
11701
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11702
 
        cp $export_symbols $output_objdir/$soname.def;
11703
 
      else
11704
 
        echo EXPORTS > $output_objdir/$soname.def;
11705
 
        cat $export_symbols >> $output_objdir/$soname.def;
11706
 
      fi~
11707
 
      $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'
11708
 
    else
11709
 
      ld_shlibs_CXX=no
11710
 
    fi
11711
 
  ;;
11712
 
      darwin* | rhapsody*)
11713
 
      archive_cmds_need_lc_CXX=no
11714
 
      hardcode_direct_CXX=no
11715
 
      hardcode_automatic_CXX=yes
11716
 
      hardcode_shlibpath_var_CXX=unsupported
11717
 
      whole_archive_flag_spec_CXX=''
11718
 
      link_all_deplibs_CXX=yes
11719
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11720
 
      if test "$GXX" = yes ; then
11721
 
      output_verbose_link_cmd='echo'
11722
 
      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}"
11723
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11724
 
      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}"
11725
 
      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}"
11726
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11727
 
        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}"
11728
 
        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}"
11729
 
      fi
11730
 
      else
11731
 
      case $cc_basename in
11732
 
        xlc*)
11733
 
         output_verbose_link_cmd='echo'
11734
 
          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'
11735
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11736
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11737
 
          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}'
11738
 
          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}'
11739
 
          ;;
11740
 
       *)
11741
 
         ld_shlibs_CXX=no
11742
 
          ;;
11743
 
      esac
11744
 
      fi
11745
 
        ;;
11746
 
 
11747
 
  dgux*)
11748
 
    case $cc_basename in
11749
 
      ec++*)
11750
 
        # FIXME: insert proper C++ library support
11751
 
        ld_shlibs_CXX=no
11752
 
        ;;
11753
 
      ghcx*)
11754
 
        # Green Hills C++ Compiler
11755
 
        # FIXME: insert proper C++ library support
11756
 
        ld_shlibs_CXX=no
11757
 
        ;;
11758
 
      *)
11759
 
        # FIXME: insert proper C++ library support
11760
 
        ld_shlibs_CXX=no
11761
 
        ;;
11762
 
    esac
11763
 
    ;;
11764
 
  freebsd[12]*)
11765
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11766
 
    ld_shlibs_CXX=no
11767
 
    ;;
11768
 
  freebsd-elf*)
11769
 
    archive_cmds_need_lc_CXX=no
11770
 
    ;;
11771
 
  freebsd* | dragonfly*)
11772
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11773
 
    # conventions
11774
 
    ld_shlibs_CXX=yes
11775
 
    ;;
11776
 
  gnu*)
11777
 
    ;;
11778
 
  hpux9*)
11779
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11780
 
    hardcode_libdir_separator_CXX=:
11781
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11782
 
    hardcode_direct_CXX=yes
11783
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11784
 
                                # but as the default
11785
 
                                # location of the library.
11786
 
 
11787
 
    case $cc_basename in
11788
 
    CC*)
11789
 
      # FIXME: insert proper C++ library support
11790
 
      ld_shlibs_CXX=no
11791
 
      ;;
11792
 
    aCC*)
11793
 
      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'
11794
 
      # Commands to make compiler produce verbose output that lists
11795
 
      # what "hidden" libraries, object files and flags are used when
11796
 
      # linking a shared library.
11797
 
      #
11798
 
      # There doesn't appear to be a way to prevent this compiler from
11799
 
      # explicitly linking system object files so we need to strip them
11800
 
      # from the output so that they don't get included in the library
11801
 
      # dependencies.
11802
 
      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'
11803
 
      ;;
11804
 
    *)
11805
 
      if test "$GXX" = yes; then
11806
 
        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'
11807
 
      else
11808
 
        # FIXME: insert proper C++ library support
11809
 
        ld_shlibs_CXX=no
11810
 
      fi
11811
 
      ;;
11812
 
    esac
11813
 
    ;;
11814
 
  hpux10*|hpux11*)
11815
 
    if test $with_gnu_ld = no; then
11816
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11817
 
      hardcode_libdir_separator_CXX=:
11818
 
 
11819
 
      case $host_cpu in
11820
 
      hppa*64*|ia64*) ;;
11821
 
      *)
11822
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11823
 
        ;;
11824
 
      esac
11825
 
    fi
11826
 
    case $host_cpu in
11827
 
    hppa*64*|ia64*)
11828
 
      hardcode_direct_CXX=no
11829
 
      hardcode_shlibpath_var_CXX=no
11830
 
      ;;
11831
 
    *)
11832
 
      hardcode_direct_CXX=yes
11833
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11834
 
                                              # but as the default
11835
 
                                              # location of the library.
11836
 
      ;;
11837
 
    esac
11838
 
 
11839
 
    case $cc_basename in
11840
 
      CC*)
11841
 
        # FIXME: insert proper C++ library support
11842
 
        ld_shlibs_CXX=no
11843
 
        ;;
11844
 
      aCC*)
11845
 
        case $host_cpu in
11846
 
        hppa*64*)
11847
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11848
 
          ;;
11849
 
        ia64*)
11850
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11851
 
          ;;
11852
 
        *)
11853
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11854
 
          ;;
11855
 
        esac
11856
 
        # Commands to make compiler produce verbose output that lists
11857
 
        # what "hidden" libraries, object files and flags are used when
11858
 
        # linking a shared library.
11859
 
        #
11860
 
        # There doesn't appear to be a way to prevent this compiler from
11861
 
        # explicitly linking system object files so we need to strip them
11862
 
        # from the output so that they don't get included in the library
11863
 
        # dependencies.
11864
 
        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'
11865
 
        ;;
11866
 
      *)
11867
 
        if test "$GXX" = yes; then
11868
 
          if test $with_gnu_ld = no; then
11869
 
            case $host_cpu in
11870
 
            hppa*64*)
11871
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11872
 
              ;;
11873
 
            ia64*)
11874
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11875
 
              ;;
11876
 
            *)
11877
 
              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'
11878
 
              ;;
11879
 
            esac
11880
 
          fi
11881
 
        else
11882
 
          # FIXME: insert proper C++ library support
11883
 
          ld_shlibs_CXX=no
11884
 
        fi
11885
 
        ;;
11886
 
    esac
11887
 
    ;;
11888
 
  interix[3-9]*)
11889
 
    hardcode_direct_CXX=no
11890
 
    hardcode_shlibpath_var_CXX=no
11891
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11892
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11893
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11894
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11895
 
    # default) and relocated if they conflict, which is a slow very memory
11896
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11897
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11898
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11899
 
    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'
11900
 
    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'
11901
 
    ;;
11902
 
  irix5* | irix6*)
11903
 
    case $cc_basename in
11904
 
      CC*)
11905
 
        # SGI C++
11906
 
        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'
11907
 
 
11908
 
        # Archives containing C++ object files must be created using
11909
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11910
 
        # necessary to make sure instantiated templates are included
11911
 
        # in the archive.
11912
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11913
 
        ;;
11914
 
      *)
11915
 
        if test "$GXX" = yes; then
11916
 
          if test "$with_gnu_ld" = no; then
11917
 
            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'
11918
 
          else
11919
 
            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'
11920
 
          fi
11921
 
        fi
11922
 
        link_all_deplibs_CXX=yes
11923
 
        ;;
11924
 
    esac
11925
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11926
 
    hardcode_libdir_separator_CXX=:
11927
 
    ;;
11928
 
  linux* | k*bsd*-gnu)
11929
 
    case $cc_basename in
11930
 
      KCC*)
11931
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11932
 
 
11933
 
        # KCC will only create a shared library if the output file
11934
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11935
 
        # to its proper name (with version) after linking.
11936
 
        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'
11937
 
        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'
11938
 
        # Commands to make compiler produce verbose output that lists
11939
 
        # what "hidden" libraries, object files and flags are used when
11940
 
        # linking a shared library.
11941
 
        #
11942
 
        # There doesn't appear to be a way to prevent this compiler from
11943
 
        # explicitly linking system object files so we need to strip them
11944
 
        # from the output so that they don't get included in the library
11945
 
        # dependencies.
11946
 
        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'
11947
 
 
11948
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11949
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11950
 
 
11951
 
        # Archives containing C++ object files must be created using
11952
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11953
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11954
 
        ;;
11955
 
      icpc*)
11956
 
        # Intel C++
11957
 
        with_gnu_ld=yes
11958
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11959
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11960
 
        # earlier do not add the objects themselves.
11961
 
        case `$CC -V 2>&1` in
11962
 
        *"Version 7."*)
11963
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11964
 
          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'
11965
 
          ;;
11966
 
        *)  # Version 8.0 or newer
11967
 
          tmp_idyn=
11968
 
          case $host_cpu in
11969
 
            ia64*) tmp_idyn=' -i_dynamic';;
11970
 
          esac
11971
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11972
 
          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'
11973
 
          ;;
11974
 
        esac
11975
 
        archive_cmds_need_lc_CXX=no
11976
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11977
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11978
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11979
 
        ;;
11980
 
      pgCC* | pgcpp*)
11981
 
        # Portland Group C++ compiler
11982
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11983
 
        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'
11984
 
 
11985
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11986
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11987
 
        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'
11988
 
        ;;
11989
 
      cxx*)
11990
 
        # Compaq C++
11991
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11992
 
        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'
11993
 
 
11994
 
        runpath_var=LD_RUN_PATH
11995
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11996
 
        hardcode_libdir_separator_CXX=:
11997
 
 
11998
 
        # Commands to make compiler produce verbose output that lists
11999
 
        # what "hidden" libraries, object files and flags are used when
12000
 
        # linking a shared library.
12001
 
        #
12002
 
        # There doesn't appear to be a way to prevent this compiler from
12003
 
        # explicitly linking system object files so we need to strip them
12004
 
        # from the output so that they don't get included in the library
12005
 
        # dependencies.
12006
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12007
 
        ;;
12008
 
      *)
12009
 
        case `$CC -V 2>&1 | sed 5q` in
12010
 
        *Sun\ C*)
12011
 
          # Sun C++ 5.9
12012
 
          no_undefined_flag_CXX=' -zdefs'
12013
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12014
 
          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'
12015
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12016
 
          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'
12017
 
 
12018
 
          # Not sure whether something based on
12019
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12020
 
          # would be better.
12021
 
          output_verbose_link_cmd='echo'
12022
 
 
12023
 
          # Archives containing C++ object files must be created using
12024
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12025
 
          # necessary to make sure instantiated templates are included
12026
 
          # in the archive.
12027
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12028
 
          ;;
12029
 
        esac
12030
 
        ;;
12031
 
    esac
12032
 
    ;;
12033
 
  lynxos*)
12034
 
    # FIXME: insert proper C++ library support
12035
 
    ld_shlibs_CXX=no
12036
 
    ;;
12037
 
  m88k*)
12038
 
    # FIXME: insert proper C++ library support
12039
 
    ld_shlibs_CXX=no
12040
 
    ;;
12041
 
  mvs*)
12042
 
    case $cc_basename in
12043
 
      cxx*)
12044
 
        # FIXME: insert proper C++ library support
12045
 
        ld_shlibs_CXX=no
12046
 
        ;;
12047
 
      *)
12048
 
        # FIXME: insert proper C++ library support
12049
 
        ld_shlibs_CXX=no
12050
 
        ;;
12051
 
    esac
12052
 
    ;;
12053
 
  netbsd*)
12054
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12055
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12056
 
      wlarc=
12057
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12058
 
      hardcode_direct_CXX=yes
12059
 
      hardcode_shlibpath_var_CXX=no
12060
 
    fi
12061
 
    # Workaround some broken pre-1.5 toolchains
12062
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12063
 
    ;;
12064
 
  openbsd2*)
12065
 
    # C++ shared libraries are fairly broken
12066
 
    ld_shlibs_CXX=no
12067
 
    ;;
12068
 
  openbsd*)
12069
 
    if test -f /usr/libexec/ld.so; then
12070
 
      hardcode_direct_CXX=yes
12071
 
      hardcode_shlibpath_var_CXX=no
12072
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12073
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12074
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12075
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12076
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12077
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12078
 
      fi
12079
 
      output_verbose_link_cmd='echo'
12080
 
    else
12081
 
      ld_shlibs_CXX=no
12082
 
    fi
12083
 
    ;;
12084
 
  osf3*)
12085
 
    case $cc_basename in
12086
 
      KCC*)
12087
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12088
 
 
12089
 
        # KCC will only create a shared library if the output file
12090
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12091
 
        # to its proper name (with version) after linking.
12092
 
        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'
12093
 
 
12094
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12095
 
        hardcode_libdir_separator_CXX=:
12096
 
 
12097
 
        # Archives containing C++ object files must be created using
12098
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12099
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12100
 
 
12101
 
        ;;
12102
 
      RCC*)
12103
 
        # Rational C++ 2.4.1
12104
 
        # FIXME: insert proper C++ library support
12105
 
        ld_shlibs_CXX=no
12106
 
        ;;
12107
 
      cxx*)
12108
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12109
 
        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'
12110
 
 
12111
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12112
 
        hardcode_libdir_separator_CXX=:
12113
 
 
12114
 
        # Commands to make compiler produce verbose output that lists
12115
 
        # what "hidden" libraries, object files and flags are used when
12116
 
        # linking a shared library.
12117
 
        #
12118
 
        # There doesn't appear to be a way to prevent this compiler from
12119
 
        # explicitly linking system object files so we need to strip them
12120
 
        # from the output so that they don't get included in the library
12121
 
        # dependencies.
12122
 
        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'
12123
 
        ;;
12124
 
      *)
12125
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12126
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12127
 
          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'
12128
 
 
12129
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12130
 
          hardcode_libdir_separator_CXX=:
12131
 
 
12132
 
          # Commands to make compiler produce verbose output that lists
12133
 
          # what "hidden" libraries, object files and flags are used when
12134
 
          # linking a shared library.
12135
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12136
 
 
12137
 
        else
12138
 
          # FIXME: insert proper C++ library support
12139
 
          ld_shlibs_CXX=no
12140
 
        fi
12141
 
        ;;
12142
 
    esac
12143
 
    ;;
12144
 
  osf4* | osf5*)
12145
 
    case $cc_basename in
12146
 
      KCC*)
12147
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12148
 
 
12149
 
        # KCC will only create a shared library if the output file
12150
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12151
 
        # to its proper name (with version) after linking.
12152
 
        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'
12153
 
 
12154
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12155
 
        hardcode_libdir_separator_CXX=:
12156
 
 
12157
 
        # Archives containing C++ object files must be created using
12158
 
        # the KAI C++ compiler.
12159
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12160
 
        ;;
12161
 
      RCC*)
12162
 
        # Rational C++ 2.4.1
12163
 
        # FIXME: insert proper C++ library support
12164
 
        ld_shlibs_CXX=no
12165
 
        ;;
12166
 
      cxx*)
12167
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12168
 
        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'
12169
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12170
 
          echo "-hidden">> $lib.exp~
12171
 
          $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~
12172
 
          $rm $lib.exp'
12173
 
 
12174
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12175
 
        hardcode_libdir_separator_CXX=:
12176
 
 
12177
 
        # Commands to make compiler produce verbose output that lists
12178
 
        # what "hidden" libraries, object files and flags are used when
12179
 
        # linking a shared library.
12180
 
        #
12181
 
        # There doesn't appear to be a way to prevent this compiler from
12182
 
        # explicitly linking system object files so we need to strip them
12183
 
        # from the output so that they don't get included in the library
12184
 
        # dependencies.
12185
 
        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'
12186
 
        ;;
12187
 
      *)
12188
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12189
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12190
 
         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'
12191
 
 
12192
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12193
 
          hardcode_libdir_separator_CXX=:
12194
 
 
12195
 
          # Commands to make compiler produce verbose output that lists
12196
 
          # what "hidden" libraries, object files and flags are used when
12197
 
          # linking a shared library.
12198
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12199
 
 
12200
 
        else
12201
 
          # FIXME: insert proper C++ library support
12202
 
          ld_shlibs_CXX=no
12203
 
        fi
12204
 
        ;;
12205
 
    esac
12206
 
    ;;
12207
 
  psos*)
12208
 
    # FIXME: insert proper C++ library support
12209
 
    ld_shlibs_CXX=no
12210
 
    ;;
12211
 
  sunos4*)
12212
 
    case $cc_basename in
12213
 
      CC*)
12214
 
        # Sun C++ 4.x
12215
 
        # FIXME: insert proper C++ library support
12216
 
        ld_shlibs_CXX=no
12217
 
        ;;
12218
 
      lcc*)
12219
 
        # Lucid
12220
 
        # FIXME: insert proper C++ library support
12221
 
        ld_shlibs_CXX=no
12222
 
        ;;
12223
 
      *)
12224
 
        # FIXME: insert proper C++ library support
12225
 
        ld_shlibs_CXX=no
12226
 
        ;;
12227
 
    esac
12228
 
    ;;
12229
 
  solaris*)
12230
 
    case $cc_basename in
12231
 
      CC*)
12232
 
        # Sun C++ 4.2, 5.x and Centerline C++
12233
 
        archive_cmds_need_lc_CXX=yes
12234
 
        no_undefined_flag_CXX=' -zdefs'
12235
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12236
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12237
 
        $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'
12238
 
 
12239
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12240
 
        hardcode_shlibpath_var_CXX=no
12241
 
        case $host_os in
12242
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12243
 
          *)
12244
 
            # The compiler driver will combine and reorder linker options,
12245
 
            # but understands `-z linker_flag'.
12246
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12247
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12248
 
            ;;
12249
 
        esac
12250
 
        link_all_deplibs_CXX=yes
12251
 
 
12252
 
        output_verbose_link_cmd='echo'
12253
 
 
12254
 
        # Archives containing C++ object files must be created using
12255
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12256
 
        # necessary to make sure instantiated templates are included
12257
 
        # in the archive.
12258
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12259
 
        ;;
12260
 
      gcx*)
12261
 
        # Green Hills C++ Compiler
12262
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12263
 
 
12264
 
        # The C++ compiler must be used to create the archive.
12265
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12266
 
        ;;
12267
 
      *)
12268
 
        # GNU C++ compiler with Solaris linker
12269
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12270
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12271
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12272
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12273
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12274
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12275
 
 
12276
 
            # Commands to make compiler produce verbose output that lists
12277
 
            # what "hidden" libraries, object files and flags are used when
12278
 
            # linking a shared library.
12279
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12280
 
          else
12281
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12282
 
            # platform.
12283
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12284
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12285
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12286
 
 
12287
 
            # Commands to make compiler produce verbose output that lists
12288
 
            # what "hidden" libraries, object files and flags are used when
12289
 
            # linking a shared library.
12290
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12291
 
          fi
12292
 
 
12293
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12294
 
          case $host_os in
12295
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12296
 
          *)
12297
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12298
 
            ;;
12299
 
          esac
12300
 
        fi
12301
 
        ;;
12302
 
    esac
12303
 
    ;;
12304
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12305
 
    no_undefined_flag_CXX='${wl}-z,text'
12306
 
    archive_cmds_need_lc_CXX=no
12307
 
    hardcode_shlibpath_var_CXX=no
12308
 
    runpath_var='LD_RUN_PATH'
12309
 
 
12310
 
    case $cc_basename in
12311
 
      CC*)
12312
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12313
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12314
 
        ;;
12315
 
      *)
12316
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12317
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12318
 
        ;;
12319
 
    esac
12320
 
    ;;
12321
 
  sysv5* | sco3.2v5* | sco5v6*)
12322
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12323
 
    # link with -lc, and that would cause any symbols used from libc to
12324
 
    # always be unresolved, which means just about no library would
12325
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12326
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12327
 
    # as -z defs.
12328
 
    # For security reasons, it is highly recommended that you always
12329
 
    # use absolute paths for naming shared libraries, and exclude the
12330
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12331
 
    # requires that you compile everything twice, which is a pain.
12332
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12333
 
    # non-empty value in the environment.  Most likely only useful for
12334
 
    # creating official distributions of packages.
12335
 
    # This is a hack until libtool officially supports absolute path
12336
 
    # names for shared libraries.
12337
 
    no_undefined_flag_CXX='${wl}-z,text'
12338
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12339
 
    archive_cmds_need_lc_CXX=no
12340
 
    hardcode_shlibpath_var_CXX=no
12341
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12342
 
    hardcode_libdir_separator_CXX=':'
12343
 
    link_all_deplibs_CXX=yes
12344
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12345
 
    runpath_var='LD_RUN_PATH'
12346
 
 
12347
 
    case $cc_basename in
12348
 
      CC*)
12349
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12350
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12351
 
        ;;
12352
 
      *)
12353
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12354
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12355
 
        ;;
12356
 
    esac
12357
 
    ;;
12358
 
  tandem*)
12359
 
    case $cc_basename in
12360
 
      NCC*)
12361
 
        # NonStop-UX NCC 3.20
12362
 
        # FIXME: insert proper C++ library support
12363
 
        ld_shlibs_CXX=no
12364
 
        ;;
12365
 
      *)
12366
 
        # FIXME: insert proper C++ library support
12367
 
        ld_shlibs_CXX=no
12368
 
        ;;
12369
 
    esac
12370
 
    ;;
12371
 
  vxworks*)
12372
 
    # FIXME: insert proper C++ library support
12373
 
    ld_shlibs_CXX=no
12374
 
    ;;
12375
 
  *)
12376
 
    # FIXME: insert proper C++ library support
12377
 
    ld_shlibs_CXX=no
12378
 
    ;;
12379
 
esac
12380
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12381
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12382
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12383
 
 
12384
 
GCC_CXX="$GXX"
12385
 
LD_CXX="$LD"
12386
 
 
12387
 
cat > conftest.$ac_ext <<EOF
12388
 
class Foo
12389
 
{
12390
 
public:
12391
 
  Foo (void) { a = 0; }
12392
 
private:
12393
 
  int a;
12394
 
};
12395
 
EOF
12396
 
 
12397
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12398
 
  (eval $ac_compile) 2>&5
12399
 
  ac_status=$?
12400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401
 
  (exit $ac_status); }; then
12402
 
  # Parse the compiler output and extract the necessary
12403
 
  # objects, libraries and library flags.
12404
 
 
12405
 
  # Sentinel used to keep track of whether or not we are before
12406
 
  # the conftest object file.
12407
 
  pre_test_object_deps_done=no
12408
 
 
12409
 
  # The `*' in the case matches for architectures that use `case' in
12410
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12411
 
  # eval without this substitution.
12412
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12413
 
 
12414
 
  for p in `eval $output_verbose_link_cmd`; do
12415
 
    case $p in
12416
 
 
12417
 
    -L* | -R* | -l*)
12418
 
       # Some compilers place space between "-{L,R}" and the path.
12419
 
       # Remove the space.
12420
 
       if test $p = "-L" \
12421
 
          || test $p = "-R"; then
12422
 
         prev=$p
12423
 
         continue
12424
 
       else
12425
 
         prev=
12426
 
       fi
12427
 
 
12428
 
       if test "$pre_test_object_deps_done" = no; then
12429
 
         case $p in
12430
 
         -L* | -R*)
12431
 
           # Internal compiler library paths should come after those
12432
 
           # provided the user.  The postdeps already come after the
12433
 
           # user supplied libs so there is no need to process them.
12434
 
           if test -z "$compiler_lib_search_path_CXX"; then
12435
 
             compiler_lib_search_path_CXX="${prev}${p}"
12436
 
           else
12437
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12438
 
           fi
12439
 
           ;;
12440
 
         # The "-l" case would never come before the object being
12441
 
         # linked, so don't bother handling this case.
12442
 
         esac
12443
 
       else
12444
 
         if test -z "$postdeps_CXX"; then
12445
 
           postdeps_CXX="${prev}${p}"
12446
 
         else
12447
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12448
 
         fi
12449
 
       fi
12450
 
       ;;
12451
 
 
12452
 
    *.$objext)
12453
 
       # This assumes that the test object file only shows up
12454
 
       # once in the compiler output.
12455
 
       if test "$p" = "conftest.$objext"; then
12456
 
         pre_test_object_deps_done=yes
12457
 
         continue
12458
 
       fi
12459
 
 
12460
 
       if test "$pre_test_object_deps_done" = no; then
12461
 
         if test -z "$predep_objects_CXX"; then
12462
 
           predep_objects_CXX="$p"
12463
 
         else
12464
 
           predep_objects_CXX="$predep_objects_CXX $p"
12465
 
         fi
12466
 
       else
12467
 
         if test -z "$postdep_objects_CXX"; then
12468
 
           postdep_objects_CXX="$p"
12469
 
         else
12470
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12471
 
         fi
12472
 
       fi
12473
 
       ;;
12474
 
 
12475
 
    *) ;; # Ignore the rest.
12476
 
 
12477
 
    esac
12478
 
  done
12479
 
 
12480
 
  # Clean up.
12481
 
  rm -f a.out a.exe
12482
 
else
12483
 
  echo "libtool.m4: error: problem compiling CXX test program"
12484
 
fi
12485
 
 
12486
 
$rm -f confest.$objext
12487
 
 
12488
 
compiler_lib_search_dirs_CXX=
12489
 
if test -n "$compiler_lib_search_path_CXX"; then
12490
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12491
 
fi
12492
 
 
12493
 
# PORTME: override above test on systems where it is broken
12494
 
case $host_os in
12495
 
interix[3-9]*)
12496
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12497
 
  # hack all around it, let's just trust "g++" to DTRT.
12498
 
  predep_objects_CXX=
12499
 
  postdep_objects_CXX=
12500
 
  postdeps_CXX=
12501
 
  ;;
12502
 
 
12503
 
linux*)
12504
 
  case `$CC -V 2>&1 | sed 5q` in
12505
 
  *Sun\ C*)
12506
 
    # Sun C++ 5.9
12507
 
    #
12508
 
    # The more standards-conforming stlport4 library is
12509
 
    # incompatible with the Cstd library. Avoid specifying
12510
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12511
 
    # -library=stlport4 depends on it.
12512
 
    case " $CXX $CXXFLAGS " in
12513
 
    *" -library=stlport4 "*)
12514
 
      solaris_use_stlport4=yes
12515
 
      ;;
12516
 
    esac
12517
 
    if test "$solaris_use_stlport4" != yes; then
12518
 
      postdeps_CXX='-library=Cstd -library=Crun'
12519
 
    fi
12520
 
    ;;
12521
 
  esac
12522
 
  ;;
12523
 
 
12524
 
solaris*)
12525
 
  case $cc_basename in
12526
 
  CC*)
12527
 
    # The more standards-conforming stlport4 library is
12528
 
    # incompatible with the Cstd library. Avoid specifying
12529
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12530
 
    # -library=stlport4 depends on it.
12531
 
    case " $CXX $CXXFLAGS " in
12532
 
    *" -library=stlport4 "*)
12533
 
      solaris_use_stlport4=yes
12534
 
      ;;
12535
 
    esac
12536
 
 
12537
 
    # Adding this requires a known-good setup of shared libraries for
12538
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12539
 
    # archive will be linked into the output, leading to subtle bugs.
12540
 
    if test "$solaris_use_stlport4" != yes; then
12541
 
      postdeps_CXX='-library=Cstd -library=Crun'
12542
 
    fi
12543
 
    ;;
12544
 
  esac
12545
 
  ;;
12546
 
esac
12547
 
 
12548
 
case " $postdeps_CXX " in
12549
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12550
 
esac
12551
 
 
12552
 
lt_prog_compiler_wl_CXX=
12553
 
lt_prog_compiler_pic_CXX=
12554
 
lt_prog_compiler_static_CXX=
12555
 
 
12556
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12557
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12558
 
 
12559
 
  # C++ specific cases for pic, static, wl, etc.
12560
 
  if test "$GXX" = yes; then
12561
 
    lt_prog_compiler_wl_CXX='-Wl,'
12562
 
    lt_prog_compiler_static_CXX='-static'
12563
 
 
12564
 
    case $host_os in
12565
 
    aix*)
12566
 
      # All AIX code is PIC.
12567
 
      if test "$host_cpu" = ia64; then
12568
 
        # AIX 5 now supports IA64 processor
12569
 
        lt_prog_compiler_static_CXX='-Bstatic'
12570
 
      fi
12571
 
      ;;
12572
 
    amigaos*)
12573
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12574
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12575
 
      # like `-m68040'.
12576
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12577
 
      ;;
12578
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12579
 
      # PIC is the default for these OSes.
12580
 
      ;;
12581
 
    mingw* | cygwin* | os2* | pw32*)
12582
 
      # This hack is so that the source file can tell whether it is being
12583
 
      # built for inclusion in a dll (and should export symbols for example).
12584
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12585
 
      # (--disable-auto-import) libraries
12586
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12587
 
      ;;
12588
 
    darwin* | rhapsody*)
12589
 
      # PIC is the default on this platform
12590
 
      # Common symbols not allowed in MH_DYLIB files
12591
 
      lt_prog_compiler_pic_CXX='-fno-common'
12592
 
      ;;
12593
 
    *djgpp*)
12594
 
      # DJGPP does not support shared libraries at all
12595
 
      lt_prog_compiler_pic_CXX=
12596
 
      ;;
12597
 
    interix[3-9]*)
12598
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12599
 
      # Instead, we relocate shared libraries at runtime.
12600
 
      ;;
12601
 
    sysv4*MP*)
12602
 
      if test -d /usr/nec; then
12603
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12604
 
      fi
12605
 
      ;;
12606
 
    hpux*)
12607
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12608
 
      # not for PA HP-UX.
12609
 
      case $host_cpu in
12610
 
      hppa*64*|ia64*)
12611
 
        ;;
12612
 
      *)
12613
 
        lt_prog_compiler_pic_CXX='-fPIC'
12614
 
        ;;
12615
 
      esac
12616
 
      ;;
12617
 
    *)
12618
 
      lt_prog_compiler_pic_CXX='-fPIC'
12619
 
      ;;
12620
 
    esac
12621
 
  else
12622
 
    case $host_os in
12623
 
      aix[4-9]*)
12624
 
        # All AIX code is PIC.
12625
 
        if test "$host_cpu" = ia64; then
12626
 
          # AIX 5 now supports IA64 processor
12627
 
          lt_prog_compiler_static_CXX='-Bstatic'
12628
 
        else
12629
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12630
 
        fi
12631
 
        ;;
12632
 
      chorus*)
12633
 
        case $cc_basename in
12634
 
        cxch68*)
12635
 
          # Green Hills C++ Compiler
12636
 
          # _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"
12637
 
          ;;
12638
 
        esac
12639
 
        ;;
12640
 
       darwin*)
12641
 
         # PIC is the default on this platform
12642
 
         # Common symbols not allowed in MH_DYLIB files
12643
 
         case $cc_basename in
12644
 
           xlc*)
12645
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12646
 
           lt_prog_compiler_wl_CXX='-Wl,'
12647
 
           ;;
12648
 
         esac
12649
 
       ;;
12650
 
      dgux*)
12651
 
        case $cc_basename in
12652
 
          ec++*)
12653
 
            lt_prog_compiler_pic_CXX='-KPIC'
12654
 
            ;;
12655
 
          ghcx*)
12656
 
            # Green Hills C++ Compiler
12657
 
            lt_prog_compiler_pic_CXX='-pic'
12658
 
            ;;
12659
 
          *)
12660
 
            ;;
12661
 
        esac
12662
 
        ;;
12663
 
      freebsd* | dragonfly*)
12664
 
        # FreeBSD uses GNU C++
12665
 
        ;;
12666
 
      hpux9* | hpux10* | hpux11*)
12667
 
        case $cc_basename in
12668
 
          CC*)
12669
 
            lt_prog_compiler_wl_CXX='-Wl,'
12670
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12671
 
            if test "$host_cpu" != ia64; then
12672
 
              lt_prog_compiler_pic_CXX='+Z'
12673
 
            fi
12674
 
            ;;
12675
 
          aCC*)
12676
 
            lt_prog_compiler_wl_CXX='-Wl,'
12677
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12678
 
            case $host_cpu in
12679
 
            hppa*64*|ia64*)
12680
 
              # +Z the default
12681
 
              ;;
12682
 
            *)
12683
 
              lt_prog_compiler_pic_CXX='+Z'
12684
 
              ;;
12685
 
            esac
12686
 
            ;;
12687
 
          *)
12688
 
            ;;
12689
 
        esac
12690
 
        ;;
12691
 
      interix*)
12692
 
        # This is c89, which is MS Visual C++ (no shared libs)
12693
 
        # Anyone wants to do a port?
12694
 
        ;;
12695
 
      irix5* | irix6* | nonstopux*)
12696
 
        case $cc_basename in
12697
 
          CC*)
12698
 
            lt_prog_compiler_wl_CXX='-Wl,'
12699
 
            lt_prog_compiler_static_CXX='-non_shared'
12700
 
            # CC pic flag -KPIC is the default.
12701
 
            ;;
12702
 
          *)
12703
 
            ;;
12704
 
        esac
12705
 
        ;;
12706
 
      linux* | k*bsd*-gnu)
12707
 
        case $cc_basename in
12708
 
          KCC*)
12709
 
            # KAI C++ Compiler
12710
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12711
 
            lt_prog_compiler_pic_CXX='-fPIC'
12712
 
            ;;
12713
 
          icpc* | ecpc*)
12714
 
            # Intel C++
12715
 
            lt_prog_compiler_wl_CXX='-Wl,'
12716
 
            lt_prog_compiler_pic_CXX='-KPIC'
12717
 
            lt_prog_compiler_static_CXX='-static'
12718
 
            ;;
12719
 
          pgCC* | pgcpp*)
12720
 
            # Portland Group C++ compiler.
12721
 
            lt_prog_compiler_wl_CXX='-Wl,'
12722
 
            lt_prog_compiler_pic_CXX='-fpic'
12723
 
            lt_prog_compiler_static_CXX='-Bstatic'
12724
 
            ;;
12725
 
          cxx*)
12726
 
            # Compaq C++
12727
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12728
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12729
 
            lt_prog_compiler_pic_CXX=
12730
 
            lt_prog_compiler_static_CXX='-non_shared'
12731
 
            ;;
12732
 
          *)
12733
 
            case `$CC -V 2>&1 | sed 5q` in
12734
 
            *Sun\ C*)
12735
 
              # Sun C++ 5.9
12736
 
              lt_prog_compiler_pic_CXX='-KPIC'
12737
 
              lt_prog_compiler_static_CXX='-Bstatic'
12738
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12739
 
              ;;
12740
 
            esac
12741
 
            ;;
12742
 
        esac
12743
 
        ;;
12744
 
      lynxos*)
12745
 
        ;;
12746
 
      m88k*)
12747
 
        ;;
12748
 
      mvs*)
12749
 
        case $cc_basename in
12750
 
          cxx*)
12751
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12752
 
            ;;
12753
 
          *)
12754
 
            ;;
12755
 
        esac
12756
 
        ;;
12757
 
      netbsd*)
12758
 
        ;;
12759
 
      osf3* | osf4* | osf5*)
12760
 
        case $cc_basename in
12761
 
          KCC*)
12762
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12763
 
            ;;
12764
 
          RCC*)
12765
 
            # Rational C++ 2.4.1
12766
 
            lt_prog_compiler_pic_CXX='-pic'
12767
 
            ;;
12768
 
          cxx*)
12769
 
            # Digital/Compaq C++
12770
 
            lt_prog_compiler_wl_CXX='-Wl,'
12771
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12772
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12773
 
            lt_prog_compiler_pic_CXX=
12774
 
            lt_prog_compiler_static_CXX='-non_shared'
12775
 
            ;;
12776
 
          *)
12777
 
            ;;
12778
 
        esac
12779
 
        ;;
12780
 
      psos*)
12781
 
        ;;
12782
 
      solaris*)
12783
 
        case $cc_basename in
12784
 
          CC*)
12785
 
            # Sun C++ 4.2, 5.x and Centerline C++
12786
 
            lt_prog_compiler_pic_CXX='-KPIC'
12787
 
            lt_prog_compiler_static_CXX='-Bstatic'
12788
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12789
 
            ;;
12790
 
          gcx*)
12791
 
            # Green Hills C++ Compiler
12792
 
            lt_prog_compiler_pic_CXX='-PIC'
12793
 
            ;;
12794
 
          *)
12795
 
            ;;
12796
 
        esac
12797
 
        ;;
12798
 
      sunos4*)
12799
 
        case $cc_basename in
12800
 
          CC*)
12801
 
            # Sun C++ 4.x
12802
 
            lt_prog_compiler_pic_CXX='-pic'
12803
 
            lt_prog_compiler_static_CXX='-Bstatic'
12804
 
            ;;
12805
 
          lcc*)
12806
 
            # Lucid
12807
 
            lt_prog_compiler_pic_CXX='-pic'
12808
 
            ;;
12809
 
          *)
12810
 
            ;;
12811
 
        esac
12812
 
        ;;
12813
 
      tandem*)
12814
 
        case $cc_basename in
12815
 
          NCC*)
12816
 
            # NonStop-UX NCC 3.20
12817
 
            lt_prog_compiler_pic_CXX='-KPIC'
12818
 
            ;;
12819
 
          *)
12820
 
            ;;
12821
 
        esac
12822
 
        ;;
12823
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12824
 
        case $cc_basename in
12825
 
          CC*)
12826
 
            lt_prog_compiler_wl_CXX='-Wl,'
12827
 
            lt_prog_compiler_pic_CXX='-KPIC'
12828
 
            lt_prog_compiler_static_CXX='-Bstatic'
12829
 
            ;;
12830
 
        esac
12831
 
        ;;
12832
 
      vxworks*)
12833
 
        ;;
12834
 
      *)
12835
 
        lt_prog_compiler_can_build_shared_CXX=no
12836
 
        ;;
12837
 
    esac
12838
 
  fi
12839
 
 
12840
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12841
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12842
 
 
12843
 
#
12844
 
# Check to make sure the PIC flag actually works.
12845
 
#
12846
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12847
 
 
12848
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12849
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12850
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12851
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12852
 
else
12853
 
  lt_cv_prog_compiler_pic_works_CXX=no
12854
 
  ac_outfile=conftest.$ac_objext
12855
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12856
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12857
 
   # Insert the option either (1) after the last *FLAGS variable, or
12858
 
   # (2) before a word containing "conftest.", or (3) at the end.
12859
 
   # Note that $ac_compile itself does not contain backslashes and begins
12860
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12861
 
   # The option is referenced via a variable to avoid confusing sed.
12862
 
   lt_compile=`echo "$ac_compile" | $SED \
12863
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12864
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12865
 
   -e 's:$: $lt_compiler_flag:'`
12866
 
   (eval echo "\"\$as_me:12866: $lt_compile\"" >&5)
12867
 
   (eval "$lt_compile" 2>conftest.err)
12868
 
   ac_status=$?
12869
 
   cat conftest.err >&5
12870
 
   echo "$as_me:12870: \$? = $ac_status" >&5
12871
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12872
 
     # The compiler can only warn and ignore the option if not recognized
12873
 
     # So say no if there are warnings other than the usual output.
12874
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12875
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12876
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12877
 
       lt_cv_prog_compiler_pic_works_CXX=yes
12878
 
     fi
12879
 
   fi
12880
 
   $rm conftest*
12881
 
 
12882
 
fi
12883
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12884
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12885
 
 
12886
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12887
 
    case $lt_prog_compiler_pic_CXX in
12888
 
     "" | " "*) ;;
12889
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12890
 
     esac
12891
 
else
12892
 
    lt_prog_compiler_pic_CXX=
12893
 
     lt_prog_compiler_can_build_shared_CXX=no
12894
 
fi
12895
 
 
12896
 
fi
12897
 
case $host_os in
12898
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12899
 
  *djgpp*)
12900
 
    lt_prog_compiler_pic_CXX=
12901
 
    ;;
12902
 
  *)
12903
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12904
 
    ;;
12905
 
esac
12906
 
 
12907
 
#
12908
 
# Check to make sure the static flag actually works.
12909
 
#
12910
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12911
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12912
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12913
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12914
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12915
 
else
12916
 
  lt_cv_prog_compiler_static_works_CXX=no
12917
 
   save_LDFLAGS="$LDFLAGS"
12918
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12919
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12920
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12921
 
     # The linker can only warn and ignore the option if not recognized
12922
 
     # So say no if there are warnings
12923
 
     if test -s conftest.err; then
12924
 
       # Append any errors to the config.log.
12925
 
       cat conftest.err 1>&5
12926
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12927
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12928
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12929
 
         lt_cv_prog_compiler_static_works_CXX=yes
12930
 
       fi
12931
 
     else
12932
 
       lt_cv_prog_compiler_static_works_CXX=yes
12933
 
     fi
12934
 
   fi
12935
 
   $rm -r conftest*
12936
 
   LDFLAGS="$save_LDFLAGS"
12937
 
 
12938
 
fi
12939
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12940
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12941
 
 
12942
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12943
 
    :
12944
 
else
12945
 
    lt_prog_compiler_static_CXX=
12946
 
fi
12947
 
 
12948
 
 
12949
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12950
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12951
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12952
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12953
 
else
12954
 
  lt_cv_prog_compiler_c_o_CXX=no
12955
 
   $rm -r conftest 2>/dev/null
12956
 
   mkdir conftest
12957
 
   cd conftest
12958
 
   mkdir out
12959
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12960
 
 
12961
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12962
 
   # Insert the option either (1) after the last *FLAGS variable, or
12963
 
   # (2) before a word containing "conftest.", or (3) at the end.
12964
 
   # Note that $ac_compile itself does not contain backslashes and begins
12965
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12966
 
   lt_compile=`echo "$ac_compile" | $SED \
12967
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12968
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12969
 
   -e 's:$: $lt_compiler_flag:'`
12970
 
   (eval echo "\"\$as_me:12970: $lt_compile\"" >&5)
12971
 
   (eval "$lt_compile" 2>out/conftest.err)
12972
 
   ac_status=$?
12973
 
   cat out/conftest.err >&5
12974
 
   echo "$as_me:12974: \$? = $ac_status" >&5
12975
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12976
 
   then
12977
 
     # The compiler can only warn and ignore the option if not recognized
12978
 
     # So say no if there are warnings
12979
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12980
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12981
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12982
 
       lt_cv_prog_compiler_c_o_CXX=yes
12983
 
     fi
12984
 
   fi
12985
 
   chmod u+w . 2>&5
12986
 
   $rm conftest*
12987
 
   # SGI C++ compiler will create directory out/ii_files/ for
12988
 
   # template instantiation
12989
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12990
 
   $rm out/* && rmdir out
12991
 
   cd ..
12992
 
   rmdir conftest
12993
 
   $rm conftest*
12994
 
 
12995
 
fi
12996
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12997
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12998
 
 
12999
 
 
13000
 
hard_links="nottested"
13001
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13002
 
  # do not overwrite the value of need_locks provided by the user
13003
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13004
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13005
 
  hard_links=yes
13006
 
  $rm conftest*
13007
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13008
 
  touch conftest.a
13009
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13010
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13011
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13012
 
echo "${ECHO_T}$hard_links" >&6; }
13013
 
  if test "$hard_links" = no; then
13014
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13015
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13016
 
    need_locks=warn
13017
 
  fi
13018
 
else
13019
 
  need_locks=no
13020
 
fi
13021
 
 
13022
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13023
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13024
 
 
13025
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13026
 
  case $host_os in
13027
 
  aix[4-9]*)
13028
 
    # If we're using GNU nm, then we don't want the "-C" option.
13029
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13030
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13031
 
      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'
13032
 
    else
13033
 
      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'
13034
 
    fi
13035
 
    ;;
13036
 
  pw32*)
13037
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13038
 
  ;;
13039
 
  cygwin* | mingw*)
13040
 
    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'
13041
 
  ;;
13042
 
  *)
13043
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13044
 
  ;;
13045
 
  esac
13046
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13047
 
 
13048
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13049
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13050
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13051
 
 
13052
 
#
13053
 
# Do we need to explicitly link libc?
13054
 
#
13055
 
case "x$archive_cmds_need_lc_CXX" in
13056
 
x|xyes)
13057
 
  # Assume -lc should be added
13058
 
  archive_cmds_need_lc_CXX=yes
13059
 
 
13060
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13061
 
    case $archive_cmds_CXX in
13062
 
    *'~'*)
13063
 
      # FIXME: we may have to deal with multi-command sequences.
13064
 
      ;;
13065
 
    '$CC '*)
13066
 
      # Test whether the compiler implicitly links with -lc since on some
13067
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13068
 
      # to ld, don't add -lc before -lgcc.
13069
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13070
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13071
 
      $rm conftest*
13072
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13073
 
 
13074
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13075
 
  (eval $ac_compile) 2>&5
13076
 
  ac_status=$?
13077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078
 
  (exit $ac_status); } 2>conftest.err; then
13079
 
        soname=conftest
13080
 
        lib=conftest
13081
 
        libobjs=conftest.$ac_objext
13082
 
        deplibs=
13083
 
        wl=$lt_prog_compiler_wl_CXX
13084
 
        pic_flag=$lt_prog_compiler_pic_CXX
13085
 
        compiler_flags=-v
13086
 
        linker_flags=-v
13087
 
        verstring=
13088
 
        output_objdir=.
13089
 
        libname=conftest
13090
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13091
 
        allow_undefined_flag_CXX=
13092
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13093
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13094
 
  ac_status=$?
13095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096
 
  (exit $ac_status); }
13097
 
        then
13098
 
          archive_cmds_need_lc_CXX=no
13099
 
        else
13100
 
          archive_cmds_need_lc_CXX=yes
13101
 
        fi
13102
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13103
 
      else
13104
 
        cat conftest.err 1>&5
13105
 
      fi
13106
 
      $rm conftest*
13107
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13108
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13109
 
      ;;
13110
 
    esac
13111
 
  fi
13112
 
  ;;
13113
 
esac
13114
 
 
13115
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13116
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13117
 
library_names_spec=
13118
 
libname_spec='lib$name'
13119
 
soname_spec=
13120
 
shrext_cmds=".so"
13121
 
postinstall_cmds=
13122
 
postuninstall_cmds=
13123
 
finish_cmds=
13124
 
finish_eval=
13125
 
shlibpath_var=
13126
 
shlibpath_overrides_runpath=unknown
13127
 
version_type=none
13128
 
dynamic_linker="$host_os ld.so"
13129
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13130
 
 
13131
 
need_lib_prefix=unknown
13132
 
hardcode_into_libs=no
13133
 
 
13134
 
# when you set need_version to no, make sure it does not cause -set_version
13135
 
# flags to be left without arguments
13136
 
need_version=unknown
13137
 
 
13138
 
case $host_os in
13139
 
aix3*)
13140
 
  version_type=linux
13141
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13142
 
  shlibpath_var=LIBPATH
13143
 
 
13144
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13145
 
  soname_spec='${libname}${release}${shared_ext}$major'
13146
 
  ;;
13147
 
 
13148
 
aix[4-9]*)
13149
 
  version_type=linux
13150
 
  need_lib_prefix=no
13151
 
  need_version=no
13152
 
  hardcode_into_libs=yes
13153
 
  if test "$host_cpu" = ia64; then
13154
 
    # AIX 5 supports IA64
13155
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13156
 
    shlibpath_var=LD_LIBRARY_PATH
13157
 
  else
13158
 
    # With GCC up to 2.95.x, collect2 would create an import file
13159
 
    # for dependence libraries.  The import file would start with
13160
 
    # the line `#! .'.  This would cause the generated library to
13161
 
    # depend on `.', always an invalid library.  This was fixed in
13162
 
    # development snapshots of GCC prior to 3.0.
13163
 
    case $host_os in
13164
 
      aix4 | aix4.[01] | aix4.[01].*)
13165
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13166
 
           echo ' yes '
13167
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13168
 
        :
13169
 
      else
13170
 
        can_build_shared=no
13171
 
      fi
13172
 
      ;;
13173
 
    esac
13174
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13175
 
    # soname into executable. Probably we can add versioning support to
13176
 
    # collect2, so additional links can be useful in future.
13177
 
    if test "$aix_use_runtimelinking" = yes; then
13178
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13179
 
      # instead of lib<name>.a to let people know that these are not
13180
 
      # typical AIX shared libraries.
13181
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13182
 
    else
13183
 
      # We preserve .a as extension for shared libraries through AIX4.2
13184
 
      # and later when we are not doing run time linking.
13185
 
      library_names_spec='${libname}${release}.a $libname.a'
13186
 
      soname_spec='${libname}${release}${shared_ext}$major'
13187
 
    fi
13188
 
    shlibpath_var=LIBPATH
13189
 
  fi
13190
 
  ;;
13191
 
 
13192
 
amigaos*)
13193
 
  library_names_spec='$libname.ixlibrary $libname.a'
13194
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13195
 
  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'
13196
 
  ;;
13197
 
 
13198
 
beos*)
13199
 
  library_names_spec='${libname}${shared_ext}'
13200
 
  dynamic_linker="$host_os ld.so"
13201
 
  shlibpath_var=LIBRARY_PATH
13202
 
  ;;
13203
 
 
13204
 
bsdi[45]*)
13205
 
  version_type=linux
13206
 
  need_version=no
13207
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13208
 
  soname_spec='${libname}${release}${shared_ext}$major'
13209
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13210
 
  shlibpath_var=LD_LIBRARY_PATH
13211
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13212
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13213
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13214
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13215
 
  # libtool to hard-code these into programs
13216
 
  ;;
13217
 
 
13218
 
cygwin* | mingw* | pw32*)
13219
 
  version_type=windows
13220
 
  shrext_cmds=".dll"
13221
 
  need_version=no
13222
 
  need_lib_prefix=no
13223
 
 
13224
 
  case $GCC,$host_os in
13225
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13226
 
    library_names_spec='$libname.dll.a'
13227
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13228
 
    postinstall_cmds='base_file=`basename \${file}`~
13229
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13230
 
      dldir=$destdir/`dirname \$dlpath`~
13231
 
      test -d \$dldir || mkdir -p \$dldir~
13232
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13233
 
      chmod a+x \$dldir/$dlname'
13234
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13235
 
      dlpath=$dir/\$dldll~
13236
 
       $rm \$dlpath'
13237
 
    shlibpath_overrides_runpath=yes
13238
 
 
13239
 
    case $host_os in
13240
 
    cygwin*)
13241
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13242
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13243
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13244
 
      ;;
13245
 
    mingw*)
13246
 
      # MinGW DLLs use traditional 'lib' prefix
13247
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13248
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13249
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13250
 
        # It is most probably a Windows format PATH printed by
13251
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13252
 
        # path with ; separators, and with drive letters. We can handle the
13253
 
        # drive letters (cygwin fileutils understands them), so leave them,
13254
 
        # especially as we might pass files found there to a mingw objdump,
13255
 
        # which wouldn't understand a cygwinified path. Ahh.
13256
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13257
 
      else
13258
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13259
 
      fi
13260
 
      ;;
13261
 
    pw32*)
13262
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13263
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13264
 
      ;;
13265
 
    esac
13266
 
    ;;
13267
 
 
13268
 
  *)
13269
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13270
 
    ;;
13271
 
  esac
13272
 
  dynamic_linker='Win32 ld.exe'
13273
 
  # FIXME: first we should search . and the directory the executable is in
13274
 
  shlibpath_var=PATH
13275
 
  ;;
13276
 
 
13277
 
darwin* | rhapsody*)
13278
 
  dynamic_linker="$host_os dyld"
13279
 
  version_type=darwin
13280
 
  need_lib_prefix=no
13281
 
  need_version=no
13282
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13283
 
  soname_spec='${libname}${release}${major}$shared_ext'
13284
 
  shlibpath_overrides_runpath=yes
13285
 
  shlibpath_var=DYLD_LIBRARY_PATH
13286
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13287
 
 
13288
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13289
 
  ;;
13290
 
 
13291
 
dgux*)
13292
 
  version_type=linux
13293
 
  need_lib_prefix=no
13294
 
  need_version=no
13295
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13296
 
  soname_spec='${libname}${release}${shared_ext}$major'
13297
 
  shlibpath_var=LD_LIBRARY_PATH
13298
 
  ;;
13299
 
 
13300
 
freebsd1*)
13301
 
  dynamic_linker=no
13302
 
  ;;
13303
 
 
13304
 
freebsd* | dragonfly*)
13305
 
  # DragonFly does not have aout.  When/if they implement a new
13306
 
  # versioning mechanism, adjust this.
13307
 
  if test -x /usr/bin/objformat; then
13308
 
    objformat=`/usr/bin/objformat`
13309
 
  else
13310
 
    case $host_os in
13311
 
    freebsd[123]*) objformat=aout ;;
13312
 
    *) objformat=elf ;;
13313
 
    esac
13314
 
  fi
13315
 
  # Handle Gentoo/FreeBSD as it was Linux
13316
 
  case $host_vendor in
13317
 
    gentoo)
13318
 
      version_type=linux ;;
13319
 
    *)
13320
 
      version_type=freebsd-$objformat ;;
13321
 
  esac
13322
 
 
13323
 
  case $version_type in
13324
 
    freebsd-elf*)
13325
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13326
 
      need_version=no
13327
 
      need_lib_prefix=no
13328
 
      ;;
13329
 
    freebsd-*)
13330
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13331
 
      need_version=yes
13332
 
      ;;
13333
 
    linux)
13334
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13335
 
      soname_spec='${libname}${release}${shared_ext}$major'
13336
 
      need_lib_prefix=no
13337
 
      need_version=no
13338
 
      ;;
13339
 
  esac
13340
 
  shlibpath_var=LD_LIBRARY_PATH
13341
 
  case $host_os in
13342
 
  freebsd2*)
13343
 
    shlibpath_overrides_runpath=yes
13344
 
    ;;
13345
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13346
 
    shlibpath_overrides_runpath=yes
13347
 
    hardcode_into_libs=yes
13348
 
    ;;
13349
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13350
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13351
 
    shlibpath_overrides_runpath=no
13352
 
    hardcode_into_libs=yes
13353
 
    ;;
13354
 
  *) # from 4.6 on, and DragonFly
13355
 
    shlibpath_overrides_runpath=yes
13356
 
    hardcode_into_libs=yes
13357
 
    ;;
13358
 
  esac
13359
 
  ;;
13360
 
 
13361
 
gnu*)
13362
 
  version_type=linux
13363
 
  need_lib_prefix=no
13364
 
  need_version=no
13365
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13366
 
  soname_spec='${libname}${release}${shared_ext}$major'
13367
 
  shlibpath_var=LD_LIBRARY_PATH
13368
 
  hardcode_into_libs=yes
13369
 
  ;;
13370
 
 
13371
 
hpux9* | hpux10* | hpux11*)
13372
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13373
 
  # link against other versions.
13374
 
  version_type=sunos
13375
 
  need_lib_prefix=no
13376
 
  need_version=no
13377
 
  case $host_cpu in
13378
 
  ia64*)
13379
 
    shrext_cmds='.so'
13380
 
    hardcode_into_libs=yes
13381
 
    dynamic_linker="$host_os dld.so"
13382
 
    shlibpath_var=LD_LIBRARY_PATH
13383
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13384
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13385
 
    soname_spec='${libname}${release}${shared_ext}$major'
13386
 
    if test "X$HPUX_IA64_MODE" = X32; then
13387
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13388
 
    else
13389
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13390
 
    fi
13391
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13392
 
    ;;
13393
 
   hppa*64*)
13394
 
     shrext_cmds='.sl'
13395
 
     hardcode_into_libs=yes
13396
 
     dynamic_linker="$host_os dld.sl"
13397
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13398
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13399
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13400
 
     soname_spec='${libname}${release}${shared_ext}$major'
13401
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13402
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13403
 
     ;;
13404
 
   *)
13405
 
    shrext_cmds='.sl'
13406
 
    dynamic_linker="$host_os dld.sl"
13407
 
    shlibpath_var=SHLIB_PATH
13408
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13409
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13410
 
    soname_spec='${libname}${release}${shared_ext}$major'
13411
 
    ;;
13412
 
  esac
13413
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13414
 
  postinstall_cmds='chmod 555 $lib'
13415
 
  ;;
13416
 
 
13417
 
interix[3-9]*)
13418
 
  version_type=linux
13419
 
  need_lib_prefix=no
13420
 
  need_version=no
13421
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13422
 
  soname_spec='${libname}${release}${shared_ext}$major'
13423
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13424
 
  shlibpath_var=LD_LIBRARY_PATH
13425
 
  shlibpath_overrides_runpath=no
13426
 
  hardcode_into_libs=yes
13427
 
  ;;
13428
 
 
13429
 
irix5* | irix6* | nonstopux*)
13430
 
  case $host_os in
13431
 
    nonstopux*) version_type=nonstopux ;;
13432
 
    *)
13433
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13434
 
                version_type=linux
13435
 
        else
13436
 
                version_type=irix
13437
 
        fi ;;
13438
 
  esac
13439
 
  need_lib_prefix=no
13440
 
  need_version=no
13441
 
  soname_spec='${libname}${release}${shared_ext}$major'
13442
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13443
 
  case $host_os in
13444
 
  irix5* | nonstopux*)
13445
 
    libsuff= shlibsuff=
13446
 
    ;;
13447
 
  *)
13448
 
    case $LD in # libtool.m4 will add one of these switches to LD
13449
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13450
 
      libsuff= shlibsuff= libmagic=32-bit;;
13451
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13452
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13453
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13454
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13455
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13456
 
    esac
13457
 
    ;;
13458
 
  esac
13459
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13460
 
  shlibpath_overrides_runpath=no
13461
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13462
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13463
 
  hardcode_into_libs=yes
13464
 
  ;;
13465
 
 
13466
 
# No shared lib support for Linux oldld, aout, or coff.
13467
 
linux*oldld* | linux*aout* | linux*coff*)
13468
 
  dynamic_linker=no
13469
 
  ;;
13470
 
 
13471
 
# This must be Linux ELF.
13472
 
linux* | k*bsd*-gnu)
13473
 
  version_type=linux
13474
 
  need_lib_prefix=no
13475
 
  need_version=no
13476
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13477
 
  soname_spec='${libname}${release}${shared_ext}$major'
13478
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13479
 
  shlibpath_var=LD_LIBRARY_PATH
13480
 
  shlibpath_overrides_runpath=no
13481
 
  # This implies no fast_install, which is unacceptable.
13482
 
  # Some rework will be needed to allow for fast_install
13483
 
  # before this can be enabled.
13484
 
  hardcode_into_libs=yes
13485
 
 
13486
 
  # Append ld.so.conf contents to the search path
13487
 
  if test -f /etc/ld.so.conf; then
13488
 
    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' ' '`
13489
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13490
 
  fi
13491
 
 
13492
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13493
 
  # powerpc, because MkLinux only supported shared libraries with the
13494
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13495
 
  # most powerpc-linux boxes support dynamic linking these days and
13496
 
  # people can always --disable-shared, the test was removed, and we
13497
 
  # assume the GNU/Linux dynamic linker is in use.
13498
 
  dynamic_linker='GNU/Linux ld.so'
13499
 
  ;;
13500
 
 
13501
 
netbsd*)
13502
 
  version_type=sunos
13503
 
  need_lib_prefix=no
13504
 
  need_version=no
13505
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13506
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13507
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13508
 
    dynamic_linker='NetBSD (a.out) ld.so'
13509
 
  else
13510
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13511
 
    soname_spec='${libname}${release}${shared_ext}$major'
13512
 
    dynamic_linker='NetBSD ld.elf_so'
13513
 
  fi
13514
 
  shlibpath_var=LD_LIBRARY_PATH
13515
 
  shlibpath_overrides_runpath=yes
13516
 
  hardcode_into_libs=yes
13517
 
  ;;
13518
 
 
13519
 
newsos6)
13520
 
  version_type=linux
13521
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13522
 
  shlibpath_var=LD_LIBRARY_PATH
13523
 
  shlibpath_overrides_runpath=yes
13524
 
  ;;
13525
 
 
13526
 
nto-qnx*)
13527
 
  version_type=linux
13528
 
  need_lib_prefix=no
13529
 
  need_version=no
13530
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13531
 
  soname_spec='${libname}${release}${shared_ext}$major'
13532
 
  shlibpath_var=LD_LIBRARY_PATH
13533
 
  shlibpath_overrides_runpath=yes
13534
 
  ;;
13535
 
 
13536
 
openbsd*)
13537
 
  version_type=sunos
13538
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13539
 
  need_lib_prefix=no
13540
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13541
 
  case $host_os in
13542
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13543
 
    *)                         need_version=no  ;;
13544
 
  esac
13545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13546
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13547
 
  shlibpath_var=LD_LIBRARY_PATH
13548
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13549
 
    case $host_os in
13550
 
      openbsd2.[89] | openbsd2.[89].*)
13551
 
        shlibpath_overrides_runpath=no
13552
 
        ;;
13553
 
      *)
13554
 
        shlibpath_overrides_runpath=yes
13555
 
        ;;
13556
 
      esac
13557
 
  else
13558
 
    shlibpath_overrides_runpath=yes
13559
 
  fi
13560
 
  ;;
13561
 
 
13562
 
os2*)
13563
 
  libname_spec='$name'
13564
 
  shrext_cmds=".dll"
13565
 
  need_lib_prefix=no
13566
 
  library_names_spec='$libname${shared_ext} $libname.a'
13567
 
  dynamic_linker='OS/2 ld.exe'
13568
 
  shlibpath_var=LIBPATH
13569
 
  ;;
13570
 
 
13571
 
osf3* | osf4* | osf5*)
13572
 
  version_type=osf
13573
 
  need_lib_prefix=no
13574
 
  need_version=no
13575
 
  soname_spec='${libname}${release}${shared_ext}$major'
13576
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13577
 
  shlibpath_var=LD_LIBRARY_PATH
13578
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13579
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13580
 
  ;;
13581
 
 
13582
 
rdos*)
13583
 
  dynamic_linker=no
13584
 
  ;;
13585
 
 
13586
 
solaris*)
13587
 
  version_type=linux
13588
 
  need_lib_prefix=no
13589
 
  need_version=no
13590
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13591
 
  soname_spec='${libname}${release}${shared_ext}$major'
13592
 
  shlibpath_var=LD_LIBRARY_PATH
13593
 
  shlibpath_overrides_runpath=yes
13594
 
  hardcode_into_libs=yes
13595
 
  # ldd complains unless libraries are executable
13596
 
  postinstall_cmds='chmod +x $lib'
13597
 
  ;;
13598
 
 
13599
 
sunos4*)
13600
 
  version_type=sunos
13601
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13602
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13603
 
  shlibpath_var=LD_LIBRARY_PATH
13604
 
  shlibpath_overrides_runpath=yes
13605
 
  if test "$with_gnu_ld" = yes; then
13606
 
    need_lib_prefix=no
13607
 
  fi
13608
 
  need_version=yes
13609
 
  ;;
13610
 
 
13611
 
sysv4 | sysv4.3*)
13612
 
  version_type=linux
13613
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13614
 
  soname_spec='${libname}${release}${shared_ext}$major'
13615
 
  shlibpath_var=LD_LIBRARY_PATH
13616
 
  case $host_vendor in
13617
 
    sni)
13618
 
      shlibpath_overrides_runpath=no
13619
 
      need_lib_prefix=no
13620
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13621
 
      runpath_var=LD_RUN_PATH
13622
 
      ;;
13623
 
    siemens)
13624
 
      need_lib_prefix=no
13625
 
      ;;
13626
 
    motorola)
13627
 
      need_lib_prefix=no
13628
 
      need_version=no
13629
 
      shlibpath_overrides_runpath=no
13630
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13631
 
      ;;
13632
 
  esac
13633
 
  ;;
13634
 
 
13635
 
sysv4*MP*)
13636
 
  if test -d /usr/nec ;then
13637
 
    version_type=linux
13638
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13639
 
    soname_spec='$libname${shared_ext}.$major'
13640
 
    shlibpath_var=LD_LIBRARY_PATH
13641
 
  fi
13642
 
  ;;
13643
 
 
13644
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13645
 
  version_type=freebsd-elf
13646
 
  need_lib_prefix=no
13647
 
  need_version=no
13648
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13649
 
  soname_spec='${libname}${release}${shared_ext}$major'
13650
 
  shlibpath_var=LD_LIBRARY_PATH
13651
 
  hardcode_into_libs=yes
13652
 
  if test "$with_gnu_ld" = yes; then
13653
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13654
 
    shlibpath_overrides_runpath=no
13655
 
  else
13656
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13657
 
    shlibpath_overrides_runpath=yes
13658
 
    case $host_os in
13659
 
      sco3.2v5*)
13660
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13661
 
        ;;
13662
 
    esac
13663
 
  fi
13664
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13665
 
  ;;
13666
 
 
13667
 
uts4*)
13668
 
  version_type=linux
13669
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13670
 
  soname_spec='${libname}${release}${shared_ext}$major'
13671
 
  shlibpath_var=LD_LIBRARY_PATH
13672
 
  ;;
13673
 
 
13674
 
*)
13675
 
  dynamic_linker=no
13676
 
  ;;
13677
 
esac
13678
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13679
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13680
 
test "$dynamic_linker" = no && can_build_shared=no
13681
 
 
13682
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13684
 
else
13685
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13686
 
fi
13687
 
 
13688
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13689
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13690
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13691
 
else
13692
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13693
 
fi
13694
 
 
13695
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13696
 
 
13697
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13698
 
if test "$GCC" = yes; then
13699
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13700
 
fi
13701
 
 
13702
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13703
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13704
 
hardcode_action_CXX=
13705
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13706
 
   test -n "$runpath_var_CXX" || \
13707
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13708
 
 
13709
 
  # We can hardcode non-existant directories.
13710
 
  if test "$hardcode_direct_CXX" != no &&
13711
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13712
 
     # have to relink, otherwise we might link with an installed library
13713
 
     # when we should be linking with a yet-to-be-installed one
13714
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13715
 
     test "$hardcode_minus_L_CXX" != no; then
13716
 
    # Linking always hardcodes the temporary library directory.
13717
 
    hardcode_action_CXX=relink
13718
 
  else
13719
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13720
 
    hardcode_action_CXX=immediate
13721
 
  fi
13722
 
else
13723
 
  # We cannot hardcode anything, or else we can only hardcode existing
13724
 
  # directories.
13725
 
  hardcode_action_CXX=unsupported
13726
 
fi
13727
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13728
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13729
 
 
13730
 
if test "$hardcode_action_CXX" = relink; then
13731
 
  # Fast installation is not supported
13732
 
  enable_fast_install=no
13733
 
elif test "$shlibpath_overrides_runpath" = yes ||
13734
 
     test "$enable_shared" = no; then
13735
 
  # Fast installation is not necessary
13736
 
  enable_fast_install=needless
13737
 
fi
13738
 
 
13739
 
 
13740
 
# The else clause should only fire when bootstrapping the
13741
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13742
 
# with your package, and you will get complaints that there are
13743
 
# no rules to generate ltmain.sh.
13744
 
if test -f "$ltmain"; then
13745
 
  # See if we are running on zsh, and set the options which allow our commands through
13746
 
  # without removal of \ escapes.
13747
 
  if test -n "${ZSH_VERSION+set}" ; then
13748
 
    setopt NO_GLOB_SUBST
13749
 
  fi
13750
 
  # Now quote all the things that may contain metacharacters while being
13751
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13752
 
  # variables and quote the copies for generation of the libtool script.
13753
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13754
 
    SED SHELL STRIP \
13755
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13756
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13757
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13758
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13759
 
    lt_cv_sys_global_symbol_to_c_name_address \
13760
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13761
 
    old_postinstall_cmds old_postuninstall_cmds \
13762
 
    compiler_CXX \
13763
 
    CC_CXX \
13764
 
    LD_CXX \
13765
 
    lt_prog_compiler_wl_CXX \
13766
 
    lt_prog_compiler_pic_CXX \
13767
 
    lt_prog_compiler_static_CXX \
13768
 
    lt_prog_compiler_no_builtin_flag_CXX \
13769
 
    export_dynamic_flag_spec_CXX \
13770
 
    thread_safe_flag_spec_CXX \
13771
 
    whole_archive_flag_spec_CXX \
13772
 
    enable_shared_with_static_runtimes_CXX \
13773
 
    old_archive_cmds_CXX \
13774
 
    old_archive_from_new_cmds_CXX \
13775
 
    predep_objects_CXX \
13776
 
    postdep_objects_CXX \
13777
 
    predeps_CXX \
13778
 
    postdeps_CXX \
13779
 
    compiler_lib_search_path_CXX \
13780
 
    compiler_lib_search_dirs_CXX \
13781
 
    archive_cmds_CXX \
13782
 
    archive_expsym_cmds_CXX \
13783
 
    postinstall_cmds_CXX \
13784
 
    postuninstall_cmds_CXX \
13785
 
    old_archive_from_expsyms_cmds_CXX \
13786
 
    allow_undefined_flag_CXX \
13787
 
    no_undefined_flag_CXX \
13788
 
    export_symbols_cmds_CXX \
13789
 
    hardcode_libdir_flag_spec_CXX \
13790
 
    hardcode_libdir_flag_spec_ld_CXX \
13791
 
    hardcode_libdir_separator_CXX \
13792
 
    hardcode_automatic_CXX \
13793
 
    module_cmds_CXX \
13794
 
    module_expsym_cmds_CXX \
13795
 
    lt_cv_prog_compiler_c_o_CXX \
13796
 
    fix_srcfile_path_CXX \
13797
 
    exclude_expsyms_CXX \
13798
 
    include_expsyms_CXX; do
13799
 
 
13800
 
    case $var in
13801
 
    old_archive_cmds_CXX | \
13802
 
    old_archive_from_new_cmds_CXX | \
13803
 
    archive_cmds_CXX | \
13804
 
    archive_expsym_cmds_CXX | \
13805
 
    module_cmds_CXX | \
13806
 
    module_expsym_cmds_CXX | \
13807
 
    old_archive_from_expsyms_cmds_CXX | \
13808
 
    export_symbols_cmds_CXX | \
13809
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13810
 
    postinstall_cmds | postuninstall_cmds | \
13811
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13812
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13813
 
      # Double-quote double-evaled strings.
13814
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13815
 
      ;;
13816
 
    *)
13817
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13818
 
      ;;
13819
 
    esac
13820
 
  done
13821
 
 
13822
 
  case $lt_echo in
13823
 
  *'\$0 --fallback-echo"')
13824
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13825
 
    ;;
13826
 
  esac
13827
 
 
13828
 
cfgfile="$ofile"
13829
 
 
13830
 
  cat <<__EOF__ >> "$cfgfile"
13831
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13832
 
 
13833
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13834
 
 
13835
 
# Shell to use when invoking shell scripts.
13836
 
SHELL=$lt_SHELL
13837
 
 
13838
 
# Whether or not to build shared libraries.
13839
 
build_libtool_libs=$enable_shared
13840
 
 
13841
 
# Whether or not to build static libraries.
13842
 
build_old_libs=$enable_static
13843
 
 
13844
 
# Whether or not to add -lc for building shared libraries.
13845
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13846
 
 
13847
 
# Whether or not to disallow shared libs when runtime libs are static
13848
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13849
 
 
13850
 
# Whether or not to optimize for fast installation.
13851
 
fast_install=$enable_fast_install
13852
 
 
13853
 
# The host system.
13854
 
host_alias=$host_alias
13855
 
host=$host
13856
 
host_os=$host_os
13857
 
 
13858
 
# The build system.
13859
 
build_alias=$build_alias
13860
 
build=$build
13861
 
build_os=$build_os
13862
 
 
13863
 
# An echo program that does not interpret backslashes.
13864
 
echo=$lt_echo
13865
 
 
13866
 
# The archiver.
13867
 
AR=$lt_AR
13868
 
AR_FLAGS=$lt_AR_FLAGS
13869
 
 
13870
 
# A C compiler.
13871
 
LTCC=$lt_LTCC
13872
 
 
13873
 
# LTCC compiler flags.
13874
 
LTCFLAGS=$lt_LTCFLAGS
13875
 
 
13876
 
# A language-specific compiler.
13877
 
CC=$lt_compiler_CXX
13878
 
 
13879
 
# Is the compiler the GNU C compiler?
13880
 
with_gcc=$GCC_CXX
13881
 
 
13882
 
# An ERE matcher.
13883
 
EGREP=$lt_EGREP
13884
 
 
13885
 
# The linker used to build libraries.
13886
 
LD=$lt_LD_CXX
13887
 
 
13888
 
# Whether we need hard or soft links.
13889
 
LN_S=$lt_LN_S
13890
 
 
13891
 
# A BSD-compatible nm program.
13892
 
NM=$lt_NM
13893
 
 
13894
 
# A symbol stripping program
13895
 
STRIP=$lt_STRIP
13896
 
 
13897
 
# Used to examine libraries when file_magic_cmd begins "file"
13898
 
MAGIC_CMD=$MAGIC_CMD
13899
 
 
13900
 
# Used on cygwin: DLL creation program.
13901
 
DLLTOOL="$DLLTOOL"
13902
 
 
13903
 
# Used on cygwin: object dumper.
13904
 
OBJDUMP="$OBJDUMP"
13905
 
 
13906
 
# Used on cygwin: assembler.
13907
 
AS="$AS"
13908
 
 
13909
 
# The name of the directory that contains temporary libtool files.
13910
 
objdir=$objdir
13911
 
 
13912
 
# How to create reloadable object files.
13913
 
reload_flag=$lt_reload_flag
13914
 
reload_cmds=$lt_reload_cmds
13915
 
 
13916
 
# How to pass a linker flag through the compiler.
13917
 
wl=$lt_lt_prog_compiler_wl_CXX
13918
 
 
13919
 
# Object file suffix (normally "o").
13920
 
objext="$ac_objext"
13921
 
 
13922
 
# Old archive suffix (normally "a").
13923
 
libext="$libext"
13924
 
 
13925
 
# Shared library suffix (normally ".so").
13926
 
shrext_cmds='$shrext_cmds'
13927
 
 
13928
 
# Executable file suffix (normally "").
13929
 
exeext="$exeext"
13930
 
 
13931
 
# Additional compiler flags for building library objects.
13932
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13933
 
pic_mode=$pic_mode
13934
 
 
13935
 
# What is the maximum length of a command?
13936
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13937
 
 
13938
 
# Does compiler simultaneously support -c and -o options?
13939
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13940
 
 
13941
 
# Must we lock files when doing compilation?
13942
 
need_locks=$lt_need_locks
13943
 
 
13944
 
# Do we need the lib prefix for modules?
13945
 
need_lib_prefix=$need_lib_prefix
13946
 
 
13947
 
# Do we need a version for libraries?
13948
 
need_version=$need_version
13949
 
 
13950
 
# Whether dlopen is supported.
13951
 
dlopen_support=$enable_dlopen
13952
 
 
13953
 
# Whether dlopen of programs is supported.
13954
 
dlopen_self=$enable_dlopen_self
13955
 
 
13956
 
# Whether dlopen of statically linked programs is supported.
13957
 
dlopen_self_static=$enable_dlopen_self_static
13958
 
 
13959
 
# Compiler flag to prevent dynamic linking.
13960
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13961
 
 
13962
 
# Compiler flag to turn off builtin functions.
13963
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13964
 
 
13965
 
# Compiler flag to allow reflexive dlopens.
13966
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13967
 
 
13968
 
# Compiler flag to generate shared objects directly from archives.
13969
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13970
 
 
13971
 
# Compiler flag to generate thread-safe objects.
13972
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13973
 
 
13974
 
# Library versioning type.
13975
 
version_type=$version_type
13976
 
 
13977
 
# Format of library name prefix.
13978
 
libname_spec=$lt_libname_spec
13979
 
 
13980
 
# List of archive names.  First name is the real one, the rest are links.
13981
 
# The last name is the one that the linker finds with -lNAME.
13982
 
library_names_spec=$lt_library_names_spec
13983
 
 
13984
 
# The coded name of the library, if different from the real name.
13985
 
soname_spec=$lt_soname_spec
13986
 
 
13987
 
# Commands used to build and install an old-style archive.
13988
 
RANLIB=$lt_RANLIB
13989
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13990
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13991
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13992
 
 
13993
 
# Create an old-style archive from a shared archive.
13994
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13995
 
 
13996
 
# Create a temporary old-style archive to link instead of a shared archive.
13997
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13998
 
 
13999
 
# Commands used to build and install a shared archive.
14000
 
archive_cmds=$lt_archive_cmds_CXX
14001
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14002
 
postinstall_cmds=$lt_postinstall_cmds
14003
 
postuninstall_cmds=$lt_postuninstall_cmds
14004
 
 
14005
 
# Commands used to build a loadable module (assumed same as above if empty)
14006
 
module_cmds=$lt_module_cmds_CXX
14007
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14008
 
 
14009
 
# Commands to strip libraries.
14010
 
old_striplib=$lt_old_striplib
14011
 
striplib=$lt_striplib
14012
 
 
14013
 
# Dependencies to place before the objects being linked to create a
14014
 
# shared library.
14015
 
predep_objects=$lt_predep_objects_CXX
14016
 
 
14017
 
# Dependencies to place after the objects being linked to create a
14018
 
# shared library.
14019
 
postdep_objects=$lt_postdep_objects_CXX
14020
 
 
14021
 
# Dependencies to place before the objects being linked to create a
14022
 
# shared library.
14023
 
predeps=$lt_predeps_CXX
14024
 
 
14025
 
# Dependencies to place after the objects being linked to create a
14026
 
# shared library.
14027
 
postdeps=$lt_postdeps_CXX
14028
 
 
14029
 
# The directories searched by this compiler when creating a shared
14030
 
# library
14031
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14032
 
 
14033
 
# The library search path used internally by the compiler when linking
14034
 
# a shared library.
14035
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14036
 
 
14037
 
# Method to check whether dependent libraries are shared objects.
14038
 
deplibs_check_method=$lt_deplibs_check_method
14039
 
 
14040
 
# Command to use when deplibs_check_method == file_magic.
14041
 
file_magic_cmd=$lt_file_magic_cmd
14042
 
 
14043
 
# Flag that allows shared libraries with undefined symbols to be built.
14044
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14045
 
 
14046
 
# Flag that forces no undefined symbols.
14047
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14048
 
 
14049
 
# Commands used to finish a libtool library installation in a directory.
14050
 
finish_cmds=$lt_finish_cmds
14051
 
 
14052
 
# Same as above, but a single script fragment to be evaled but not shown.
14053
 
finish_eval=$lt_finish_eval
14054
 
 
14055
 
# Take the output of nm and produce a listing of raw symbols and C names.
14056
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14057
 
 
14058
 
# Transform the output of nm in a proper C declaration
14059
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14060
 
 
14061
 
# Transform the output of nm in a C name address pair
14062
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14063
 
 
14064
 
# This is the shared library runtime path variable.
14065
 
runpath_var=$runpath_var
14066
 
 
14067
 
# This is the shared library path variable.
14068
 
shlibpath_var=$shlibpath_var
14069
 
 
14070
 
# Is shlibpath searched before the hard-coded library search path?
14071
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14072
 
 
14073
 
# How to hardcode a shared library path into an executable.
14074
 
hardcode_action=$hardcode_action_CXX
14075
 
 
14076
 
# Whether we should hardcode library paths into libraries.
14077
 
hardcode_into_libs=$hardcode_into_libs
14078
 
 
14079
 
# Flag to hardcode \$libdir into a binary during linking.
14080
 
# This must work even if \$libdir does not exist.
14081
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14082
 
 
14083
 
# If ld is used when linking, flag to hardcode \$libdir into
14084
 
# a binary during linking. This must work even if \$libdir does
14085
 
# not exist.
14086
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14087
 
 
14088
 
# Whether we need a single -rpath flag with a separated argument.
14089
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14090
 
 
14091
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14092
 
# resulting binary.
14093
 
hardcode_direct=$hardcode_direct_CXX
14094
 
 
14095
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14096
 
# resulting binary.
14097
 
hardcode_minus_L=$hardcode_minus_L_CXX
14098
 
 
14099
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14100
 
# the resulting binary.
14101
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14102
 
 
14103
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14104
 
# and all subsequent libraries and executables linked against it.
14105
 
hardcode_automatic=$hardcode_automatic_CXX
14106
 
 
14107
 
# Variables whose values should be saved in libtool wrapper scripts and
14108
 
# restored at relink time.
14109
 
variables_saved_for_relink="$variables_saved_for_relink"
14110
 
 
14111
 
# Whether libtool must link a program against all its dependency libraries.
14112
 
link_all_deplibs=$link_all_deplibs_CXX
14113
 
 
14114
 
# Compile-time system search path for libraries
14115
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14116
 
 
14117
 
# Run-time system search path for libraries
14118
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14119
 
 
14120
 
# Fix the shell variable \$srcfile for the compiler.
14121
 
fix_srcfile_path=$lt_fix_srcfile_path
14122
 
 
14123
 
# Set to yes if exported symbols are required.
14124
 
always_export_symbols=$always_export_symbols_CXX
14125
 
 
14126
 
# The commands to list exported symbols.
14127
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14128
 
 
14129
 
# The commands to extract the exported symbol list from a shared archive.
14130
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14131
 
 
14132
 
# Symbols that should not be listed in the preloaded symbols.
14133
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14134
 
 
14135
 
# Symbols that must always be exported.
14136
 
include_expsyms=$lt_include_expsyms_CXX
14137
 
 
14138
 
# ### END LIBTOOL TAG CONFIG: $tagname
14139
 
 
14140
 
__EOF__
14141
 
 
14142
 
 
14143
 
else
14144
 
  # If there is no Makefile yet, we rely on a make rule to execute
14145
 
  # `config.status --recheck' to rerun these tests and create the
14146
 
  # libtool script then.
14147
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14148
 
  if test -f "$ltmain_in"; then
14149
 
    test -f Makefile && make "$ltmain"
14150
 
  fi
14151
 
fi
14152
 
 
14153
 
 
14154
 
ac_ext=c
14155
 
ac_cpp='$CPP $CPPFLAGS'
14156
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14157
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14158
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14159
 
 
14160
 
CC=$lt_save_CC
14161
 
LDCXX=$LD
14162
 
LD=$lt_save_LD
14163
 
GCC=$lt_save_GCC
14164
 
with_gnu_ldcxx=$with_gnu_ld
14165
 
with_gnu_ld=$lt_save_with_gnu_ld
14166
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14167
 
lt_cv_path_LD=$lt_save_path_LD
14168
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14169
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14170
 
 
14171
 
        else
14172
 
          tagname=""
14173
 
        fi
14174
 
        ;;
14175
 
 
14176
 
      F77)
14177
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14178
 
 
14179
 
ac_ext=f
14180
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14181
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14182
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14183
 
 
14184
 
 
14185
 
archive_cmds_need_lc_F77=no
14186
 
allow_undefined_flag_F77=
14187
 
always_export_symbols_F77=no
14188
 
archive_expsym_cmds_F77=
14189
 
export_dynamic_flag_spec_F77=
14190
 
hardcode_direct_F77=no
14191
 
hardcode_libdir_flag_spec_F77=
14192
 
hardcode_libdir_flag_spec_ld_F77=
14193
 
hardcode_libdir_separator_F77=
14194
 
hardcode_minus_L_F77=no
14195
 
hardcode_automatic_F77=no
14196
 
module_cmds_F77=
14197
 
module_expsym_cmds_F77=
14198
 
link_all_deplibs_F77=unknown
14199
 
old_archive_cmds_F77=$old_archive_cmds
14200
 
no_undefined_flag_F77=
14201
 
whole_archive_flag_spec_F77=
14202
 
enable_shared_with_static_runtimes_F77=no
14203
 
 
14204
 
# Source file extension for f77 test sources.
14205
 
ac_ext=f
14206
 
 
14207
 
# Object file extension for compiled f77 test sources.
14208
 
objext=o
14209
 
objext_F77=$objext
14210
 
 
14211
 
# Code to be used in simple compile tests
14212
 
lt_simple_compile_test_code="\
14213
 
      subroutine t
14214
 
      return
14215
 
      end
14216
 
"
14217
 
 
14218
 
# Code to be used in simple link tests
14219
 
lt_simple_link_test_code="\
14220
 
      program t
14221
 
      end
14222
 
"
14223
 
 
14224
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14225
 
 
14226
 
# If no C compiler was specified, use CC.
14227
 
LTCC=${LTCC-"$CC"}
14228
 
 
14229
 
# If no C compiler flags were specified, use CFLAGS.
14230
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14231
 
 
14232
 
# Allow CC to be a program name with arguments.
14233
 
compiler=$CC
14234
 
 
14235
 
 
14236
 
# save warnings/boilerplate of simple test code
14237
 
ac_outfile=conftest.$ac_objext
14238
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14239
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14240
 
_lt_compiler_boilerplate=`cat conftest.err`
14241
 
$rm conftest*
14242
 
 
14243
 
ac_outfile=conftest.$ac_objext
14244
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14245
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14246
 
_lt_linker_boilerplate=`cat conftest.err`
14247
 
$rm -r conftest*
14248
 
 
14249
 
 
14250
 
# Allow CC to be a program name with arguments.
14251
 
lt_save_CC="$CC"
14252
 
CC=${F77-"f77"}
14253
 
compiler=$CC
14254
 
compiler_F77=$CC
14255
 
for cc_temp in $compiler""; do
14256
 
  case $cc_temp in
14257
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14258
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14259
 
    \-*) ;;
14260
 
    *) break;;
14261
 
  esac
14262
 
done
14263
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14264
 
 
14265
 
 
14266
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14267
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14268
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14269
 
echo "${ECHO_T}$can_build_shared" >&6; }
14270
 
 
14271
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14272
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14273
 
test "$can_build_shared" = "no" && enable_shared=no
14274
 
 
14275
 
# On AIX, shared libraries and static libraries use the same namespace, and
14276
 
# are all built from PIC.
14277
 
case $host_os in
14278
 
aix3*)
14279
 
  test "$enable_shared" = yes && enable_static=no
14280
 
  if test -n "$RANLIB"; then
14281
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14282
 
    postinstall_cmds='$RANLIB $lib'
14283
 
  fi
14284
 
  ;;
14285
 
aix[4-9]*)
14286
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14287
 
    test "$enable_shared" = yes && enable_static=no
14288
 
  fi
14289
 
  ;;
14290
 
esac
14291
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14292
 
echo "${ECHO_T}$enable_shared" >&6; }
14293
 
 
14294
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14295
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14296
 
# Make sure either enable_shared or enable_static is yes.
14297
 
test "$enable_shared" = yes || enable_static=yes
14298
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14299
 
echo "${ECHO_T}$enable_static" >&6; }
14300
 
 
14301
 
GCC_F77="$G77"
14302
 
LD_F77="$LD"
14303
 
 
14304
 
lt_prog_compiler_wl_F77=
14305
 
lt_prog_compiler_pic_F77=
14306
 
lt_prog_compiler_static_F77=
14307
 
 
14308
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14309
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14310
 
 
14311
 
  if test "$GCC" = yes; then
14312
 
    lt_prog_compiler_wl_F77='-Wl,'
14313
 
    lt_prog_compiler_static_F77='-static'
14314
 
 
14315
 
    case $host_os in
14316
 
      aix*)
14317
 
      # All AIX code is PIC.
14318
 
      if test "$host_cpu" = ia64; then
14319
 
        # AIX 5 now supports IA64 processor
14320
 
        lt_prog_compiler_static_F77='-Bstatic'
14321
 
      fi
14322
 
      ;;
14323
 
 
14324
 
    amigaos*)
14325
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14326
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14327
 
      # like `-m68040'.
14328
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14329
 
      ;;
14330
 
 
14331
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14332
 
      # PIC is the default for these OSes.
14333
 
      ;;
14334
 
 
14335
 
    mingw* | cygwin* | pw32* | os2*)
14336
 
      # This hack is so that the source file can tell whether it is being
14337
 
      # built for inclusion in a dll (and should export symbols for example).
14338
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14339
 
      # (--disable-auto-import) libraries
14340
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14341
 
      ;;
14342
 
 
14343
 
    darwin* | rhapsody*)
14344
 
      # PIC is the default on this platform
14345
 
      # Common symbols not allowed in MH_DYLIB files
14346
 
      lt_prog_compiler_pic_F77='-fno-common'
14347
 
      ;;
14348
 
 
14349
 
    interix[3-9]*)
14350
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14351
 
      # Instead, we relocate shared libraries at runtime.
14352
 
      ;;
14353
 
 
14354
 
    msdosdjgpp*)
14355
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14356
 
      # on systems that don't support them.
14357
 
      lt_prog_compiler_can_build_shared_F77=no
14358
 
      enable_shared=no
14359
 
      ;;
14360
 
 
14361
 
    sysv4*MP*)
14362
 
      if test -d /usr/nec; then
14363
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14364
 
      fi
14365
 
      ;;
14366
 
 
14367
 
    hpux*)
14368
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14369
 
      # not for PA HP-UX.
14370
 
      case $host_cpu in
14371
 
      hppa*64*|ia64*)
14372
 
        # +Z the default
14373
 
        ;;
14374
 
      *)
14375
 
        lt_prog_compiler_pic_F77='-fPIC'
14376
 
        ;;
14377
 
      esac
14378
 
      ;;
14379
 
 
14380
 
    *)
14381
 
      lt_prog_compiler_pic_F77='-fPIC'
14382
 
      ;;
14383
 
    esac
14384
 
  else
14385
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14386
 
    case $host_os in
14387
 
    aix*)
14388
 
      lt_prog_compiler_wl_F77='-Wl,'
14389
 
      if test "$host_cpu" = ia64; then
14390
 
        # AIX 5 now supports IA64 processor
14391
 
        lt_prog_compiler_static_F77='-Bstatic'
14392
 
      else
14393
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14394
 
      fi
14395
 
      ;;
14396
 
      darwin*)
14397
 
        # PIC is the default on this platform
14398
 
        # Common symbols not allowed in MH_DYLIB files
14399
 
       case $cc_basename in
14400
 
         xlc*)
14401
 
         lt_prog_compiler_pic_F77='-qnocommon'
14402
 
         lt_prog_compiler_wl_F77='-Wl,'
14403
 
         ;;
14404
 
       esac
14405
 
       ;;
14406
 
 
14407
 
    mingw* | cygwin* | pw32* | os2*)
14408
 
      # This hack is so that the source file can tell whether it is being
14409
 
      # built for inclusion in a dll (and should export symbols for example).
14410
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14411
 
      ;;
14412
 
 
14413
 
    hpux9* | hpux10* | hpux11*)
14414
 
      lt_prog_compiler_wl_F77='-Wl,'
14415
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14416
 
      # not for PA HP-UX.
14417
 
      case $host_cpu in
14418
 
      hppa*64*|ia64*)
14419
 
        # +Z the default
14420
 
        ;;
14421
 
      *)
14422
 
        lt_prog_compiler_pic_F77='+Z'
14423
 
        ;;
14424
 
      esac
14425
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14426
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14427
 
      ;;
14428
 
 
14429
 
    irix5* | irix6* | nonstopux*)
14430
 
      lt_prog_compiler_wl_F77='-Wl,'
14431
 
      # PIC (with -KPIC) is the default.
14432
 
      lt_prog_compiler_static_F77='-non_shared'
14433
 
      ;;
14434
 
 
14435
 
    newsos6)
14436
 
      lt_prog_compiler_pic_F77='-KPIC'
14437
 
      lt_prog_compiler_static_F77='-Bstatic'
14438
 
      ;;
14439
 
 
14440
 
    linux* | k*bsd*-gnu)
14441
 
      case $cc_basename in
14442
 
      icc* | ecc*)
14443
 
        lt_prog_compiler_wl_F77='-Wl,'
14444
 
        lt_prog_compiler_pic_F77='-KPIC'
14445
 
        lt_prog_compiler_static_F77='-static'
14446
 
        ;;
14447
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14448
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14449
 
        # which looks to be a dead project)
14450
 
        lt_prog_compiler_wl_F77='-Wl,'
14451
 
        lt_prog_compiler_pic_F77='-fpic'
14452
 
        lt_prog_compiler_static_F77='-Bstatic'
14453
 
        ;;
14454
 
      ccc*)
14455
 
        lt_prog_compiler_wl_F77='-Wl,'
14456
 
        # All Alpha code is PIC.
14457
 
        lt_prog_compiler_static_F77='-non_shared'
14458
 
        ;;
14459
 
      *)
14460
 
        case `$CC -V 2>&1 | sed 5q` in
14461
 
        *Sun\ C*)
14462
 
          # Sun C 5.9
14463
 
          lt_prog_compiler_pic_F77='-KPIC'
14464
 
          lt_prog_compiler_static_F77='-Bstatic'
14465
 
          lt_prog_compiler_wl_F77='-Wl,'
14466
 
          ;;
14467
 
        *Sun\ F*)
14468
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14469
 
          lt_prog_compiler_pic_F77='-KPIC'
14470
 
          lt_prog_compiler_static_F77='-Bstatic'
14471
 
          lt_prog_compiler_wl_F77=''
14472
 
          ;;
14473
 
        esac
14474
 
        ;;
14475
 
      esac
14476
 
      ;;
14477
 
 
14478
 
    osf3* | osf4* | osf5*)
14479
 
      lt_prog_compiler_wl_F77='-Wl,'
14480
 
      # All OSF/1 code is PIC.
14481
 
      lt_prog_compiler_static_F77='-non_shared'
14482
 
      ;;
14483
 
 
14484
 
    rdos*)
14485
 
      lt_prog_compiler_static_F77='-non_shared'
14486
 
      ;;
14487
 
 
14488
 
    solaris*)
14489
 
      lt_prog_compiler_pic_F77='-KPIC'
14490
 
      lt_prog_compiler_static_F77='-Bstatic'
14491
 
      case $cc_basename in
14492
 
      f77* | f90* | f95*)
14493
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14494
 
      *)
14495
 
        lt_prog_compiler_wl_F77='-Wl,';;
14496
 
      esac
14497
 
      ;;
14498
 
 
14499
 
    sunos4*)
14500
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14501
 
      lt_prog_compiler_pic_F77='-PIC'
14502
 
      lt_prog_compiler_static_F77='-Bstatic'
14503
 
      ;;
14504
 
 
14505
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14506
 
      lt_prog_compiler_wl_F77='-Wl,'
14507
 
      lt_prog_compiler_pic_F77='-KPIC'
14508
 
      lt_prog_compiler_static_F77='-Bstatic'
14509
 
      ;;
14510
 
 
14511
 
    sysv4*MP*)
14512
 
      if test -d /usr/nec ;then
14513
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14514
 
        lt_prog_compiler_static_F77='-Bstatic'
14515
 
      fi
14516
 
      ;;
14517
 
 
14518
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14519
 
      lt_prog_compiler_wl_F77='-Wl,'
14520
 
      lt_prog_compiler_pic_F77='-KPIC'
14521
 
      lt_prog_compiler_static_F77='-Bstatic'
14522
 
      ;;
14523
 
 
14524
 
    unicos*)
14525
 
      lt_prog_compiler_wl_F77='-Wl,'
14526
 
      lt_prog_compiler_can_build_shared_F77=no
14527
 
      ;;
14528
 
 
14529
 
    uts4*)
14530
 
      lt_prog_compiler_pic_F77='-pic'
14531
 
      lt_prog_compiler_static_F77='-Bstatic'
14532
 
      ;;
14533
 
 
14534
 
    *)
14535
 
      lt_prog_compiler_can_build_shared_F77=no
14536
 
      ;;
14537
 
    esac
14538
 
  fi
14539
 
 
14540
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14541
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14542
 
 
14543
 
#
14544
 
# Check to make sure the PIC flag actually works.
14545
 
#
14546
 
if test -n "$lt_prog_compiler_pic_F77"; then
14547
 
 
14548
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14549
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14550
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14552
 
else
14553
 
  lt_cv_prog_compiler_pic_works_F77=no
14554
 
  ac_outfile=conftest.$ac_objext
14555
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14556
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14557
 
   # Insert the option either (1) after the last *FLAGS variable, or
14558
 
   # (2) before a word containing "conftest.", or (3) at the end.
14559
 
   # Note that $ac_compile itself does not contain backslashes and begins
14560
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14561
 
   # The option is referenced via a variable to avoid confusing sed.
14562
 
   lt_compile=`echo "$ac_compile" | $SED \
14563
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14564
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14565
 
   -e 's:$: $lt_compiler_flag:'`
14566
 
   (eval echo "\"\$as_me:14566: $lt_compile\"" >&5)
14567
 
   (eval "$lt_compile" 2>conftest.err)
14568
 
   ac_status=$?
14569
 
   cat conftest.err >&5
14570
 
   echo "$as_me:14570: \$? = $ac_status" >&5
14571
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14572
 
     # The compiler can only warn and ignore the option if not recognized
14573
 
     # So say no if there are warnings other than the usual output.
14574
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14575
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14576
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14577
 
       lt_cv_prog_compiler_pic_works_F77=yes
14578
 
     fi
14579
 
   fi
14580
 
   $rm conftest*
14581
 
 
14582
 
fi
14583
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14584
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14585
 
 
14586
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14587
 
    case $lt_prog_compiler_pic_F77 in
14588
 
     "" | " "*) ;;
14589
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14590
 
     esac
14591
 
else
14592
 
    lt_prog_compiler_pic_F77=
14593
 
     lt_prog_compiler_can_build_shared_F77=no
14594
 
fi
14595
 
 
14596
 
fi
14597
 
case $host_os in
14598
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14599
 
  *djgpp*)
14600
 
    lt_prog_compiler_pic_F77=
14601
 
    ;;
14602
 
  *)
14603
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14604
 
    ;;
14605
 
esac
14606
 
 
14607
 
#
14608
 
# Check to make sure the static flag actually works.
14609
 
#
14610
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14611
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14612
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14613
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14614
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14615
 
else
14616
 
  lt_cv_prog_compiler_static_works_F77=no
14617
 
   save_LDFLAGS="$LDFLAGS"
14618
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14619
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14620
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14621
 
     # The linker can only warn and ignore the option if not recognized
14622
 
     # So say no if there are warnings
14623
 
     if test -s conftest.err; then
14624
 
       # Append any errors to the config.log.
14625
 
       cat conftest.err 1>&5
14626
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14627
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14628
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14629
 
         lt_cv_prog_compiler_static_works_F77=yes
14630
 
       fi
14631
 
     else
14632
 
       lt_cv_prog_compiler_static_works_F77=yes
14633
 
     fi
14634
 
   fi
14635
 
   $rm -r conftest*
14636
 
   LDFLAGS="$save_LDFLAGS"
14637
 
 
14638
 
fi
14639
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14640
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14641
 
 
14642
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14643
 
    :
14644
 
else
14645
 
    lt_prog_compiler_static_F77=
14646
 
fi
14647
 
 
14648
 
 
14649
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14650
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14651
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14653
 
else
14654
 
  lt_cv_prog_compiler_c_o_F77=no
14655
 
   $rm -r conftest 2>/dev/null
14656
 
   mkdir conftest
14657
 
   cd conftest
14658
 
   mkdir out
14659
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14660
 
 
14661
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14662
 
   # Insert the option either (1) after the last *FLAGS variable, or
14663
 
   # (2) before a word containing "conftest.", or (3) at the end.
14664
 
   # Note that $ac_compile itself does not contain backslashes and begins
14665
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14666
 
   lt_compile=`echo "$ac_compile" | $SED \
14667
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14668
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14669
 
   -e 's:$: $lt_compiler_flag:'`
14670
 
   (eval echo "\"\$as_me:14670: $lt_compile\"" >&5)
14671
 
   (eval "$lt_compile" 2>out/conftest.err)
14672
 
   ac_status=$?
14673
 
   cat out/conftest.err >&5
14674
 
   echo "$as_me:14674: \$? = $ac_status" >&5
14675
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14676
 
   then
14677
 
     # The compiler can only warn and ignore the option if not recognized
14678
 
     # So say no if there are warnings
14679
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14680
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14681
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14682
 
       lt_cv_prog_compiler_c_o_F77=yes
14683
 
     fi
14684
 
   fi
14685
 
   chmod u+w . 2>&5
14686
 
   $rm conftest*
14687
 
   # SGI C++ compiler will create directory out/ii_files/ for
14688
 
   # template instantiation
14689
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14690
 
   $rm out/* && rmdir out
14691
 
   cd ..
14692
 
   rmdir conftest
14693
 
   $rm conftest*
14694
 
 
14695
 
fi
14696
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14697
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14698
 
 
14699
 
 
14700
 
hard_links="nottested"
14701
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14702
 
  # do not overwrite the value of need_locks provided by the user
14703
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14704
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14705
 
  hard_links=yes
14706
 
  $rm conftest*
14707
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14708
 
  touch conftest.a
14709
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14710
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14711
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14712
 
echo "${ECHO_T}$hard_links" >&6; }
14713
 
  if test "$hard_links" = no; then
14714
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14715
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14716
 
    need_locks=warn
14717
 
  fi
14718
 
else
14719
 
  need_locks=no
14720
 
fi
14721
 
 
14722
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14723
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14724
 
 
14725
 
  runpath_var=
14726
 
  allow_undefined_flag_F77=
14727
 
  enable_shared_with_static_runtimes_F77=no
14728
 
  archive_cmds_F77=
14729
 
  archive_expsym_cmds_F77=
14730
 
  old_archive_From_new_cmds_F77=
14731
 
  old_archive_from_expsyms_cmds_F77=
14732
 
  export_dynamic_flag_spec_F77=
14733
 
  whole_archive_flag_spec_F77=
14734
 
  thread_safe_flag_spec_F77=
14735
 
  hardcode_libdir_flag_spec_F77=
14736
 
  hardcode_libdir_flag_spec_ld_F77=
14737
 
  hardcode_libdir_separator_F77=
14738
 
  hardcode_direct_F77=no
14739
 
  hardcode_minus_L_F77=no
14740
 
  hardcode_shlibpath_var_F77=unsupported
14741
 
  link_all_deplibs_F77=unknown
14742
 
  hardcode_automatic_F77=no
14743
 
  module_cmds_F77=
14744
 
  module_expsym_cmds_F77=
14745
 
  always_export_symbols_F77=no
14746
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14747
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14748
 
  # included in the symbol list
14749
 
  include_expsyms_F77=
14750
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14751
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14752
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14753
 
  # as well as any symbol that contains `d'.
14754
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14755
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14756
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14757
 
  # the symbol is explicitly referenced.  Since portable code cannot
14758
 
  # rely on this symbol name, it's probably fine to never include it in
14759
 
  # preloaded symbol tables.
14760
 
  # Exclude shared library initialization/finalization symbols.
14761
 
  extract_expsyms_cmds=
14762
 
  # Just being paranoid about ensuring that cc_basename is set.
14763
 
  for cc_temp in $compiler""; do
14764
 
  case $cc_temp in
14765
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14766
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14767
 
    \-*) ;;
14768
 
    *) break;;
14769
 
  esac
14770
 
done
14771
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14772
 
 
14773
 
  case $host_os in
14774
 
  cygwin* | mingw* | pw32*)
14775
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14776
 
    # When not using gcc, we currently assume that we are using
14777
 
    # Microsoft Visual C++.
14778
 
    if test "$GCC" != yes; then
14779
 
      with_gnu_ld=no
14780
 
    fi
14781
 
    ;;
14782
 
  interix*)
14783
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14784
 
    with_gnu_ld=yes
14785
 
    ;;
14786
 
  openbsd*)
14787
 
    with_gnu_ld=no
14788
 
    ;;
14789
 
  esac
14790
 
 
14791
 
  ld_shlibs_F77=yes
14792
 
  if test "$with_gnu_ld" = yes; then
14793
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14794
 
    wlarc='${wl}'
14795
 
 
14796
 
    # Set some defaults for GNU ld with shared library support. These
14797
 
    # are reset later if shared libraries are not supported. Putting them
14798
 
    # here allows them to be overridden if necessary.
14799
 
    runpath_var=LD_RUN_PATH
14800
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14801
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14802
 
    # ancient GNU ld didn't support --whole-archive et. al.
14803
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14804
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14805
 
      else
14806
 
        whole_archive_flag_spec_F77=
14807
 
    fi
14808
 
    supports_anon_versioning=no
14809
 
    case `$LD -v 2>/dev/null` in
14810
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14811
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14812
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14813
 
      *\ 2.11.*) ;; # other 2.11 versions
14814
 
      *) supports_anon_versioning=yes ;;
14815
 
    esac
14816
 
 
14817
 
    # See if GNU ld supports shared libraries.
14818
 
    case $host_os in
14819
 
    aix[3-9]*)
14820
 
      # On AIX/PPC, the GNU linker is very broken
14821
 
      if test "$host_cpu" != ia64; then
14822
 
        ld_shlibs_F77=no
14823
 
        cat <<EOF 1>&2
14824
 
 
14825
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14826
 
*** to be unable to reliably create shared libraries on AIX.
14827
 
*** Therefore, libtool is disabling shared libraries support.  If you
14828
 
*** really care for shared libraries, you may want to modify your PATH
14829
 
*** so that a non-GNU linker is found, and then restart.
14830
 
 
14831
 
EOF
14832
 
      fi
14833
 
      ;;
14834
 
 
14835
 
    amigaos*)
14836
 
      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)'
14837
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14838
 
      hardcode_minus_L_F77=yes
14839
 
 
14840
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14841
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14842
 
      # to version 4, is to share data among multiple programs linked
14843
 
      # with the same dynamic library.  Since this doesn't match the
14844
 
      # behavior of shared libraries on other platforms, we can't use
14845
 
      # them.
14846
 
      ld_shlibs_F77=no
14847
 
      ;;
14848
 
 
14849
 
    beos*)
14850
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14851
 
        allow_undefined_flag_F77=unsupported
14852
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14853
 
        # support --undefined.  This deserves some investigation.  FIXME
14854
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14855
 
      else
14856
 
        ld_shlibs_F77=no
14857
 
      fi
14858
 
      ;;
14859
 
 
14860
 
    cygwin* | mingw* | pw32*)
14861
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14862
 
      # as there is no search path for DLLs.
14863
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14864
 
      allow_undefined_flag_F77=unsupported
14865
 
      always_export_symbols_F77=no
14866
 
      enable_shared_with_static_runtimes_F77=yes
14867
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14868
 
 
14869
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14870
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14871
 
        # If the export-symbols file already is a .def file (1st line
14872
 
        # is EXPORTS), use it as is; otherwise, prepend...
14873
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14874
 
          cp $export_symbols $output_objdir/$soname.def;
14875
 
        else
14876
 
          echo EXPORTS > $output_objdir/$soname.def;
14877
 
          cat $export_symbols >> $output_objdir/$soname.def;
14878
 
        fi~
14879
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14880
 
      else
14881
 
        ld_shlibs_F77=no
14882
 
      fi
14883
 
      ;;
14884
 
 
14885
 
    interix[3-9]*)
14886
 
      hardcode_direct_F77=no
14887
 
      hardcode_shlibpath_var_F77=no
14888
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14889
 
      export_dynamic_flag_spec_F77='${wl}-E'
14890
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14891
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14892
 
      # default) and relocated if they conflict, which is a slow very memory
14893
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14894
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14895
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14896
 
      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'
14897
 
      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'
14898
 
      ;;
14899
 
 
14900
 
    gnu* | linux* | k*bsd*-gnu)
14901
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14902
 
        tmp_addflag=
14903
 
        case $cc_basename,$host_cpu in
14904
 
        pgcc*)                          # Portland Group C compiler
14905
 
          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'
14906
 
          tmp_addflag=' $pic_flag'
14907
 
          ;;
14908
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14909
 
          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'
14910
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14911
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14912
 
          tmp_addflag=' -i_dynamic' ;;
14913
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14914
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14915
 
        ifc* | ifort*)                  # Intel Fortran compiler
14916
 
          tmp_addflag=' -nofor_main' ;;
14917
 
        esac
14918
 
        case `$CC -V 2>&1 | sed 5q` in
14919
 
        *Sun\ C*)                       # Sun C 5.9
14920
 
          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'
14921
 
          tmp_sharedflag='-G' ;;
14922
 
        *Sun\ F*)                       # Sun Fortran 8.3
14923
 
          tmp_sharedflag='-G' ;;
14924
 
        *)
14925
 
          tmp_sharedflag='-shared' ;;
14926
 
        esac
14927
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14928
 
 
14929
 
        if test $supports_anon_versioning = yes; then
14930
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14931
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14932
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14933
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14934
 
        fi
14935
 
      else
14936
 
        ld_shlibs_F77=no
14937
 
      fi
14938
 
      ;;
14939
 
 
14940
 
    netbsd*)
14941
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14942
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14943
 
        wlarc=
14944
 
      else
14945
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14946
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14947
 
      fi
14948
 
      ;;
14949
 
 
14950
 
    solaris*)
14951
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14952
 
        ld_shlibs_F77=no
14953
 
        cat <<EOF 1>&2
14954
 
 
14955
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14956
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14957
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14958
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14959
 
*** your PATH or compiler configuration so that the native linker is
14960
 
*** used, and then restart.
14961
 
 
14962
 
EOF
14963
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14964
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14965
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14966
 
      else
14967
 
        ld_shlibs_F77=no
14968
 
      fi
14969
 
      ;;
14970
 
 
14971
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14972
 
      case `$LD -v 2>&1` in
14973
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14974
 
        ld_shlibs_F77=no
14975
 
        cat <<_LT_EOF 1>&2
14976
 
 
14977
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14978
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14979
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14980
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14981
 
*** your PATH or compiler configuration so that the native linker is
14982
 
*** used, and then restart.
14983
 
 
14984
 
_LT_EOF
14985
 
        ;;
14986
 
        *)
14987
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14988
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14989
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14990
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14991
 
          else
14992
 
            ld_shlibs_F77=no
14993
 
          fi
14994
 
        ;;
14995
 
      esac
14996
 
      ;;
14997
 
 
14998
 
    sunos4*)
14999
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15000
 
      wlarc=
15001
 
      hardcode_direct_F77=yes
15002
 
      hardcode_shlibpath_var_F77=no
15003
 
      ;;
15004
 
 
15005
 
    *)
15006
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15007
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15008
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15009
 
      else
15010
 
        ld_shlibs_F77=no
15011
 
      fi
15012
 
      ;;
15013
 
    esac
15014
 
 
15015
 
    if test "$ld_shlibs_F77" = no; then
15016
 
      runpath_var=
15017
 
      hardcode_libdir_flag_spec_F77=
15018
 
      export_dynamic_flag_spec_F77=
15019
 
      whole_archive_flag_spec_F77=
15020
 
    fi
15021
 
  else
15022
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15023
 
    case $host_os in
15024
 
    aix3*)
15025
 
      allow_undefined_flag_F77=unsupported
15026
 
      always_export_symbols_F77=yes
15027
 
      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'
15028
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15029
 
      # are no directories specified by -L.
15030
 
      hardcode_minus_L_F77=yes
15031
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15032
 
        # Neither direct hardcoding nor static linking is supported with a
15033
 
        # broken collect2.
15034
 
        hardcode_direct_F77=unsupported
15035
 
      fi
15036
 
      ;;
15037
 
 
15038
 
    aix[4-9]*)
15039
 
      if test "$host_cpu" = ia64; then
15040
 
        # On IA64, the linker does run time linking by default, so we don't
15041
 
        # have to do anything special.
15042
 
        aix_use_runtimelinking=no
15043
 
        exp_sym_flag='-Bexport'
15044
 
        no_entry_flag=""
15045
 
      else
15046
 
        # If we're using GNU nm, then we don't want the "-C" option.
15047
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15048
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15049
 
          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'
15050
 
        else
15051
 
          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'
15052
 
        fi
15053
 
        aix_use_runtimelinking=no
15054
 
 
15055
 
        # Test if we are trying to use run time linking or normal
15056
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15057
 
        # need to do runtime linking.
15058
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15059
 
          for ld_flag in $LDFLAGS; do
15060
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15061
 
            aix_use_runtimelinking=yes
15062
 
            break
15063
 
          fi
15064
 
          done
15065
 
          ;;
15066
 
        esac
15067
 
 
15068
 
        exp_sym_flag='-bexport'
15069
 
        no_entry_flag='-bnoentry'
15070
 
      fi
15071
 
 
15072
 
      # When large executables or shared objects are built, AIX ld can
15073
 
      # have problems creating the table of contents.  If linking a library
15074
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15075
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15076
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15077
 
 
15078
 
      archive_cmds_F77=''
15079
 
      hardcode_direct_F77=yes
15080
 
      hardcode_libdir_separator_F77=':'
15081
 
      link_all_deplibs_F77=yes
15082
 
 
15083
 
      if test "$GCC" = yes; then
15084
 
        case $host_os in aix4.[012]|aix4.[012].*)
15085
 
        # We only want to do this on AIX 4.2 and lower, the check
15086
 
        # below for broken collect2 doesn't work under 4.3+
15087
 
          collect2name=`${CC} -print-prog-name=collect2`
15088
 
          if test -f "$collect2name" && \
15089
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15090
 
          then
15091
 
          # We have reworked collect2
15092
 
          :
15093
 
          else
15094
 
          # We have old collect2
15095
 
          hardcode_direct_F77=unsupported
15096
 
          # It fails to find uninstalled libraries when the uninstalled
15097
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15098
 
          # to unsupported forces relinking
15099
 
          hardcode_minus_L_F77=yes
15100
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15101
 
          hardcode_libdir_separator_F77=
15102
 
          fi
15103
 
          ;;
15104
 
        esac
15105
 
        shared_flag='-shared'
15106
 
        if test "$aix_use_runtimelinking" = yes; then
15107
 
          shared_flag="$shared_flag "'${wl}-G'
15108
 
        fi
15109
 
      else
15110
 
        # not using gcc
15111
 
        if test "$host_cpu" = ia64; then
15112
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15113
 
        # chokes on -Wl,-G. The following line is correct:
15114
 
          shared_flag='-G'
15115
 
        else
15116
 
          if test "$aix_use_runtimelinking" = yes; then
15117
 
            shared_flag='${wl}-G'
15118
 
          else
15119
 
            shared_flag='${wl}-bM:SRE'
15120
 
          fi
15121
 
        fi
15122
 
      fi
15123
 
 
15124
 
      # It seems that -bexpall does not export symbols beginning with
15125
 
      # underscore (_), so it is better to generate a list of symbols to export.
15126
 
      always_export_symbols_F77=yes
15127
 
      if test "$aix_use_runtimelinking" = yes; then
15128
 
        # Warning - without using the other runtime loading flags (-brtl),
15129
 
        # -berok will link without error, but may produce a broken library.
15130
 
        allow_undefined_flag_F77='-berok'
15131
 
       # Determine the default libpath from the value encoded in an empty executable.
15132
 
       cat >conftest.$ac_ext <<_ACEOF
15133
 
      program main
15134
 
 
15135
 
      end
15136
 
_ACEOF
15137
 
rm -f conftest.$ac_objext conftest$ac_exeext
15138
 
if { (ac_try="$ac_link"
15139
 
case "(($ac_try" in
15140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15141
 
  *) ac_try_echo=$ac_try;;
15142
 
esac
15143
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15144
 
  (eval "$ac_link") 2>conftest.er1
15145
 
  ac_status=$?
15146
 
  grep -v '^ *+' conftest.er1 >conftest.err
15147
 
  rm -f conftest.er1
15148
 
  cat conftest.err >&5
15149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150
 
  (exit $ac_status); } && {
15151
 
         test -z "$ac_f77_werror_flag" ||
15152
 
         test ! -s conftest.err
15153
 
       } && test -s conftest$ac_exeext &&
15154
 
       $as_test_x conftest$ac_exeext; then
15155
 
 
15156
 
lt_aix_libpath_sed='
15157
 
    /Import File Strings/,/^$/ {
15158
 
        /^0/ {
15159
 
            s/^0  *\(.*\)$/\1/
15160
 
            p
15161
 
        }
15162
 
    }'
15163
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15164
 
# Check for a 64-bit object if we didn't find anything.
15165
 
if test -z "$aix_libpath"; then
15166
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15167
 
fi
15168
 
else
15169
 
  echo "$as_me: failed program was:" >&5
15170
 
sed 's/^/| /' conftest.$ac_ext >&5
15171
 
 
15172
 
 
15173
 
fi
15174
 
 
15175
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15176
 
      conftest$ac_exeext conftest.$ac_ext
15177
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15178
 
 
15179
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15180
 
        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"
15181
 
       else
15182
 
        if test "$host_cpu" = ia64; then
15183
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15184
 
          allow_undefined_flag_F77="-z nodefs"
15185
 
          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"
15186
 
        else
15187
 
         # Determine the default libpath from the value encoded in an empty executable.
15188
 
         cat >conftest.$ac_ext <<_ACEOF
15189
 
      program main
15190
 
 
15191
 
      end
15192
 
_ACEOF
15193
 
rm -f conftest.$ac_objext conftest$ac_exeext
15194
 
if { (ac_try="$ac_link"
15195
 
case "(($ac_try" in
15196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15197
 
  *) ac_try_echo=$ac_try;;
15198
 
esac
15199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15200
 
  (eval "$ac_link") 2>conftest.er1
15201
 
  ac_status=$?
15202
 
  grep -v '^ *+' conftest.er1 >conftest.err
15203
 
  rm -f conftest.er1
15204
 
  cat conftest.err >&5
15205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206
 
  (exit $ac_status); } && {
15207
 
         test -z "$ac_f77_werror_flag" ||
15208
 
         test ! -s conftest.err
15209
 
       } && test -s conftest$ac_exeext &&
15210
 
       $as_test_x conftest$ac_exeext; then
15211
 
 
15212
 
lt_aix_libpath_sed='
15213
 
    /Import File Strings/,/^$/ {
15214
 
        /^0/ {
15215
 
            s/^0  *\(.*\)$/\1/
15216
 
            p
15217
 
        }
15218
 
    }'
15219
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15220
 
# Check for a 64-bit object if we didn't find anything.
15221
 
if test -z "$aix_libpath"; then
15222
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15223
 
fi
15224
 
else
15225
 
  echo "$as_me: failed program was:" >&5
15226
 
sed 's/^/| /' conftest.$ac_ext >&5
15227
 
 
15228
 
 
15229
 
fi
15230
 
 
15231
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15232
 
      conftest$ac_exeext conftest.$ac_ext
15233
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15234
 
 
15235
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15236
 
          # Warning - without using the other run time loading flags,
15237
 
          # -berok will link without error, but may produce a broken library.
15238
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15239
 
          allow_undefined_flag_F77=' ${wl}-berok'
15240
 
          # Exported symbols can be pulled into shared objects from archives
15241
 
          whole_archive_flag_spec_F77='$convenience'
15242
 
          archive_cmds_need_lc_F77=yes
15243
 
          # This is similar to how AIX traditionally builds its shared libraries.
15244
 
          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'
15245
 
        fi
15246
 
      fi
15247
 
      ;;
15248
 
 
15249
 
    amigaos*)
15250
 
      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)'
15251
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15252
 
      hardcode_minus_L_F77=yes
15253
 
      # see comment about different semantics on the GNU ld section
15254
 
      ld_shlibs_F77=no
15255
 
      ;;
15256
 
 
15257
 
    bsdi[45]*)
15258
 
      export_dynamic_flag_spec_F77=-rdynamic
15259
 
      ;;
15260
 
 
15261
 
    cygwin* | mingw* | pw32*)
15262
 
      # When not using gcc, we currently assume that we are using
15263
 
      # Microsoft Visual C++.
15264
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15265
 
      # no search path for DLLs.
15266
 
      hardcode_libdir_flag_spec_F77=' '
15267
 
      allow_undefined_flag_F77=unsupported
15268
 
      # Tell ltmain to make .lib files, not .a files.
15269
 
      libext=lib
15270
 
      # Tell ltmain to make .dll files, not .so files.
15271
 
      shrext_cmds=".dll"
15272
 
      # FIXME: Setting linknames here is a bad hack.
15273
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15274
 
      # The linker will automatically build a .lib file if we build a DLL.
15275
 
      old_archive_From_new_cmds_F77='true'
15276
 
      # FIXME: Should let the user specify the lib program.
15277
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15278
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15279
 
      enable_shared_with_static_runtimes_F77=yes
15280
 
      ;;
15281
 
 
15282
 
    darwin* | rhapsody*)
15283
 
      case $host_os in
15284
 
        rhapsody* | darwin1.[012])
15285
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15286
 
         ;;
15287
 
       *) # Darwin 1.3 on
15288
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15289
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15290
 
         else
15291
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15292
 
             10.[012])
15293
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15294
 
               ;;
15295
 
             10.*)
15296
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15297
 
               ;;
15298
 
           esac
15299
 
         fi
15300
 
         ;;
15301
 
      esac
15302
 
      archive_cmds_need_lc_F77=no
15303
 
      hardcode_direct_F77=no
15304
 
      hardcode_automatic_F77=yes
15305
 
      hardcode_shlibpath_var_F77=unsupported
15306
 
      whole_archive_flag_spec_F77=''
15307
 
      link_all_deplibs_F77=yes
15308
 
    if test "$GCC" = yes ; then
15309
 
        output_verbose_link_cmd='echo'
15310
 
        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}"
15311
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15312
 
        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}"
15313
 
        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}"
15314
 
    else
15315
 
      case $cc_basename in
15316
 
        xlc*)
15317
 
         output_verbose_link_cmd='echo'
15318
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15319
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15320
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15321
 
         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}'
15322
 
          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}'
15323
 
          ;;
15324
 
       *)
15325
 
         ld_shlibs_F77=no
15326
 
          ;;
15327
 
      esac
15328
 
    fi
15329
 
      ;;
15330
 
 
15331
 
    dgux*)
15332
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15333
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15334
 
      hardcode_shlibpath_var_F77=no
15335
 
      ;;
15336
 
 
15337
 
    freebsd1*)
15338
 
      ld_shlibs_F77=no
15339
 
      ;;
15340
 
 
15341
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15342
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15343
 
    # does not break anything, and helps significantly (at the cost of a little
15344
 
    # extra space).
15345
 
    freebsd2.2*)
15346
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15347
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15348
 
      hardcode_direct_F77=yes
15349
 
      hardcode_shlibpath_var_F77=no
15350
 
      ;;
15351
 
 
15352
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15353
 
    freebsd2*)
15354
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15355
 
      hardcode_direct_F77=yes
15356
 
      hardcode_minus_L_F77=yes
15357
 
      hardcode_shlibpath_var_F77=no
15358
 
      ;;
15359
 
 
15360
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15361
 
    freebsd* | dragonfly*)
15362
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15363
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15364
 
      hardcode_direct_F77=yes
15365
 
      hardcode_shlibpath_var_F77=no
15366
 
      ;;
15367
 
 
15368
 
    hpux9*)
15369
 
      if test "$GCC" = yes; then
15370
 
        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'
15371
 
      else
15372
 
        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'
15373
 
      fi
15374
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15375
 
      hardcode_libdir_separator_F77=:
15376
 
      hardcode_direct_F77=yes
15377
 
 
15378
 
      # hardcode_minus_L: Not really in the search PATH,
15379
 
      # but as the default location of the library.
15380
 
      hardcode_minus_L_F77=yes
15381
 
      export_dynamic_flag_spec_F77='${wl}-E'
15382
 
      ;;
15383
 
 
15384
 
    hpux10*)
15385
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15386
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15387
 
      else
15388
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15389
 
      fi
15390
 
      if test "$with_gnu_ld" = no; then
15391
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15392
 
        hardcode_libdir_separator_F77=:
15393
 
 
15394
 
        hardcode_direct_F77=yes
15395
 
        export_dynamic_flag_spec_F77='${wl}-E'
15396
 
 
15397
 
        # hardcode_minus_L: Not really in the search PATH,
15398
 
        # but as the default location of the library.
15399
 
        hardcode_minus_L_F77=yes
15400
 
      fi
15401
 
      ;;
15402
 
 
15403
 
    hpux11*)
15404
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15405
 
        case $host_cpu in
15406
 
        hppa*64*)
15407
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15408
 
          ;;
15409
 
        ia64*)
15410
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15411
 
          ;;
15412
 
        *)
15413
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15414
 
          ;;
15415
 
        esac
15416
 
      else
15417
 
        case $host_cpu in
15418
 
        hppa*64*)
15419
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15420
 
          ;;
15421
 
        ia64*)
15422
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15423
 
          ;;
15424
 
        *)
15425
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15426
 
          ;;
15427
 
        esac
15428
 
      fi
15429
 
      if test "$with_gnu_ld" = no; then
15430
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15431
 
        hardcode_libdir_separator_F77=:
15432
 
 
15433
 
        case $host_cpu in
15434
 
        hppa*64*|ia64*)
15435
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15436
 
          hardcode_direct_F77=no
15437
 
          hardcode_shlibpath_var_F77=no
15438
 
          ;;
15439
 
        *)
15440
 
          hardcode_direct_F77=yes
15441
 
          export_dynamic_flag_spec_F77='${wl}-E'
15442
 
 
15443
 
          # hardcode_minus_L: Not really in the search PATH,
15444
 
          # but as the default location of the library.
15445
 
          hardcode_minus_L_F77=yes
15446
 
          ;;
15447
 
        esac
15448
 
      fi
15449
 
      ;;
15450
 
 
15451
 
    irix5* | irix6* | nonstopux*)
15452
 
      if test "$GCC" = yes; then
15453
 
        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'
15454
 
      else
15455
 
        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'
15456
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15457
 
      fi
15458
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15459
 
      hardcode_libdir_separator_F77=:
15460
 
      link_all_deplibs_F77=yes
15461
 
      ;;
15462
 
 
15463
 
    netbsd*)
15464
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15465
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15466
 
      else
15467
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15468
 
      fi
15469
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15470
 
      hardcode_direct_F77=yes
15471
 
      hardcode_shlibpath_var_F77=no
15472
 
      ;;
15473
 
 
15474
 
    newsos6)
15475
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15476
 
      hardcode_direct_F77=yes
15477
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15478
 
      hardcode_libdir_separator_F77=:
15479
 
      hardcode_shlibpath_var_F77=no
15480
 
      ;;
15481
 
 
15482
 
    openbsd*)
15483
 
      if test -f /usr/libexec/ld.so; then
15484
 
        hardcode_direct_F77=yes
15485
 
        hardcode_shlibpath_var_F77=no
15486
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15487
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15488
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15489
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15490
 
          export_dynamic_flag_spec_F77='${wl}-E'
15491
 
        else
15492
 
          case $host_os in
15493
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15494
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15495
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15496
 
             ;;
15497
 
           *)
15498
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15499
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15500
 
             ;;
15501
 
          esac
15502
 
        fi
15503
 
      else
15504
 
        ld_shlibs_F77=no
15505
 
      fi
15506
 
      ;;
15507
 
 
15508
 
    os2*)
15509
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15510
 
      hardcode_minus_L_F77=yes
15511
 
      allow_undefined_flag_F77=unsupported
15512
 
      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'
15513
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15514
 
      ;;
15515
 
 
15516
 
    osf3*)
15517
 
      if test "$GCC" = yes; then
15518
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15519
 
        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'
15520
 
      else
15521
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15522
 
        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'
15523
 
      fi
15524
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15525
 
      hardcode_libdir_separator_F77=:
15526
 
      ;;
15527
 
 
15528
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15529
 
      if test "$GCC" = yes; then
15530
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15531
 
        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'
15532
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15533
 
      else
15534
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15535
 
        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'
15536
 
        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~
15537
 
        $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'
15538
 
 
15539
 
        # Both c and cxx compiler support -rpath directly
15540
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15541
 
      fi
15542
 
      hardcode_libdir_separator_F77=:
15543
 
      ;;
15544
 
 
15545
 
    solaris*)
15546
 
      no_undefined_flag_F77=' -z text'
15547
 
      if test "$GCC" = yes; then
15548
 
        wlarc='${wl}'
15549
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15550
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15551
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15552
 
      else
15553
 
        wlarc=''
15554
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15555
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15556
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15557
 
      fi
15558
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15559
 
      hardcode_shlibpath_var_F77=no
15560
 
      case $host_os in
15561
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15562
 
      *)
15563
 
        # The compiler driver will combine and reorder linker options,
15564
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15565
 
        # but is careful enough not to reorder.
15566
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15567
 
        if test "$GCC" = yes; then
15568
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15569
 
        else
15570
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15571
 
        fi
15572
 
        ;;
15573
 
      esac
15574
 
      link_all_deplibs_F77=yes
15575
 
      ;;
15576
 
 
15577
 
    sunos4*)
15578
 
      if test "x$host_vendor" = xsequent; then
15579
 
        # Use $CC to link under sequent, because it throws in some extra .o
15580
 
        # files that make .init and .fini sections work.
15581
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15582
 
      else
15583
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15584
 
      fi
15585
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15586
 
      hardcode_direct_F77=yes
15587
 
      hardcode_minus_L_F77=yes
15588
 
      hardcode_shlibpath_var_F77=no
15589
 
      ;;
15590
 
 
15591
 
    sysv4)
15592
 
      case $host_vendor in
15593
 
        sni)
15594
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15595
 
          hardcode_direct_F77=yes # is this really true???
15596
 
        ;;
15597
 
        siemens)
15598
 
          ## LD is ld it makes a PLAMLIB
15599
 
          ## CC just makes a GrossModule.
15600
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15601
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15602
 
          hardcode_direct_F77=no
15603
 
        ;;
15604
 
        motorola)
15605
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15606
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15607
 
        ;;
15608
 
      esac
15609
 
      runpath_var='LD_RUN_PATH'
15610
 
      hardcode_shlibpath_var_F77=no
15611
 
      ;;
15612
 
 
15613
 
    sysv4.3*)
15614
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15615
 
      hardcode_shlibpath_var_F77=no
15616
 
      export_dynamic_flag_spec_F77='-Bexport'
15617
 
      ;;
15618
 
 
15619
 
    sysv4*MP*)
15620
 
      if test -d /usr/nec; then
15621
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15622
 
        hardcode_shlibpath_var_F77=no
15623
 
        runpath_var=LD_RUN_PATH
15624
 
        hardcode_runpath_var=yes
15625
 
        ld_shlibs_F77=yes
15626
 
      fi
15627
 
      ;;
15628
 
 
15629
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15630
 
      no_undefined_flag_F77='${wl}-z,text'
15631
 
      archive_cmds_need_lc_F77=no
15632
 
      hardcode_shlibpath_var_F77=no
15633
 
      runpath_var='LD_RUN_PATH'
15634
 
 
15635
 
      if test "$GCC" = yes; then
15636
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15637
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15638
 
      else
15639
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15640
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15641
 
      fi
15642
 
      ;;
15643
 
 
15644
 
    sysv5* | sco3.2v5* | sco5v6*)
15645
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15646
 
      # link with -lc, and that would cause any symbols used from libc to
15647
 
      # always be unresolved, which means just about no library would
15648
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15649
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15650
 
      # as -z defs.
15651
 
      no_undefined_flag_F77='${wl}-z,text'
15652
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15653
 
      archive_cmds_need_lc_F77=no
15654
 
      hardcode_shlibpath_var_F77=no
15655
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15656
 
      hardcode_libdir_separator_F77=':'
15657
 
      link_all_deplibs_F77=yes
15658
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15659
 
      runpath_var='LD_RUN_PATH'
15660
 
 
15661
 
      if test "$GCC" = yes; then
15662
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15663
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15664
 
      else
15665
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15666
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15667
 
      fi
15668
 
      ;;
15669
 
 
15670
 
    uts4*)
15671
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15672
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15673
 
      hardcode_shlibpath_var_F77=no
15674
 
      ;;
15675
 
 
15676
 
    *)
15677
 
      ld_shlibs_F77=no
15678
 
      ;;
15679
 
    esac
15680
 
  fi
15681
 
 
15682
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15683
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15684
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15685
 
 
15686
 
#
15687
 
# Do we need to explicitly link libc?
15688
 
#
15689
 
case "x$archive_cmds_need_lc_F77" in
15690
 
x|xyes)
15691
 
  # Assume -lc should be added
15692
 
  archive_cmds_need_lc_F77=yes
15693
 
 
15694
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15695
 
    case $archive_cmds_F77 in
15696
 
    *'~'*)
15697
 
      # FIXME: we may have to deal with multi-command sequences.
15698
 
      ;;
15699
 
    '$CC '*)
15700
 
      # Test whether the compiler implicitly links with -lc since on some
15701
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15702
 
      # to ld, don't add -lc before -lgcc.
15703
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15704
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15705
 
      $rm conftest*
15706
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15707
 
 
15708
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15709
 
  (eval $ac_compile) 2>&5
15710
 
  ac_status=$?
15711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712
 
  (exit $ac_status); } 2>conftest.err; then
15713
 
        soname=conftest
15714
 
        lib=conftest
15715
 
        libobjs=conftest.$ac_objext
15716
 
        deplibs=
15717
 
        wl=$lt_prog_compiler_wl_F77
15718
 
        pic_flag=$lt_prog_compiler_pic_F77
15719
 
        compiler_flags=-v
15720
 
        linker_flags=-v
15721
 
        verstring=
15722
 
        output_objdir=.
15723
 
        libname=conftest
15724
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15725
 
        allow_undefined_flag_F77=
15726
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15727
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15728
 
  ac_status=$?
15729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730
 
  (exit $ac_status); }
15731
 
        then
15732
 
          archive_cmds_need_lc_F77=no
15733
 
        else
15734
 
          archive_cmds_need_lc_F77=yes
15735
 
        fi
15736
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15737
 
      else
15738
 
        cat conftest.err 1>&5
15739
 
      fi
15740
 
      $rm conftest*
15741
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15742
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15743
 
      ;;
15744
 
    esac
15745
 
  fi
15746
 
  ;;
15747
 
esac
15748
 
 
15749
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15750
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15751
 
library_names_spec=
15752
 
libname_spec='lib$name'
15753
 
soname_spec=
15754
 
shrext_cmds=".so"
15755
 
postinstall_cmds=
15756
 
postuninstall_cmds=
15757
 
finish_cmds=
15758
 
finish_eval=
15759
 
shlibpath_var=
15760
 
shlibpath_overrides_runpath=unknown
15761
 
version_type=none
15762
 
dynamic_linker="$host_os ld.so"
15763
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15764
 
 
15765
 
need_lib_prefix=unknown
15766
 
hardcode_into_libs=no
15767
 
 
15768
 
# when you set need_version to no, make sure it does not cause -set_version
15769
 
# flags to be left without arguments
15770
 
need_version=unknown
15771
 
 
15772
 
case $host_os in
15773
 
aix3*)
15774
 
  version_type=linux
15775
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15776
 
  shlibpath_var=LIBPATH
15777
 
 
15778
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15779
 
  soname_spec='${libname}${release}${shared_ext}$major'
15780
 
  ;;
15781
 
 
15782
 
aix[4-9]*)
15783
 
  version_type=linux
15784
 
  need_lib_prefix=no
15785
 
  need_version=no
15786
 
  hardcode_into_libs=yes
15787
 
  if test "$host_cpu" = ia64; then
15788
 
    # AIX 5 supports IA64
15789
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15790
 
    shlibpath_var=LD_LIBRARY_PATH
15791
 
  else
15792
 
    # With GCC up to 2.95.x, collect2 would create an import file
15793
 
    # for dependence libraries.  The import file would start with
15794
 
    # the line `#! .'.  This would cause the generated library to
15795
 
    # depend on `.', always an invalid library.  This was fixed in
15796
 
    # development snapshots of GCC prior to 3.0.
15797
 
    case $host_os in
15798
 
      aix4 | aix4.[01] | aix4.[01].*)
15799
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15800
 
           echo ' yes '
15801
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15802
 
        :
15803
 
      else
15804
 
        can_build_shared=no
15805
 
      fi
15806
 
      ;;
15807
 
    esac
15808
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15809
 
    # soname into executable. Probably we can add versioning support to
15810
 
    # collect2, so additional links can be useful in future.
15811
 
    if test "$aix_use_runtimelinking" = yes; then
15812
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15813
 
      # instead of lib<name>.a to let people know that these are not
15814
 
      # typical AIX shared libraries.
15815
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15816
 
    else
15817
 
      # We preserve .a as extension for shared libraries through AIX4.2
15818
 
      # and later when we are not doing run time linking.
15819
 
      library_names_spec='${libname}${release}.a $libname.a'
15820
 
      soname_spec='${libname}${release}${shared_ext}$major'
15821
 
    fi
15822
 
    shlibpath_var=LIBPATH
15823
 
  fi
15824
 
  ;;
15825
 
 
15826
 
amigaos*)
15827
 
  library_names_spec='$libname.ixlibrary $libname.a'
15828
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15829
 
  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'
15830
 
  ;;
15831
 
 
15832
 
beos*)
15833
 
  library_names_spec='${libname}${shared_ext}'
15834
 
  dynamic_linker="$host_os ld.so"
15835
 
  shlibpath_var=LIBRARY_PATH
15836
 
  ;;
15837
 
 
15838
 
bsdi[45]*)
15839
 
  version_type=linux
15840
 
  need_version=no
15841
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15842
 
  soname_spec='${libname}${release}${shared_ext}$major'
15843
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15844
 
  shlibpath_var=LD_LIBRARY_PATH
15845
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15846
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15847
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15848
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15849
 
  # libtool to hard-code these into programs
15850
 
  ;;
15851
 
 
15852
 
cygwin* | mingw* | pw32*)
15853
 
  version_type=windows
15854
 
  shrext_cmds=".dll"
15855
 
  need_version=no
15856
 
  need_lib_prefix=no
15857
 
 
15858
 
  case $GCC,$host_os in
15859
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15860
 
    library_names_spec='$libname.dll.a'
15861
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15862
 
    postinstall_cmds='base_file=`basename \${file}`~
15863
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15864
 
      dldir=$destdir/`dirname \$dlpath`~
15865
 
      test -d \$dldir || mkdir -p \$dldir~
15866
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15867
 
      chmod a+x \$dldir/$dlname'
15868
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15869
 
      dlpath=$dir/\$dldll~
15870
 
       $rm \$dlpath'
15871
 
    shlibpath_overrides_runpath=yes
15872
 
 
15873
 
    case $host_os in
15874
 
    cygwin*)
15875
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15876
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15877
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15878
 
      ;;
15879
 
    mingw*)
15880
 
      # MinGW DLLs use traditional 'lib' prefix
15881
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15882
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15883
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15884
 
        # It is most probably a Windows format PATH printed by
15885
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15886
 
        # path with ; separators, and with drive letters. We can handle the
15887
 
        # drive letters (cygwin fileutils understands them), so leave them,
15888
 
        # especially as we might pass files found there to a mingw objdump,
15889
 
        # which wouldn't understand a cygwinified path. Ahh.
15890
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15891
 
      else
15892
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15893
 
      fi
15894
 
      ;;
15895
 
    pw32*)
15896
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15897
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15898
 
      ;;
15899
 
    esac
15900
 
    ;;
15901
 
 
15902
 
  *)
15903
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15904
 
    ;;
15905
 
  esac
15906
 
  dynamic_linker='Win32 ld.exe'
15907
 
  # FIXME: first we should search . and the directory the executable is in
15908
 
  shlibpath_var=PATH
15909
 
  ;;
15910
 
 
15911
 
darwin* | rhapsody*)
15912
 
  dynamic_linker="$host_os dyld"
15913
 
  version_type=darwin
15914
 
  need_lib_prefix=no
15915
 
  need_version=no
15916
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15917
 
  soname_spec='${libname}${release}${major}$shared_ext'
15918
 
  shlibpath_overrides_runpath=yes
15919
 
  shlibpath_var=DYLD_LIBRARY_PATH
15920
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15921
 
 
15922
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15923
 
  ;;
15924
 
 
15925
 
dgux*)
15926
 
  version_type=linux
15927
 
  need_lib_prefix=no
15928
 
  need_version=no
15929
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15930
 
  soname_spec='${libname}${release}${shared_ext}$major'
15931
 
  shlibpath_var=LD_LIBRARY_PATH
15932
 
  ;;
15933
 
 
15934
 
freebsd1*)
15935
 
  dynamic_linker=no
15936
 
  ;;
15937
 
 
15938
 
freebsd* | dragonfly*)
15939
 
  # DragonFly does not have aout.  When/if they implement a new
15940
 
  # versioning mechanism, adjust this.
15941
 
  if test -x /usr/bin/objformat; then
15942
 
    objformat=`/usr/bin/objformat`
15943
 
  else
15944
 
    case $host_os in
15945
 
    freebsd[123]*) objformat=aout ;;
15946
 
    *) objformat=elf ;;
15947
 
    esac
15948
 
  fi
15949
 
  # Handle Gentoo/FreeBSD as it was Linux
15950
 
  case $host_vendor in
15951
 
    gentoo)
15952
 
      version_type=linux ;;
15953
 
    *)
15954
 
      version_type=freebsd-$objformat ;;
15955
 
  esac
15956
 
 
15957
 
  case $version_type in
15958
 
    freebsd-elf*)
15959
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15960
 
      need_version=no
15961
 
      need_lib_prefix=no
15962
 
      ;;
15963
 
    freebsd-*)
15964
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15965
 
      need_version=yes
15966
 
      ;;
15967
 
    linux)
15968
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15969
 
      soname_spec='${libname}${release}${shared_ext}$major'
15970
 
      need_lib_prefix=no
15971
 
      need_version=no
15972
 
      ;;
15973
 
  esac
15974
 
  shlibpath_var=LD_LIBRARY_PATH
15975
 
  case $host_os in
15976
 
  freebsd2*)
15977
 
    shlibpath_overrides_runpath=yes
15978
 
    ;;
15979
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15980
 
    shlibpath_overrides_runpath=yes
15981
 
    hardcode_into_libs=yes
15982
 
    ;;
15983
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15984
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15985
 
    shlibpath_overrides_runpath=no
15986
 
    hardcode_into_libs=yes
15987
 
    ;;
15988
 
  *) # from 4.6 on, and DragonFly
15989
 
    shlibpath_overrides_runpath=yes
15990
 
    hardcode_into_libs=yes
15991
 
    ;;
15992
 
  esac
15993
 
  ;;
15994
 
 
15995
 
gnu*)
15996
 
  version_type=linux
15997
 
  need_lib_prefix=no
15998
 
  need_version=no
15999
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16000
 
  soname_spec='${libname}${release}${shared_ext}$major'
16001
 
  shlibpath_var=LD_LIBRARY_PATH
16002
 
  hardcode_into_libs=yes
16003
 
  ;;
16004
 
 
16005
 
hpux9* | hpux10* | hpux11*)
16006
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16007
 
  # link against other versions.
16008
 
  version_type=sunos
16009
 
  need_lib_prefix=no
16010
 
  need_version=no
16011
 
  case $host_cpu in
16012
 
  ia64*)
16013
 
    shrext_cmds='.so'
16014
 
    hardcode_into_libs=yes
16015
 
    dynamic_linker="$host_os dld.so"
16016
 
    shlibpath_var=LD_LIBRARY_PATH
16017
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16018
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16019
 
    soname_spec='${libname}${release}${shared_ext}$major'
16020
 
    if test "X$HPUX_IA64_MODE" = X32; then
16021
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16022
 
    else
16023
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16024
 
    fi
16025
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16026
 
    ;;
16027
 
   hppa*64*)
16028
 
     shrext_cmds='.sl'
16029
 
     hardcode_into_libs=yes
16030
 
     dynamic_linker="$host_os dld.sl"
16031
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16032
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16033
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16034
 
     soname_spec='${libname}${release}${shared_ext}$major'
16035
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16036
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16037
 
     ;;
16038
 
   *)
16039
 
    shrext_cmds='.sl'
16040
 
    dynamic_linker="$host_os dld.sl"
16041
 
    shlibpath_var=SHLIB_PATH
16042
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16043
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16044
 
    soname_spec='${libname}${release}${shared_ext}$major'
16045
 
    ;;
16046
 
  esac
16047
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16048
 
  postinstall_cmds='chmod 555 $lib'
16049
 
  ;;
16050
 
 
16051
 
interix[3-9]*)
16052
 
  version_type=linux
16053
 
  need_lib_prefix=no
16054
 
  need_version=no
16055
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16056
 
  soname_spec='${libname}${release}${shared_ext}$major'
16057
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16058
 
  shlibpath_var=LD_LIBRARY_PATH
16059
 
  shlibpath_overrides_runpath=no
16060
 
  hardcode_into_libs=yes
16061
 
  ;;
16062
 
 
16063
 
irix5* | irix6* | nonstopux*)
16064
 
  case $host_os in
16065
 
    nonstopux*) version_type=nonstopux ;;
16066
 
    *)
16067
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16068
 
                version_type=linux
16069
 
        else
16070
 
                version_type=irix
16071
 
        fi ;;
16072
 
  esac
16073
 
  need_lib_prefix=no
16074
 
  need_version=no
16075
 
  soname_spec='${libname}${release}${shared_ext}$major'
16076
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16077
 
  case $host_os in
16078
 
  irix5* | nonstopux*)
16079
 
    libsuff= shlibsuff=
16080
 
    ;;
16081
 
  *)
16082
 
    case $LD in # libtool.m4 will add one of these switches to LD
16083
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16084
 
      libsuff= shlibsuff= libmagic=32-bit;;
16085
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16086
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16087
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16088
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16089
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16090
 
    esac
16091
 
    ;;
16092
 
  esac
16093
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16094
 
  shlibpath_overrides_runpath=no
16095
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16096
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16097
 
  hardcode_into_libs=yes
16098
 
  ;;
16099
 
 
16100
 
# No shared lib support for Linux oldld, aout, or coff.
16101
 
linux*oldld* | linux*aout* | linux*coff*)
16102
 
  dynamic_linker=no
16103
 
  ;;
16104
 
 
16105
 
# This must be Linux ELF.
16106
 
linux* | k*bsd*-gnu)
16107
 
  version_type=linux
16108
 
  need_lib_prefix=no
16109
 
  need_version=no
16110
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16111
 
  soname_spec='${libname}${release}${shared_ext}$major'
16112
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16113
 
  shlibpath_var=LD_LIBRARY_PATH
16114
 
  shlibpath_overrides_runpath=no
16115
 
  # This implies no fast_install, which is unacceptable.
16116
 
  # Some rework will be needed to allow for fast_install
16117
 
  # before this can be enabled.
16118
 
  hardcode_into_libs=yes
16119
 
 
16120
 
  # Append ld.so.conf contents to the search path
16121
 
  if test -f /etc/ld.so.conf; then
16122
 
    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' ' '`
16123
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16124
 
  fi
16125
 
 
16126
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16127
 
  # powerpc, because MkLinux only supported shared libraries with the
16128
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16129
 
  # most powerpc-linux boxes support dynamic linking these days and
16130
 
  # people can always --disable-shared, the test was removed, and we
16131
 
  # assume the GNU/Linux dynamic linker is in use.
16132
 
  dynamic_linker='GNU/Linux ld.so'
16133
 
  ;;
16134
 
 
16135
 
netbsd*)
16136
 
  version_type=sunos
16137
 
  need_lib_prefix=no
16138
 
  need_version=no
16139
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16140
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16141
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16142
 
    dynamic_linker='NetBSD (a.out) ld.so'
16143
 
  else
16144
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16145
 
    soname_spec='${libname}${release}${shared_ext}$major'
16146
 
    dynamic_linker='NetBSD ld.elf_so'
16147
 
  fi
16148
 
  shlibpath_var=LD_LIBRARY_PATH
16149
 
  shlibpath_overrides_runpath=yes
16150
 
  hardcode_into_libs=yes
16151
 
  ;;
16152
 
 
16153
 
newsos6)
16154
 
  version_type=linux
16155
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16156
 
  shlibpath_var=LD_LIBRARY_PATH
16157
 
  shlibpath_overrides_runpath=yes
16158
 
  ;;
16159
 
 
16160
 
nto-qnx*)
16161
 
  version_type=linux
16162
 
  need_lib_prefix=no
16163
 
  need_version=no
16164
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16165
 
  soname_spec='${libname}${release}${shared_ext}$major'
16166
 
  shlibpath_var=LD_LIBRARY_PATH
16167
 
  shlibpath_overrides_runpath=yes
16168
 
  ;;
16169
 
 
16170
 
openbsd*)
16171
 
  version_type=sunos
16172
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16173
 
  need_lib_prefix=no
16174
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16175
 
  case $host_os in
16176
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16177
 
    *)                         need_version=no  ;;
16178
 
  esac
16179
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16180
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16181
 
  shlibpath_var=LD_LIBRARY_PATH
16182
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16183
 
    case $host_os in
16184
 
      openbsd2.[89] | openbsd2.[89].*)
16185
 
        shlibpath_overrides_runpath=no
16186
 
        ;;
16187
 
      *)
16188
 
        shlibpath_overrides_runpath=yes
16189
 
        ;;
16190
 
      esac
16191
 
  else
16192
 
    shlibpath_overrides_runpath=yes
16193
 
  fi
16194
 
  ;;
16195
 
 
16196
 
os2*)
16197
 
  libname_spec='$name'
16198
 
  shrext_cmds=".dll"
16199
 
  need_lib_prefix=no
16200
 
  library_names_spec='$libname${shared_ext} $libname.a'
16201
 
  dynamic_linker='OS/2 ld.exe'
16202
 
  shlibpath_var=LIBPATH
16203
 
  ;;
16204
 
 
16205
 
osf3* | osf4* | osf5*)
16206
 
  version_type=osf
16207
 
  need_lib_prefix=no
16208
 
  need_version=no
16209
 
  soname_spec='${libname}${release}${shared_ext}$major'
16210
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16211
 
  shlibpath_var=LD_LIBRARY_PATH
16212
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16213
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16214
 
  ;;
16215
 
 
16216
 
rdos*)
16217
 
  dynamic_linker=no
16218
 
  ;;
16219
 
 
16220
 
solaris*)
16221
 
  version_type=linux
16222
 
  need_lib_prefix=no
16223
 
  need_version=no
16224
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16225
 
  soname_spec='${libname}${release}${shared_ext}$major'
16226
 
  shlibpath_var=LD_LIBRARY_PATH
16227
 
  shlibpath_overrides_runpath=yes
16228
 
  hardcode_into_libs=yes
16229
 
  # ldd complains unless libraries are executable
16230
 
  postinstall_cmds='chmod +x $lib'
16231
 
  ;;
16232
 
 
16233
 
sunos4*)
16234
 
  version_type=sunos
16235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16236
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16237
 
  shlibpath_var=LD_LIBRARY_PATH
16238
 
  shlibpath_overrides_runpath=yes
16239
 
  if test "$with_gnu_ld" = yes; then
16240
 
    need_lib_prefix=no
16241
 
  fi
16242
 
  need_version=yes
16243
 
  ;;
16244
 
 
16245
 
sysv4 | sysv4.3*)
16246
 
  version_type=linux
16247
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16248
 
  soname_spec='${libname}${release}${shared_ext}$major'
16249
 
  shlibpath_var=LD_LIBRARY_PATH
16250
 
  case $host_vendor in
16251
 
    sni)
16252
 
      shlibpath_overrides_runpath=no
16253
 
      need_lib_prefix=no
16254
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16255
 
      runpath_var=LD_RUN_PATH
16256
 
      ;;
16257
 
    siemens)
16258
 
      need_lib_prefix=no
16259
 
      ;;
16260
 
    motorola)
16261
 
      need_lib_prefix=no
16262
 
      need_version=no
16263
 
      shlibpath_overrides_runpath=no
16264
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16265
 
      ;;
16266
 
  esac
16267
 
  ;;
16268
 
 
16269
 
sysv4*MP*)
16270
 
  if test -d /usr/nec ;then
16271
 
    version_type=linux
16272
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16273
 
    soname_spec='$libname${shared_ext}.$major'
16274
 
    shlibpath_var=LD_LIBRARY_PATH
16275
 
  fi
16276
 
  ;;
16277
 
 
16278
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16279
 
  version_type=freebsd-elf
16280
 
  need_lib_prefix=no
16281
 
  need_version=no
16282
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16283
 
  soname_spec='${libname}${release}${shared_ext}$major'
16284
 
  shlibpath_var=LD_LIBRARY_PATH
16285
 
  hardcode_into_libs=yes
16286
 
  if test "$with_gnu_ld" = yes; then
16287
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16288
 
    shlibpath_overrides_runpath=no
16289
 
  else
16290
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16291
 
    shlibpath_overrides_runpath=yes
16292
 
    case $host_os in
16293
 
      sco3.2v5*)
16294
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16295
 
        ;;
16296
 
    esac
16297
 
  fi
16298
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16299
 
  ;;
16300
 
 
16301
 
uts4*)
16302
 
  version_type=linux
16303
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16304
 
  soname_spec='${libname}${release}${shared_ext}$major'
16305
 
  shlibpath_var=LD_LIBRARY_PATH
16306
 
  ;;
16307
 
 
16308
 
*)
16309
 
  dynamic_linker=no
16310
 
  ;;
16311
 
esac
16312
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16313
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16314
 
test "$dynamic_linker" = no && can_build_shared=no
16315
 
 
16316
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16317
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16318
 
else
16319
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16320
 
fi
16321
 
 
16322
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16323
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16325
 
else
16326
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16327
 
fi
16328
 
 
16329
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16330
 
 
16331
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16332
 
if test "$GCC" = yes; then
16333
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16334
 
fi
16335
 
 
16336
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16337
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16338
 
hardcode_action_F77=
16339
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16340
 
   test -n "$runpath_var_F77" || \
16341
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16342
 
 
16343
 
  # We can hardcode non-existant directories.
16344
 
  if test "$hardcode_direct_F77" != no &&
16345
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16346
 
     # have to relink, otherwise we might link with an installed library
16347
 
     # when we should be linking with a yet-to-be-installed one
16348
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16349
 
     test "$hardcode_minus_L_F77" != no; then
16350
 
    # Linking always hardcodes the temporary library directory.
16351
 
    hardcode_action_F77=relink
16352
 
  else
16353
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16354
 
    hardcode_action_F77=immediate
16355
 
  fi
16356
 
else
16357
 
  # We cannot hardcode anything, or else we can only hardcode existing
16358
 
  # directories.
16359
 
  hardcode_action_F77=unsupported
16360
 
fi
16361
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16362
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16363
 
 
16364
 
if test "$hardcode_action_F77" = relink; then
16365
 
  # Fast installation is not supported
16366
 
  enable_fast_install=no
16367
 
elif test "$shlibpath_overrides_runpath" = yes ||
16368
 
     test "$enable_shared" = no; then
16369
 
  # Fast installation is not necessary
16370
 
  enable_fast_install=needless
16371
 
fi
16372
 
 
16373
 
 
16374
 
# The else clause should only fire when bootstrapping the
16375
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16376
 
# with your package, and you will get complaints that there are
16377
 
# no rules to generate ltmain.sh.
16378
 
if test -f "$ltmain"; then
16379
 
  # See if we are running on zsh, and set the options which allow our commands through
16380
 
  # without removal of \ escapes.
16381
 
  if test -n "${ZSH_VERSION+set}" ; then
16382
 
    setopt NO_GLOB_SUBST
16383
 
  fi
16384
 
  # Now quote all the things that may contain metacharacters while being
16385
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16386
 
  # variables and quote the copies for generation of the libtool script.
16387
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16388
 
    SED SHELL STRIP \
16389
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16390
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16391
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16392
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16393
 
    lt_cv_sys_global_symbol_to_c_name_address \
16394
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16395
 
    old_postinstall_cmds old_postuninstall_cmds \
16396
 
    compiler_F77 \
16397
 
    CC_F77 \
16398
 
    LD_F77 \
16399
 
    lt_prog_compiler_wl_F77 \
16400
 
    lt_prog_compiler_pic_F77 \
16401
 
    lt_prog_compiler_static_F77 \
16402
 
    lt_prog_compiler_no_builtin_flag_F77 \
16403
 
    export_dynamic_flag_spec_F77 \
16404
 
    thread_safe_flag_spec_F77 \
16405
 
    whole_archive_flag_spec_F77 \
16406
 
    enable_shared_with_static_runtimes_F77 \
16407
 
    old_archive_cmds_F77 \
16408
 
    old_archive_from_new_cmds_F77 \
16409
 
    predep_objects_F77 \
16410
 
    postdep_objects_F77 \
16411
 
    predeps_F77 \
16412
 
    postdeps_F77 \
16413
 
    compiler_lib_search_path_F77 \
16414
 
    compiler_lib_search_dirs_F77 \
16415
 
    archive_cmds_F77 \
16416
 
    archive_expsym_cmds_F77 \
16417
 
    postinstall_cmds_F77 \
16418
 
    postuninstall_cmds_F77 \
16419
 
    old_archive_from_expsyms_cmds_F77 \
16420
 
    allow_undefined_flag_F77 \
16421
 
    no_undefined_flag_F77 \
16422
 
    export_symbols_cmds_F77 \
16423
 
    hardcode_libdir_flag_spec_F77 \
16424
 
    hardcode_libdir_flag_spec_ld_F77 \
16425
 
    hardcode_libdir_separator_F77 \
16426
 
    hardcode_automatic_F77 \
16427
 
    module_cmds_F77 \
16428
 
    module_expsym_cmds_F77 \
16429
 
    lt_cv_prog_compiler_c_o_F77 \
16430
 
    fix_srcfile_path_F77 \
16431
 
    exclude_expsyms_F77 \
16432
 
    include_expsyms_F77; do
16433
 
 
16434
 
    case $var in
16435
 
    old_archive_cmds_F77 | \
16436
 
    old_archive_from_new_cmds_F77 | \
16437
 
    archive_cmds_F77 | \
16438
 
    archive_expsym_cmds_F77 | \
16439
 
    module_cmds_F77 | \
16440
 
    module_expsym_cmds_F77 | \
16441
 
    old_archive_from_expsyms_cmds_F77 | \
16442
 
    export_symbols_cmds_F77 | \
16443
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16444
 
    postinstall_cmds | postuninstall_cmds | \
16445
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16446
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16447
 
      # Double-quote double-evaled strings.
16448
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16449
 
      ;;
16450
 
    *)
16451
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16452
 
      ;;
16453
 
    esac
16454
 
  done
16455
 
 
16456
 
  case $lt_echo in
16457
 
  *'\$0 --fallback-echo"')
16458
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16459
 
    ;;
16460
 
  esac
16461
 
 
16462
 
cfgfile="$ofile"
16463
 
 
16464
 
  cat <<__EOF__ >> "$cfgfile"
16465
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16466
 
 
16467
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16468
 
 
16469
 
# Shell to use when invoking shell scripts.
16470
 
SHELL=$lt_SHELL
16471
 
 
16472
 
# Whether or not to build shared libraries.
16473
 
build_libtool_libs=$enable_shared
16474
 
 
16475
 
# Whether or not to build static libraries.
16476
 
build_old_libs=$enable_static
16477
 
 
16478
 
# Whether or not to add -lc for building shared libraries.
16479
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16480
 
 
16481
 
# Whether or not to disallow shared libs when runtime libs are static
16482
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16483
 
 
16484
 
# Whether or not to optimize for fast installation.
16485
 
fast_install=$enable_fast_install
16486
 
 
16487
 
# The host system.
16488
 
host_alias=$host_alias
16489
 
host=$host
16490
 
host_os=$host_os
16491
 
 
16492
 
# The build system.
16493
 
build_alias=$build_alias
16494
 
build=$build
16495
 
build_os=$build_os
16496
 
 
16497
 
# An echo program that does not interpret backslashes.
16498
 
echo=$lt_echo
16499
 
 
16500
 
# The archiver.
16501
 
AR=$lt_AR
16502
 
AR_FLAGS=$lt_AR_FLAGS
16503
 
 
16504
 
# A C compiler.
16505
 
LTCC=$lt_LTCC
16506
 
 
16507
 
# LTCC compiler flags.
16508
 
LTCFLAGS=$lt_LTCFLAGS
16509
 
 
16510
 
# A language-specific compiler.
16511
 
CC=$lt_compiler_F77
16512
 
 
16513
 
# Is the compiler the GNU C compiler?
16514
 
with_gcc=$GCC_F77
16515
 
 
16516
 
# An ERE matcher.
16517
 
EGREP=$lt_EGREP
16518
 
 
16519
 
# The linker used to build libraries.
16520
 
LD=$lt_LD_F77
16521
 
 
16522
 
# Whether we need hard or soft links.
16523
 
LN_S=$lt_LN_S
16524
 
 
16525
 
# A BSD-compatible nm program.
16526
 
NM=$lt_NM
16527
 
 
16528
 
# A symbol stripping program
16529
 
STRIP=$lt_STRIP
16530
 
 
16531
 
# Used to examine libraries when file_magic_cmd begins "file"
16532
 
MAGIC_CMD=$MAGIC_CMD
16533
 
 
16534
 
# Used on cygwin: DLL creation program.
16535
 
DLLTOOL="$DLLTOOL"
16536
 
 
16537
 
# Used on cygwin: object dumper.
16538
 
OBJDUMP="$OBJDUMP"
16539
 
 
16540
 
# Used on cygwin: assembler.
16541
 
AS="$AS"
16542
 
 
16543
 
# The name of the directory that contains temporary libtool files.
16544
 
objdir=$objdir
16545
 
 
16546
 
# How to create reloadable object files.
16547
 
reload_flag=$lt_reload_flag
16548
 
reload_cmds=$lt_reload_cmds
16549
 
 
16550
 
# How to pass a linker flag through the compiler.
16551
 
wl=$lt_lt_prog_compiler_wl_F77
16552
 
 
16553
 
# Object file suffix (normally "o").
16554
 
objext="$ac_objext"
16555
 
 
16556
 
# Old archive suffix (normally "a").
16557
 
libext="$libext"
16558
 
 
16559
 
# Shared library suffix (normally ".so").
16560
 
shrext_cmds='$shrext_cmds'
16561
 
 
16562
 
# Executable file suffix (normally "").
16563
 
exeext="$exeext"
16564
 
 
16565
 
# Additional compiler flags for building library objects.
16566
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16567
 
pic_mode=$pic_mode
16568
 
 
16569
 
# What is the maximum length of a command?
16570
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16571
 
 
16572
 
# Does compiler simultaneously support -c and -o options?
16573
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16574
 
 
16575
 
# Must we lock files when doing compilation?
16576
 
need_locks=$lt_need_locks
16577
 
 
16578
 
# Do we need the lib prefix for modules?
16579
 
need_lib_prefix=$need_lib_prefix
16580
 
 
16581
 
# Do we need a version for libraries?
16582
 
need_version=$need_version
16583
 
 
16584
 
# Whether dlopen is supported.
16585
 
dlopen_support=$enable_dlopen
16586
 
 
16587
 
# Whether dlopen of programs is supported.
16588
 
dlopen_self=$enable_dlopen_self
16589
 
 
16590
 
# Whether dlopen of statically linked programs is supported.
16591
 
dlopen_self_static=$enable_dlopen_self_static
16592
 
 
16593
 
# Compiler flag to prevent dynamic linking.
16594
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16595
 
 
16596
 
# Compiler flag to turn off builtin functions.
16597
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16598
 
 
16599
 
# Compiler flag to allow reflexive dlopens.
16600
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16601
 
 
16602
 
# Compiler flag to generate shared objects directly from archives.
16603
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16604
 
 
16605
 
# Compiler flag to generate thread-safe objects.
16606
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16607
 
 
16608
 
# Library versioning type.
16609
 
version_type=$version_type
16610
 
 
16611
 
# Format of library name prefix.
16612
 
libname_spec=$lt_libname_spec
16613
 
 
16614
 
# List of archive names.  First name is the real one, the rest are links.
16615
 
# The last name is the one that the linker finds with -lNAME.
16616
 
library_names_spec=$lt_library_names_spec
16617
 
 
16618
 
# The coded name of the library, if different from the real name.
16619
 
soname_spec=$lt_soname_spec
16620
 
 
16621
 
# Commands used to build and install an old-style archive.
16622
 
RANLIB=$lt_RANLIB
16623
 
old_archive_cmds=$lt_old_archive_cmds_F77
16624
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16625
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16626
 
 
16627
 
# Create an old-style archive from a shared archive.
16628
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16629
 
 
16630
 
# Create a temporary old-style archive to link instead of a shared archive.
16631
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16632
 
 
16633
 
# Commands used to build and install a shared archive.
16634
 
archive_cmds=$lt_archive_cmds_F77
16635
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16636
 
postinstall_cmds=$lt_postinstall_cmds
16637
 
postuninstall_cmds=$lt_postuninstall_cmds
16638
 
 
16639
 
# Commands used to build a loadable module (assumed same as above if empty)
16640
 
module_cmds=$lt_module_cmds_F77
16641
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16642
 
 
16643
 
# Commands to strip libraries.
16644
 
old_striplib=$lt_old_striplib
16645
 
striplib=$lt_striplib
16646
 
 
16647
 
# Dependencies to place before the objects being linked to create a
16648
 
# shared library.
16649
 
predep_objects=$lt_predep_objects_F77
16650
 
 
16651
 
# Dependencies to place after the objects being linked to create a
16652
 
# shared library.
16653
 
postdep_objects=$lt_postdep_objects_F77
16654
 
 
16655
 
# Dependencies to place before the objects being linked to create a
16656
 
# shared library.
16657
 
predeps=$lt_predeps_F77
16658
 
 
16659
 
# Dependencies to place after the objects being linked to create a
16660
 
# shared library.
16661
 
postdeps=$lt_postdeps_F77
16662
 
 
16663
 
# The directories searched by this compiler when creating a shared
16664
 
# library
16665
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16666
 
 
16667
 
# The library search path used internally by the compiler when linking
16668
 
# a shared library.
16669
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16670
 
 
16671
 
# Method to check whether dependent libraries are shared objects.
16672
 
deplibs_check_method=$lt_deplibs_check_method
16673
 
 
16674
 
# Command to use when deplibs_check_method == file_magic.
16675
 
file_magic_cmd=$lt_file_magic_cmd
16676
 
 
16677
 
# Flag that allows shared libraries with undefined symbols to be built.
16678
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16679
 
 
16680
 
# Flag that forces no undefined symbols.
16681
 
no_undefined_flag=$lt_no_undefined_flag_F77
16682
 
 
16683
 
# Commands used to finish a libtool library installation in a directory.
16684
 
finish_cmds=$lt_finish_cmds
16685
 
 
16686
 
# Same as above, but a single script fragment to be evaled but not shown.
16687
 
finish_eval=$lt_finish_eval
16688
 
 
16689
 
# Take the output of nm and produce a listing of raw symbols and C names.
16690
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16691
 
 
16692
 
# Transform the output of nm in a proper C declaration
16693
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16694
 
 
16695
 
# Transform the output of nm in a C name address pair
16696
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16697
 
 
16698
 
# This is the shared library runtime path variable.
16699
 
runpath_var=$runpath_var
16700
 
 
16701
 
# This is the shared library path variable.
16702
 
shlibpath_var=$shlibpath_var
16703
 
 
16704
 
# Is shlibpath searched before the hard-coded library search path?
16705
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16706
 
 
16707
 
# How to hardcode a shared library path into an executable.
16708
 
hardcode_action=$hardcode_action_F77
16709
 
 
16710
 
# Whether we should hardcode library paths into libraries.
16711
 
hardcode_into_libs=$hardcode_into_libs
16712
 
 
16713
 
# Flag to hardcode \$libdir into a binary during linking.
16714
 
# This must work even if \$libdir does not exist.
16715
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16716
 
 
16717
 
# If ld is used when linking, flag to hardcode \$libdir into
16718
 
# a binary during linking. This must work even if \$libdir does
16719
 
# not exist.
16720
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16721
 
 
16722
 
# Whether we need a single -rpath flag with a separated argument.
16723
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16724
 
 
16725
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16726
 
# resulting binary.
16727
 
hardcode_direct=$hardcode_direct_F77
16728
 
 
16729
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16730
 
# resulting binary.
16731
 
hardcode_minus_L=$hardcode_minus_L_F77
16732
 
 
16733
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16734
 
# the resulting binary.
16735
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16736
 
 
16737
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16738
 
# and all subsequent libraries and executables linked against it.
16739
 
hardcode_automatic=$hardcode_automatic_F77
16740
 
 
16741
 
# Variables whose values should be saved in libtool wrapper scripts and
16742
 
# restored at relink time.
16743
 
variables_saved_for_relink="$variables_saved_for_relink"
16744
 
 
16745
 
# Whether libtool must link a program against all its dependency libraries.
16746
 
link_all_deplibs=$link_all_deplibs_F77
16747
 
 
16748
 
# Compile-time system search path for libraries
16749
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16750
 
 
16751
 
# Run-time system search path for libraries
16752
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16753
 
 
16754
 
# Fix the shell variable \$srcfile for the compiler.
16755
 
fix_srcfile_path=$lt_fix_srcfile_path
16756
 
 
16757
 
# Set to yes if exported symbols are required.
16758
 
always_export_symbols=$always_export_symbols_F77
16759
 
 
16760
 
# The commands to list exported symbols.
16761
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16762
 
 
16763
 
# The commands to extract the exported symbol list from a shared archive.
16764
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16765
 
 
16766
 
# Symbols that should not be listed in the preloaded symbols.
16767
 
exclude_expsyms=$lt_exclude_expsyms_F77
16768
 
 
16769
 
# Symbols that must always be exported.
16770
 
include_expsyms=$lt_include_expsyms_F77
16771
 
 
16772
 
# ### END LIBTOOL TAG CONFIG: $tagname
16773
 
 
16774
 
__EOF__
16775
 
 
16776
 
 
16777
 
else
16778
 
  # If there is no Makefile yet, we rely on a make rule to execute
16779
 
  # `config.status --recheck' to rerun these tests and create the
16780
 
  # libtool script then.
16781
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16782
 
  if test -f "$ltmain_in"; then
16783
 
    test -f Makefile && make "$ltmain"
16784
 
  fi
16785
 
fi
16786
 
 
16787
 
 
16788
 
ac_ext=c
16789
 
ac_cpp='$CPP $CPPFLAGS'
16790
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16791
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16792
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16793
 
 
16794
 
CC="$lt_save_CC"
16795
 
 
16796
 
        else
16797
 
          tagname=""
16798
 
        fi
16799
 
        ;;
16800
 
 
16801
 
      GCJ)
16802
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16803
 
 
16804
 
 
16805
 
# Source file extension for Java test sources.
16806
 
ac_ext=java
16807
 
 
16808
 
# Object file extension for compiled Java test sources.
16809
 
objext=o
16810
 
objext_GCJ=$objext
16811
 
 
16812
 
# Code to be used in simple compile tests
16813
 
lt_simple_compile_test_code="class foo {}"
16814
 
 
16815
 
# Code to be used in simple link tests
16816
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16817
 
 
16818
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16819
 
 
16820
 
# If no C compiler was specified, use CC.
16821
 
LTCC=${LTCC-"$CC"}
16822
 
 
16823
 
# If no C compiler flags were specified, use CFLAGS.
16824
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16825
 
 
16826
 
# Allow CC to be a program name with arguments.
16827
 
compiler=$CC
16828
 
 
16829
 
 
16830
 
# save warnings/boilerplate of simple test code
16831
 
ac_outfile=conftest.$ac_objext
16832
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16833
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16834
 
_lt_compiler_boilerplate=`cat conftest.err`
16835
 
$rm conftest*
16836
 
 
16837
 
ac_outfile=conftest.$ac_objext
16838
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16839
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16840
 
_lt_linker_boilerplate=`cat conftest.err`
16841
 
$rm -r conftest*
16842
 
 
16843
 
 
16844
 
# Allow CC to be a program name with arguments.
16845
 
lt_save_CC="$CC"
16846
 
CC=${GCJ-"gcj"}
16847
 
compiler=$CC
16848
 
compiler_GCJ=$CC
16849
 
for cc_temp in $compiler""; do
16850
 
  case $cc_temp in
16851
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16852
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16853
 
    \-*) ;;
16854
 
    *) break;;
16855
 
  esac
16856
 
done
16857
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16858
 
 
16859
 
 
16860
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16861
 
archive_cmds_need_lc_GCJ=no
16862
 
 
16863
 
old_archive_cmds_GCJ=$old_archive_cmds
16864
 
 
16865
 
 
16866
 
lt_prog_compiler_no_builtin_flag_GCJ=
16867
 
 
16868
 
if test "$GCC" = yes; then
16869
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16870
 
 
16871
 
 
16872
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16873
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16874
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16875
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16876
 
else
16877
 
  lt_cv_prog_compiler_rtti_exceptions=no
16878
 
  ac_outfile=conftest.$ac_objext
16879
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16880
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16881
 
   # Insert the option either (1) after the last *FLAGS variable, or
16882
 
   # (2) before a word containing "conftest.", or (3) at the end.
16883
 
   # Note that $ac_compile itself does not contain backslashes and begins
16884
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16885
 
   # The option is referenced via a variable to avoid confusing sed.
16886
 
   lt_compile=`echo "$ac_compile" | $SED \
16887
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16888
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16889
 
   -e 's:$: $lt_compiler_flag:'`
16890
 
   (eval echo "\"\$as_me:16890: $lt_compile\"" >&5)
16891
 
   (eval "$lt_compile" 2>conftest.err)
16892
 
   ac_status=$?
16893
 
   cat conftest.err >&5
16894
 
   echo "$as_me:16894: \$? = $ac_status" >&5
16895
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16896
 
     # The compiler can only warn and ignore the option if not recognized
16897
 
     # So say no if there are warnings other than the usual output.
16898
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16899
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16900
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16901
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16902
 
     fi
16903
 
   fi
16904
 
   $rm conftest*
16905
 
 
16906
 
fi
16907
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16908
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16909
 
 
16910
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16911
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16912
 
else
16913
 
    :
16914
 
fi
16915
 
 
16916
 
fi
16917
 
 
16918
 
lt_prog_compiler_wl_GCJ=
16919
 
lt_prog_compiler_pic_GCJ=
16920
 
lt_prog_compiler_static_GCJ=
16921
 
 
16922
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16923
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16924
 
 
16925
 
  if test "$GCC" = yes; then
16926
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16927
 
    lt_prog_compiler_static_GCJ='-static'
16928
 
 
16929
 
    case $host_os in
16930
 
      aix*)
16931
 
      # All AIX code is PIC.
16932
 
      if test "$host_cpu" = ia64; then
16933
 
        # AIX 5 now supports IA64 processor
16934
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16935
 
      fi
16936
 
      ;;
16937
 
 
16938
 
    amigaos*)
16939
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16940
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16941
 
      # like `-m68040'.
16942
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16943
 
      ;;
16944
 
 
16945
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16946
 
      # PIC is the default for these OSes.
16947
 
      ;;
16948
 
 
16949
 
    mingw* | cygwin* | pw32* | os2*)
16950
 
      # This hack is so that the source file can tell whether it is being
16951
 
      # built for inclusion in a dll (and should export symbols for example).
16952
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16953
 
      # (--disable-auto-import) libraries
16954
 
 
16955
 
      ;;
16956
 
 
16957
 
    darwin* | rhapsody*)
16958
 
      # PIC is the default on this platform
16959
 
      # Common symbols not allowed in MH_DYLIB files
16960
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16961
 
      ;;
16962
 
 
16963
 
    interix[3-9]*)
16964
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16965
 
      # Instead, we relocate shared libraries at runtime.
16966
 
      ;;
16967
 
 
16968
 
    msdosdjgpp*)
16969
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16970
 
      # on systems that don't support them.
16971
 
      lt_prog_compiler_can_build_shared_GCJ=no
16972
 
      enable_shared=no
16973
 
      ;;
16974
 
 
16975
 
    sysv4*MP*)
16976
 
      if test -d /usr/nec; then
16977
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16978
 
      fi
16979
 
      ;;
16980
 
 
16981
 
    hpux*)
16982
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16983
 
      # not for PA HP-UX.
16984
 
      case $host_cpu in
16985
 
      hppa*64*|ia64*)
16986
 
        # +Z the default
16987
 
        ;;
16988
 
      *)
16989
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16990
 
        ;;
16991
 
      esac
16992
 
      ;;
16993
 
 
16994
 
    *)
16995
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16996
 
      ;;
16997
 
    esac
16998
 
  else
16999
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17000
 
    case $host_os in
17001
 
    aix*)
17002
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17003
 
      if test "$host_cpu" = ia64; then
17004
 
        # AIX 5 now supports IA64 processor
17005
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17006
 
      else
17007
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17008
 
      fi
17009
 
      ;;
17010
 
      darwin*)
17011
 
        # PIC is the default on this platform
17012
 
        # Common symbols not allowed in MH_DYLIB files
17013
 
       case $cc_basename in
17014
 
         xlc*)
17015
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17016
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17017
 
         ;;
17018
 
       esac
17019
 
       ;;
17020
 
 
17021
 
    mingw* | cygwin* | pw32* | os2*)
17022
 
      # This hack is so that the source file can tell whether it is being
17023
 
      # built for inclusion in a dll (and should export symbols for example).
17024
 
 
17025
 
      ;;
17026
 
 
17027
 
    hpux9* | hpux10* | hpux11*)
17028
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17029
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17030
 
      # not for PA HP-UX.
17031
 
      case $host_cpu in
17032
 
      hppa*64*|ia64*)
17033
 
        # +Z the default
17034
 
        ;;
17035
 
      *)
17036
 
        lt_prog_compiler_pic_GCJ='+Z'
17037
 
        ;;
17038
 
      esac
17039
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17040
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17041
 
      ;;
17042
 
 
17043
 
    irix5* | irix6* | nonstopux*)
17044
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17045
 
      # PIC (with -KPIC) is the default.
17046
 
      lt_prog_compiler_static_GCJ='-non_shared'
17047
 
      ;;
17048
 
 
17049
 
    newsos6)
17050
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17051
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17052
 
      ;;
17053
 
 
17054
 
    linux* | k*bsd*-gnu)
17055
 
      case $cc_basename in
17056
 
      icc* | ecc*)
17057
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17058
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17059
 
        lt_prog_compiler_static_GCJ='-static'
17060
 
        ;;
17061
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17062
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17063
 
        # which looks to be a dead project)
17064
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17065
 
        lt_prog_compiler_pic_GCJ='-fpic'
17066
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17067
 
        ;;
17068
 
      ccc*)
17069
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17070
 
        # All Alpha code is PIC.
17071
 
        lt_prog_compiler_static_GCJ='-non_shared'
17072
 
        ;;
17073
 
      *)
17074
 
        case `$CC -V 2>&1 | sed 5q` in
17075
 
        *Sun\ C*)
17076
 
          # Sun C 5.9
17077
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17078
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17079
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17080
 
          ;;
17081
 
        *Sun\ F*)
17082
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17083
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17084
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17085
 
          lt_prog_compiler_wl_GCJ=''
17086
 
          ;;
17087
 
        esac
17088
 
        ;;
17089
 
      esac
17090
 
      ;;
17091
 
 
17092
 
    osf3* | osf4* | osf5*)
17093
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17094
 
      # All OSF/1 code is PIC.
17095
 
      lt_prog_compiler_static_GCJ='-non_shared'
17096
 
      ;;
17097
 
 
17098
 
    rdos*)
17099
 
      lt_prog_compiler_static_GCJ='-non_shared'
17100
 
      ;;
17101
 
 
17102
 
    solaris*)
17103
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17104
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17105
 
      case $cc_basename in
17106
 
      f77* | f90* | f95*)
17107
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17108
 
      *)
17109
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17110
 
      esac
17111
 
      ;;
17112
 
 
17113
 
    sunos4*)
17114
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17115
 
      lt_prog_compiler_pic_GCJ='-PIC'
17116
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17117
 
      ;;
17118
 
 
17119
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17120
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17121
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17122
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17123
 
      ;;
17124
 
 
17125
 
    sysv4*MP*)
17126
 
      if test -d /usr/nec ;then
17127
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17128
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17129
 
      fi
17130
 
      ;;
17131
 
 
17132
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17133
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17134
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17135
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17136
 
      ;;
17137
 
 
17138
 
    unicos*)
17139
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17140
 
      lt_prog_compiler_can_build_shared_GCJ=no
17141
 
      ;;
17142
 
 
17143
 
    uts4*)
17144
 
      lt_prog_compiler_pic_GCJ='-pic'
17145
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17146
 
      ;;
17147
 
 
17148
 
    *)
17149
 
      lt_prog_compiler_can_build_shared_GCJ=no
17150
 
      ;;
17151
 
    esac
17152
 
  fi
17153
 
 
17154
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17155
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17156
 
 
17157
 
#
17158
 
# Check to make sure the PIC flag actually works.
17159
 
#
17160
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17161
 
 
17162
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17163
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17164
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17165
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17166
 
else
17167
 
  lt_cv_prog_compiler_pic_works_GCJ=no
17168
 
  ac_outfile=conftest.$ac_objext
17169
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17170
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17171
 
   # Insert the option either (1) after the last *FLAGS variable, or
17172
 
   # (2) before a word containing "conftest.", or (3) at the end.
17173
 
   # Note that $ac_compile itself does not contain backslashes and begins
17174
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17175
 
   # The option is referenced via a variable to avoid confusing sed.
17176
 
   lt_compile=`echo "$ac_compile" | $SED \
17177
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17178
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17179
 
   -e 's:$: $lt_compiler_flag:'`
17180
 
   (eval echo "\"\$as_me:17180: $lt_compile\"" >&5)
17181
 
   (eval "$lt_compile" 2>conftest.err)
17182
 
   ac_status=$?
17183
 
   cat conftest.err >&5
17184
 
   echo "$as_me:17184: \$? = $ac_status" >&5
17185
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17186
 
     # The compiler can only warn and ignore the option if not recognized
17187
 
     # So say no if there are warnings other than the usual output.
17188
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17189
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17190
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17191
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17192
 
     fi
17193
 
   fi
17194
 
   $rm conftest*
17195
 
 
17196
 
fi
17197
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17198
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17199
 
 
17200
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17201
 
    case $lt_prog_compiler_pic_GCJ in
17202
 
     "" | " "*) ;;
17203
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17204
 
     esac
17205
 
else
17206
 
    lt_prog_compiler_pic_GCJ=
17207
 
     lt_prog_compiler_can_build_shared_GCJ=no
17208
 
fi
17209
 
 
17210
 
fi
17211
 
case $host_os in
17212
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17213
 
  *djgpp*)
17214
 
    lt_prog_compiler_pic_GCJ=
17215
 
    ;;
17216
 
  *)
17217
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17218
 
    ;;
17219
 
esac
17220
 
 
17221
 
#
17222
 
# Check to make sure the static flag actually works.
17223
 
#
17224
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17225
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17226
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17227
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17229
 
else
17230
 
  lt_cv_prog_compiler_static_works_GCJ=no
17231
 
   save_LDFLAGS="$LDFLAGS"
17232
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17233
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17234
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17235
 
     # The linker can only warn and ignore the option if not recognized
17236
 
     # So say no if there are warnings
17237
 
     if test -s conftest.err; then
17238
 
       # Append any errors to the config.log.
17239
 
       cat conftest.err 1>&5
17240
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17241
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17242
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17243
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17244
 
       fi
17245
 
     else
17246
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17247
 
     fi
17248
 
   fi
17249
 
   $rm -r conftest*
17250
 
   LDFLAGS="$save_LDFLAGS"
17251
 
 
17252
 
fi
17253
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17254
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17255
 
 
17256
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17257
 
    :
17258
 
else
17259
 
    lt_prog_compiler_static_GCJ=
17260
 
fi
17261
 
 
17262
 
 
17263
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17264
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17265
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17266
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17267
 
else
17268
 
  lt_cv_prog_compiler_c_o_GCJ=no
17269
 
   $rm -r conftest 2>/dev/null
17270
 
   mkdir conftest
17271
 
   cd conftest
17272
 
   mkdir out
17273
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17274
 
 
17275
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17276
 
   # Insert the option either (1) after the last *FLAGS variable, or
17277
 
   # (2) before a word containing "conftest.", or (3) at the end.
17278
 
   # Note that $ac_compile itself does not contain backslashes and begins
17279
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17280
 
   lt_compile=`echo "$ac_compile" | $SED \
17281
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17282
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17283
 
   -e 's:$: $lt_compiler_flag:'`
17284
 
   (eval echo "\"\$as_me:17284: $lt_compile\"" >&5)
17285
 
   (eval "$lt_compile" 2>out/conftest.err)
17286
 
   ac_status=$?
17287
 
   cat out/conftest.err >&5
17288
 
   echo "$as_me:17288: \$? = $ac_status" >&5
17289
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17290
 
   then
17291
 
     # The compiler can only warn and ignore the option if not recognized
17292
 
     # So say no if there are warnings
17293
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17294
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17295
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17296
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17297
 
     fi
17298
 
   fi
17299
 
   chmod u+w . 2>&5
17300
 
   $rm conftest*
17301
 
   # SGI C++ compiler will create directory out/ii_files/ for
17302
 
   # template instantiation
17303
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17304
 
   $rm out/* && rmdir out
17305
 
   cd ..
17306
 
   rmdir conftest
17307
 
   $rm conftest*
17308
 
 
17309
 
fi
17310
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17311
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17312
 
 
17313
 
 
17314
 
hard_links="nottested"
17315
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17316
 
  # do not overwrite the value of need_locks provided by the user
17317
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17318
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17319
 
  hard_links=yes
17320
 
  $rm conftest*
17321
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17322
 
  touch conftest.a
17323
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17324
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17325
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17326
 
echo "${ECHO_T}$hard_links" >&6; }
17327
 
  if test "$hard_links" = no; then
17328
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17329
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17330
 
    need_locks=warn
17331
 
  fi
17332
 
else
17333
 
  need_locks=no
17334
 
fi
17335
 
 
17336
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17337
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17338
 
 
17339
 
  runpath_var=
17340
 
  allow_undefined_flag_GCJ=
17341
 
  enable_shared_with_static_runtimes_GCJ=no
17342
 
  archive_cmds_GCJ=
17343
 
  archive_expsym_cmds_GCJ=
17344
 
  old_archive_From_new_cmds_GCJ=
17345
 
  old_archive_from_expsyms_cmds_GCJ=
17346
 
  export_dynamic_flag_spec_GCJ=
17347
 
  whole_archive_flag_spec_GCJ=
17348
 
  thread_safe_flag_spec_GCJ=
17349
 
  hardcode_libdir_flag_spec_GCJ=
17350
 
  hardcode_libdir_flag_spec_ld_GCJ=
17351
 
  hardcode_libdir_separator_GCJ=
17352
 
  hardcode_direct_GCJ=no
17353
 
  hardcode_minus_L_GCJ=no
17354
 
  hardcode_shlibpath_var_GCJ=unsupported
17355
 
  link_all_deplibs_GCJ=unknown
17356
 
  hardcode_automatic_GCJ=no
17357
 
  module_cmds_GCJ=
17358
 
  module_expsym_cmds_GCJ=
17359
 
  always_export_symbols_GCJ=no
17360
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17361
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17362
 
  # included in the symbol list
17363
 
  include_expsyms_GCJ=
17364
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17365
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17366
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17367
 
  # as well as any symbol that contains `d'.
17368
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17369
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17370
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17371
 
  # the symbol is explicitly referenced.  Since portable code cannot
17372
 
  # rely on this symbol name, it's probably fine to never include it in
17373
 
  # preloaded symbol tables.
17374
 
  # Exclude shared library initialization/finalization symbols.
17375
 
  extract_expsyms_cmds=
17376
 
  # Just being paranoid about ensuring that cc_basename is set.
17377
 
  for cc_temp in $compiler""; do
17378
 
  case $cc_temp in
17379
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17380
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17381
 
    \-*) ;;
17382
 
    *) break;;
17383
 
  esac
17384
 
done
17385
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17386
 
 
17387
 
  case $host_os in
17388
 
  cygwin* | mingw* | pw32*)
17389
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17390
 
    # When not using gcc, we currently assume that we are using
17391
 
    # Microsoft Visual C++.
17392
 
    if test "$GCC" != yes; then
17393
 
      with_gnu_ld=no
17394
 
    fi
17395
 
    ;;
17396
 
  interix*)
17397
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17398
 
    with_gnu_ld=yes
17399
 
    ;;
17400
 
  openbsd*)
17401
 
    with_gnu_ld=no
17402
 
    ;;
17403
 
  esac
17404
 
 
17405
 
  ld_shlibs_GCJ=yes
17406
 
  if test "$with_gnu_ld" = yes; then
17407
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17408
 
    wlarc='${wl}'
17409
 
 
17410
 
    # Set some defaults for GNU ld with shared library support. These
17411
 
    # are reset later if shared libraries are not supported. Putting them
17412
 
    # here allows them to be overridden if necessary.
17413
 
    runpath_var=LD_RUN_PATH
17414
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17415
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17416
 
    # ancient GNU ld didn't support --whole-archive et. al.
17417
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17418
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17419
 
      else
17420
 
        whole_archive_flag_spec_GCJ=
17421
 
    fi
17422
 
    supports_anon_versioning=no
17423
 
    case `$LD -v 2>/dev/null` in
17424
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17425
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17426
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17427
 
      *\ 2.11.*) ;; # other 2.11 versions
17428
 
      *) supports_anon_versioning=yes ;;
17429
 
    esac
17430
 
 
17431
 
    # See if GNU ld supports shared libraries.
17432
 
    case $host_os in
17433
 
    aix[3-9]*)
17434
 
      # On AIX/PPC, the GNU linker is very broken
17435
 
      if test "$host_cpu" != ia64; then
17436
 
        ld_shlibs_GCJ=no
17437
 
        cat <<EOF 1>&2
17438
 
 
17439
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17440
 
*** to be unable to reliably create shared libraries on AIX.
17441
 
*** Therefore, libtool is disabling shared libraries support.  If you
17442
 
*** really care for shared libraries, you may want to modify your PATH
17443
 
*** so that a non-GNU linker is found, and then restart.
17444
 
 
17445
 
EOF
17446
 
      fi
17447
 
      ;;
17448
 
 
17449
 
    amigaos*)
17450
 
      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)'
17451
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17452
 
      hardcode_minus_L_GCJ=yes
17453
 
 
17454
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17455
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17456
 
      # to version 4, is to share data among multiple programs linked
17457
 
      # with the same dynamic library.  Since this doesn't match the
17458
 
      # behavior of shared libraries on other platforms, we can't use
17459
 
      # them.
17460
 
      ld_shlibs_GCJ=no
17461
 
      ;;
17462
 
 
17463
 
    beos*)
17464
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17465
 
        allow_undefined_flag_GCJ=unsupported
17466
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17467
 
        # support --undefined.  This deserves some investigation.  FIXME
17468
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17469
 
      else
17470
 
        ld_shlibs_GCJ=no
17471
 
      fi
17472
 
      ;;
17473
 
 
17474
 
    cygwin* | mingw* | pw32*)
17475
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17476
 
      # as there is no search path for DLLs.
17477
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17478
 
      allow_undefined_flag_GCJ=unsupported
17479
 
      always_export_symbols_GCJ=no
17480
 
      enable_shared_with_static_runtimes_GCJ=yes
17481
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17482
 
 
17483
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17484
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17485
 
        # If the export-symbols file already is a .def file (1st line
17486
 
        # is EXPORTS), use it as is; otherwise, prepend...
17487
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17488
 
          cp $export_symbols $output_objdir/$soname.def;
17489
 
        else
17490
 
          echo EXPORTS > $output_objdir/$soname.def;
17491
 
          cat $export_symbols >> $output_objdir/$soname.def;
17492
 
        fi~
17493
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17494
 
      else
17495
 
        ld_shlibs_GCJ=no
17496
 
      fi
17497
 
      ;;
17498
 
 
17499
 
    interix[3-9]*)
17500
 
      hardcode_direct_GCJ=no
17501
 
      hardcode_shlibpath_var_GCJ=no
17502
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17503
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17504
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17505
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17506
 
      # default) and relocated if they conflict, which is a slow very memory
17507
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17508
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17509
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17510
 
      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'
17511
 
      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'
17512
 
      ;;
17513
 
 
17514
 
    gnu* | linux* | k*bsd*-gnu)
17515
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17516
 
        tmp_addflag=
17517
 
        case $cc_basename,$host_cpu in
17518
 
        pgcc*)                          # Portland Group C compiler
17519
 
          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'
17520
 
          tmp_addflag=' $pic_flag'
17521
 
          ;;
17522
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17523
 
          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'
17524
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17525
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17526
 
          tmp_addflag=' -i_dynamic' ;;
17527
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17528
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17529
 
        ifc* | ifort*)                  # Intel Fortran compiler
17530
 
          tmp_addflag=' -nofor_main' ;;
17531
 
        esac
17532
 
        case `$CC -V 2>&1 | sed 5q` in
17533
 
        *Sun\ C*)                       # Sun C 5.9
17534
 
          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'
17535
 
          tmp_sharedflag='-G' ;;
17536
 
        *Sun\ F*)                       # Sun Fortran 8.3
17537
 
          tmp_sharedflag='-G' ;;
17538
 
        *)
17539
 
          tmp_sharedflag='-shared' ;;
17540
 
        esac
17541
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17542
 
 
17543
 
        if test $supports_anon_versioning = yes; then
17544
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17545
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17546
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17547
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17548
 
        fi
17549
 
      else
17550
 
        ld_shlibs_GCJ=no
17551
 
      fi
17552
 
      ;;
17553
 
 
17554
 
    netbsd*)
17555
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17556
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17557
 
        wlarc=
17558
 
      else
17559
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17560
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17561
 
      fi
17562
 
      ;;
17563
 
 
17564
 
    solaris*)
17565
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17566
 
        ld_shlibs_GCJ=no
17567
 
        cat <<EOF 1>&2
17568
 
 
17569
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17570
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17571
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17572
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17573
 
*** your PATH or compiler configuration so that the native linker is
17574
 
*** used, and then restart.
17575
 
 
17576
 
EOF
17577
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17578
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17579
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17580
 
      else
17581
 
        ld_shlibs_GCJ=no
17582
 
      fi
17583
 
      ;;
17584
 
 
17585
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17586
 
      case `$LD -v 2>&1` in
17587
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17588
 
        ld_shlibs_GCJ=no
17589
 
        cat <<_LT_EOF 1>&2
17590
 
 
17591
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17592
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17593
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17594
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17595
 
*** your PATH or compiler configuration so that the native linker is
17596
 
*** used, and then restart.
17597
 
 
17598
 
_LT_EOF
17599
 
        ;;
17600
 
        *)
17601
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17602
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17603
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17604
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17605
 
          else
17606
 
            ld_shlibs_GCJ=no
17607
 
          fi
17608
 
        ;;
17609
 
      esac
17610
 
      ;;
17611
 
 
17612
 
    sunos4*)
17613
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17614
 
      wlarc=
17615
 
      hardcode_direct_GCJ=yes
17616
 
      hardcode_shlibpath_var_GCJ=no
17617
 
      ;;
17618
 
 
17619
 
    *)
17620
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17621
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17622
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17623
 
      else
17624
 
        ld_shlibs_GCJ=no
17625
 
      fi
17626
 
      ;;
17627
 
    esac
17628
 
 
17629
 
    if test "$ld_shlibs_GCJ" = no; then
17630
 
      runpath_var=
17631
 
      hardcode_libdir_flag_spec_GCJ=
17632
 
      export_dynamic_flag_spec_GCJ=
17633
 
      whole_archive_flag_spec_GCJ=
17634
 
    fi
17635
 
  else
17636
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17637
 
    case $host_os in
17638
 
    aix3*)
17639
 
      allow_undefined_flag_GCJ=unsupported
17640
 
      always_export_symbols_GCJ=yes
17641
 
      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'
17642
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17643
 
      # are no directories specified by -L.
17644
 
      hardcode_minus_L_GCJ=yes
17645
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17646
 
        # Neither direct hardcoding nor static linking is supported with a
17647
 
        # broken collect2.
17648
 
        hardcode_direct_GCJ=unsupported
17649
 
      fi
17650
 
      ;;
17651
 
 
17652
 
    aix[4-9]*)
17653
 
      if test "$host_cpu" = ia64; then
17654
 
        # On IA64, the linker does run time linking by default, so we don't
17655
 
        # have to do anything special.
17656
 
        aix_use_runtimelinking=no
17657
 
        exp_sym_flag='-Bexport'
17658
 
        no_entry_flag=""
17659
 
      else
17660
 
        # If we're using GNU nm, then we don't want the "-C" option.
17661
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17662
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17663
 
          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'
17664
 
        else
17665
 
          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'
17666
 
        fi
17667
 
        aix_use_runtimelinking=no
17668
 
 
17669
 
        # Test if we are trying to use run time linking or normal
17670
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17671
 
        # need to do runtime linking.
17672
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17673
 
          for ld_flag in $LDFLAGS; do
17674
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17675
 
            aix_use_runtimelinking=yes
17676
 
            break
17677
 
          fi
17678
 
          done
17679
 
          ;;
17680
 
        esac
17681
 
 
17682
 
        exp_sym_flag='-bexport'
17683
 
        no_entry_flag='-bnoentry'
17684
 
      fi
17685
 
 
17686
 
      # When large executables or shared objects are built, AIX ld can
17687
 
      # have problems creating the table of contents.  If linking a library
17688
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17689
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17690
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17691
 
 
17692
 
      archive_cmds_GCJ=''
17693
 
      hardcode_direct_GCJ=yes
17694
 
      hardcode_libdir_separator_GCJ=':'
17695
 
      link_all_deplibs_GCJ=yes
17696
 
 
17697
 
      if test "$GCC" = yes; then
17698
 
        case $host_os in aix4.[012]|aix4.[012].*)
17699
 
        # We only want to do this on AIX 4.2 and lower, the check
17700
 
        # below for broken collect2 doesn't work under 4.3+
17701
 
          collect2name=`${CC} -print-prog-name=collect2`
17702
 
          if test -f "$collect2name" && \
17703
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17704
 
          then
17705
 
          # We have reworked collect2
17706
 
          :
17707
 
          else
17708
 
          # We have old collect2
17709
 
          hardcode_direct_GCJ=unsupported
17710
 
          # It fails to find uninstalled libraries when the uninstalled
17711
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17712
 
          # to unsupported forces relinking
17713
 
          hardcode_minus_L_GCJ=yes
17714
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17715
 
          hardcode_libdir_separator_GCJ=
17716
 
          fi
17717
 
          ;;
17718
 
        esac
17719
 
        shared_flag='-shared'
17720
 
        if test "$aix_use_runtimelinking" = yes; then
17721
 
          shared_flag="$shared_flag "'${wl}-G'
17722
 
        fi
17723
 
      else
17724
 
        # not using gcc
17725
 
        if test "$host_cpu" = ia64; then
17726
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17727
 
        # chokes on -Wl,-G. The following line is correct:
17728
 
          shared_flag='-G'
17729
 
        else
17730
 
          if test "$aix_use_runtimelinking" = yes; then
17731
 
            shared_flag='${wl}-G'
17732
 
          else
17733
 
            shared_flag='${wl}-bM:SRE'
17734
 
          fi
17735
 
        fi
17736
 
      fi
17737
 
 
17738
 
      # It seems that -bexpall does not export symbols beginning with
17739
 
      # underscore (_), so it is better to generate a list of symbols to export.
17740
 
      always_export_symbols_GCJ=yes
17741
 
      if test "$aix_use_runtimelinking" = yes; then
17742
 
        # Warning - without using the other runtime loading flags (-brtl),
17743
 
        # -berok will link without error, but may produce a broken library.
17744
 
        allow_undefined_flag_GCJ='-berok'
17745
 
       # Determine the default libpath from the value encoded in an empty executable.
17746
 
       cat >conftest.$ac_ext <<_ACEOF
17747
 
/* confdefs.h.  */
17748
 
_ACEOF
17749
 
cat confdefs.h >>conftest.$ac_ext
17750
 
cat >>conftest.$ac_ext <<_ACEOF
17751
 
/* end confdefs.h.  */
17752
 
 
17753
 
int
17754
 
main ()
17755
 
{
17756
 
 
17757
 
  ;
17758
 
  return 0;
17759
 
}
17760
 
_ACEOF
17761
 
rm -f conftest.$ac_objext conftest$ac_exeext
17762
 
if { (ac_try="$ac_link"
17763
 
case "(($ac_try" in
17764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17765
 
  *) ac_try_echo=$ac_try;;
17766
 
esac
17767
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17768
 
  (eval "$ac_link") 2>conftest.er1
17769
 
  ac_status=$?
17770
 
  grep -v '^ *+' conftest.er1 >conftest.err
17771
 
  rm -f conftest.er1
17772
 
  cat conftest.err >&5
17773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774
 
  (exit $ac_status); } && {
17775
 
         test -z "$ac_c_werror_flag" ||
17776
 
         test ! -s conftest.err
17777
 
       } && test -s conftest$ac_exeext &&
17778
 
       $as_test_x conftest$ac_exeext; then
17779
 
 
17780
 
lt_aix_libpath_sed='
17781
 
    /Import File Strings/,/^$/ {
17782
 
        /^0/ {
17783
 
            s/^0  *\(.*\)$/\1/
17784
 
            p
17785
 
        }
17786
 
    }'
17787
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17788
 
# Check for a 64-bit object if we didn't find anything.
17789
 
if test -z "$aix_libpath"; then
17790
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17791
 
fi
17792
 
else
17793
 
  echo "$as_me: failed program was:" >&5
17794
 
sed 's/^/| /' conftest.$ac_ext >&5
17795
 
 
17796
 
 
17797
 
fi
17798
 
 
17799
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17800
 
      conftest$ac_exeext conftest.$ac_ext
17801
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17802
 
 
17803
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17804
 
        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"
17805
 
       else
17806
 
        if test "$host_cpu" = ia64; then
17807
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17808
 
          allow_undefined_flag_GCJ="-z nodefs"
17809
 
          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"
17810
 
        else
17811
 
         # Determine the default libpath from the value encoded in an empty executable.
17812
 
         cat >conftest.$ac_ext <<_ACEOF
17813
 
/* confdefs.h.  */
17814
 
_ACEOF
17815
 
cat confdefs.h >>conftest.$ac_ext
17816
 
cat >>conftest.$ac_ext <<_ACEOF
17817
 
/* end confdefs.h.  */
17818
 
 
17819
 
int
17820
 
main ()
17821
 
{
17822
 
 
17823
 
  ;
17824
 
  return 0;
17825
 
}
17826
 
_ACEOF
17827
 
rm -f conftest.$ac_objext conftest$ac_exeext
17828
 
if { (ac_try="$ac_link"
17829
 
case "(($ac_try" in
17830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831
 
  *) ac_try_echo=$ac_try;;
17832
 
esac
17833
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834
 
  (eval "$ac_link") 2>conftest.er1
17835
 
  ac_status=$?
17836
 
  grep -v '^ *+' conftest.er1 >conftest.err
17837
 
  rm -f conftest.er1
17838
 
  cat conftest.err >&5
17839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840
 
  (exit $ac_status); } && {
17841
 
         test -z "$ac_c_werror_flag" ||
17842
 
         test ! -s conftest.err
17843
 
       } && test -s conftest$ac_exeext &&
17844
 
       $as_test_x conftest$ac_exeext; then
17845
 
 
17846
 
lt_aix_libpath_sed='
17847
 
    /Import File Strings/,/^$/ {
17848
 
        /^0/ {
17849
 
            s/^0  *\(.*\)$/\1/
17850
 
            p
17851
 
        }
17852
 
    }'
17853
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17854
 
# Check for a 64-bit object if we didn't find anything.
17855
 
if test -z "$aix_libpath"; then
17856
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17857
 
fi
17858
 
else
17859
 
  echo "$as_me: failed program was:" >&5
17860
 
sed 's/^/| /' conftest.$ac_ext >&5
17861
 
 
17862
 
 
17863
 
fi
17864
 
 
17865
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17866
 
      conftest$ac_exeext conftest.$ac_ext
17867
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17868
 
 
17869
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17870
 
          # Warning - without using the other run time loading flags,
17871
 
          # -berok will link without error, but may produce a broken library.
17872
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17873
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17874
 
          # Exported symbols can be pulled into shared objects from archives
17875
 
          whole_archive_flag_spec_GCJ='$convenience'
17876
 
          archive_cmds_need_lc_GCJ=yes
17877
 
          # This is similar to how AIX traditionally builds its shared libraries.
17878
 
          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'
17879
 
        fi
17880
 
      fi
17881
 
      ;;
17882
 
 
17883
 
    amigaos*)
17884
 
      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)'
17885
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17886
 
      hardcode_minus_L_GCJ=yes
17887
 
      # see comment about different semantics on the GNU ld section
17888
 
      ld_shlibs_GCJ=no
17889
 
      ;;
17890
 
 
17891
 
    bsdi[45]*)
17892
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17893
 
      ;;
17894
 
 
17895
 
    cygwin* | mingw* | pw32*)
17896
 
      # When not using gcc, we currently assume that we are using
17897
 
      # Microsoft Visual C++.
17898
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17899
 
      # no search path for DLLs.
17900
 
      hardcode_libdir_flag_spec_GCJ=' '
17901
 
      allow_undefined_flag_GCJ=unsupported
17902
 
      # Tell ltmain to make .lib files, not .a files.
17903
 
      libext=lib
17904
 
      # Tell ltmain to make .dll files, not .so files.
17905
 
      shrext_cmds=".dll"
17906
 
      # FIXME: Setting linknames here is a bad hack.
17907
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17908
 
      # The linker will automatically build a .lib file if we build a DLL.
17909
 
      old_archive_From_new_cmds_GCJ='true'
17910
 
      # FIXME: Should let the user specify the lib program.
17911
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17912
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17913
 
      enable_shared_with_static_runtimes_GCJ=yes
17914
 
      ;;
17915
 
 
17916
 
    darwin* | rhapsody*)
17917
 
      case $host_os in
17918
 
        rhapsody* | darwin1.[012])
17919
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17920
 
         ;;
17921
 
       *) # Darwin 1.3 on
17922
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17923
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17924
 
         else
17925
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17926
 
             10.[012])
17927
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17928
 
               ;;
17929
 
             10.*)
17930
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17931
 
               ;;
17932
 
           esac
17933
 
         fi
17934
 
         ;;
17935
 
      esac
17936
 
      archive_cmds_need_lc_GCJ=no
17937
 
      hardcode_direct_GCJ=no
17938
 
      hardcode_automatic_GCJ=yes
17939
 
      hardcode_shlibpath_var_GCJ=unsupported
17940
 
      whole_archive_flag_spec_GCJ=''
17941
 
      link_all_deplibs_GCJ=yes
17942
 
    if test "$GCC" = yes ; then
17943
 
        output_verbose_link_cmd='echo'
17944
 
        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}"
17945
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17946
 
        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}"
17947
 
        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}"
17948
 
    else
17949
 
      case $cc_basename in
17950
 
        xlc*)
17951
 
         output_verbose_link_cmd='echo'
17952
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17953
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17954
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17955
 
         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}'
17956
 
          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}'
17957
 
          ;;
17958
 
       *)
17959
 
         ld_shlibs_GCJ=no
17960
 
          ;;
17961
 
      esac
17962
 
    fi
17963
 
      ;;
17964
 
 
17965
 
    dgux*)
17966
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17967
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17968
 
      hardcode_shlibpath_var_GCJ=no
17969
 
      ;;
17970
 
 
17971
 
    freebsd1*)
17972
 
      ld_shlibs_GCJ=no
17973
 
      ;;
17974
 
 
17975
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17976
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17977
 
    # does not break anything, and helps significantly (at the cost of a little
17978
 
    # extra space).
17979
 
    freebsd2.2*)
17980
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17981
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17982
 
      hardcode_direct_GCJ=yes
17983
 
      hardcode_shlibpath_var_GCJ=no
17984
 
      ;;
17985
 
 
17986
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17987
 
    freebsd2*)
17988
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17989
 
      hardcode_direct_GCJ=yes
17990
 
      hardcode_minus_L_GCJ=yes
17991
 
      hardcode_shlibpath_var_GCJ=no
17992
 
      ;;
17993
 
 
17994
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17995
 
    freebsd* | dragonfly*)
17996
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17997
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17998
 
      hardcode_direct_GCJ=yes
17999
 
      hardcode_shlibpath_var_GCJ=no
18000
 
      ;;
18001
 
 
18002
 
    hpux9*)
18003
 
      if test "$GCC" = yes; then
18004
 
        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'
18005
 
      else
18006
 
        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'
18007
 
      fi
18008
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18009
 
      hardcode_libdir_separator_GCJ=:
18010
 
      hardcode_direct_GCJ=yes
18011
 
 
18012
 
      # hardcode_minus_L: Not really in the search PATH,
18013
 
      # but as the default location of the library.
18014
 
      hardcode_minus_L_GCJ=yes
18015
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18016
 
      ;;
18017
 
 
18018
 
    hpux10*)
18019
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18020
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18021
 
      else
18022
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18023
 
      fi
18024
 
      if test "$with_gnu_ld" = no; then
18025
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18026
 
        hardcode_libdir_separator_GCJ=:
18027
 
 
18028
 
        hardcode_direct_GCJ=yes
18029
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18030
 
 
18031
 
        # hardcode_minus_L: Not really in the search PATH,
18032
 
        # but as the default location of the library.
18033
 
        hardcode_minus_L_GCJ=yes
18034
 
      fi
18035
 
      ;;
18036
 
 
18037
 
    hpux11*)
18038
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18039
 
        case $host_cpu in
18040
 
        hppa*64*)
18041
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18042
 
          ;;
18043
 
        ia64*)
18044
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18045
 
          ;;
18046
 
        *)
18047
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18048
 
          ;;
18049
 
        esac
18050
 
      else
18051
 
        case $host_cpu in
18052
 
        hppa*64*)
18053
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18054
 
          ;;
18055
 
        ia64*)
18056
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18057
 
          ;;
18058
 
        *)
18059
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18060
 
          ;;
18061
 
        esac
18062
 
      fi
18063
 
      if test "$with_gnu_ld" = no; then
18064
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18065
 
        hardcode_libdir_separator_GCJ=:
18066
 
 
18067
 
        case $host_cpu in
18068
 
        hppa*64*|ia64*)
18069
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18070
 
          hardcode_direct_GCJ=no
18071
 
          hardcode_shlibpath_var_GCJ=no
18072
 
          ;;
18073
 
        *)
18074
 
          hardcode_direct_GCJ=yes
18075
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18076
 
 
18077
 
          # hardcode_minus_L: Not really in the search PATH,
18078
 
          # but as the default location of the library.
18079
 
          hardcode_minus_L_GCJ=yes
18080
 
          ;;
18081
 
        esac
18082
 
      fi
18083
 
      ;;
18084
 
 
18085
 
    irix5* | irix6* | nonstopux*)
18086
 
      if test "$GCC" = yes; then
18087
 
        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'
18088
 
      else
18089
 
        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'
18090
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18091
 
      fi
18092
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18093
 
      hardcode_libdir_separator_GCJ=:
18094
 
      link_all_deplibs_GCJ=yes
18095
 
      ;;
18096
 
 
18097
 
    netbsd*)
18098
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18099
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18100
 
      else
18101
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18102
 
      fi
18103
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18104
 
      hardcode_direct_GCJ=yes
18105
 
      hardcode_shlibpath_var_GCJ=no
18106
 
      ;;
18107
 
 
18108
 
    newsos6)
18109
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18110
 
      hardcode_direct_GCJ=yes
18111
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18112
 
      hardcode_libdir_separator_GCJ=:
18113
 
      hardcode_shlibpath_var_GCJ=no
18114
 
      ;;
18115
 
 
18116
 
    openbsd*)
18117
 
      if test -f /usr/libexec/ld.so; then
18118
 
        hardcode_direct_GCJ=yes
18119
 
        hardcode_shlibpath_var_GCJ=no
18120
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18121
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18122
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18123
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18124
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18125
 
        else
18126
 
          case $host_os in
18127
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18128
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18129
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18130
 
             ;;
18131
 
           *)
18132
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18133
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18134
 
             ;;
18135
 
          esac
18136
 
        fi
18137
 
      else
18138
 
        ld_shlibs_GCJ=no
18139
 
      fi
18140
 
      ;;
18141
 
 
18142
 
    os2*)
18143
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18144
 
      hardcode_minus_L_GCJ=yes
18145
 
      allow_undefined_flag_GCJ=unsupported
18146
 
      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'
18147
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18148
 
      ;;
18149
 
 
18150
 
    osf3*)
18151
 
      if test "$GCC" = yes; then
18152
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18153
 
        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'
18154
 
      else
18155
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18156
 
        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'
18157
 
      fi
18158
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18159
 
      hardcode_libdir_separator_GCJ=:
18160
 
      ;;
18161
 
 
18162
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18163
 
      if test "$GCC" = yes; then
18164
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18165
 
        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'
18166
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18167
 
      else
18168
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18169
 
        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'
18170
 
        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~
18171
 
        $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'
18172
 
 
18173
 
        # Both c and cxx compiler support -rpath directly
18174
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18175
 
      fi
18176
 
      hardcode_libdir_separator_GCJ=:
18177
 
      ;;
18178
 
 
18179
 
    solaris*)
18180
 
      no_undefined_flag_GCJ=' -z text'
18181
 
      if test "$GCC" = yes; then
18182
 
        wlarc='${wl}'
18183
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18184
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18185
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18186
 
      else
18187
 
        wlarc=''
18188
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18189
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18190
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18191
 
      fi
18192
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18193
 
      hardcode_shlibpath_var_GCJ=no
18194
 
      case $host_os in
18195
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18196
 
      *)
18197
 
        # The compiler driver will combine and reorder linker options,
18198
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18199
 
        # but is careful enough not to reorder.
18200
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18201
 
        if test "$GCC" = yes; then
18202
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18203
 
        else
18204
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18205
 
        fi
18206
 
        ;;
18207
 
      esac
18208
 
      link_all_deplibs_GCJ=yes
18209
 
      ;;
18210
 
 
18211
 
    sunos4*)
18212
 
      if test "x$host_vendor" = xsequent; then
18213
 
        # Use $CC to link under sequent, because it throws in some extra .o
18214
 
        # files that make .init and .fini sections work.
18215
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18216
 
      else
18217
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18218
 
      fi
18219
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18220
 
      hardcode_direct_GCJ=yes
18221
 
      hardcode_minus_L_GCJ=yes
18222
 
      hardcode_shlibpath_var_GCJ=no
18223
 
      ;;
18224
 
 
18225
 
    sysv4)
18226
 
      case $host_vendor in
18227
 
        sni)
18228
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18229
 
          hardcode_direct_GCJ=yes # is this really true???
18230
 
        ;;
18231
 
        siemens)
18232
 
          ## LD is ld it makes a PLAMLIB
18233
 
          ## CC just makes a GrossModule.
18234
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18235
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18236
 
          hardcode_direct_GCJ=no
18237
 
        ;;
18238
 
        motorola)
18239
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18240
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18241
 
        ;;
18242
 
      esac
18243
 
      runpath_var='LD_RUN_PATH'
18244
 
      hardcode_shlibpath_var_GCJ=no
18245
 
      ;;
18246
 
 
18247
 
    sysv4.3*)
18248
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18249
 
      hardcode_shlibpath_var_GCJ=no
18250
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18251
 
      ;;
18252
 
 
18253
 
    sysv4*MP*)
18254
 
      if test -d /usr/nec; then
18255
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18256
 
        hardcode_shlibpath_var_GCJ=no
18257
 
        runpath_var=LD_RUN_PATH
18258
 
        hardcode_runpath_var=yes
18259
 
        ld_shlibs_GCJ=yes
18260
 
      fi
18261
 
      ;;
18262
 
 
18263
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18264
 
      no_undefined_flag_GCJ='${wl}-z,text'
18265
 
      archive_cmds_need_lc_GCJ=no
18266
 
      hardcode_shlibpath_var_GCJ=no
18267
 
      runpath_var='LD_RUN_PATH'
18268
 
 
18269
 
      if test "$GCC" = yes; then
18270
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18271
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18272
 
      else
18273
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18274
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18275
 
      fi
18276
 
      ;;
18277
 
 
18278
 
    sysv5* | sco3.2v5* | sco5v6*)
18279
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18280
 
      # link with -lc, and that would cause any symbols used from libc to
18281
 
      # always be unresolved, which means just about no library would
18282
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18283
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18284
 
      # as -z defs.
18285
 
      no_undefined_flag_GCJ='${wl}-z,text'
18286
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18287
 
      archive_cmds_need_lc_GCJ=no
18288
 
      hardcode_shlibpath_var_GCJ=no
18289
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18290
 
      hardcode_libdir_separator_GCJ=':'
18291
 
      link_all_deplibs_GCJ=yes
18292
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18293
 
      runpath_var='LD_RUN_PATH'
18294
 
 
18295
 
      if test "$GCC" = yes; then
18296
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18297
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18298
 
      else
18299
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18300
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18301
 
      fi
18302
 
      ;;
18303
 
 
18304
 
    uts4*)
18305
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18306
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18307
 
      hardcode_shlibpath_var_GCJ=no
18308
 
      ;;
18309
 
 
18310
 
    *)
18311
 
      ld_shlibs_GCJ=no
18312
 
      ;;
18313
 
    esac
18314
 
  fi
18315
 
 
18316
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18317
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18318
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18319
 
 
18320
 
#
18321
 
# Do we need to explicitly link libc?
18322
 
#
18323
 
case "x$archive_cmds_need_lc_GCJ" in
18324
 
x|xyes)
18325
 
  # Assume -lc should be added
18326
 
  archive_cmds_need_lc_GCJ=yes
18327
 
 
18328
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18329
 
    case $archive_cmds_GCJ in
18330
 
    *'~'*)
18331
 
      # FIXME: we may have to deal with multi-command sequences.
18332
 
      ;;
18333
 
    '$CC '*)
18334
 
      # Test whether the compiler implicitly links with -lc since on some
18335
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18336
 
      # to ld, don't add -lc before -lgcc.
18337
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18338
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18339
 
      $rm conftest*
18340
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18341
 
 
18342
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18343
 
  (eval $ac_compile) 2>&5
18344
 
  ac_status=$?
18345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346
 
  (exit $ac_status); } 2>conftest.err; then
18347
 
        soname=conftest
18348
 
        lib=conftest
18349
 
        libobjs=conftest.$ac_objext
18350
 
        deplibs=
18351
 
        wl=$lt_prog_compiler_wl_GCJ
18352
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18353
 
        compiler_flags=-v
18354
 
        linker_flags=-v
18355
 
        verstring=
18356
 
        output_objdir=.
18357
 
        libname=conftest
18358
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18359
 
        allow_undefined_flag_GCJ=
18360
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18361
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18362
 
  ac_status=$?
18363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364
 
  (exit $ac_status); }
18365
 
        then
18366
 
          archive_cmds_need_lc_GCJ=no
18367
 
        else
18368
 
          archive_cmds_need_lc_GCJ=yes
18369
 
        fi
18370
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18371
 
      else
18372
 
        cat conftest.err 1>&5
18373
 
      fi
18374
 
      $rm conftest*
18375
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18376
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18377
 
      ;;
18378
 
    esac
18379
 
  fi
18380
 
  ;;
18381
 
esac
18382
 
 
18383
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18384
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18385
 
library_names_spec=
18386
 
libname_spec='lib$name'
18387
 
soname_spec=
18388
 
shrext_cmds=".so"
18389
 
postinstall_cmds=
18390
 
postuninstall_cmds=
18391
 
finish_cmds=
18392
 
finish_eval=
18393
 
shlibpath_var=
18394
 
shlibpath_overrides_runpath=unknown
18395
 
version_type=none
18396
 
dynamic_linker="$host_os ld.so"
18397
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18398
 
 
18399
 
need_lib_prefix=unknown
18400
 
hardcode_into_libs=no
18401
 
 
18402
 
# when you set need_version to no, make sure it does not cause -set_version
18403
 
# flags to be left without arguments
18404
 
need_version=unknown
18405
 
 
18406
 
case $host_os in
18407
 
aix3*)
18408
 
  version_type=linux
18409
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18410
 
  shlibpath_var=LIBPATH
18411
 
 
18412
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18413
 
  soname_spec='${libname}${release}${shared_ext}$major'
18414
 
  ;;
18415
 
 
18416
 
aix[4-9]*)
18417
 
  version_type=linux
18418
 
  need_lib_prefix=no
18419
 
  need_version=no
18420
 
  hardcode_into_libs=yes
18421
 
  if test "$host_cpu" = ia64; then
18422
 
    # AIX 5 supports IA64
18423
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18424
 
    shlibpath_var=LD_LIBRARY_PATH
18425
 
  else
18426
 
    # With GCC up to 2.95.x, collect2 would create an import file
18427
 
    # for dependence libraries.  The import file would start with
18428
 
    # the line `#! .'.  This would cause the generated library to
18429
 
    # depend on `.', always an invalid library.  This was fixed in
18430
 
    # development snapshots of GCC prior to 3.0.
18431
 
    case $host_os in
18432
 
      aix4 | aix4.[01] | aix4.[01].*)
18433
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18434
 
           echo ' yes '
18435
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18436
 
        :
18437
 
      else
18438
 
        can_build_shared=no
18439
 
      fi
18440
 
      ;;
18441
 
    esac
18442
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18443
 
    # soname into executable. Probably we can add versioning support to
18444
 
    # collect2, so additional links can be useful in future.
18445
 
    if test "$aix_use_runtimelinking" = yes; then
18446
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18447
 
      # instead of lib<name>.a to let people know that these are not
18448
 
      # typical AIX shared libraries.
18449
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18450
 
    else
18451
 
      # We preserve .a as extension for shared libraries through AIX4.2
18452
 
      # and later when we are not doing run time linking.
18453
 
      library_names_spec='${libname}${release}.a $libname.a'
18454
 
      soname_spec='${libname}${release}${shared_ext}$major'
18455
 
    fi
18456
 
    shlibpath_var=LIBPATH
18457
 
  fi
18458
 
  ;;
18459
 
 
18460
 
amigaos*)
18461
 
  library_names_spec='$libname.ixlibrary $libname.a'
18462
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18463
 
  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'
18464
 
  ;;
18465
 
 
18466
 
beos*)
18467
 
  library_names_spec='${libname}${shared_ext}'
18468
 
  dynamic_linker="$host_os ld.so"
18469
 
  shlibpath_var=LIBRARY_PATH
18470
 
  ;;
18471
 
 
18472
 
bsdi[45]*)
18473
 
  version_type=linux
18474
 
  need_version=no
18475
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18476
 
  soname_spec='${libname}${release}${shared_ext}$major'
18477
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18478
 
  shlibpath_var=LD_LIBRARY_PATH
18479
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18480
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18481
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18482
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18483
 
  # libtool to hard-code these into programs
18484
 
  ;;
18485
 
 
18486
 
cygwin* | mingw* | pw32*)
18487
 
  version_type=windows
18488
 
  shrext_cmds=".dll"
18489
 
  need_version=no
18490
 
  need_lib_prefix=no
18491
 
 
18492
 
  case $GCC,$host_os in
18493
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18494
 
    library_names_spec='$libname.dll.a'
18495
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18496
 
    postinstall_cmds='base_file=`basename \${file}`~
18497
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18498
 
      dldir=$destdir/`dirname \$dlpath`~
18499
 
      test -d \$dldir || mkdir -p \$dldir~
18500
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18501
 
      chmod a+x \$dldir/$dlname'
18502
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18503
 
      dlpath=$dir/\$dldll~
18504
 
       $rm \$dlpath'
18505
 
    shlibpath_overrides_runpath=yes
18506
 
 
18507
 
    case $host_os in
18508
 
    cygwin*)
18509
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18510
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18511
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18512
 
      ;;
18513
 
    mingw*)
18514
 
      # MinGW DLLs use traditional 'lib' prefix
18515
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18516
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18517
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18518
 
        # It is most probably a Windows format PATH printed by
18519
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18520
 
        # path with ; separators, and with drive letters. We can handle the
18521
 
        # drive letters (cygwin fileutils understands them), so leave them,
18522
 
        # especially as we might pass files found there to a mingw objdump,
18523
 
        # which wouldn't understand a cygwinified path. Ahh.
18524
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18525
 
      else
18526
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18527
 
      fi
18528
 
      ;;
18529
 
    pw32*)
18530
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18531
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18532
 
      ;;
18533
 
    esac
18534
 
    ;;
18535
 
 
18536
 
  *)
18537
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18538
 
    ;;
18539
 
  esac
18540
 
  dynamic_linker='Win32 ld.exe'
18541
 
  # FIXME: first we should search . and the directory the executable is in
18542
 
  shlibpath_var=PATH
18543
 
  ;;
18544
 
 
18545
 
darwin* | rhapsody*)
18546
 
  dynamic_linker="$host_os dyld"
18547
 
  version_type=darwin
18548
 
  need_lib_prefix=no
18549
 
  need_version=no
18550
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18551
 
  soname_spec='${libname}${release}${major}$shared_ext'
18552
 
  shlibpath_overrides_runpath=yes
18553
 
  shlibpath_var=DYLD_LIBRARY_PATH
18554
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18555
 
 
18556
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18557
 
  ;;
18558
 
 
18559
 
dgux*)
18560
 
  version_type=linux
18561
 
  need_lib_prefix=no
18562
 
  need_version=no
18563
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18564
 
  soname_spec='${libname}${release}${shared_ext}$major'
18565
 
  shlibpath_var=LD_LIBRARY_PATH
18566
 
  ;;
18567
 
 
18568
 
freebsd1*)
18569
 
  dynamic_linker=no
18570
 
  ;;
18571
 
 
18572
 
freebsd* | dragonfly*)
18573
 
  # DragonFly does not have aout.  When/if they implement a new
18574
 
  # versioning mechanism, adjust this.
18575
 
  if test -x /usr/bin/objformat; then
18576
 
    objformat=`/usr/bin/objformat`
18577
 
  else
18578
 
    case $host_os in
18579
 
    freebsd[123]*) objformat=aout ;;
18580
 
    *) objformat=elf ;;
18581
 
    esac
18582
 
  fi
18583
 
  # Handle Gentoo/FreeBSD as it was Linux
18584
 
  case $host_vendor in
18585
 
    gentoo)
18586
 
      version_type=linux ;;
18587
 
    *)
18588
 
      version_type=freebsd-$objformat ;;
18589
 
  esac
18590
 
 
18591
 
  case $version_type in
18592
 
    freebsd-elf*)
18593
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18594
 
      need_version=no
18595
 
      need_lib_prefix=no
18596
 
      ;;
18597
 
    freebsd-*)
18598
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18599
 
      need_version=yes
18600
 
      ;;
18601
 
    linux)
18602
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18603
 
      soname_spec='${libname}${release}${shared_ext}$major'
18604
 
      need_lib_prefix=no
18605
 
      need_version=no
18606
 
      ;;
18607
 
  esac
18608
 
  shlibpath_var=LD_LIBRARY_PATH
18609
 
  case $host_os in
18610
 
  freebsd2*)
18611
 
    shlibpath_overrides_runpath=yes
18612
 
    ;;
18613
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18614
 
    shlibpath_overrides_runpath=yes
18615
 
    hardcode_into_libs=yes
18616
 
    ;;
18617
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18618
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18619
 
    shlibpath_overrides_runpath=no
18620
 
    hardcode_into_libs=yes
18621
 
    ;;
18622
 
  *) # from 4.6 on, and DragonFly
18623
 
    shlibpath_overrides_runpath=yes
18624
 
    hardcode_into_libs=yes
18625
 
    ;;
18626
 
  esac
18627
 
  ;;
18628
 
 
18629
 
gnu*)
18630
 
  version_type=linux
18631
 
  need_lib_prefix=no
18632
 
  need_version=no
18633
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18634
 
  soname_spec='${libname}${release}${shared_ext}$major'
18635
 
  shlibpath_var=LD_LIBRARY_PATH
18636
 
  hardcode_into_libs=yes
18637
 
  ;;
18638
 
 
18639
 
hpux9* | hpux10* | hpux11*)
18640
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18641
 
  # link against other versions.
18642
 
  version_type=sunos
18643
 
  need_lib_prefix=no
18644
 
  need_version=no
18645
 
  case $host_cpu in
18646
 
  ia64*)
18647
 
    shrext_cmds='.so'
18648
 
    hardcode_into_libs=yes
18649
 
    dynamic_linker="$host_os dld.so"
18650
 
    shlibpath_var=LD_LIBRARY_PATH
18651
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18652
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18653
 
    soname_spec='${libname}${release}${shared_ext}$major'
18654
 
    if test "X$HPUX_IA64_MODE" = X32; then
18655
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18656
 
    else
18657
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18658
 
    fi
18659
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18660
 
    ;;
18661
 
   hppa*64*)
18662
 
     shrext_cmds='.sl'
18663
 
     hardcode_into_libs=yes
18664
 
     dynamic_linker="$host_os dld.sl"
18665
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18666
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18667
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18668
 
     soname_spec='${libname}${release}${shared_ext}$major'
18669
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18670
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18671
 
     ;;
18672
 
   *)
18673
 
    shrext_cmds='.sl'
18674
 
    dynamic_linker="$host_os dld.sl"
18675
 
    shlibpath_var=SHLIB_PATH
18676
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18677
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18678
 
    soname_spec='${libname}${release}${shared_ext}$major'
18679
 
    ;;
18680
 
  esac
18681
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18682
 
  postinstall_cmds='chmod 555 $lib'
18683
 
  ;;
18684
 
 
18685
 
interix[3-9]*)
18686
 
  version_type=linux
18687
 
  need_lib_prefix=no
18688
 
  need_version=no
18689
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18690
 
  soname_spec='${libname}${release}${shared_ext}$major'
18691
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18692
 
  shlibpath_var=LD_LIBRARY_PATH
18693
 
  shlibpath_overrides_runpath=no
18694
 
  hardcode_into_libs=yes
18695
 
  ;;
18696
 
 
18697
 
irix5* | irix6* | nonstopux*)
18698
 
  case $host_os in
18699
 
    nonstopux*) version_type=nonstopux ;;
18700
 
    *)
18701
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18702
 
                version_type=linux
18703
 
        else
18704
 
                version_type=irix
18705
 
        fi ;;
18706
 
  esac
18707
 
  need_lib_prefix=no
18708
 
  need_version=no
18709
 
  soname_spec='${libname}${release}${shared_ext}$major'
18710
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18711
 
  case $host_os in
18712
 
  irix5* | nonstopux*)
18713
 
    libsuff= shlibsuff=
18714
 
    ;;
18715
 
  *)
18716
 
    case $LD in # libtool.m4 will add one of these switches to LD
18717
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18718
 
      libsuff= shlibsuff= libmagic=32-bit;;
18719
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18720
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18721
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18722
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18723
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18724
 
    esac
18725
 
    ;;
18726
 
  esac
18727
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18728
 
  shlibpath_overrides_runpath=no
18729
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18730
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18731
 
  hardcode_into_libs=yes
18732
 
  ;;
18733
 
 
18734
 
# No shared lib support for Linux oldld, aout, or coff.
18735
 
linux*oldld* | linux*aout* | linux*coff*)
18736
 
  dynamic_linker=no
18737
 
  ;;
18738
 
 
18739
 
# This must be Linux ELF.
18740
 
linux* | k*bsd*-gnu)
18741
 
  version_type=linux
18742
 
  need_lib_prefix=no
18743
 
  need_version=no
18744
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18745
 
  soname_spec='${libname}${release}${shared_ext}$major'
18746
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18747
 
  shlibpath_var=LD_LIBRARY_PATH
18748
 
  shlibpath_overrides_runpath=no
18749
 
  # This implies no fast_install, which is unacceptable.
18750
 
  # Some rework will be needed to allow for fast_install
18751
 
  # before this can be enabled.
18752
 
  hardcode_into_libs=yes
18753
 
 
18754
 
  # Append ld.so.conf contents to the search path
18755
 
  if test -f /etc/ld.so.conf; then
18756
 
    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' ' '`
18757
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18758
 
  fi
18759
 
 
18760
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18761
 
  # powerpc, because MkLinux only supported shared libraries with the
18762
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18763
 
  # most powerpc-linux boxes support dynamic linking these days and
18764
 
  # people can always --disable-shared, the test was removed, and we
18765
 
  # assume the GNU/Linux dynamic linker is in use.
18766
 
  dynamic_linker='GNU/Linux ld.so'
18767
 
  ;;
18768
 
 
18769
 
netbsd*)
18770
 
  version_type=sunos
18771
 
  need_lib_prefix=no
18772
 
  need_version=no
18773
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18774
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18775
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18776
 
    dynamic_linker='NetBSD (a.out) ld.so'
18777
 
  else
18778
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18779
 
    soname_spec='${libname}${release}${shared_ext}$major'
18780
 
    dynamic_linker='NetBSD ld.elf_so'
18781
 
  fi
18782
 
  shlibpath_var=LD_LIBRARY_PATH
18783
 
  shlibpath_overrides_runpath=yes
18784
 
  hardcode_into_libs=yes
18785
 
  ;;
18786
 
 
18787
 
newsos6)
18788
 
  version_type=linux
18789
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18790
 
  shlibpath_var=LD_LIBRARY_PATH
18791
 
  shlibpath_overrides_runpath=yes
18792
 
  ;;
18793
 
 
18794
 
nto-qnx*)
18795
 
  version_type=linux
18796
 
  need_lib_prefix=no
18797
 
  need_version=no
18798
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18799
 
  soname_spec='${libname}${release}${shared_ext}$major'
18800
 
  shlibpath_var=LD_LIBRARY_PATH
18801
 
  shlibpath_overrides_runpath=yes
18802
 
  ;;
18803
 
 
18804
 
openbsd*)
18805
 
  version_type=sunos
18806
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18807
 
  need_lib_prefix=no
18808
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18809
 
  case $host_os in
18810
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18811
 
    *)                         need_version=no  ;;
18812
 
  esac
18813
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18814
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18815
 
  shlibpath_var=LD_LIBRARY_PATH
18816
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18817
 
    case $host_os in
18818
 
      openbsd2.[89] | openbsd2.[89].*)
18819
 
        shlibpath_overrides_runpath=no
18820
 
        ;;
18821
 
      *)
18822
 
        shlibpath_overrides_runpath=yes
18823
 
        ;;
18824
 
      esac
18825
 
  else
18826
 
    shlibpath_overrides_runpath=yes
18827
 
  fi
18828
 
  ;;
18829
 
 
18830
 
os2*)
18831
 
  libname_spec='$name'
18832
 
  shrext_cmds=".dll"
18833
 
  need_lib_prefix=no
18834
 
  library_names_spec='$libname${shared_ext} $libname.a'
18835
 
  dynamic_linker='OS/2 ld.exe'
18836
 
  shlibpath_var=LIBPATH
18837
 
  ;;
18838
 
 
18839
 
osf3* | osf4* | osf5*)
18840
 
  version_type=osf
18841
 
  need_lib_prefix=no
18842
 
  need_version=no
18843
 
  soname_spec='${libname}${release}${shared_ext}$major'
18844
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18845
 
  shlibpath_var=LD_LIBRARY_PATH
18846
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18847
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18848
 
  ;;
18849
 
 
18850
 
rdos*)
18851
 
  dynamic_linker=no
18852
 
  ;;
18853
 
 
18854
 
solaris*)
18855
 
  version_type=linux
18856
 
  need_lib_prefix=no
18857
 
  need_version=no
18858
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18859
 
  soname_spec='${libname}${release}${shared_ext}$major'
18860
 
  shlibpath_var=LD_LIBRARY_PATH
18861
 
  shlibpath_overrides_runpath=yes
18862
 
  hardcode_into_libs=yes
18863
 
  # ldd complains unless libraries are executable
18864
 
  postinstall_cmds='chmod +x $lib'
18865
 
  ;;
18866
 
 
18867
 
sunos4*)
18868
 
  version_type=sunos
18869
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18870
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18871
 
  shlibpath_var=LD_LIBRARY_PATH
18872
 
  shlibpath_overrides_runpath=yes
18873
 
  if test "$with_gnu_ld" = yes; then
18874
 
    need_lib_prefix=no
18875
 
  fi
18876
 
  need_version=yes
18877
 
  ;;
18878
 
 
18879
 
sysv4 | sysv4.3*)
18880
 
  version_type=linux
18881
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18882
 
  soname_spec='${libname}${release}${shared_ext}$major'
18883
 
  shlibpath_var=LD_LIBRARY_PATH
18884
 
  case $host_vendor in
18885
 
    sni)
18886
 
      shlibpath_overrides_runpath=no
18887
 
      need_lib_prefix=no
18888
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18889
 
      runpath_var=LD_RUN_PATH
18890
 
      ;;
18891
 
    siemens)
18892
 
      need_lib_prefix=no
18893
 
      ;;
18894
 
    motorola)
18895
 
      need_lib_prefix=no
18896
 
      need_version=no
18897
 
      shlibpath_overrides_runpath=no
18898
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18899
 
      ;;
18900
 
  esac
18901
 
  ;;
18902
 
 
18903
 
sysv4*MP*)
18904
 
  if test -d /usr/nec ;then
18905
 
    version_type=linux
18906
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18907
 
    soname_spec='$libname${shared_ext}.$major'
18908
 
    shlibpath_var=LD_LIBRARY_PATH
18909
 
  fi
18910
 
  ;;
18911
 
 
18912
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18913
 
  version_type=freebsd-elf
18914
 
  need_lib_prefix=no
18915
 
  need_version=no
18916
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18917
 
  soname_spec='${libname}${release}${shared_ext}$major'
18918
 
  shlibpath_var=LD_LIBRARY_PATH
18919
 
  hardcode_into_libs=yes
18920
 
  if test "$with_gnu_ld" = yes; then
18921
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18922
 
    shlibpath_overrides_runpath=no
18923
 
  else
18924
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18925
 
    shlibpath_overrides_runpath=yes
18926
 
    case $host_os in
18927
 
      sco3.2v5*)
18928
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18929
 
        ;;
18930
 
    esac
18931
 
  fi
18932
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18933
 
  ;;
18934
 
 
18935
 
uts4*)
18936
 
  version_type=linux
18937
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18938
 
  soname_spec='${libname}${release}${shared_ext}$major'
18939
 
  shlibpath_var=LD_LIBRARY_PATH
18940
 
  ;;
18941
 
 
18942
 
*)
18943
 
  dynamic_linker=no
18944
 
  ;;
18945
 
esac
18946
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18947
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18948
 
test "$dynamic_linker" = no && can_build_shared=no
18949
 
 
18950
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18951
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18952
 
else
18953
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18954
 
fi
18955
 
 
18956
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18957
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18959
 
else
18960
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18961
 
fi
18962
 
 
18963
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18964
 
 
18965
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18966
 
if test "$GCC" = yes; then
18967
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18968
 
fi
18969
 
 
18970
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18971
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18972
 
hardcode_action_GCJ=
18973
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18974
 
   test -n "$runpath_var_GCJ" || \
18975
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18976
 
 
18977
 
  # We can hardcode non-existant directories.
18978
 
  if test "$hardcode_direct_GCJ" != no &&
18979
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18980
 
     # have to relink, otherwise we might link with an installed library
18981
 
     # when we should be linking with a yet-to-be-installed one
18982
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18983
 
     test "$hardcode_minus_L_GCJ" != no; then
18984
 
    # Linking always hardcodes the temporary library directory.
18985
 
    hardcode_action_GCJ=relink
18986
 
  else
18987
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18988
 
    hardcode_action_GCJ=immediate
18989
 
  fi
18990
 
else
18991
 
  # We cannot hardcode anything, or else we can only hardcode existing
18992
 
  # directories.
18993
 
  hardcode_action_GCJ=unsupported
18994
 
fi
18995
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18996
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18997
 
 
18998
 
if test "$hardcode_action_GCJ" = relink; then
18999
 
  # Fast installation is not supported
19000
 
  enable_fast_install=no
19001
 
elif test "$shlibpath_overrides_runpath" = yes ||
19002
 
     test "$enable_shared" = no; then
19003
 
  # Fast installation is not necessary
19004
 
  enable_fast_install=needless
19005
 
fi
19006
 
 
19007
 
 
19008
 
# The else clause should only fire when bootstrapping the
19009
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19010
 
# with your package, and you will get complaints that there are
19011
 
# no rules to generate ltmain.sh.
19012
 
if test -f "$ltmain"; then
19013
 
  # See if we are running on zsh, and set the options which allow our commands through
19014
 
  # without removal of \ escapes.
19015
 
  if test -n "${ZSH_VERSION+set}" ; then
19016
 
    setopt NO_GLOB_SUBST
19017
 
  fi
19018
 
  # Now quote all the things that may contain metacharacters while being
19019
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19020
 
  # variables and quote the copies for generation of the libtool script.
19021
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19022
 
    SED SHELL STRIP \
19023
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19024
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19025
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19026
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19027
 
    lt_cv_sys_global_symbol_to_c_name_address \
19028
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19029
 
    old_postinstall_cmds old_postuninstall_cmds \
19030
 
    compiler_GCJ \
19031
 
    CC_GCJ \
19032
 
    LD_GCJ \
19033
 
    lt_prog_compiler_wl_GCJ \
19034
 
    lt_prog_compiler_pic_GCJ \
19035
 
    lt_prog_compiler_static_GCJ \
19036
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19037
 
    export_dynamic_flag_spec_GCJ \
19038
 
    thread_safe_flag_spec_GCJ \
19039
 
    whole_archive_flag_spec_GCJ \
19040
 
    enable_shared_with_static_runtimes_GCJ \
19041
 
    old_archive_cmds_GCJ \
19042
 
    old_archive_from_new_cmds_GCJ \
19043
 
    predep_objects_GCJ \
19044
 
    postdep_objects_GCJ \
19045
 
    predeps_GCJ \
19046
 
    postdeps_GCJ \
19047
 
    compiler_lib_search_path_GCJ \
19048
 
    compiler_lib_search_dirs_GCJ \
19049
 
    archive_cmds_GCJ \
19050
 
    archive_expsym_cmds_GCJ \
19051
 
    postinstall_cmds_GCJ \
19052
 
    postuninstall_cmds_GCJ \
19053
 
    old_archive_from_expsyms_cmds_GCJ \
19054
 
    allow_undefined_flag_GCJ \
19055
 
    no_undefined_flag_GCJ \
19056
 
    export_symbols_cmds_GCJ \
19057
 
    hardcode_libdir_flag_spec_GCJ \
19058
 
    hardcode_libdir_flag_spec_ld_GCJ \
19059
 
    hardcode_libdir_separator_GCJ \
19060
 
    hardcode_automatic_GCJ \
19061
 
    module_cmds_GCJ \
19062
 
    module_expsym_cmds_GCJ \
19063
 
    lt_cv_prog_compiler_c_o_GCJ \
19064
 
    fix_srcfile_path_GCJ \
19065
 
    exclude_expsyms_GCJ \
19066
 
    include_expsyms_GCJ; do
19067
 
 
19068
 
    case $var in
19069
 
    old_archive_cmds_GCJ | \
19070
 
    old_archive_from_new_cmds_GCJ | \
19071
 
    archive_cmds_GCJ | \
19072
 
    archive_expsym_cmds_GCJ | \
19073
 
    module_cmds_GCJ | \
19074
 
    module_expsym_cmds_GCJ | \
19075
 
    old_archive_from_expsyms_cmds_GCJ | \
19076
 
    export_symbols_cmds_GCJ | \
19077
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19078
 
    postinstall_cmds | postuninstall_cmds | \
19079
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19080
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19081
 
      # Double-quote double-evaled strings.
19082
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19083
 
      ;;
19084
 
    *)
19085
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19086
 
      ;;
19087
 
    esac
19088
 
  done
19089
 
 
19090
 
  case $lt_echo in
19091
 
  *'\$0 --fallback-echo"')
19092
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19093
 
    ;;
19094
 
  esac
19095
 
 
19096
 
cfgfile="$ofile"
19097
 
 
19098
 
  cat <<__EOF__ >> "$cfgfile"
19099
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19100
 
 
19101
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19102
 
 
19103
 
# Shell to use when invoking shell scripts.
19104
 
SHELL=$lt_SHELL
19105
 
 
19106
 
# Whether or not to build shared libraries.
19107
 
build_libtool_libs=$enable_shared
19108
 
 
19109
 
# Whether or not to build static libraries.
19110
 
build_old_libs=$enable_static
19111
 
 
19112
 
# Whether or not to add -lc for building shared libraries.
19113
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19114
 
 
19115
 
# Whether or not to disallow shared libs when runtime libs are static
19116
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19117
 
 
19118
 
# Whether or not to optimize for fast installation.
19119
 
fast_install=$enable_fast_install
19120
 
 
19121
 
# The host system.
19122
 
host_alias=$host_alias
19123
 
host=$host
19124
 
host_os=$host_os
19125
 
 
19126
 
# The build system.
19127
 
build_alias=$build_alias
19128
 
build=$build
19129
 
build_os=$build_os
19130
 
 
19131
 
# An echo program that does not interpret backslashes.
19132
 
echo=$lt_echo
19133
 
 
19134
 
# The archiver.
19135
 
AR=$lt_AR
19136
 
AR_FLAGS=$lt_AR_FLAGS
19137
 
 
19138
 
# A C compiler.
19139
 
LTCC=$lt_LTCC
19140
 
 
19141
 
# LTCC compiler flags.
19142
 
LTCFLAGS=$lt_LTCFLAGS
19143
 
 
19144
 
# A language-specific compiler.
19145
 
CC=$lt_compiler_GCJ
19146
 
 
19147
 
# Is the compiler the GNU C compiler?
19148
 
with_gcc=$GCC_GCJ
19149
 
 
19150
 
# An ERE matcher.
19151
 
EGREP=$lt_EGREP
19152
 
 
19153
 
# The linker used to build libraries.
19154
 
LD=$lt_LD_GCJ
19155
 
 
19156
 
# Whether we need hard or soft links.
19157
 
LN_S=$lt_LN_S
19158
 
 
19159
 
# A BSD-compatible nm program.
19160
 
NM=$lt_NM
19161
 
 
19162
 
# A symbol stripping program
19163
 
STRIP=$lt_STRIP
19164
 
 
19165
 
# Used to examine libraries when file_magic_cmd begins "file"
19166
 
MAGIC_CMD=$MAGIC_CMD
19167
 
 
19168
 
# Used on cygwin: DLL creation program.
19169
 
DLLTOOL="$DLLTOOL"
19170
 
 
19171
 
# Used on cygwin: object dumper.
19172
 
OBJDUMP="$OBJDUMP"
19173
 
 
19174
 
# Used on cygwin: assembler.
19175
 
AS="$AS"
19176
 
 
19177
 
# The name of the directory that contains temporary libtool files.
19178
 
objdir=$objdir
19179
 
 
19180
 
# How to create reloadable object files.
19181
 
reload_flag=$lt_reload_flag
19182
 
reload_cmds=$lt_reload_cmds
19183
 
 
19184
 
# How to pass a linker flag through the compiler.
19185
 
wl=$lt_lt_prog_compiler_wl_GCJ
19186
 
 
19187
 
# Object file suffix (normally "o").
19188
 
objext="$ac_objext"
19189
 
 
19190
 
# Old archive suffix (normally "a").
19191
 
libext="$libext"
19192
 
 
19193
 
# Shared library suffix (normally ".so").
19194
 
shrext_cmds='$shrext_cmds'
19195
 
 
19196
 
# Executable file suffix (normally "").
19197
 
exeext="$exeext"
19198
 
 
19199
 
# Additional compiler flags for building library objects.
19200
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19201
 
pic_mode=$pic_mode
19202
 
 
19203
 
# What is the maximum length of a command?
19204
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19205
 
 
19206
 
# Does compiler simultaneously support -c and -o options?
19207
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19208
 
 
19209
 
# Must we lock files when doing compilation?
19210
 
need_locks=$lt_need_locks
19211
 
 
19212
 
# Do we need the lib prefix for modules?
19213
 
need_lib_prefix=$need_lib_prefix
19214
 
 
19215
 
# Do we need a version for libraries?
19216
 
need_version=$need_version
19217
 
 
19218
 
# Whether dlopen is supported.
19219
 
dlopen_support=$enable_dlopen
19220
 
 
19221
 
# Whether dlopen of programs is supported.
19222
 
dlopen_self=$enable_dlopen_self
19223
 
 
19224
 
# Whether dlopen of statically linked programs is supported.
19225
 
dlopen_self_static=$enable_dlopen_self_static
19226
 
 
19227
 
# Compiler flag to prevent dynamic linking.
19228
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19229
 
 
19230
 
# Compiler flag to turn off builtin functions.
19231
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19232
 
 
19233
 
# Compiler flag to allow reflexive dlopens.
19234
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19235
 
 
19236
 
# Compiler flag to generate shared objects directly from archives.
19237
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19238
 
 
19239
 
# Compiler flag to generate thread-safe objects.
19240
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19241
 
 
19242
 
# Library versioning type.
19243
 
version_type=$version_type
19244
 
 
19245
 
# Format of library name prefix.
19246
 
libname_spec=$lt_libname_spec
19247
 
 
19248
 
# List of archive names.  First name is the real one, the rest are links.
19249
 
# The last name is the one that the linker finds with -lNAME.
19250
 
library_names_spec=$lt_library_names_spec
19251
 
 
19252
 
# The coded name of the library, if different from the real name.
19253
 
soname_spec=$lt_soname_spec
19254
 
 
19255
 
# Commands used to build and install an old-style archive.
19256
 
RANLIB=$lt_RANLIB
19257
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19258
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19259
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19260
 
 
19261
 
# Create an old-style archive from a shared archive.
19262
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19263
 
 
19264
 
# Create a temporary old-style archive to link instead of a shared archive.
19265
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19266
 
 
19267
 
# Commands used to build and install a shared archive.
19268
 
archive_cmds=$lt_archive_cmds_GCJ
19269
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19270
 
postinstall_cmds=$lt_postinstall_cmds
19271
 
postuninstall_cmds=$lt_postuninstall_cmds
19272
 
 
19273
 
# Commands used to build a loadable module (assumed same as above if empty)
19274
 
module_cmds=$lt_module_cmds_GCJ
19275
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19276
 
 
19277
 
# Commands to strip libraries.
19278
 
old_striplib=$lt_old_striplib
19279
 
striplib=$lt_striplib
19280
 
 
19281
 
# Dependencies to place before the objects being linked to create a
19282
 
# shared library.
19283
 
predep_objects=$lt_predep_objects_GCJ
19284
 
 
19285
 
# Dependencies to place after the objects being linked to create a
19286
 
# shared library.
19287
 
postdep_objects=$lt_postdep_objects_GCJ
19288
 
 
19289
 
# Dependencies to place before the objects being linked to create a
19290
 
# shared library.
19291
 
predeps=$lt_predeps_GCJ
19292
 
 
19293
 
# Dependencies to place after the objects being linked to create a
19294
 
# shared library.
19295
 
postdeps=$lt_postdeps_GCJ
19296
 
 
19297
 
# The directories searched by this compiler when creating a shared
19298
 
# library
19299
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19300
 
 
19301
 
# The library search path used internally by the compiler when linking
19302
 
# a shared library.
19303
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19304
 
 
19305
 
# Method to check whether dependent libraries are shared objects.
19306
 
deplibs_check_method=$lt_deplibs_check_method
19307
 
 
19308
 
# Command to use when deplibs_check_method == file_magic.
19309
 
file_magic_cmd=$lt_file_magic_cmd
19310
 
 
19311
 
# Flag that allows shared libraries with undefined symbols to be built.
19312
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19313
 
 
19314
 
# Flag that forces no undefined symbols.
19315
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19316
 
 
19317
 
# Commands used to finish a libtool library installation in a directory.
19318
 
finish_cmds=$lt_finish_cmds
19319
 
 
19320
 
# Same as above, but a single script fragment to be evaled but not shown.
19321
 
finish_eval=$lt_finish_eval
19322
 
 
19323
 
# Take the output of nm and produce a listing of raw symbols and C names.
19324
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19325
 
 
19326
 
# Transform the output of nm in a proper C declaration
19327
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19328
 
 
19329
 
# Transform the output of nm in a C name address pair
19330
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19331
 
 
19332
 
# This is the shared library runtime path variable.
19333
 
runpath_var=$runpath_var
19334
 
 
19335
 
# This is the shared library path variable.
19336
 
shlibpath_var=$shlibpath_var
19337
 
 
19338
 
# Is shlibpath searched before the hard-coded library search path?
19339
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19340
 
 
19341
 
# How to hardcode a shared library path into an executable.
19342
 
hardcode_action=$hardcode_action_GCJ
19343
 
 
19344
 
# Whether we should hardcode library paths into libraries.
19345
 
hardcode_into_libs=$hardcode_into_libs
19346
 
 
19347
 
# Flag to hardcode \$libdir into a binary during linking.
19348
 
# This must work even if \$libdir does not exist.
19349
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19350
 
 
19351
 
# If ld is used when linking, flag to hardcode \$libdir into
19352
 
# a binary during linking. This must work even if \$libdir does
19353
 
# not exist.
19354
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19355
 
 
19356
 
# Whether we need a single -rpath flag with a separated argument.
19357
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19358
 
 
19359
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19360
 
# resulting binary.
19361
 
hardcode_direct=$hardcode_direct_GCJ
19362
 
 
19363
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19364
 
# resulting binary.
19365
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19366
 
 
19367
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19368
 
# the resulting binary.
19369
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19370
 
 
19371
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19372
 
# and all subsequent libraries and executables linked against it.
19373
 
hardcode_automatic=$hardcode_automatic_GCJ
19374
 
 
19375
 
# Variables whose values should be saved in libtool wrapper scripts and
19376
 
# restored at relink time.
19377
 
variables_saved_for_relink="$variables_saved_for_relink"
19378
 
 
19379
 
# Whether libtool must link a program against all its dependency libraries.
19380
 
link_all_deplibs=$link_all_deplibs_GCJ
19381
 
 
19382
 
# Compile-time system search path for libraries
19383
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19384
 
 
19385
 
# Run-time system search path for libraries
19386
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19387
 
 
19388
 
# Fix the shell variable \$srcfile for the compiler.
19389
 
fix_srcfile_path=$lt_fix_srcfile_path
19390
 
 
19391
 
# Set to yes if exported symbols are required.
19392
 
always_export_symbols=$always_export_symbols_GCJ
19393
 
 
19394
 
# The commands to list exported symbols.
19395
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19396
 
 
19397
 
# The commands to extract the exported symbol list from a shared archive.
19398
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19399
 
 
19400
 
# Symbols that should not be listed in the preloaded symbols.
19401
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19402
 
 
19403
 
# Symbols that must always be exported.
19404
 
include_expsyms=$lt_include_expsyms_GCJ
19405
 
 
19406
 
# ### END LIBTOOL TAG CONFIG: $tagname
19407
 
 
19408
 
__EOF__
19409
 
 
19410
 
 
19411
 
else
19412
 
  # If there is no Makefile yet, we rely on a make rule to execute
19413
 
  # `config.status --recheck' to rerun these tests and create the
19414
 
  # libtool script then.
19415
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19416
 
  if test -f "$ltmain_in"; then
19417
 
    test -f Makefile && make "$ltmain"
19418
 
  fi
19419
 
fi
19420
 
 
19421
 
 
19422
 
ac_ext=c
19423
 
ac_cpp='$CPP $CPPFLAGS'
19424
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19425
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19426
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19427
 
 
19428
 
CC="$lt_save_CC"
19429
 
 
19430
 
        else
19431
 
          tagname=""
19432
 
        fi
19433
 
        ;;
19434
 
 
19435
 
      RC)
19436
 
 
19437
 
 
19438
 
# Source file extension for RC test sources.
19439
 
ac_ext=rc
19440
 
 
19441
 
# Object file extension for compiled RC test sources.
19442
 
objext=o
19443
 
objext_RC=$objext
19444
 
 
19445
 
# Code to be used in simple compile tests
19446
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19447
 
 
19448
 
# Code to be used in simple link tests
19449
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19450
 
 
19451
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19452
 
 
19453
 
# If no C compiler was specified, use CC.
19454
 
LTCC=${LTCC-"$CC"}
19455
 
 
19456
 
# If no C compiler flags were specified, use CFLAGS.
19457
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19458
 
 
19459
 
# Allow CC to be a program name with arguments.
19460
 
compiler=$CC
19461
 
 
19462
 
 
19463
 
# save warnings/boilerplate of simple test code
19464
 
ac_outfile=conftest.$ac_objext
19465
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19466
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19467
 
_lt_compiler_boilerplate=`cat conftest.err`
19468
 
$rm conftest*
19469
 
 
19470
 
ac_outfile=conftest.$ac_objext
19471
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19472
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19473
 
_lt_linker_boilerplate=`cat conftest.err`
19474
 
$rm -r conftest*
19475
 
 
19476
 
 
19477
 
# Allow CC to be a program name with arguments.
19478
 
lt_save_CC="$CC"
19479
 
CC=${RC-"windres"}
19480
 
compiler=$CC
19481
 
compiler_RC=$CC
19482
 
for cc_temp in $compiler""; do
19483
 
  case $cc_temp in
19484
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19485
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19486
 
    \-*) ;;
19487
 
    *) break;;
19488
 
  esac
19489
 
done
19490
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19491
 
 
19492
 
lt_cv_prog_compiler_c_o_RC=yes
19493
 
 
19494
 
# The else clause should only fire when bootstrapping the
19495
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19496
 
# with your package, and you will get complaints that there are
19497
 
# no rules to generate ltmain.sh.
19498
 
if test -f "$ltmain"; then
19499
 
  # See if we are running on zsh, and set the options which allow our commands through
19500
 
  # without removal of \ escapes.
19501
 
  if test -n "${ZSH_VERSION+set}" ; then
19502
 
    setopt NO_GLOB_SUBST
19503
 
  fi
19504
 
  # Now quote all the things that may contain metacharacters while being
19505
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19506
 
  # variables and quote the copies for generation of the libtool script.
19507
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19508
 
    SED SHELL STRIP \
19509
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19510
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19511
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19512
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19513
 
    lt_cv_sys_global_symbol_to_c_name_address \
19514
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19515
 
    old_postinstall_cmds old_postuninstall_cmds \
19516
 
    compiler_RC \
19517
 
    CC_RC \
19518
 
    LD_RC \
19519
 
    lt_prog_compiler_wl_RC \
19520
 
    lt_prog_compiler_pic_RC \
19521
 
    lt_prog_compiler_static_RC \
19522
 
    lt_prog_compiler_no_builtin_flag_RC \
19523
 
    export_dynamic_flag_spec_RC \
19524
 
    thread_safe_flag_spec_RC \
19525
 
    whole_archive_flag_spec_RC \
19526
 
    enable_shared_with_static_runtimes_RC \
19527
 
    old_archive_cmds_RC \
19528
 
    old_archive_from_new_cmds_RC \
19529
 
    predep_objects_RC \
19530
 
    postdep_objects_RC \
19531
 
    predeps_RC \
19532
 
    postdeps_RC \
19533
 
    compiler_lib_search_path_RC \
19534
 
    compiler_lib_search_dirs_RC \
19535
 
    archive_cmds_RC \
19536
 
    archive_expsym_cmds_RC \
19537
 
    postinstall_cmds_RC \
19538
 
    postuninstall_cmds_RC \
19539
 
    old_archive_from_expsyms_cmds_RC \
19540
 
    allow_undefined_flag_RC \
19541
 
    no_undefined_flag_RC \
19542
 
    export_symbols_cmds_RC \
19543
 
    hardcode_libdir_flag_spec_RC \
19544
 
    hardcode_libdir_flag_spec_ld_RC \
19545
 
    hardcode_libdir_separator_RC \
19546
 
    hardcode_automatic_RC \
19547
 
    module_cmds_RC \
19548
 
    module_expsym_cmds_RC \
19549
 
    lt_cv_prog_compiler_c_o_RC \
19550
 
    fix_srcfile_path_RC \
19551
 
    exclude_expsyms_RC \
19552
 
    include_expsyms_RC; do
19553
 
 
19554
 
    case $var in
19555
 
    old_archive_cmds_RC | \
19556
 
    old_archive_from_new_cmds_RC | \
19557
 
    archive_cmds_RC | \
19558
 
    archive_expsym_cmds_RC | \
19559
 
    module_cmds_RC | \
19560
 
    module_expsym_cmds_RC | \
19561
 
    old_archive_from_expsyms_cmds_RC | \
19562
 
    export_symbols_cmds_RC | \
19563
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19564
 
    postinstall_cmds | postuninstall_cmds | \
19565
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19566
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19567
 
      # Double-quote double-evaled strings.
19568
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19569
 
      ;;
19570
 
    *)
19571
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19572
 
      ;;
19573
 
    esac
19574
 
  done
19575
 
 
19576
 
  case $lt_echo in
19577
 
  *'\$0 --fallback-echo"')
19578
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19579
 
    ;;
19580
 
  esac
19581
 
 
19582
 
cfgfile="$ofile"
19583
 
 
19584
 
  cat <<__EOF__ >> "$cfgfile"
19585
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19586
 
 
19587
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19588
 
 
19589
 
# Shell to use when invoking shell scripts.
19590
 
SHELL=$lt_SHELL
19591
 
 
19592
 
# Whether or not to build shared libraries.
19593
 
build_libtool_libs=$enable_shared
19594
 
 
19595
 
# Whether or not to build static libraries.
19596
 
build_old_libs=$enable_static
19597
 
 
19598
 
# Whether or not to add -lc for building shared libraries.
19599
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19600
 
 
19601
 
# Whether or not to disallow shared libs when runtime libs are static
19602
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19603
 
 
19604
 
# Whether or not to optimize for fast installation.
19605
 
fast_install=$enable_fast_install
19606
 
 
19607
 
# The host system.
19608
 
host_alias=$host_alias
19609
 
host=$host
19610
 
host_os=$host_os
19611
 
 
19612
 
# The build system.
19613
 
build_alias=$build_alias
19614
 
build=$build
19615
 
build_os=$build_os
19616
 
 
19617
 
# An echo program that does not interpret backslashes.
19618
 
echo=$lt_echo
19619
 
 
19620
 
# The archiver.
19621
 
AR=$lt_AR
19622
 
AR_FLAGS=$lt_AR_FLAGS
19623
 
 
19624
 
# A C compiler.
19625
 
LTCC=$lt_LTCC
19626
 
 
19627
 
# LTCC compiler flags.
19628
 
LTCFLAGS=$lt_LTCFLAGS
19629
 
 
19630
 
# A language-specific compiler.
19631
 
CC=$lt_compiler_RC
19632
 
 
19633
 
# Is the compiler the GNU C compiler?
19634
 
with_gcc=$GCC_RC
19635
 
 
19636
 
# An ERE matcher.
19637
 
EGREP=$lt_EGREP
19638
 
 
19639
 
# The linker used to build libraries.
19640
 
LD=$lt_LD_RC
19641
 
 
19642
 
# Whether we need hard or soft links.
19643
 
LN_S=$lt_LN_S
19644
 
 
19645
 
# A BSD-compatible nm program.
19646
 
NM=$lt_NM
19647
 
 
19648
 
# A symbol stripping program
19649
 
STRIP=$lt_STRIP
19650
 
 
19651
 
# Used to examine libraries when file_magic_cmd begins "file"
19652
 
MAGIC_CMD=$MAGIC_CMD
19653
 
 
19654
 
# Used on cygwin: DLL creation program.
19655
 
DLLTOOL="$DLLTOOL"
19656
 
 
19657
 
# Used on cygwin: object dumper.
19658
 
OBJDUMP="$OBJDUMP"
19659
 
 
19660
 
# Used on cygwin: assembler.
19661
 
AS="$AS"
19662
 
 
19663
 
# The name of the directory that contains temporary libtool files.
19664
 
objdir=$objdir
19665
 
 
19666
 
# How to create reloadable object files.
19667
 
reload_flag=$lt_reload_flag
19668
 
reload_cmds=$lt_reload_cmds
19669
 
 
19670
 
# How to pass a linker flag through the compiler.
19671
 
wl=$lt_lt_prog_compiler_wl_RC
19672
 
 
19673
 
# Object file suffix (normally "o").
19674
 
objext="$ac_objext"
19675
 
 
19676
 
# Old archive suffix (normally "a").
19677
 
libext="$libext"
19678
 
 
19679
 
# Shared library suffix (normally ".so").
19680
 
shrext_cmds='$shrext_cmds'
19681
 
 
19682
 
# Executable file suffix (normally "").
19683
 
exeext="$exeext"
19684
 
 
19685
 
# Additional compiler flags for building library objects.
19686
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19687
 
pic_mode=$pic_mode
19688
 
 
19689
 
# What is the maximum length of a command?
19690
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19691
 
 
19692
 
# Does compiler simultaneously support -c and -o options?
19693
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19694
 
 
19695
 
# Must we lock files when doing compilation?
19696
 
need_locks=$lt_need_locks
19697
 
 
19698
 
# Do we need the lib prefix for modules?
19699
 
need_lib_prefix=$need_lib_prefix
19700
 
 
19701
 
# Do we need a version for libraries?
19702
 
need_version=$need_version
19703
 
 
19704
 
# Whether dlopen is supported.
19705
 
dlopen_support=$enable_dlopen
19706
 
 
19707
 
# Whether dlopen of programs is supported.
19708
 
dlopen_self=$enable_dlopen_self
19709
 
 
19710
 
# Whether dlopen of statically linked programs is supported.
19711
 
dlopen_self_static=$enable_dlopen_self_static
19712
 
 
19713
 
# Compiler flag to prevent dynamic linking.
19714
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19715
 
 
19716
 
# Compiler flag to turn off builtin functions.
19717
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19718
 
 
19719
 
# Compiler flag to allow reflexive dlopens.
19720
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19721
 
 
19722
 
# Compiler flag to generate shared objects directly from archives.
19723
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19724
 
 
19725
 
# Compiler flag to generate thread-safe objects.
19726
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19727
 
 
19728
 
# Library versioning type.
19729
 
version_type=$version_type
19730
 
 
19731
 
# Format of library name prefix.
19732
 
libname_spec=$lt_libname_spec
19733
 
 
19734
 
# List of archive names.  First name is the real one, the rest are links.
19735
 
# The last name is the one that the linker finds with -lNAME.
19736
 
library_names_spec=$lt_library_names_spec
19737
 
 
19738
 
# The coded name of the library, if different from the real name.
19739
 
soname_spec=$lt_soname_spec
19740
 
 
19741
 
# Commands used to build and install an old-style archive.
19742
 
RANLIB=$lt_RANLIB
19743
 
old_archive_cmds=$lt_old_archive_cmds_RC
19744
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19745
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19746
 
 
19747
 
# Create an old-style archive from a shared archive.
19748
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19749
 
 
19750
 
# Create a temporary old-style archive to link instead of a shared archive.
19751
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19752
 
 
19753
 
# Commands used to build and install a shared archive.
19754
 
archive_cmds=$lt_archive_cmds_RC
19755
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19756
 
postinstall_cmds=$lt_postinstall_cmds
19757
 
postuninstall_cmds=$lt_postuninstall_cmds
19758
 
 
19759
 
# Commands used to build a loadable module (assumed same as above if empty)
19760
 
module_cmds=$lt_module_cmds_RC
19761
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19762
 
 
19763
 
# Commands to strip libraries.
19764
 
old_striplib=$lt_old_striplib
19765
 
striplib=$lt_striplib
19766
 
 
19767
 
# Dependencies to place before the objects being linked to create a
19768
 
# shared library.
19769
 
predep_objects=$lt_predep_objects_RC
19770
 
 
19771
 
# Dependencies to place after the objects being linked to create a
19772
 
# shared library.
19773
 
postdep_objects=$lt_postdep_objects_RC
19774
 
 
19775
 
# Dependencies to place before the objects being linked to create a
19776
 
# shared library.
19777
 
predeps=$lt_predeps_RC
19778
 
 
19779
 
# Dependencies to place after the objects being linked to create a
19780
 
# shared library.
19781
 
postdeps=$lt_postdeps_RC
19782
 
 
19783
 
# The directories searched by this compiler when creating a shared
19784
 
# library
19785
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19786
 
 
19787
 
# The library search path used internally by the compiler when linking
19788
 
# a shared library.
19789
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19790
 
 
19791
 
# Method to check whether dependent libraries are shared objects.
19792
 
deplibs_check_method=$lt_deplibs_check_method
19793
 
 
19794
 
# Command to use when deplibs_check_method == file_magic.
19795
 
file_magic_cmd=$lt_file_magic_cmd
19796
 
 
19797
 
# Flag that allows shared libraries with undefined symbols to be built.
19798
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19799
 
 
19800
 
# Flag that forces no undefined symbols.
19801
 
no_undefined_flag=$lt_no_undefined_flag_RC
19802
 
 
19803
 
# Commands used to finish a libtool library installation in a directory.
19804
 
finish_cmds=$lt_finish_cmds
19805
 
 
19806
 
# Same as above, but a single script fragment to be evaled but not shown.
19807
 
finish_eval=$lt_finish_eval
19808
 
 
19809
 
# Take the output of nm and produce a listing of raw symbols and C names.
19810
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19811
 
 
19812
 
# Transform the output of nm in a proper C declaration
19813
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19814
 
 
19815
 
# Transform the output of nm in a C name address pair
19816
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19817
 
 
19818
 
# This is the shared library runtime path variable.
19819
 
runpath_var=$runpath_var
19820
 
 
19821
 
# This is the shared library path variable.
19822
 
shlibpath_var=$shlibpath_var
19823
 
 
19824
 
# Is shlibpath searched before the hard-coded library search path?
19825
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19826
 
 
19827
 
# How to hardcode a shared library path into an executable.
19828
 
hardcode_action=$hardcode_action_RC
19829
 
 
19830
 
# Whether we should hardcode library paths into libraries.
19831
 
hardcode_into_libs=$hardcode_into_libs
19832
 
 
19833
 
# Flag to hardcode \$libdir into a binary during linking.
19834
 
# This must work even if \$libdir does not exist.
19835
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19836
 
 
19837
 
# If ld is used when linking, flag to hardcode \$libdir into
19838
 
# a binary during linking. This must work even if \$libdir does
19839
 
# not exist.
19840
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19841
 
 
19842
 
# Whether we need a single -rpath flag with a separated argument.
19843
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19844
 
 
19845
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19846
 
# resulting binary.
19847
 
hardcode_direct=$hardcode_direct_RC
19848
 
 
19849
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19850
 
# resulting binary.
19851
 
hardcode_minus_L=$hardcode_minus_L_RC
19852
 
 
19853
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19854
 
# the resulting binary.
19855
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19856
 
 
19857
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19858
 
# and all subsequent libraries and executables linked against it.
19859
 
hardcode_automatic=$hardcode_automatic_RC
19860
 
 
19861
 
# Variables whose values should be saved in libtool wrapper scripts and
19862
 
# restored at relink time.
19863
 
variables_saved_for_relink="$variables_saved_for_relink"
19864
 
 
19865
 
# Whether libtool must link a program against all its dependency libraries.
19866
 
link_all_deplibs=$link_all_deplibs_RC
19867
 
 
19868
 
# Compile-time system search path for libraries
19869
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19870
 
 
19871
 
# Run-time system search path for libraries
19872
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19873
 
 
19874
 
# Fix the shell variable \$srcfile for the compiler.
19875
 
fix_srcfile_path=$lt_fix_srcfile_path
19876
 
 
19877
 
# Set to yes if exported symbols are required.
19878
 
always_export_symbols=$always_export_symbols_RC
19879
 
 
19880
 
# The commands to list exported symbols.
19881
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19882
 
 
19883
 
# The commands to extract the exported symbol list from a shared archive.
19884
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19885
 
 
19886
 
# Symbols that should not be listed in the preloaded symbols.
19887
 
exclude_expsyms=$lt_exclude_expsyms_RC
19888
 
 
19889
 
# Symbols that must always be exported.
19890
 
include_expsyms=$lt_include_expsyms_RC
19891
 
 
19892
 
# ### END LIBTOOL TAG CONFIG: $tagname
19893
 
 
19894
 
__EOF__
19895
 
 
19896
 
 
19897
 
else
19898
 
  # If there is no Makefile yet, we rely on a make rule to execute
19899
 
  # `config.status --recheck' to rerun these tests and create the
19900
 
  # libtool script then.
19901
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19902
 
  if test -f "$ltmain_in"; then
19903
 
    test -f Makefile && make "$ltmain"
19904
 
  fi
19905
 
fi
19906
 
 
19907
 
 
19908
 
ac_ext=c
19909
 
ac_cpp='$CPP $CPPFLAGS'
19910
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19911
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19912
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19913
 
 
19914
 
CC="$lt_save_CC"
19915
 
 
19916
 
        ;;
19917
 
 
19918
 
      *)
19919
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19920
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19921
 
   { (exit 1); exit 1; }; }
19922
 
        ;;
19923
 
      esac
19924
 
 
19925
 
      # Append the new tag name to the list of available tags.
19926
 
      if test -n "$tagname" ; then
19927
 
      available_tags="$available_tags $tagname"
19928
 
    fi
19929
 
    fi
19930
 
  done
19931
 
  IFS="$lt_save_ifs"
19932
 
 
19933
 
  # Now substitute the updated list of available tags.
19934
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19935
 
    mv "${ofile}T" "$ofile"
19936
 
    chmod +x "$ofile"
19937
 
  else
19938
 
    rm -f "${ofile}T"
19939
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19940
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19941
 
   { (exit 1); exit 1; }; }
19942
 
  fi
19943
 
fi
19944
 
 
19945
 
 
19946
 
 
19947
 
# This can be used to rebuild libtool when needed
19948
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19949
 
 
19950
 
# Always use our own libtool.
19951
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19952
 
 
19953
 
# Prevent multiple expansion
19954
 
 
19955
 
 
19956
 
 
19957
 
 
19958
 
 
19959
 
 
19960
 
 
19961
 
 
19962
 
 
19963
 
 
19964
 
 
19965
 
 
19966
 
 
19967
 
 
19968
 
 
19969
 
 
19970
 
 
19971
 
 
 
12334
 
 
12335
 
 
12336
 
 
12337
 
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
 
 
12343
 
 
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
 
 
12349
striplib=
 
12350
old_striplib=
 
12351
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12352
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12353
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12354
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12355
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12356
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12357
$as_echo "yes" >&6; }
 
12358
else
 
12359
# FIXME - insert some real tests, host_os isn't really good enough
 
12360
  case $host_os in
 
12361
  darwin*)
 
12362
    if test -n "$STRIP" ; then
 
12363
      striplib="$STRIP -x"
 
12364
      old_striplib="$STRIP -S"
 
12365
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12366
$as_echo "yes" >&6; }
 
12367
    else
 
12368
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12369
$as_echo "no" >&6; }
 
12370
    fi
 
12371
    ;;
 
12372
  *)
 
12373
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12374
$as_echo "no" >&6; }
 
12375
    ;;
 
12376
  esac
 
12377
fi
 
12378
 
 
12379
 
 
12380
 
 
12381
 
 
12382
 
 
12383
 
 
12384
 
 
12385
 
 
12386
 
 
12387
 
 
12388
 
 
12389
 
 
12390
  # Report which library types will actually be built
 
12391
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12392
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12393
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12394
$as_echo "$can_build_shared" >&6; }
 
12395
 
 
12396
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12397
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12398
  test "$can_build_shared" = "no" && enable_shared=no
 
12399
 
 
12400
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12401
  # are all built from PIC.
 
12402
  case $host_os in
 
12403
  aix3*)
 
12404
    test "$enable_shared" = yes && enable_static=no
 
12405
    if test -n "$RANLIB"; then
 
12406
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12407
      postinstall_cmds='$RANLIB $lib'
 
12408
    fi
 
12409
    ;;
 
12410
 
 
12411
  aix[4-9]*)
 
12412
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12413
      test "$enable_shared" = yes && enable_static=no
 
12414
    fi
 
12415
    ;;
 
12416
  esac
 
12417
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12418
$as_echo "$enable_shared" >&6; }
 
12419
 
 
12420
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12421
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12422
  # Make sure either enable_shared or enable_static is yes.
 
12423
  test "$enable_shared" = yes || enable_static=yes
 
12424
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12425
$as_echo "$enable_static" >&6; }
 
12426
 
 
12427
 
 
12428
 
 
12429
 
 
12430
fi
 
12431
ac_ext=c
 
12432
ac_cpp='$CPP $CPPFLAGS'
 
12433
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12434
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12435
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12436
 
 
12437
CC="$lt_save_CC"
 
12438
 
 
12439
 
 
12440
 
 
12441
 
 
12442
 
 
12443
 
 
12444
 
 
12445
 
 
12446
 
 
12447
 
 
12448
 
 
12449
 
 
12450
 
 
12451
        ac_config_commands="$ac_config_commands libtool"
 
12452
 
 
12453
 
 
12454
 
 
12455
 
 
12456
# Only expand once:
19972
12457
 
19973
12458
 
19974
12459
 
19979
12464
 
19980
12465
ac_header_dirent=no
19981
12466
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
19982
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19983
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
19984
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
 
12467
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
12468
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
12469
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
19985
12470
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19986
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12471
  $as_echo_n "(cached) " >&6
19987
12472
else
19988
12473
  cat >conftest.$ac_ext <<_ACEOF
19989
12474
/* confdefs.h.  */
20009
12494
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20010
12495
  *) ac_try_echo=$ac_try;;
20011
12496
esac
20012
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12497
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12498
$as_echo "$ac_try_echo") >&5
20013
12499
  (eval "$ac_compile") 2>conftest.er1
20014
12500
  ac_status=$?
20015
12501
  grep -v '^ *+' conftest.er1 >conftest.err
20016
12502
  rm -f conftest.er1
20017
12503
  cat conftest.err >&5
20018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12504
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019
12505
  (exit $ac_status); } && {
20020
12506
         test -z "$ac_c_werror_flag" ||
20021
12507
         test ! -s conftest.err
20022
12508
       } && test -s conftest.$ac_objext; then
20023
12509
  eval "$as_ac_Header=yes"
20024
12510
else
20025
 
  echo "$as_me: failed program was:" >&5
 
12511
  $as_echo "$as_me: failed program was:" >&5
20026
12512
sed 's/^/| /' conftest.$ac_ext >&5
20027
12513
 
20028
12514
        eval "$as_ac_Header=no"
20030
12516
 
20031
12517
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032
12518
fi
20033
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20034
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20035
 
echo "${ECHO_T}$ac_res" >&6; }
20036
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
12519
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
12520
                 $as_echo "$as_val"'`
 
12521
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12522
$as_echo "$ac_res" >&6; }
 
12523
as_val=`eval 'as_val=${'$as_ac_Header'}
 
12524
                 $as_echo "$as_val"'`
 
12525
   if test "x$as_val" = x""yes; then
20037
12526
  cat >>confdefs.h <<_ACEOF
20038
 
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
12527
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20039
12528
_ACEOF
20040
12529
 
20041
12530
ac_header_dirent=$ac_hdr; break
20044
12533
done
20045
12534
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20046
12535
if test $ac_header_dirent = dirent.h; then
20047
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20048
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
12536
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
12537
$as_echo_n "checking for library containing opendir... " >&6; }
20049
12538
if test "${ac_cv_search_opendir+set}" = set; then
20050
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12539
  $as_echo_n "(cached) " >&6
20051
12540
else
20052
12541
  ac_func_search_save_LIBS=$LIBS
20053
12542
cat >conftest.$ac_ext <<_ACEOF
20085
12574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086
12575
  *) ac_try_echo=$ac_try;;
20087
12576
esac
20088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12578
$as_echo "$ac_try_echo") >&5
20089
12579
  (eval "$ac_link") 2>conftest.er1
20090
12580
  ac_status=$?
20091
12581
  grep -v '^ *+' conftest.er1 >conftest.err
20092
12582
  rm -f conftest.er1
20093
12583
  cat conftest.err >&5
20094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12584
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095
12585
  (exit $ac_status); } && {
20096
12586
         test -z "$ac_c_werror_flag" ||
20097
12587
         test ! -s conftest.err
20098
 
       } && test -s conftest$ac_exeext &&
20099
 
       $as_test_x conftest$ac_exeext; then
 
12588
       } && test -s conftest$ac_exeext && {
 
12589
         test "$cross_compiling" = yes ||
 
12590
         $as_test_x conftest$ac_exeext
 
12591
       }; then
20100
12592
  ac_cv_search_opendir=$ac_res
20101
12593
else
20102
 
  echo "$as_me: failed program was:" >&5
 
12594
  $as_echo "$as_me: failed program was:" >&5
20103
12595
sed 's/^/| /' conftest.$ac_ext >&5
20104
12596
 
20105
12597
 
20106
12598
fi
20107
12599
 
 
12600
rm -rf conftest.dSYM
20108
12601
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20109
12602
      conftest$ac_exeext
20110
12603
  if test "${ac_cv_search_opendir+set}" = set; then
20119
12612
rm conftest.$ac_ext
20120
12613
LIBS=$ac_func_search_save_LIBS
20121
12614
fi
20122
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20123
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
12615
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
12616
$as_echo "$ac_cv_search_opendir" >&6; }
20124
12617
ac_res=$ac_cv_search_opendir
20125
12618
if test "$ac_res" != no; then
20126
12619
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20128
12621
fi
20129
12622
 
20130
12623
else
20131
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20132
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
12624
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
12625
$as_echo_n "checking for library containing opendir... " >&6; }
20133
12626
if test "${ac_cv_search_opendir+set}" = set; then
20134
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12627
  $as_echo_n "(cached) " >&6
20135
12628
else
20136
12629
  ac_func_search_save_LIBS=$LIBS
20137
12630
cat >conftest.$ac_ext <<_ACEOF
20169
12662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20170
12663
  *) ac_try_echo=$ac_try;;
20171
12664
esac
20172
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12665
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12666
$as_echo "$ac_try_echo") >&5
20173
12667
  (eval "$ac_link") 2>conftest.er1
20174
12668
  ac_status=$?
20175
12669
  grep -v '^ *+' conftest.er1 >conftest.err
20176
12670
  rm -f conftest.er1
20177
12671
  cat conftest.err >&5
20178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12672
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179
12673
  (exit $ac_status); } && {
20180
12674
         test -z "$ac_c_werror_flag" ||
20181
12675
         test ! -s conftest.err
20182
 
       } && test -s conftest$ac_exeext &&
20183
 
       $as_test_x conftest$ac_exeext; then
 
12676
       } && test -s conftest$ac_exeext && {
 
12677
         test "$cross_compiling" = yes ||
 
12678
         $as_test_x conftest$ac_exeext
 
12679
       }; then
20184
12680
  ac_cv_search_opendir=$ac_res
20185
12681
else
20186
 
  echo "$as_me: failed program was:" >&5
 
12682
  $as_echo "$as_me: failed program was:" >&5
20187
12683
sed 's/^/| /' conftest.$ac_ext >&5
20188
12684
 
20189
12685
 
20190
12686
fi
20191
12687
 
 
12688
rm -rf conftest.dSYM
20192
12689
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20193
12690
      conftest$ac_exeext
20194
12691
  if test "${ac_cv_search_opendir+set}" = set; then
20203
12700
rm conftest.$ac_ext
20204
12701
LIBS=$ac_func_search_save_LIBS
20205
12702
fi
20206
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20207
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
12703
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
12704
$as_echo "$ac_cv_search_opendir" >&6; }
20208
12705
ac_res=$ac_cv_search_opendir
20209
12706
if test "$ac_res" != no; then
20210
12707
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20213
12710
 
20214
12711
fi
20215
12712
 
20216
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20217
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
12713
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
12714
$as_echo_n "checking for ANSI C header files... " >&6; }
20218
12715
if test "${ac_cv_header_stdc+set}" = set; then
20219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12716
  $as_echo_n "(cached) " >&6
20220
12717
else
20221
12718
  cat >conftest.$ac_ext <<_ACEOF
20222
12719
/* confdefs.h.  */
20243
12740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20244
12741
  *) ac_try_echo=$ac_try;;
20245
12742
esac
20246
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12744
$as_echo "$ac_try_echo") >&5
20247
12745
  (eval "$ac_compile") 2>conftest.er1
20248
12746
  ac_status=$?
20249
12747
  grep -v '^ *+' conftest.er1 >conftest.err
20250
12748
  rm -f conftest.er1
20251
12749
  cat conftest.err >&5
20252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12750
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253
12751
  (exit $ac_status); } && {
20254
12752
         test -z "$ac_c_werror_flag" ||
20255
12753
         test ! -s conftest.err
20256
12754
       } && test -s conftest.$ac_objext; then
20257
12755
  ac_cv_header_stdc=yes
20258
12756
else
20259
 
  echo "$as_me: failed program was:" >&5
 
12757
  $as_echo "$as_me: failed program was:" >&5
20260
12758
sed 's/^/| /' conftest.$ac_ext >&5
20261
12759
 
20262
12760
        ac_cv_header_stdc=no
20348
12846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349
12847
  *) ac_try_echo=$ac_try;;
20350
12848
esac
20351
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12849
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12850
$as_echo "$ac_try_echo") >&5
20352
12851
  (eval "$ac_link") 2>&5
20353
12852
  ac_status=$?
20354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12853
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355
12854
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20356
12855
  { (case "(($ac_try" in
20357
12856
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358
12857
  *) ac_try_echo=$ac_try;;
20359
12858
esac
20360
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12859
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12860
$as_echo "$ac_try_echo") >&5
20361
12861
  (eval "$ac_try") 2>&5
20362
12862
  ac_status=$?
20363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12863
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364
12864
  (exit $ac_status); }; }; then
20365
12865
  :
20366
12866
else
20367
 
  echo "$as_me: program exited with status $ac_status" >&5
20368
 
echo "$as_me: failed program was:" >&5
 
12867
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
12868
$as_echo "$as_me: failed program was:" >&5
20369
12869
sed 's/^/| /' conftest.$ac_ext >&5
20370
12870
 
20371
12871
( exit $ac_status )
20372
12872
ac_cv_header_stdc=no
20373
12873
fi
 
12874
rm -rf conftest.dSYM
20374
12875
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20375
12876
fi
20376
12877
 
20377
12878
 
20378
12879
fi
20379
12880
fi
20380
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20381
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
12881
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12882
$as_echo "$ac_cv_header_stdc" >&6; }
20382
12883
if test $ac_cv_header_stdc = yes; then
20383
12884
 
20384
12885
cat >>confdefs.h <<\_ACEOF
20398
12899
for ac_header in fcntl.h malloc.h inttypes.h sys/ioctl.h sys/mman.h \
20399
12900
        ctype.h unistd.h locale.h
20400
12901
do
20401
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20402
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20403
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20404
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20405
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20406
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12902
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12903
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12904
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
12905
$as_echo_n "checking for $ac_header... " >&6; }
 
12906
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12907
  $as_echo_n "(cached) " >&6
20407
12908
fi
20408
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20409
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20410
 
echo "${ECHO_T}$ac_res" >&6; }
 
12909
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
12910
                 $as_echo "$as_val"'`
 
12911
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12912
$as_echo "$ac_res" >&6; }
20411
12913
else
20412
12914
  # Is the header compilable?
20413
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20414
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
12915
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
12916
$as_echo_n "checking $ac_header usability... " >&6; }
20415
12917
cat >conftest.$ac_ext <<_ACEOF
20416
12918
/* confdefs.h.  */
20417
12919
_ACEOF
20427
12929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428
12930
  *) ac_try_echo=$ac_try;;
20429
12931
esac
20430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12933
$as_echo "$ac_try_echo") >&5
20431
12934
  (eval "$ac_compile") 2>conftest.er1
20432
12935
  ac_status=$?
20433
12936
  grep -v '^ *+' conftest.er1 >conftest.err
20434
12937
  rm -f conftest.er1
20435
12938
  cat conftest.err >&5
20436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12939
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437
12940
  (exit $ac_status); } && {
20438
12941
         test -z "$ac_c_werror_flag" ||
20439
12942
         test ! -s conftest.err
20440
12943
       } && test -s conftest.$ac_objext; then
20441
12944
  ac_header_compiler=yes
20442
12945
else
20443
 
  echo "$as_me: failed program was:" >&5
 
12946
  $as_echo "$as_me: failed program was:" >&5
20444
12947
sed 's/^/| /' conftest.$ac_ext >&5
20445
12948
 
20446
12949
        ac_header_compiler=no
20447
12950
fi
20448
12951
 
20449
12952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20450
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20451
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
12953
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
12954
$as_echo "$ac_header_compiler" >&6; }
20452
12955
 
20453
12956
# Is the header present?
20454
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20455
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
12957
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
12958
$as_echo_n "checking $ac_header presence... " >&6; }
20456
12959
cat >conftest.$ac_ext <<_ACEOF
20457
12960
/* confdefs.h.  */
20458
12961
_ACEOF
20466
12969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467
12970
  *) ac_try_echo=$ac_try;;
20468
12971
esac
20469
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12972
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12973
$as_echo "$ac_try_echo") >&5
20470
12974
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20471
12975
  ac_status=$?
20472
12976
  grep -v '^ *+' conftest.er1 >conftest.err
20473
12977
  rm -f conftest.er1
20474
12978
  cat conftest.err >&5
20475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12979
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476
12980
  (exit $ac_status); } >/dev/null && {
20477
12981
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20478
12982
         test ! -s conftest.err
20479
12983
       }; then
20480
12984
  ac_header_preproc=yes
20481
12985
else
20482
 
  echo "$as_me: failed program was:" >&5
 
12986
  $as_echo "$as_me: failed program was:" >&5
20483
12987
sed 's/^/| /' conftest.$ac_ext >&5
20484
12988
 
20485
12989
  ac_header_preproc=no
20486
12990
fi
20487
12991
 
20488
12992
rm -f conftest.err conftest.$ac_ext
20489
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20490
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
12993
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
12994
$as_echo "$ac_header_preproc" >&6; }
20491
12995
 
20492
12996
# So?  What about this header?
20493
12997
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20494
12998
  yes:no: )
20495
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20496
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20497
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20498
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
12999
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
13000
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
13001
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
13002
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20499
13003
    ac_header_preproc=yes
20500
13004
    ;;
20501
13005
  no:yes:* )
20502
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20503
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20504
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20505
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20506
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20507
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20508
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20509
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20510
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20511
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20512
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20513
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
13006
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
13007
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
13008
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
13009
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
13010
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
13011
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
13012
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
13013
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
13014
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
13015
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
13016
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
13017
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20514
13018
 
20515
13019
    ;;
20516
13020
esac
20517
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20518
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
13021
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13022
$as_echo_n "checking for $ac_header... " >&6; }
20519
13023
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13024
  $as_echo_n "(cached) " >&6
20521
13025
else
20522
13026
  eval "$as_ac_Header=\$ac_header_preproc"
20523
13027
fi
20524
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20525
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20526
 
echo "${ECHO_T}$ac_res" >&6; }
 
13028
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
13029
                 $as_echo "$as_val"'`
 
13030
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
13031
$as_echo "$ac_res" >&6; }
20527
13032
 
20528
13033
fi
20529
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
13034
as_val=`eval 'as_val=${'$as_ac_Header'}
 
13035
                 $as_echo "$as_val"'`
 
13036
   if test "x$as_val" = x""yes; then
20530
13037
  cat >>confdefs.h <<_ACEOF
20531
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13038
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20532
13039
_ACEOF
20533
13040
 
20534
13041
fi
20539
13046
 
20540
13047
for ac_header in uuid/uuid.h
20541
13048
do
20542
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20543
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20544
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20545
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20546
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13049
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
13050
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
13051
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13052
$as_echo_n "checking for $ac_header... " >&6; }
 
13053
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
13054
  $as_echo_n "(cached) " >&6
20548
13055
fi
20549
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20550
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20551
 
echo "${ECHO_T}$ac_res" >&6; }
 
13056
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
13057
                 $as_echo "$as_val"'`
 
13058
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
13059
$as_echo "$ac_res" >&6; }
20552
13060
else
20553
13061
  # Is the header compilable?
20554
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20555
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
13062
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
13063
$as_echo_n "checking $ac_header usability... " >&6; }
20556
13064
cat >conftest.$ac_ext <<_ACEOF
20557
13065
/* confdefs.h.  */
20558
13066
_ACEOF
20568
13076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20569
13077
  *) ac_try_echo=$ac_try;;
20570
13078
esac
20571
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13079
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13080
$as_echo "$ac_try_echo") >&5
20572
13081
  (eval "$ac_compile") 2>conftest.er1
20573
13082
  ac_status=$?
20574
13083
  grep -v '^ *+' conftest.er1 >conftest.err
20575
13084
  rm -f conftest.er1
20576
13085
  cat conftest.err >&5
20577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13086
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578
13087
  (exit $ac_status); } && {
20579
13088
         test -z "$ac_c_werror_flag" ||
20580
13089
         test ! -s conftest.err
20581
13090
       } && test -s conftest.$ac_objext; then
20582
13091
  ac_header_compiler=yes
20583
13092
else
20584
 
  echo "$as_me: failed program was:" >&5
 
13093
  $as_echo "$as_me: failed program was:" >&5
20585
13094
sed 's/^/| /' conftest.$ac_ext >&5
20586
13095
 
20587
13096
        ac_header_compiler=no
20588
13097
fi
20589
13098
 
20590
13099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20591
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20592
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
13100
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
13101
$as_echo "$ac_header_compiler" >&6; }
20593
13102
 
20594
13103
# Is the header present?
20595
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20596
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
13104
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
13105
$as_echo_n "checking $ac_header presence... " >&6; }
20597
13106
cat >conftest.$ac_ext <<_ACEOF
20598
13107
/* confdefs.h.  */
20599
13108
_ACEOF
20607
13116
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608
13117
  *) ac_try_echo=$ac_try;;
20609
13118
esac
20610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13119
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13120
$as_echo "$ac_try_echo") >&5
20611
13121
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20612
13122
  ac_status=$?
20613
13123
  grep -v '^ *+' conftest.er1 >conftest.err
20614
13124
  rm -f conftest.er1
20615
13125
  cat conftest.err >&5
20616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13126
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617
13127
  (exit $ac_status); } >/dev/null && {
20618
13128
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20619
13129
         test ! -s conftest.err
20620
13130
       }; then
20621
13131
  ac_header_preproc=yes
20622
13132
else
20623
 
  echo "$as_me: failed program was:" >&5
 
13133
  $as_echo "$as_me: failed program was:" >&5
20624
13134
sed 's/^/| /' conftest.$ac_ext >&5
20625
13135
 
20626
13136
  ac_header_preproc=no
20627
13137
fi
20628
13138
 
20629
13139
rm -f conftest.err conftest.$ac_ext
20630
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20631
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
13140
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
13141
$as_echo "$ac_header_preproc" >&6; }
20632
13142
 
20633
13143
# So?  What about this header?
20634
13144
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20635
13145
  yes:no: )
20636
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20637
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20638
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20639
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
13146
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
13147
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
13148
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
13149
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20640
13150
    ac_header_preproc=yes
20641
13151
    ;;
20642
13152
  no:yes:* )
20643
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20644
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20645
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20646
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20647
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20648
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20649
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20650
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20651
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20652
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20653
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20654
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
13153
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
13154
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
13155
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
13156
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
13157
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
13158
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
13159
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
13160
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
13161
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
13162
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
13163
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
13164
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20655
13165
 
20656
13166
    ;;
20657
13167
esac
20658
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20659
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
13168
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13169
$as_echo_n "checking for $ac_header... " >&6; }
20660
13170
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13171
  $as_echo_n "(cached) " >&6
20662
13172
else
20663
13173
  eval "$as_ac_Header=\$ac_header_preproc"
20664
13174
fi
20665
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20666
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20667
 
echo "${ECHO_T}$ac_res" >&6; }
 
13175
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
13176
                 $as_echo "$as_val"'`
 
13177
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
13178
$as_echo "$ac_res" >&6; }
20668
13179
 
20669
13180
fi
20670
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
13181
as_val=`eval 'as_val=${'$as_ac_Header'}
 
13182
                 $as_echo "$as_val"'`
 
13183
   if test "x$as_val" = x""yes; then
20671
13184
  cat >>confdefs.h <<_ACEOF
20672
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13185
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20673
13186
_ACEOF
20674
13187
 
20675
13188
else
20676
 
  { { echo "$as_me:$LINENO: error: 'You need the uuid library (from e2fsprogs)'" >&5
20677
 
echo "$as_me: error: 'You need the uuid library (from e2fsprogs)'" >&2;}
 
13189
  { { $as_echo "$as_me:$LINENO: error: 'You need the uuid library (from e2fsprogs)'" >&5
 
13190
$as_echo "$as_me: error: 'You need the uuid library (from e2fsprogs)'" >&2;}
20678
13191
   { (exit 1); exit 1; }; }
20679
13192
fi
20680
13193
 
20683
13196
 
20684
13197
saved_LIBS="$LIBS"
20685
13198
 
20686
 
{ echo "$as_me:$LINENO: checking for uuid_clear in -luuid" >&5
20687
 
echo $ECHO_N "checking for uuid_clear in -luuid... $ECHO_C" >&6; }
 
13199
{ $as_echo "$as_me:$LINENO: checking for uuid_clear in -luuid" >&5
 
13200
$as_echo_n "checking for uuid_clear in -luuid... " >&6; }
20688
13201
if test "${ac_cv_lib_uuid_uuid_clear+set}" = set; then
20689
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13202
  $as_echo_n "(cached) " >&6
20690
13203
else
20691
13204
  ac_check_lib_save_LIBS=$LIBS
20692
13205
LIBS="-luuid  $LIBS"
20718
13231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719
13232
  *) ac_try_echo=$ac_try;;
20720
13233
esac
20721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13234
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13235
$as_echo "$ac_try_echo") >&5
20722
13236
  (eval "$ac_link") 2>conftest.er1
20723
13237
  ac_status=$?
20724
13238
  grep -v '^ *+' conftest.er1 >conftest.err
20725
13239
  rm -f conftest.er1
20726
13240
  cat conftest.err >&5
20727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13241
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728
13242
  (exit $ac_status); } && {
20729
13243
         test -z "$ac_c_werror_flag" ||
20730
13244
         test ! -s conftest.err
20731
 
       } && test -s conftest$ac_exeext &&
20732
 
       $as_test_x conftest$ac_exeext; then
 
13245
       } && test -s conftest$ac_exeext && {
 
13246
         test "$cross_compiling" = yes ||
 
13247
         $as_test_x conftest$ac_exeext
 
13248
       }; then
20733
13249
  ac_cv_lib_uuid_uuid_clear=yes
20734
13250
else
20735
 
  echo "$as_me: failed program was:" >&5
 
13251
  $as_echo "$as_me: failed program was:" >&5
20736
13252
sed 's/^/| /' conftest.$ac_ext >&5
20737
13253
 
20738
13254
        ac_cv_lib_uuid_uuid_clear=no
20739
13255
fi
20740
13256
 
 
13257
rm -rf conftest.dSYM
20741
13258
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20742
13259
      conftest$ac_exeext conftest.$ac_ext
20743
13260
LIBS=$ac_check_lib_save_LIBS
20744
13261
fi
20745
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_clear" >&5
20746
 
echo "${ECHO_T}$ac_cv_lib_uuid_uuid_clear" >&6; }
20747
 
if test $ac_cv_lib_uuid_uuid_clear = yes; then
 
13262
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_clear" >&5
 
13263
$as_echo "$ac_cv_lib_uuid_uuid_clear" >&6; }
 
13264
if test "x$ac_cv_lib_uuid_uuid_clear" = x""yes; then
20748
13265
  cat >>confdefs.h <<_ACEOF
20749
13266
#define HAVE_LIBUUID 1
20750
13267
_ACEOF
20752
13269
  LIBS="-luuid $LIBS"
20753
13270
 
20754
13271
else
20755
 
  { { echo "$as_me:$LINENO: error: 'You need the uuid library (from e2fsprogs)'" >&5
20756
 
echo "$as_me: error: 'You need the uuid library (from e2fsprogs)'" >&2;}
 
13272
  { { $as_echo "$as_me:$LINENO: error: 'You need the uuid library (from e2fsprogs)'" >&5
 
13273
$as_echo "$as_me: error: 'You need the uuid library (from e2fsprogs)'" >&2;}
20757
13274
   { (exit 1); exit 1; }; }
20758
13275
fi
20759
13276
 
20764
13281
 
20765
13282
for ac_func in setlocale
20766
13283
do
20767
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20768
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20769
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
13284
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
13285
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
13286
$as_echo_n "checking for $ac_func... " >&6; }
20770
13287
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13288
  $as_echo_n "(cached) " >&6
20772
13289
else
20773
13290
  cat >conftest.$ac_ext <<_ACEOF
20774
13291
/* confdefs.h.  */
20821
13338
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822
13339
  *) ac_try_echo=$ac_try;;
20823
13340
esac
20824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13341
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13342
$as_echo "$ac_try_echo") >&5
20825
13343
  (eval "$ac_link") 2>conftest.er1
20826
13344
  ac_status=$?
20827
13345
  grep -v '^ *+' conftest.er1 >conftest.err
20828
13346
  rm -f conftest.er1
20829
13347
  cat conftest.err >&5
20830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13348
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831
13349
  (exit $ac_status); } && {
20832
13350
         test -z "$ac_c_werror_flag" ||
20833
13351
         test ! -s conftest.err
20834
 
       } && test -s conftest$ac_exeext &&
20835
 
       $as_test_x conftest$ac_exeext; then
 
13352
       } && test -s conftest$ac_exeext && {
 
13353
         test "$cross_compiling" = yes ||
 
13354
         $as_test_x conftest$ac_exeext
 
13355
       }; then
20836
13356
  eval "$as_ac_var=yes"
20837
13357
else
20838
 
  echo "$as_me: failed program was:" >&5
 
13358
  $as_echo "$as_me: failed program was:" >&5
20839
13359
sed 's/^/| /' conftest.$ac_ext >&5
20840
13360
 
20841
13361
        eval "$as_ac_var=no"
20842
13362
fi
20843
13363
 
 
13364
rm -rf conftest.dSYM
20844
13365
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20845
13366
      conftest$ac_exeext conftest.$ac_ext
20846
13367
fi
20847
 
ac_res=`eval echo '${'$as_ac_var'}'`
20848
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20849
 
echo "${ECHO_T}$ac_res" >&6; }
20850
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
13368
ac_res=`eval 'as_val=${'$as_ac_var'}
 
13369
                 $as_echo "$as_val"'`
 
13370
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
13371
$as_echo "$ac_res" >&6; }
 
13372
as_val=`eval 'as_val=${'$as_ac_var'}
 
13373
                 $as_echo "$as_val"'`
 
13374
   if test "x$as_val" = x""yes; then
20851
13375
  cat >>confdefs.h <<_ACEOF
20852
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13376
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20853
13377
_ACEOF
20854
13378
 
20855
13379
fi
20857
13381
 
20858
13382
 
20859
13383
 
20860
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20861
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
13384
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
13385
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20862
13386
if test "${ac_cv_c_const+set}" = set; then
20863
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13387
  $as_echo_n "(cached) " >&6
20864
13388
else
20865
13389
  cat >conftest.$ac_ext <<_ACEOF
20866
13390
/* confdefs.h.  */
20932
13456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20933
13457
  *) ac_try_echo=$ac_try;;
20934
13458
esac
20935
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13459
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13460
$as_echo "$ac_try_echo") >&5
20936
13461
  (eval "$ac_compile") 2>conftest.er1
20937
13462
  ac_status=$?
20938
13463
  grep -v '^ *+' conftest.er1 >conftest.err
20939
13464
  rm -f conftest.er1
20940
13465
  cat conftest.err >&5
20941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13466
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942
13467
  (exit $ac_status); } && {
20943
13468
         test -z "$ac_c_werror_flag" ||
20944
13469
         test ! -s conftest.err
20945
13470
       } && test -s conftest.$ac_objext; then
20946
13471
  ac_cv_c_const=yes
20947
13472
else
20948
 
  echo "$as_me: failed program was:" >&5
 
13473
  $as_echo "$as_me: failed program was:" >&5
20949
13474
sed 's/^/| /' conftest.$ac_ext >&5
20950
13475
 
20951
13476
        ac_cv_c_const=no
20953
13478
 
20954
13479
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20955
13480
fi
20956
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20957
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
13481
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
13482
$as_echo "$ac_cv_c_const" >&6; }
20958
13483
if test $ac_cv_c_const = no; then
20959
13484
 
20960
13485
cat >>confdefs.h <<\_ACEOF
20961
 
#define const
 
13486
#define const /**/
20962
13487
_ACEOF
20963
13488
 
20964
13489
fi
20965
13490
 
20966
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20967
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
 
13491
 
 
13492
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
13493
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20968
13494
if test "${ac_cv_c_bigendian+set}" = set; then
20969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20970
 
else
20971
 
  # See if sys/param.h defines the BYTE_ORDER macro.
20972
 
cat >conftest.$ac_ext <<_ACEOF
 
13495
  $as_echo_n "(cached) " >&6
 
13496
else
 
13497
  ac_cv_c_bigendian=unknown
 
13498
    # See if we're dealing with a universal compiler.
 
13499
    cat >conftest.$ac_ext <<_ACEOF
 
13500
/* confdefs.h.  */
 
13501
_ACEOF
 
13502
cat confdefs.h >>conftest.$ac_ext
 
13503
cat >>conftest.$ac_ext <<_ACEOF
 
13504
/* end confdefs.h.  */
 
13505
#ifndef __APPLE_CC__
 
13506
               not a universal capable compiler
 
13507
             #endif
 
13508
             typedef int dummy;
 
13509
 
 
13510
_ACEOF
 
13511
rm -f conftest.$ac_objext
 
13512
if { (ac_try="$ac_compile"
 
13513
case "(($ac_try" in
 
13514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13515
  *) ac_try_echo=$ac_try;;
 
13516
esac
 
13517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13518
$as_echo "$ac_try_echo") >&5
 
13519
  (eval "$ac_compile") 2>conftest.er1
 
13520
  ac_status=$?
 
13521
  grep -v '^ *+' conftest.er1 >conftest.err
 
13522
  rm -f conftest.er1
 
13523
  cat conftest.err >&5
 
13524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13525
  (exit $ac_status); } && {
 
13526
         test -z "$ac_c_werror_flag" ||
 
13527
         test ! -s conftest.err
 
13528
       } && test -s conftest.$ac_objext; then
 
13529
 
 
13530
        # Check for potential -arch flags.  It is not universal unless
 
13531
        # there are some -arch flags.  Note that *ppc* also matches
 
13532
        # ppc64.  This check is also rather less than ideal.
 
13533
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
 
13534
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
 
13535
        esac
 
13536
else
 
13537
  $as_echo "$as_me: failed program was:" >&5
 
13538
sed 's/^/| /' conftest.$ac_ext >&5
 
13539
 
 
13540
 
 
13541
fi
 
13542
 
 
13543
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13544
    if test $ac_cv_c_bigendian = unknown; then
 
13545
      # See if sys/param.h defines the BYTE_ORDER macro.
 
13546
      cat >conftest.$ac_ext <<_ACEOF
20973
13547
/* confdefs.h.  */
20974
13548
_ACEOF
20975
13549
cat confdefs.h >>conftest.$ac_ext
20976
13550
cat >>conftest.$ac_ext <<_ACEOF
20977
13551
/* end confdefs.h.  */
20978
13552
#include <sys/types.h>
20979
 
#include <sys/param.h>
 
13553
             #include <sys/param.h>
20980
13554
 
20981
13555
int
20982
13556
main ()
20983
13557
{
20984
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
20985
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
20986
 
 bogus endian macros
20987
 
#endif
 
13558
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
13559
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
13560
                     && LITTLE_ENDIAN)
 
13561
              bogus endian macros
 
13562
             #endif
20988
13563
 
20989
13564
  ;
20990
13565
  return 0;
20996
13571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997
13572
  *) ac_try_echo=$ac_try;;
20998
13573
esac
20999
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13574
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13575
$as_echo "$ac_try_echo") >&5
21000
13576
  (eval "$ac_compile") 2>conftest.er1
21001
13577
  ac_status=$?
21002
13578
  grep -v '^ *+' conftest.er1 >conftest.err
21003
13579
  rm -f conftest.er1
21004
13580
  cat conftest.err >&5
21005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13581
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006
13582
  (exit $ac_status); } && {
21007
13583
         test -z "$ac_c_werror_flag" ||
21008
13584
         test ! -s conftest.err
21009
13585
       } && test -s conftest.$ac_objext; then
21010
13586
  # It does; now see whether it defined to BIG_ENDIAN or not.
21011
 
cat >conftest.$ac_ext <<_ACEOF
 
13587
         cat >conftest.$ac_ext <<_ACEOF
21012
13588
/* confdefs.h.  */
21013
13589
_ACEOF
21014
13590
cat confdefs.h >>conftest.$ac_ext
21015
13591
cat >>conftest.$ac_ext <<_ACEOF
21016
13592
/* end confdefs.h.  */
21017
13593
#include <sys/types.h>
21018
 
#include <sys/param.h>
 
13594
                #include <sys/param.h>
21019
13595
 
21020
13596
int
21021
13597
main ()
21022
13598
{
21023
13599
#if BYTE_ORDER != BIG_ENDIAN
21024
 
 not big endian
21025
 
#endif
21026
 
 
21027
 
  ;
21028
 
  return 0;
21029
 
}
21030
 
_ACEOF
21031
 
rm -f conftest.$ac_objext
21032
 
if { (ac_try="$ac_compile"
21033
 
case "(($ac_try" in
21034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035
 
  *) ac_try_echo=$ac_try;;
21036
 
esac
21037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038
 
  (eval "$ac_compile") 2>conftest.er1
21039
 
  ac_status=$?
21040
 
  grep -v '^ *+' conftest.er1 >conftest.err
21041
 
  rm -f conftest.er1
21042
 
  cat conftest.err >&5
21043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044
 
  (exit $ac_status); } && {
21045
 
         test -z "$ac_c_werror_flag" ||
21046
 
         test ! -s conftest.err
21047
 
       } && test -s conftest.$ac_objext; then
21048
 
  ac_cv_c_bigendian=yes
21049
 
else
21050
 
  echo "$as_me: failed program was:" >&5
21051
 
sed 's/^/| /' conftest.$ac_ext >&5
21052
 
 
21053
 
        ac_cv_c_bigendian=no
21054
 
fi
21055
 
 
21056
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057
 
else
21058
 
  echo "$as_me: failed program was:" >&5
21059
 
sed 's/^/| /' conftest.$ac_ext >&5
21060
 
 
21061
 
        # It does not; compile a test program.
21062
 
if test "$cross_compiling" = yes; then
21063
 
  # try to guess the endianness by grepping values into an object file
21064
 
  ac_cv_c_bigendian=unknown
21065
 
  cat >conftest.$ac_ext <<_ACEOF
21066
 
/* confdefs.h.  */
21067
 
_ACEOF
21068
 
cat confdefs.h >>conftest.$ac_ext
21069
 
cat >>conftest.$ac_ext <<_ACEOF
21070
 
/* end confdefs.h.  */
21071
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21072
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21073
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
21074
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21075
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21076
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
21077
 
int
21078
 
main ()
21079
 
{
21080
 
 _ascii (); _ebcdic ();
21081
 
  ;
21082
 
  return 0;
21083
 
}
21084
 
_ACEOF
21085
 
rm -f conftest.$ac_objext
21086
 
if { (ac_try="$ac_compile"
21087
 
case "(($ac_try" in
21088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21089
 
  *) ac_try_echo=$ac_try;;
21090
 
esac
21091
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092
 
  (eval "$ac_compile") 2>conftest.er1
21093
 
  ac_status=$?
21094
 
  grep -v '^ *+' conftest.er1 >conftest.err
21095
 
  rm -f conftest.er1
21096
 
  cat conftest.err >&5
21097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098
 
  (exit $ac_status); } && {
21099
 
         test -z "$ac_c_werror_flag" ||
21100
 
         test ! -s conftest.err
21101
 
       } && test -s conftest.$ac_objext; then
21102
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
21103
 
  ac_cv_c_bigendian=yes
21104
 
fi
21105
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
21106
 
  if test "$ac_cv_c_bigendian" = unknown; then
21107
 
    ac_cv_c_bigendian=no
21108
 
  else
21109
 
    # finding both strings is unlikely to happen, but who knows?
21110
 
    ac_cv_c_bigendian=unknown
21111
 
  fi
21112
 
fi
21113
 
else
21114
 
  echo "$as_me: failed program was:" >&5
 
13600
                 not big endian
 
13601
                #endif
 
13602
 
 
13603
  ;
 
13604
  return 0;
 
13605
}
 
13606
_ACEOF
 
13607
rm -f conftest.$ac_objext
 
13608
if { (ac_try="$ac_compile"
 
13609
case "(($ac_try" in
 
13610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13611
  *) ac_try_echo=$ac_try;;
 
13612
esac
 
13613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13614
$as_echo "$ac_try_echo") >&5
 
13615
  (eval "$ac_compile") 2>conftest.er1
 
13616
  ac_status=$?
 
13617
  grep -v '^ *+' conftest.er1 >conftest.err
 
13618
  rm -f conftest.er1
 
13619
  cat conftest.err >&5
 
13620
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13621
  (exit $ac_status); } && {
 
13622
         test -z "$ac_c_werror_flag" ||
 
13623
         test ! -s conftest.err
 
13624
       } && test -s conftest.$ac_objext; then
 
13625
  ac_cv_c_bigendian=yes
 
13626
else
 
13627
  $as_echo "$as_me: failed program was:" >&5
 
13628
sed 's/^/| /' conftest.$ac_ext >&5
 
13629
 
 
13630
        ac_cv_c_bigendian=no
 
13631
fi
 
13632
 
 
13633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13634
else
 
13635
  $as_echo "$as_me: failed program was:" >&5
 
13636
sed 's/^/| /' conftest.$ac_ext >&5
 
13637
 
 
13638
 
 
13639
fi
 
13640
 
 
13641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13642
    fi
 
13643
    if test $ac_cv_c_bigendian = unknown; then
 
13644
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
13645
      cat >conftest.$ac_ext <<_ACEOF
 
13646
/* confdefs.h.  */
 
13647
_ACEOF
 
13648
cat confdefs.h >>conftest.$ac_ext
 
13649
cat >>conftest.$ac_ext <<_ACEOF
 
13650
/* end confdefs.h.  */
 
13651
#include <limits.h>
 
13652
 
 
13653
int
 
13654
main ()
 
13655
{
 
13656
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
13657
              bogus endian macros
 
13658
             #endif
 
13659
 
 
13660
  ;
 
13661
  return 0;
 
13662
}
 
13663
_ACEOF
 
13664
rm -f conftest.$ac_objext
 
13665
if { (ac_try="$ac_compile"
 
13666
case "(($ac_try" in
 
13667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13668
  *) ac_try_echo=$ac_try;;
 
13669
esac
 
13670
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13671
$as_echo "$ac_try_echo") >&5
 
13672
  (eval "$ac_compile") 2>conftest.er1
 
13673
  ac_status=$?
 
13674
  grep -v '^ *+' conftest.er1 >conftest.err
 
13675
  rm -f conftest.er1
 
13676
  cat conftest.err >&5
 
13677
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13678
  (exit $ac_status); } && {
 
13679
         test -z "$ac_c_werror_flag" ||
 
13680
         test ! -s conftest.err
 
13681
       } && test -s conftest.$ac_objext; then
 
13682
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
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
#include <limits.h>
 
13690
 
 
13691
int
 
13692
main ()
 
13693
{
 
13694
#ifndef _BIG_ENDIAN
 
13695
                 not big endian
 
13696
                #endif
 
13697
 
 
13698
  ;
 
13699
  return 0;
 
13700
}
 
13701
_ACEOF
 
13702
rm -f conftest.$ac_objext
 
13703
if { (ac_try="$ac_compile"
 
13704
case "(($ac_try" in
 
13705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13706
  *) ac_try_echo=$ac_try;;
 
13707
esac
 
13708
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13709
$as_echo "$ac_try_echo") >&5
 
13710
  (eval "$ac_compile") 2>conftest.er1
 
13711
  ac_status=$?
 
13712
  grep -v '^ *+' conftest.er1 >conftest.err
 
13713
  rm -f conftest.er1
 
13714
  cat conftest.err >&5
 
13715
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13716
  (exit $ac_status); } && {
 
13717
         test -z "$ac_c_werror_flag" ||
 
13718
         test ! -s conftest.err
 
13719
       } && test -s conftest.$ac_objext; then
 
13720
  ac_cv_c_bigendian=yes
 
13721
else
 
13722
  $as_echo "$as_me: failed program was:" >&5
 
13723
sed 's/^/| /' conftest.$ac_ext >&5
 
13724
 
 
13725
        ac_cv_c_bigendian=no
 
13726
fi
 
13727
 
 
13728
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13729
else
 
13730
  $as_echo "$as_me: failed program was:" >&5
 
13731
sed 's/^/| /' conftest.$ac_ext >&5
 
13732
 
 
13733
 
 
13734
fi
 
13735
 
 
13736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13737
    fi
 
13738
    if test $ac_cv_c_bigendian = unknown; then
 
13739
      # Compile a test program.
 
13740
      if test "$cross_compiling" = yes; then
 
13741
  # Try to guess by grepping values from an object file.
 
13742
         cat >conftest.$ac_ext <<_ACEOF
 
13743
/* confdefs.h.  */
 
13744
_ACEOF
 
13745
cat confdefs.h >>conftest.$ac_ext
 
13746
cat >>conftest.$ac_ext <<_ACEOF
 
13747
/* end confdefs.h.  */
 
13748
short int ascii_mm[] =
 
13749
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
13750
                short int ascii_ii[] =
 
13751
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
13752
                int use_ascii (int i) {
 
13753
                  return ascii_mm[i] + ascii_ii[i];
 
13754
                }
 
13755
                short int ebcdic_ii[] =
 
13756
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
13757
                short int ebcdic_mm[] =
 
13758
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
13759
                int use_ebcdic (int i) {
 
13760
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
13761
                }
 
13762
                extern int foo;
 
13763
 
 
13764
int
 
13765
main ()
 
13766
{
 
13767
return use_ascii (foo) == use_ebcdic (foo);
 
13768
  ;
 
13769
  return 0;
 
13770
}
 
13771
_ACEOF
 
13772
rm -f conftest.$ac_objext
 
13773
if { (ac_try="$ac_compile"
 
13774
case "(($ac_try" in
 
13775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13776
  *) ac_try_echo=$ac_try;;
 
13777
esac
 
13778
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13779
$as_echo "$ac_try_echo") >&5
 
13780
  (eval "$ac_compile") 2>conftest.er1
 
13781
  ac_status=$?
 
13782
  grep -v '^ *+' conftest.er1 >conftest.err
 
13783
  rm -f conftest.er1
 
13784
  cat conftest.err >&5
 
13785
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13786
  (exit $ac_status); } && {
 
13787
         test -z "$ac_c_werror_flag" ||
 
13788
         test ! -s conftest.err
 
13789
       } && test -s conftest.$ac_objext; then
 
13790
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
13791
              ac_cv_c_bigendian=yes
 
13792
            fi
 
13793
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
13794
              if test "$ac_cv_c_bigendian" = unknown; then
 
13795
                ac_cv_c_bigendian=no
 
13796
              else
 
13797
                # finding both strings is unlikely to happen, but who knows?
 
13798
                ac_cv_c_bigendian=unknown
 
13799
              fi
 
13800
            fi
 
13801
else
 
13802
  $as_echo "$as_me: failed program was:" >&5
21115
13803
sed 's/^/| /' conftest.$ac_ext >&5
21116
13804
 
21117
13805
 
21130
13818
main ()
21131
13819
{
21132
13820
 
21133
 
  /* Are we little or big endian?  From Harbison&Steele.  */
21134
 
  union
21135
 
  {
21136
 
    long int l;
21137
 
    char c[sizeof (long int)];
21138
 
  } u;
21139
 
  u.l = 1;
21140
 
  return u.c[sizeof (long int) - 1] == 1;
 
13821
             /* Are we little or big endian?  From Harbison&Steele.  */
 
13822
             union
 
13823
             {
 
13824
               long int l;
 
13825
               char c[sizeof (long int)];
 
13826
             } u;
 
13827
             u.l = 1;
 
13828
             return u.c[sizeof (long int) - 1] == 1;
21141
13829
 
21142
13830
  ;
21143
13831
  return 0;
21149
13837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150
13838
  *) ac_try_echo=$ac_try;;
21151
13839
esac
21152
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13840
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13841
$as_echo "$ac_try_echo") >&5
21153
13842
  (eval "$ac_link") 2>&5
21154
13843
  ac_status=$?
21155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13844
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156
13845
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21157
13846
  { (case "(($ac_try" in
21158
13847
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159
13848
  *) ac_try_echo=$ac_try;;
21160
13849
esac
21161
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13851
$as_echo "$ac_try_echo") >&5
21162
13852
  (eval "$ac_try") 2>&5
21163
13853
  ac_status=$?
21164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13854
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165
13855
  (exit $ac_status); }; }; then
21166
13856
  ac_cv_c_bigendian=no
21167
13857
else
21168
 
  echo "$as_me: program exited with status $ac_status" >&5
21169
 
echo "$as_me: failed program was:" >&5
 
13858
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
13859
$as_echo "$as_me: failed program was:" >&5
21170
13860
sed 's/^/| /' conftest.$ac_ext >&5
21171
13861
 
21172
13862
( exit $ac_status )
21173
13863
ac_cv_c_bigendian=yes
21174
13864
fi
 
13865
rm -rf conftest.dSYM
21175
13866
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21176
13867
fi
21177
13868
 
21178
13869
 
21179
 
fi
21180
 
 
21181
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21182
 
fi
21183
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21184
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
21185
 
case $ac_cv_c_bigendian in
21186
 
  yes)
21187
 
 
21188
 
cat >>confdefs.h <<\_ACEOF
 
13870
    fi
 
13871
fi
 
13872
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
13873
$as_echo "$ac_cv_c_bigendian" >&6; }
 
13874
 case $ac_cv_c_bigendian in #(
 
13875
   yes)
 
13876
     cat >>confdefs.h <<\_ACEOF
21189
13877
#define WORDS_BIGENDIAN 1
21190
13878
_ACEOF
21191
 
 ;;
21192
 
  no)
21193
 
     ;;
21194
 
  *)
21195
 
    { { echo "$as_me:$LINENO: error: unknown endianness
21196
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
21197
 
echo "$as_me: error: unknown endianness
21198
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
13879
;; #(
 
13880
   no)
 
13881
      ;; #(
 
13882
   universal)
 
13883
 
 
13884
cat >>confdefs.h <<\_ACEOF
 
13885
#define AC_APPLE_UNIVERSAL_BUILD 1
 
13886
_ACEOF
 
13887
 
 
13888
     ;; #(
 
13889
   *)
 
13890
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 
13891
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
13892
$as_echo "$as_me: error: unknown endianness
 
13893
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
21199
13894
   { (exit 1); exit 1; }; } ;;
21200
 
esac
 
13895
 esac
21201
13896
 
21202
 
{ echo "$as_me:$LINENO: checking for off_t" >&5
21203
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
 
13897
{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
 
13898
$as_echo_n "checking for off_t... " >&6; }
21204
13899
if test "${ac_cv_type_off_t+set}" = set; then
21205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13900
  $as_echo_n "(cached) " >&6
21206
13901
else
 
13902
  ac_cv_type_off_t=no
 
13903
cat >conftest.$ac_ext <<_ACEOF
 
13904
/* confdefs.h.  */
 
13905
_ACEOF
 
13906
cat confdefs.h >>conftest.$ac_ext
 
13907
cat >>conftest.$ac_ext <<_ACEOF
 
13908
/* end confdefs.h.  */
 
13909
$ac_includes_default
 
13910
int
 
13911
main ()
 
13912
{
 
13913
if (sizeof (off_t))
 
13914
       return 0;
 
13915
  ;
 
13916
  return 0;
 
13917
}
 
13918
_ACEOF
 
13919
rm -f conftest.$ac_objext
 
13920
if { (ac_try="$ac_compile"
 
13921
case "(($ac_try" in
 
13922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13923
  *) ac_try_echo=$ac_try;;
 
13924
esac
 
13925
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13926
$as_echo "$ac_try_echo") >&5
 
13927
  (eval "$ac_compile") 2>conftest.er1
 
13928
  ac_status=$?
 
13929
  grep -v '^ *+' conftest.er1 >conftest.err
 
13930
  rm -f conftest.er1
 
13931
  cat conftest.err >&5
 
13932
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13933
  (exit $ac_status); } && {
 
13934
         test -z "$ac_c_werror_flag" ||
 
13935
         test ! -s conftest.err
 
13936
       } && test -s conftest.$ac_objext; then
21207
13937
  cat >conftest.$ac_ext <<_ACEOF
21208
13938
/* confdefs.h.  */
21209
13939
_ACEOF
21211
13941
cat >>conftest.$ac_ext <<_ACEOF
21212
13942
/* end confdefs.h.  */
21213
13943
$ac_includes_default
21214
 
typedef off_t ac__type_new_;
21215
13944
int
21216
13945
main ()
21217
13946
{
21218
 
if ((ac__type_new_ *) 0)
21219
 
  return 0;
21220
 
if (sizeof (ac__type_new_))
21221
 
  return 0;
 
13947
if (sizeof ((off_t)))
 
13948
          return 0;
21222
13949
  ;
21223
13950
  return 0;
21224
13951
}
21229
13956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21230
13957
  *) ac_try_echo=$ac_try;;
21231
13958
esac
21232
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13959
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13960
$as_echo "$ac_try_echo") >&5
21233
13961
  (eval "$ac_compile") 2>conftest.er1
21234
13962
  ac_status=$?
21235
13963
  grep -v '^ *+' conftest.er1 >conftest.err
21236
13964
  rm -f conftest.er1
21237
13965
  cat conftest.err >&5
21238
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13966
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239
13967
  (exit $ac_status); } && {
21240
13968
         test -z "$ac_c_werror_flag" ||
21241
13969
         test ! -s conftest.err
21242
13970
       } && test -s conftest.$ac_objext; then
21243
 
  ac_cv_type_off_t=yes
21244
 
else
21245
 
  echo "$as_me: failed program was:" >&5
21246
 
sed 's/^/| /' conftest.$ac_ext >&5
21247
 
 
21248
 
        ac_cv_type_off_t=no
21249
 
fi
21250
 
 
21251
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252
 
fi
21253
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
21254
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
21255
 
if test $ac_cv_type_off_t = yes; then
 
13971
  :
 
13972
else
 
13973
  $as_echo "$as_me: failed program was:" >&5
 
13974
sed 's/^/| /' conftest.$ac_ext >&5
 
13975
 
 
13976
        ac_cv_type_off_t=yes
 
13977
fi
 
13978
 
 
13979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13980
else
 
13981
  $as_echo "$as_me: failed program was:" >&5
 
13982
sed 's/^/| /' conftest.$ac_ext >&5
 
13983
 
 
13984
 
 
13985
fi
 
13986
 
 
13987
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13988
fi
 
13989
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
13990
$as_echo "$ac_cv_type_off_t" >&6; }
 
13991
if test "x$ac_cv_type_off_t" = x""yes; then
21256
13992
  :
21257
13993
else
21258
13994
 
21262
13998
 
21263
13999
fi
21264
14000
 
21265
 
{ echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
21266
 
echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
 
14001
{ $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
 
14002
$as_echo_n "checking for struct stat.st_rdev... " >&6; }
21267
14003
if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
21268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14004
  $as_echo_n "(cached) " >&6
21269
14005
else
21270
14006
  cat >conftest.$ac_ext <<_ACEOF
21271
14007
/* confdefs.h.  */
21290
14026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21291
14027
  *) ac_try_echo=$ac_try;;
21292
14028
esac
21293
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14029
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14030
$as_echo "$ac_try_echo") >&5
21294
14031
  (eval "$ac_compile") 2>conftest.er1
21295
14032
  ac_status=$?
21296
14033
  grep -v '^ *+' conftest.er1 >conftest.err
21297
14034
  rm -f conftest.er1
21298
14035
  cat conftest.err >&5
21299
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14036
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300
14037
  (exit $ac_status); } && {
21301
14038
         test -z "$ac_c_werror_flag" ||
21302
14039
         test ! -s conftest.err
21303
14040
       } && test -s conftest.$ac_objext; then
21304
14041
  ac_cv_member_struct_stat_st_rdev=yes
21305
14042
else
21306
 
  echo "$as_me: failed program was:" >&5
 
14043
  $as_echo "$as_me: failed program was:" >&5
21307
14044
sed 's/^/| /' conftest.$ac_ext >&5
21308
14045
 
21309
14046
        cat >conftest.$ac_ext <<_ACEOF
21329
14066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330
14067
  *) ac_try_echo=$ac_try;;
21331
14068
esac
21332
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14069
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14070
$as_echo "$ac_try_echo") >&5
21333
14071
  (eval "$ac_compile") 2>conftest.er1
21334
14072
  ac_status=$?
21335
14073
  grep -v '^ *+' conftest.er1 >conftest.err
21336
14074
  rm -f conftest.er1
21337
14075
  cat conftest.err >&5
21338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14076
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339
14077
  (exit $ac_status); } && {
21340
14078
         test -z "$ac_c_werror_flag" ||
21341
14079
         test ! -s conftest.err
21342
14080
       } && test -s conftest.$ac_objext; then
21343
14081
  ac_cv_member_struct_stat_st_rdev=yes
21344
14082
else
21345
 
  echo "$as_me: failed program was:" >&5
 
14083
  $as_echo "$as_me: failed program was:" >&5
21346
14084
sed 's/^/| /' conftest.$ac_ext >&5
21347
14085
 
21348
14086
        ac_cv_member_struct_stat_st_rdev=no
21353
14091
 
21354
14092
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21355
14093
fi
21356
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
21357
 
echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
21358
 
if test $ac_cv_member_struct_stat_st_rdev = yes; then
 
14094
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
 
14095
$as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
 
14096
if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
21359
14097
 
21360
14098
cat >>confdefs.h <<_ACEOF
21361
14099
#define HAVE_STRUCT_STAT_ST_RDEV 1
21376
14114
 
21377
14115
if test "$enable_largefile" != no; then
21378
14116
 
21379
 
  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
21380
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
 
14117
  { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
14118
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
21381
14119
if test "${ac_cv_sys_largefile_CC+set}" = set; then
21382
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14120
  $as_echo_n "(cached) " >&6
21383
14121
else
21384
14122
  ac_cv_sys_largefile_CC=no
21385
14123
     if test "$GCC" != yes; then
21416
14154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417
14155
  *) ac_try_echo=$ac_try;;
21418
14156
esac
21419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14158
$as_echo "$ac_try_echo") >&5
21420
14159
  (eval "$ac_compile") 2>conftest.er1
21421
14160
  ac_status=$?
21422
14161
  grep -v '^ *+' conftest.er1 >conftest.err
21423
14162
  rm -f conftest.er1
21424
14163
  cat conftest.err >&5
21425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14164
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426
14165
  (exit $ac_status); } && {
21427
14166
         test -z "$ac_c_werror_flag" ||
21428
14167
         test ! -s conftest.err
21429
14168
       } && test -s conftest.$ac_objext; then
21430
14169
  break
21431
14170
else
21432
 
  echo "$as_me: failed program was:" >&5
 
14171
  $as_echo "$as_me: failed program was:" >&5
21433
14172
sed 's/^/| /' conftest.$ac_ext >&5
21434
14173
 
21435
14174
 
21443
14182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21444
14183
  *) ac_try_echo=$ac_try;;
21445
14184
esac
21446
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14185
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14186
$as_echo "$ac_try_echo") >&5
21447
14187
  (eval "$ac_compile") 2>conftest.er1
21448
14188
  ac_status=$?
21449
14189
  grep -v '^ *+' conftest.er1 >conftest.err
21450
14190
  rm -f conftest.er1
21451
14191
  cat conftest.err >&5
21452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14192
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453
14193
  (exit $ac_status); } && {
21454
14194
         test -z "$ac_c_werror_flag" ||
21455
14195
         test ! -s conftest.err
21456
14196
       } && test -s conftest.$ac_objext; then
21457
14197
  ac_cv_sys_largefile_CC=' -n32'; break
21458
14198
else
21459
 
  echo "$as_me: failed program was:" >&5
 
14199
  $as_echo "$as_me: failed program was:" >&5
21460
14200
sed 's/^/| /' conftest.$ac_ext >&5
21461
14201
 
21462
14202
 
21469
14209
       rm -f conftest.$ac_ext
21470
14210
    fi
21471
14211
fi
21472
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
21473
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
 
14212
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
14213
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
21474
14214
  if test "$ac_cv_sys_largefile_CC" != no; then
21475
14215
    CC=$CC$ac_cv_sys_largefile_CC
21476
14216
  fi
21477
14217
 
21478
 
  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21479
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
 
14218
  { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
14219
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
21480
14220
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21481
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14221
  $as_echo_n "(cached) " >&6
21482
14222
else
21483
14223
  while :; do
21484
14224
  cat >conftest.$ac_ext <<_ACEOF
21510
14250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511
14251
  *) ac_try_echo=$ac_try;;
21512
14252
esac
21513
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14253
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14254
$as_echo "$ac_try_echo") >&5
21514
14255
  (eval "$ac_compile") 2>conftest.er1
21515
14256
  ac_status=$?
21516
14257
  grep -v '^ *+' conftest.er1 >conftest.err
21517
14258
  rm -f conftest.er1
21518
14259
  cat conftest.err >&5
21519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14260
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520
14261
  (exit $ac_status); } && {
21521
14262
         test -z "$ac_c_werror_flag" ||
21522
14263
         test ! -s conftest.err
21523
14264
       } && test -s conftest.$ac_objext; then
21524
14265
  ac_cv_sys_file_offset_bits=no; break
21525
14266
else
21526
 
  echo "$as_me: failed program was:" >&5
 
14267
  $as_echo "$as_me: failed program was:" >&5
21527
14268
sed 's/^/| /' conftest.$ac_ext >&5
21528
14269
 
21529
14270
 
21560
14301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21561
14302
  *) ac_try_echo=$ac_try;;
21562
14303
esac
21563
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14304
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14305
$as_echo "$ac_try_echo") >&5
21564
14306
  (eval "$ac_compile") 2>conftest.er1
21565
14307
  ac_status=$?
21566
14308
  grep -v '^ *+' conftest.er1 >conftest.err
21567
14309
  rm -f conftest.er1
21568
14310
  cat conftest.err >&5
21569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14311
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570
14312
  (exit $ac_status); } && {
21571
14313
         test -z "$ac_c_werror_flag" ||
21572
14314
         test ! -s conftest.err
21573
14315
       } && test -s conftest.$ac_objext; then
21574
14316
  ac_cv_sys_file_offset_bits=64; break
21575
14317
else
21576
 
  echo "$as_me: failed program was:" >&5
 
14318
  $as_echo "$as_me: failed program was:" >&5
21577
14319
sed 's/^/| /' conftest.$ac_ext >&5
21578
14320
 
21579
14321
 
21584
14326
  break
21585
14327
done
21586
14328
fi
21587
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21588
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
 
14329
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
14330
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
21589
14331
case $ac_cv_sys_file_offset_bits in #(
21590
14332
  no | unknown) ;;
21591
14333
  *)
21594
14336
_ACEOF
21595
14337
;;
21596
14338
esac
21597
 
rm -f conftest*
 
14339
rm -rf conftest*
21598
14340
  if test $ac_cv_sys_file_offset_bits = unknown; then
21599
 
    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21600
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
 
14341
    { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
14342
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
21601
14343
if test "${ac_cv_sys_large_files+set}" = set; then
21602
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14344
  $as_echo_n "(cached) " >&6
21603
14345
else
21604
14346
  while :; do
21605
14347
  cat >conftest.$ac_ext <<_ACEOF
21631
14373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21632
14374
  *) ac_try_echo=$ac_try;;
21633
14375
esac
21634
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14376
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14377
$as_echo "$ac_try_echo") >&5
21635
14378
  (eval "$ac_compile") 2>conftest.er1
21636
14379
  ac_status=$?
21637
14380
  grep -v '^ *+' conftest.er1 >conftest.err
21638
14381
  rm -f conftest.er1
21639
14382
  cat conftest.err >&5
21640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14383
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641
14384
  (exit $ac_status); } && {
21642
14385
         test -z "$ac_c_werror_flag" ||
21643
14386
         test ! -s conftest.err
21644
14387
       } && test -s conftest.$ac_objext; then
21645
14388
  ac_cv_sys_large_files=no; break
21646
14389
else
21647
 
  echo "$as_me: failed program was:" >&5
 
14390
  $as_echo "$as_me: failed program was:" >&5
21648
14391
sed 's/^/| /' conftest.$ac_ext >&5
21649
14392
 
21650
14393
 
21681
14424
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682
14425
  *) ac_try_echo=$ac_try;;
21683
14426
esac
21684
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14427
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14428
$as_echo "$ac_try_echo") >&5
21685
14429
  (eval "$ac_compile") 2>conftest.er1
21686
14430
  ac_status=$?
21687
14431
  grep -v '^ *+' conftest.er1 >conftest.err
21688
14432
  rm -f conftest.er1
21689
14433
  cat conftest.err >&5
21690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14434
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691
14435
  (exit $ac_status); } && {
21692
14436
         test -z "$ac_c_werror_flag" ||
21693
14437
         test ! -s conftest.err
21694
14438
       } && test -s conftest.$ac_objext; then
21695
14439
  ac_cv_sys_large_files=1; break
21696
14440
else
21697
 
  echo "$as_me: failed program was:" >&5
 
14441
  $as_echo "$as_me: failed program was:" >&5
21698
14442
sed 's/^/| /' conftest.$ac_ext >&5
21699
14443
 
21700
14444
 
21705
14449
  break
21706
14450
done
21707
14451
fi
21708
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21709
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
 
14452
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
14453
$as_echo "$ac_cv_sys_large_files" >&6; }
21710
14454
case $ac_cv_sys_large_files in #(
21711
14455
  no | unknown) ;;
21712
14456
  *)
21715
14459
_ACEOF
21716
14460
;;
21717
14461
esac
21718
 
rm -f conftest*
 
14462
rm -rf conftest*
21719
14463
  fi
21720
14464
fi
21721
14465
 
21722
14466
 
21723
14467
if test $ac_cv_c_compiler_gnu = yes; then
21724
 
    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21725
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
 
14468
    { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
 
14469
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
21726
14470
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21727
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14471
  $as_echo_n "(cached) " >&6
21728
14472
else
21729
14473
    ac_pattern="Autoconf.*'x'"
21730
14474
  cat >conftest.$ac_ext <<_ACEOF
21763
14507
 
21764
14508
  fi
21765
14509
fi
21766
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21767
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
 
14510
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
 
14511
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
21768
14512
  if test $ac_cv_prog_gcc_traditional = yes; then
21769
14513
    CC="$CC -traditional"
21770
14514
  fi
21781
14525
 
21782
14526
 
21783
14527
 
21784
 
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
21785
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
 
14528
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
14529
$as_echo_n "checking whether NLS is requested... " >&6; }
21786
14530
    # Check whether --enable-nls was given.
21787
14531
if test "${enable_nls+set}" = set; then
21788
14532
  enableval=$enable_nls; USE_NLS=$enableval
21790
14534
  USE_NLS=yes
21791
14535
fi
21792
14536
 
21793
 
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
21794
 
echo "${ECHO_T}$USE_NLS" >&6; }
 
14537
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
14538
$as_echo "$USE_NLS" >&6; }
21795
14539
 
21796
14540
 
21797
14541
 
21828
14572
 
21829
14573
# Extract the first word of "msgfmt", so it can be a program name with args.
21830
14574
set dummy msgfmt; ac_word=$2
21831
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14575
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14576
$as_echo_n "checking for $ac_word... " >&6; }
21833
14577
if test "${ac_cv_path_MSGFMT+set}" = set; then
21834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14578
  $as_echo_n "(cached) " >&6
21835
14579
else
21836
14580
  case "$MSGFMT" in
21837
14581
  [\\/]* | ?:[\\/]*)
21860
14604
fi
21861
14605
MSGFMT="$ac_cv_path_MSGFMT"
21862
14606
if test "$MSGFMT" != ":"; then
21863
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
21864
 
echo "${ECHO_T}$MSGFMT" >&6; }
 
14607
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
14608
$as_echo "$MSGFMT" >&6; }
21865
14609
else
21866
 
  { echo "$as_me:$LINENO: result: no" >&5
21867
 
echo "${ECHO_T}no" >&6; }
 
14610
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14611
$as_echo "no" >&6; }
21868
14612
fi
21869
14613
 
21870
14614
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
21871
14615
set dummy gmsgfmt; ac_word=$2
21872
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21873
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14616
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14617
$as_echo_n "checking for $ac_word... " >&6; }
21874
14618
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21875
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14619
  $as_echo_n "(cached) " >&6
21876
14620
else
21877
14621
  case $GMSGFMT in
21878
14622
  [\\/]* | ?:[\\/]*)
21887
14631
  for ac_exec_ext in '' $ac_executable_extensions; do
21888
14632
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21889
14633
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21890
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14634
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21891
14635
    break 2
21892
14636
  fi
21893
14637
done
21900
14644
fi
21901
14645
GMSGFMT=$ac_cv_path_GMSGFMT
21902
14646
if test -n "$GMSGFMT"; then
21903
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21904
 
echo "${ECHO_T}$GMSGFMT" >&6; }
 
14647
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
14648
$as_echo "$GMSGFMT" >&6; }
21905
14649
else
21906
 
  { echo "$as_me:$LINENO: result: no" >&5
21907
 
echo "${ECHO_T}no" >&6; }
 
14650
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14651
$as_echo "no" >&6; }
21908
14652
fi
21909
14653
 
21910
14654
 
21951
14695
 
21952
14696
# Extract the first word of "xgettext", so it can be a program name with args.
21953
14697
set dummy xgettext; ac_word=$2
21954
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21955
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14698
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14699
$as_echo_n "checking for $ac_word... " >&6; }
21956
14700
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21957
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14701
  $as_echo_n "(cached) " >&6
21958
14702
else
21959
14703
  case "$XGETTEXT" in
21960
14704
  [\\/]* | ?:[\\/]*)
21983
14727
fi
21984
14728
XGETTEXT="$ac_cv_path_XGETTEXT"
21985
14729
if test "$XGETTEXT" != ":"; then
21986
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21987
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
14730
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
14731
$as_echo "$XGETTEXT" >&6; }
21988
14732
else
21989
 
  { echo "$as_me:$LINENO: result: no" >&5
21990
 
echo "${ECHO_T}no" >&6; }
 
14733
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14734
$as_echo "no" >&6; }
21991
14735
fi
21992
14736
 
21993
14737
    rm -f messages.po
22029
14773
 
22030
14774
# Extract the first word of "msgmerge", so it can be a program name with args.
22031
14775
set dummy msgmerge; ac_word=$2
22032
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22033
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14776
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14777
$as_echo_n "checking for $ac_word... " >&6; }
22034
14778
if test "${ac_cv_path_MSGMERGE+set}" = set; then
22035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14779
  $as_echo_n "(cached) " >&6
22036
14780
else
22037
14781
  case "$MSGMERGE" in
22038
14782
  [\\/]* | ?:[\\/]*)
22060
14804
fi
22061
14805
MSGMERGE="$ac_cv_path_MSGMERGE"
22062
14806
if test "$MSGMERGE" != ":"; then
22063
 
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
22064
 
echo "${ECHO_T}$MSGMERGE" >&6; }
 
14807
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
14808
$as_echo "$MSGMERGE" >&6; }
22065
14809
else
22066
 
  { echo "$as_me:$LINENO: result: no" >&5
22067
 
echo "${ECHO_T}no" >&6; }
 
14810
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14811
$as_echo "no" >&6; }
22068
14812
fi
22069
14813
 
22070
14814
 
22114
14858
ac_prog=ld
22115
14859
if test "$GCC" = yes; then
22116
14860
  # Check if gcc -print-prog-name=ld gives a path.
22117
 
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
22118
 
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
 
14861
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
14862
$as_echo_n "checking for ld used by GCC... " >&6; }
22119
14863
  case $host in
22120
14864
  *-*-mingw*)
22121
14865
    # gcc leaves a trailing carriage return which upsets mingw
22144
14888
    ;;
22145
14889
  esac
22146
14890
elif test "$with_gnu_ld" = yes; then
22147
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
22148
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
14891
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
14892
$as_echo_n "checking for GNU ld... " >&6; }
22149
14893
else
22150
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
22151
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
14894
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
14895
$as_echo_n "checking for non-GNU ld... " >&6; }
22152
14896
fi
22153
14897
if test "${acl_cv_path_LD+set}" = set; then
22154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14898
  $as_echo_n "(cached) " >&6
22155
14899
else
22156
14900
  if test -z "$LD"; then
22157
14901
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
22178
14922
 
22179
14923
LD="$acl_cv_path_LD"
22180
14924
if test -n "$LD"; then
22181
 
  { echo "$as_me:$LINENO: result: $LD" >&5
22182
 
echo "${ECHO_T}$LD" >&6; }
 
14925
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
14926
$as_echo "$LD" >&6; }
22183
14927
else
22184
 
  { echo "$as_me:$LINENO: result: no" >&5
22185
 
echo "${ECHO_T}no" >&6; }
 
14928
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14929
$as_echo "no" >&6; }
22186
14930
fi
22187
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
22188
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
14931
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
14932
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
22189
14933
   { (exit 1); exit 1; }; }
22190
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
22191
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
14934
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
14935
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22192
14936
if test "${acl_cv_prog_gnu_ld+set}" = set; then
22193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14937
  $as_echo_n "(cached) " >&6
22194
14938
else
22195
14939
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
22196
14940
case `$LD -v 2>&1 </dev/null` in
22200
14944
  acl_cv_prog_gnu_ld=no ;;
22201
14945
esac
22202
14946
fi
22203
 
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
22204
 
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
 
14947
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
14948
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
22205
14949
with_gnu_ld=$acl_cv_prog_gnu_ld
22206
14950
 
22207
14951
 
22208
14952
 
22209
14953
 
22210
 
                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
22211
 
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
 
14954
                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
14955
$as_echo_n "checking for shared library run path origin... " >&6; }
22212
14956
if test "${acl_cv_rpath+set}" = set; then
22213
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14957
  $as_echo_n "(cached) " >&6
22214
14958
else
22215
14959
 
22216
14960
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
22220
14964
    acl_cv_rpath=done
22221
14965
 
22222
14966
fi
22223
 
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
22224
 
echo "${ECHO_T}$acl_cv_rpath" >&6; }
 
14967
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
14968
$as_echo "$acl_cv_rpath" >&6; }
22225
14969
  wl="$acl_cv_wl"
22226
14970
  libext="$acl_cv_libext"
22227
14971
  shlibext="$acl_cv_shlibext"
22656
15400
 
22657
15401
 
22658
15402
 
22659
 
    { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
22660
 
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
 
15403
    { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
 
15404
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
22661
15405
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
22662
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15406
  $as_echo_n "(cached) " >&6
22663
15407
else
22664
15408
  gt_save_LIBS="$LIBS"
22665
15409
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
22684
15428
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22685
15429
  *) ac_try_echo=$ac_try;;
22686
15430
esac
22687
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15431
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15432
$as_echo "$ac_try_echo") >&5
22688
15433
  (eval "$ac_link") 2>conftest.er1
22689
15434
  ac_status=$?
22690
15435
  grep -v '^ *+' conftest.er1 >conftest.err
22691
15436
  rm -f conftest.er1
22692
15437
  cat conftest.err >&5
22693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15438
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694
15439
  (exit $ac_status); } && {
22695
15440
         test -z "$ac_c_werror_flag" ||
22696
15441
         test ! -s conftest.err
22697
 
       } && test -s conftest$ac_exeext &&
22698
 
       $as_test_x conftest$ac_exeext; then
 
15442
       } && test -s conftest$ac_exeext && {
 
15443
         test "$cross_compiling" = yes ||
 
15444
         $as_test_x conftest$ac_exeext
 
15445
       }; then
22699
15446
  gt_cv_func_CFPreferencesCopyAppValue=yes
22700
15447
else
22701
 
  echo "$as_me: failed program was:" >&5
 
15448
  $as_echo "$as_me: failed program was:" >&5
22702
15449
sed 's/^/| /' conftest.$ac_ext >&5
22703
15450
 
22704
15451
        gt_cv_func_CFPreferencesCopyAppValue=no
22705
15452
fi
22706
15453
 
 
15454
rm -rf conftest.dSYM
22707
15455
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22708
15456
      conftest$ac_exeext conftest.$ac_ext
22709
15457
     LIBS="$gt_save_LIBS"
22710
15458
fi
22711
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
22712
 
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
15459
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
15460
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
22713
15461
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
22714
15462
 
22715
15463
cat >>confdefs.h <<\_ACEOF
22717
15465
_ACEOF
22718
15466
 
22719
15467
  fi
22720
 
    { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
22721
 
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
 
15468
    { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
 
15469
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
22722
15470
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
22723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15471
  $as_echo_n "(cached) " >&6
22724
15472
else
22725
15473
  gt_save_LIBS="$LIBS"
22726
15474
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
22745
15493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746
15494
  *) ac_try_echo=$ac_try;;
22747
15495
esac
22748
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15496
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15497
$as_echo "$ac_try_echo") >&5
22749
15498
  (eval "$ac_link") 2>conftest.er1
22750
15499
  ac_status=$?
22751
15500
  grep -v '^ *+' conftest.er1 >conftest.err
22752
15501
  rm -f conftest.er1
22753
15502
  cat conftest.err >&5
22754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15503
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755
15504
  (exit $ac_status); } && {
22756
15505
         test -z "$ac_c_werror_flag" ||
22757
15506
         test ! -s conftest.err
22758
 
       } && test -s conftest$ac_exeext &&
22759
 
       $as_test_x conftest$ac_exeext; then
 
15507
       } && test -s conftest$ac_exeext && {
 
15508
         test "$cross_compiling" = yes ||
 
15509
         $as_test_x conftest$ac_exeext
 
15510
       }; then
22760
15511
  gt_cv_func_CFLocaleCopyCurrent=yes
22761
15512
else
22762
 
  echo "$as_me: failed program was:" >&5
 
15513
  $as_echo "$as_me: failed program was:" >&5
22763
15514
sed 's/^/| /' conftest.$ac_ext >&5
22764
15515
 
22765
15516
        gt_cv_func_CFLocaleCopyCurrent=no
22766
15517
fi
22767
15518
 
 
15519
rm -rf conftest.dSYM
22768
15520
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22769
15521
      conftest$ac_exeext conftest.$ac_ext
22770
15522
     LIBS="$gt_save_LIBS"
22771
15523
fi
22772
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
22773
 
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
15524
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
15525
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
22774
15526
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
22775
15527
 
22776
15528
cat >>confdefs.h <<\_ACEOF
22800
15552
 
22801
15553
 
22802
15554
 
22803
 
        { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
22804
 
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
 
15555
        { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
15556
$as_echo_n "checking for GNU gettext in libc... " >&6; }
22805
15557
if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
22806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15558
  $as_echo_n "(cached) " >&6
22807
15559
else
22808
15560
  cat >conftest.$ac_ext <<_ACEOF
22809
15561
/* confdefs.h.  */
22829
15581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22830
15582
  *) ac_try_echo=$ac_try;;
22831
15583
esac
22832
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15584
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15585
$as_echo "$ac_try_echo") >&5
22833
15586
  (eval "$ac_link") 2>conftest.er1
22834
15587
  ac_status=$?
22835
15588
  grep -v '^ *+' conftest.er1 >conftest.err
22836
15589
  rm -f conftest.er1
22837
15590
  cat conftest.err >&5
22838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15591
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839
15592
  (exit $ac_status); } && {
22840
15593
         test -z "$ac_c_werror_flag" ||
22841
15594
         test ! -s conftest.err
22842
 
       } && test -s conftest$ac_exeext &&
22843
 
       $as_test_x conftest$ac_exeext; then
 
15595
       } && test -s conftest$ac_exeext && {
 
15596
         test "$cross_compiling" = yes ||
 
15597
         $as_test_x conftest$ac_exeext
 
15598
       }; then
22844
15599
  gt_cv_func_gnugettext2_libc=yes
22845
15600
else
22846
 
  echo "$as_me: failed program was:" >&5
 
15601
  $as_echo "$as_me: failed program was:" >&5
22847
15602
sed 's/^/| /' conftest.$ac_ext >&5
22848
15603
 
22849
15604
        gt_cv_func_gnugettext2_libc=no
22850
15605
fi
22851
15606
 
 
15607
rm -rf conftest.dSYM
22852
15608
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22853
15609
      conftest$ac_exeext conftest.$ac_ext
22854
15610
fi
22855
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
22856
 
echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6; }
 
15611
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
 
15612
$as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
22857
15613
 
22858
15614
        if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
22859
15615
 
22886
15642
  done
22887
15643
 
22888
15644
 
22889
 
  { echo "$as_me:$LINENO: checking for iconv" >&5
22890
 
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
 
15645
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
 
15646
$as_echo_n "checking for iconv... " >&6; }
22891
15647
if test "${am_cv_func_iconv+set}" = set; then
22892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15648
  $as_echo_n "(cached) " >&6
22893
15649
else
22894
15650
 
22895
15651
    am_cv_func_iconv="no, consider installing GNU libiconv"
22918
15674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22919
15675
  *) ac_try_echo=$ac_try;;
22920
15676
esac
22921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15678
$as_echo "$ac_try_echo") >&5
22922
15679
  (eval "$ac_link") 2>conftest.er1
22923
15680
  ac_status=$?
22924
15681
  grep -v '^ *+' conftest.er1 >conftest.err
22925
15682
  rm -f conftest.er1
22926
15683
  cat conftest.err >&5
22927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928
15685
  (exit $ac_status); } && {
22929
15686
         test -z "$ac_c_werror_flag" ||
22930
15687
         test ! -s conftest.err
22931
 
       } && test -s conftest$ac_exeext &&
22932
 
       $as_test_x conftest$ac_exeext; then
 
15688
       } && test -s conftest$ac_exeext && {
 
15689
         test "$cross_compiling" = yes ||
 
15690
         $as_test_x conftest$ac_exeext
 
15691
       }; then
22933
15692
  am_cv_func_iconv=yes
22934
15693
else
22935
 
  echo "$as_me: failed program was:" >&5
 
15694
  $as_echo "$as_me: failed program was:" >&5
22936
15695
sed 's/^/| /' conftest.$ac_ext >&5
22937
15696
 
22938
15697
 
22939
15698
fi
22940
15699
 
 
15700
rm -rf conftest.dSYM
22941
15701
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22942
15702
      conftest$ac_exeext conftest.$ac_ext
22943
15703
    if test "$am_cv_func_iconv" != yes; then
22967
15727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22968
15728
  *) ac_try_echo=$ac_try;;
22969
15729
esac
22970
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15730
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15731
$as_echo "$ac_try_echo") >&5
22971
15732
  (eval "$ac_link") 2>conftest.er1
22972
15733
  ac_status=$?
22973
15734
  grep -v '^ *+' conftest.er1 >conftest.err
22974
15735
  rm -f conftest.er1
22975
15736
  cat conftest.err >&5
22976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15737
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977
15738
  (exit $ac_status); } && {
22978
15739
         test -z "$ac_c_werror_flag" ||
22979
15740
         test ! -s conftest.err
22980
 
       } && test -s conftest$ac_exeext &&
22981
 
       $as_test_x conftest$ac_exeext; then
 
15741
       } && test -s conftest$ac_exeext && {
 
15742
         test "$cross_compiling" = yes ||
 
15743
         $as_test_x conftest$ac_exeext
 
15744
       }; then
22982
15745
  am_cv_lib_iconv=yes
22983
15746
        am_cv_func_iconv=yes
22984
15747
else
22985
 
  echo "$as_me: failed program was:" >&5
 
15748
  $as_echo "$as_me: failed program was:" >&5
22986
15749
sed 's/^/| /' conftest.$ac_ext >&5
22987
15750
 
22988
15751
 
22989
15752
fi
22990
15753
 
 
15754
rm -rf conftest.dSYM
22991
15755
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22992
15756
      conftest$ac_exeext conftest.$ac_ext
22993
15757
      LIBS="$am_save_LIBS"
22994
15758
    fi
22995
15759
 
22996
15760
fi
22997
 
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22998
 
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
 
15761
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
15762
$as_echo "$am_cv_func_iconv" >&6; }
22999
15763
  if test "$am_cv_func_iconv" = yes; then
23000
15764
 
23001
15765
cat >>confdefs.h <<\_ACEOF
23004
15768
 
23005
15769
  fi
23006
15770
  if test "$am_cv_lib_iconv" = yes; then
23007
 
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
23008
 
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
23009
 
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
23010
 
echo "${ECHO_T}$LIBICONV" >&6; }
 
15771
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
15772
$as_echo_n "checking how to link with libiconv... " >&6; }
 
15773
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
15774
$as_echo "$LIBICONV" >&6; }
23011
15775
  else
23012
15776
            CPPFLAGS="$am_save_CPPFLAGS"
23013
15777
    LIBICONV=
23396
16160
    done
23397
16161
  fi
23398
16162
 
23399
 
          { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
23400
 
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
 
16163
          { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
16164
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
23401
16165
if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
23402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16166
  $as_echo_n "(cached) " >&6
23403
16167
else
23404
16168
  gt_save_CPPFLAGS="$CPPFLAGS"
23405
16169
            CPPFLAGS="$CPPFLAGS $INCINTL"
23433
16197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434
16198
  *) ac_try_echo=$ac_try;;
23435
16199
esac
23436
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16200
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16201
$as_echo "$ac_try_echo") >&5
23437
16202
  (eval "$ac_link") 2>conftest.er1
23438
16203
  ac_status=$?
23439
16204
  grep -v '^ *+' conftest.er1 >conftest.err
23440
16205
  rm -f conftest.er1
23441
16206
  cat conftest.err >&5
23442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16207
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443
16208
  (exit $ac_status); } && {
23444
16209
         test -z "$ac_c_werror_flag" ||
23445
16210
         test ! -s conftest.err
23446
 
       } && test -s conftest$ac_exeext &&
23447
 
       $as_test_x conftest$ac_exeext; then
 
16211
       } && test -s conftest$ac_exeext && {
 
16212
         test "$cross_compiling" = yes ||
 
16213
         $as_test_x conftest$ac_exeext
 
16214
       }; then
23448
16215
  gt_cv_func_gnugettext2_libintl=yes
23449
16216
else
23450
 
  echo "$as_me: failed program was:" >&5
 
16217
  $as_echo "$as_me: failed program was:" >&5
23451
16218
sed 's/^/| /' conftest.$ac_ext >&5
23452
16219
 
23453
16220
        gt_cv_func_gnugettext2_libintl=no
23454
16221
fi
23455
16222
 
 
16223
rm -rf conftest.dSYM
23456
16224
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23457
16225
      conftest$ac_exeext conftest.$ac_ext
23458
16226
                        if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
23485
16253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23486
16254
  *) ac_try_echo=$ac_try;;
23487
16255
esac
23488
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16257
$as_echo "$ac_try_echo") >&5
23489
16258
  (eval "$ac_link") 2>conftest.er1
23490
16259
  ac_status=$?
23491
16260
  grep -v '^ *+' conftest.er1 >conftest.err
23492
16261
  rm -f conftest.er1
23493
16262
  cat conftest.err >&5
23494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16263
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495
16264
  (exit $ac_status); } && {
23496
16265
         test -z "$ac_c_werror_flag" ||
23497
16266
         test ! -s conftest.err
23498
 
       } && test -s conftest$ac_exeext &&
23499
 
       $as_test_x conftest$ac_exeext; then
 
16267
       } && test -s conftest$ac_exeext && {
 
16268
         test "$cross_compiling" = yes ||
 
16269
         $as_test_x conftest$ac_exeext
 
16270
       }; then
23500
16271
  LIBINTL="$LIBINTL $LIBICONV"
23501
16272
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
23502
16273
                gt_cv_func_gnugettext2_libintl=yes
23503
16274
 
23504
16275
else
23505
 
  echo "$as_me: failed program was:" >&5
 
16276
  $as_echo "$as_me: failed program was:" >&5
23506
16277
sed 's/^/| /' conftest.$ac_ext >&5
23507
16278
 
23508
16279
 
23509
16280
fi
23510
16281
 
 
16282
rm -rf conftest.dSYM
23511
16283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23512
16284
      conftest$ac_exeext conftest.$ac_ext
23513
16285
            fi
23514
16286
            CPPFLAGS="$gt_save_CPPFLAGS"
23515
16287
            LIBS="$gt_save_LIBS"
23516
16288
fi
23517
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
23518
 
echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6; }
 
16289
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
 
16290
$as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
23519
16291
        fi
23520
16292
 
23521
16293
                                        if test "$gt_cv_func_gnugettext2_libc" = "yes" \
23551
16323
    fi
23552
16324
  fi
23553
16325
 
23554
 
  { echo "$as_me:$LINENO: checking whether to use NLS" >&5
23555
 
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
23556
 
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
23557
 
echo "${ECHO_T}$USE_NLS" >&6; }
 
16326
  { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
16327
$as_echo_n "checking whether to use NLS... " >&6; }
 
16328
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
16329
$as_echo "$USE_NLS" >&6; }
23558
16330
  if test "$USE_NLS" = "yes"; then
23559
 
    { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
23560
 
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
 
16331
    { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
16332
$as_echo_n "checking where the gettext function comes from... " >&6; }
23561
16333
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
23562
16334
      if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
23563
16335
        gt_source="external libintl"
23567
16339
    else
23568
16340
      gt_source="included intl directory"
23569
16341
    fi
23570
 
    { echo "$as_me:$LINENO: result: $gt_source" >&5
23571
 
echo "${ECHO_T}$gt_source" >&6; }
 
16342
    { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
 
16343
$as_echo "$gt_source" >&6; }
23572
16344
  fi
23573
16345
 
23574
16346
  if test "$USE_NLS" = "yes"; then
23575
16347
 
23576
16348
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
23577
16349
      if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
23578
 
        { echo "$as_me:$LINENO: checking how to link with libintl" >&5
23579
 
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
23580
 
        { echo "$as_me:$LINENO: result: $LIBINTL" >&5
23581
 
echo "${ECHO_T}$LIBINTL" >&6; }
 
16350
        { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
16351
$as_echo_n "checking how to link with libintl... " >&6; }
 
16352
        { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
16353
$as_echo "$LIBINTL" >&6; }
23582
16354
 
23583
16355
  for element in $INCINTL; do
23584
16356
    haveit=
23633
16405
 
23634
16406
saved_LIBS="$LIBS"
23635
16407
 
23636
 
{ echo "$as_me:$LINENO: checking for poptConfigFileToString in -lpopt" >&5
23637
 
echo $ECHO_N "checking for poptConfigFileToString in -lpopt... $ECHO_C" >&6; }
 
16408
{ $as_echo "$as_me:$LINENO: checking for poptConfigFileToString in -lpopt" >&5
 
16409
$as_echo_n "checking for poptConfigFileToString in -lpopt... " >&6; }
23638
16410
if test "${ac_cv_lib_popt_poptConfigFileToString+set}" = set; then
23639
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16411
  $as_echo_n "(cached) " >&6
23640
16412
else
23641
16413
  ac_check_lib_save_LIBS=$LIBS
23642
16414
LIBS="-lpopt  $LIBS"
23668
16440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23669
16441
  *) ac_try_echo=$ac_try;;
23670
16442
esac
23671
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16443
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16444
$as_echo "$ac_try_echo") >&5
23672
16445
  (eval "$ac_link") 2>conftest.er1
23673
16446
  ac_status=$?
23674
16447
  grep -v '^ *+' conftest.er1 >conftest.err
23675
16448
  rm -f conftest.er1
23676
16449
  cat conftest.err >&5
23677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16450
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678
16451
  (exit $ac_status); } && {
23679
16452
         test -z "$ac_c_werror_flag" ||
23680
16453
         test ! -s conftest.err
23681
 
       } && test -s conftest$ac_exeext &&
23682
 
       $as_test_x conftest$ac_exeext; then
 
16454
       } && test -s conftest$ac_exeext && {
 
16455
         test "$cross_compiling" = yes ||
 
16456
         $as_test_x conftest$ac_exeext
 
16457
       }; then
23683
16458
  ac_cv_lib_popt_poptConfigFileToString=yes
23684
16459
else
23685
 
  echo "$as_me: failed program was:" >&5
 
16460
  $as_echo "$as_me: failed program was:" >&5
23686
16461
sed 's/^/| /' conftest.$ac_ext >&5
23687
16462
 
23688
16463
        ac_cv_lib_popt_poptConfigFileToString=no
23689
16464
fi
23690
16465
 
 
16466
rm -rf conftest.dSYM
23691
16467
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23692
16468
      conftest$ac_exeext conftest.$ac_ext
23693
16469
LIBS=$ac_check_lib_save_LIBS
23694
16470
fi
23695
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptConfigFileToString" >&5
23696
 
echo "${ECHO_T}$ac_cv_lib_popt_poptConfigFileToString" >&6; }
23697
 
if test $ac_cv_lib_popt_poptConfigFileToString = yes; then
 
16471
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptConfigFileToString" >&5
 
16472
$as_echo "$ac_cv_lib_popt_poptConfigFileToString" >&6; }
 
16473
if test "x$ac_cv_lib_popt_poptConfigFileToString" = x""yes; then
23698
16474
  cat >>confdefs.h <<_ACEOF
23699
16475
#define HAVE_LIBPOPT 1
23700
16476
_ACEOF
23702
16478
  LIBS="-lpopt $LIBS"
23703
16479
 
23704
16480
else
23705
 
  { { echo "$as_me:$LINENO: error: You need popt 1.7 or newer to compile." >&5
23706
 
echo "$as_me: error: You need popt 1.7 or newer to compile." >&2;}
 
16481
  { { $as_echo "$as_me:$LINENO: error: You need popt 1.7 or newer to compile." >&5
 
16482
$as_echo "$as_me: error: You need popt 1.7 or newer to compile." >&2;}
23707
16483
   { (exit 1); exit 1; }; }
23708
16484
fi
23709
16485
 
23792
16568
 
23793
16569
  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
23794
16570
set dummy libgcrypt-config; ac_word=$2
23795
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23796
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16571
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16572
$as_echo_n "checking for $ac_word... " >&6; }
23797
16573
if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
23798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16574
  $as_echo_n "(cached) " >&6
23799
16575
else
23800
16576
  case $LIBGCRYPT_CONFIG in
23801
16577
  [\\/]* | ?:[\\/]*)
23810
16586
  for ac_exec_ext in '' $ac_executable_extensions; do
23811
16587
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23812
16588
    ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23813
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16589
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23814
16590
    break 2
23815
16591
  fi
23816
16592
done
23823
16599
fi
23824
16600
LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
23825
16601
if test -n "$LIBGCRYPT_CONFIG"; then
23826
 
  { echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
23827
 
echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6; }
 
16602
  { $as_echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
 
16603
$as_echo "$LIBGCRYPT_CONFIG" >&6; }
23828
16604
else
23829
 
  { echo "$as_me:$LINENO: result: no" >&5
23830
 
echo "${ECHO_T}no" >&6; }
 
16605
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16606
$as_echo "no" >&6; }
23831
16607
fi
23832
16608
 
23833
16609
 
23840
16616
     min_libgcrypt_version="$tmp"
23841
16617
  fi
23842
16618
 
23843
 
  { echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
23844
 
echo $ECHO_N "checking for LIBGCRYPT - version >= $min_libgcrypt_version... $ECHO_C" >&6; }
 
16619
  { $as_echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
 
16620
$as_echo_n "checking for LIBGCRYPT - version >= $min_libgcrypt_version... " >&6; }
23845
16621
  ok=no
23846
16622
  if test "$LIBGCRYPT_CONFIG" != "no" ; then
23847
16623
    req_major=`echo $min_libgcrypt_version | \
23874
16650
    fi
23875
16651
  fi
23876
16652
  if test $ok = yes; then
23877
 
    { echo "$as_me:$LINENO: result: yes ($libgcrypt_config_version)" >&5
23878
 
echo "${ECHO_T}yes ($libgcrypt_config_version)" >&6; }
 
16653
    { $as_echo "$as_me:$LINENO: result: yes ($libgcrypt_config_version)" >&5
 
16654
$as_echo "yes ($libgcrypt_config_version)" >&6; }
23879
16655
  else
23880
 
    { echo "$as_me:$LINENO: result: no" >&5
23881
 
echo "${ECHO_T}no" >&6; }
 
16656
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
16657
$as_echo "no" >&6; }
23882
16658
  fi
23883
16659
  if test $ok = yes; then
23884
16660
     # If we have a recent libgcrypt, we should also check that the
23886
16662
     if test "$req_libgcrypt_api" -gt 0 ; then
23887
16663
        tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
23888
16664
        if test "$tmp" -gt 0 ; then
23889
 
           { echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
23890
 
echo $ECHO_N "checking LIBGCRYPT API version... $ECHO_C" >&6; }
 
16665
           { $as_echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
 
16666
$as_echo_n "checking LIBGCRYPT API version... " >&6; }
23891
16667
           if test "$req_libgcrypt_api" -eq "$tmp" ; then
23892
 
             { echo "$as_me:$LINENO: result: okay" >&5
23893
 
echo "${ECHO_T}okay" >&6; }
 
16668
             { $as_echo "$as_me:$LINENO: result: okay" >&5
 
16669
$as_echo "okay" >&6; }
23894
16670
           else
23895
16671
             ok=no
23896
 
             { echo "$as_me:$LINENO: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
23897
 
echo "${ECHO_T}does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
 
16672
             { $as_echo "$as_me:$LINENO: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
 
16673
$as_echo "does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
23898
16674
           fi
23899
16675
        fi
23900
16676
     fi
23912
16688
 
23913
16689
 
23914
16690
 
23915
 
                { echo "$as_me:$LINENO: checking whether to build libgcrypt module" >&5
23916
 
echo $ECHO_N "checking whether to build libgcrypt module... $ECHO_C" >&6; }
 
16691
                { $as_echo "$as_me:$LINENO: checking whether to build libgcrypt module" >&5
 
16692
$as_echo_n "checking whether to build libgcrypt module... " >&6; }
23917
16693
                if test -n "${have_module+set}"; then
23918
16694
                        if test "x${enable_libgcrypt}" = "xauto"; then
23919
16695
                                if test "x${enable_plugins}" != "xno"; then
23920
 
                                        { echo "$as_me:$LINENO: result: yes, as plugin" >&5
23921
 
echo "${ECHO_T}yes, as plugin" >&6; }
 
16696
                                        { $as_echo "$as_me:$LINENO: result: yes, as plugin" >&5
 
16697
$as_echo "yes, as plugin" >&6; }
23922
16698
                                        build_static=no
23923
16699
                                        build_shared=yes
23924
16700
                                else
23925
 
                                        { echo "$as_me:$LINENO: result: yes" >&5
23926
 
echo "${ECHO_T}yes" >&6; }
 
16701
                                        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16702
$as_echo "yes" >&6; }
23927
16703
                                        build_static=yes
23928
16704
                                        build_shared=no
23929
16705
                                fi
23930
16706
                        elif test "x${enable_libgcrypt}" = "xshared"; then
23931
16707
                                if test "x${enable_plugins}" != "xno"; then
23932
 
                                        { echo "$as_me:$LINENO: result: yes, as plugin" >&5
23933
 
echo "${ECHO_T}yes, as plugin" >&6; }
 
16708
                                        { $as_echo "$as_me:$LINENO: result: yes, as plugin" >&5
 
16709
$as_echo "yes, as plugin" >&6; }
23934
16710
                                        build_static=no
23935
16711
                                        build_shared=yes
23936
16712
                                else
23937
 
                                        { echo "$as_me:$LINENO: result: no" >&5
23938
 
echo "${ECHO_T}no" >&6; }
23939
 
                                        { { echo "$as_me:$LINENO: error: Can't build libgcrypt module, plugins are disabled" >&5
23940
 
echo "$as_me: error: Can't build libgcrypt module, plugins are disabled" >&2;}
 
16713
                                        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16714
$as_echo "no" >&6; }
 
16715
                                        { { $as_echo "$as_me:$LINENO: error: Can't build libgcrypt module, plugins are disabled" >&5
 
16716
$as_echo "$as_me: error: Can't build libgcrypt module, plugins are disabled" >&2;}
23941
16717
   { (exit 1); exit 1; }; }
23942
16718
                                fi
23943
16719
                        else
23944
 
                                { echo "$as_me:$LINENO: result: yes" >&5
23945
 
echo "${ECHO_T}yes" >&6; }
 
16720
                                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16721
$as_echo "yes" >&6; }
23946
16722
                                build_static=yes
23947
16723
                                build_shared=no
23948
16724
                        fi
23949
16725
                elif test "x${enable_libgcrypt}" != "xauto"; then
23950
 
                        { echo "$as_me:$LINENO: result: no" >&5
23951
 
echo "${ECHO_T}no" >&6; }
23952
 
                        { { echo "$as_me:$LINENO: error: Unable to build libgcrypt plugin, see messages above" >&5
23953
 
echo "$as_me: error: Unable to build libgcrypt plugin, see messages above" >&2;}
 
16726
                        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16727
$as_echo "no" >&6; }
 
16728
                        { { $as_echo "$as_me:$LINENO: error: Unable to build libgcrypt plugin, see messages above" >&5
 
16729
$as_echo "$as_me: error: Unable to build libgcrypt plugin, see messages above" >&2;}
23954
16730
   { (exit 1); exit 1; }; }
23955
16731
                else
23956
 
                        { echo "$as_me:$LINENO: result: no" >&5
23957
 
echo "${ECHO_T}no" >&6; }
 
16732
                        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16733
$as_echo "no" >&6; }
23958
16734
                        build_static=no
23959
16735
                        build_shared=no
23960
16736
                fi
23961
16737
        else
23962
 
                { echo "$as_me:$LINENO: checking whether to build libgcrypt module" >&5
23963
 
echo $ECHO_N "checking whether to build libgcrypt module... $ECHO_C" >&6; }
23964
 
                { echo "$as_me:$LINENO: result: no" >&5
23965
 
echo "${ECHO_T}no" >&6; }
 
16738
                { $as_echo "$as_me:$LINENO: checking whether to build libgcrypt module" >&5
 
16739
$as_echo_n "checking whether to build libgcrypt module... " >&6; }
 
16740
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
16741
$as_echo "no" >&6; }
23966
16742
                build_static=no
23967
16743
                build_shared=no
23968
16744
        fi
24008
16784
        have_module=yes
24009
16785
        saved_LIBS="$LIBS"
24010
16786
 
24011
 
{ echo "$as_me:$LINENO: checking for sepol_bool_set in -lsepol" >&5
24012
 
echo $ECHO_N "checking for sepol_bool_set in -lsepol... $ECHO_C" >&6; }
 
16787
{ $as_echo "$as_me:$LINENO: checking for sepol_bool_set in -lsepol" >&5
 
16788
$as_echo_n "checking for sepol_bool_set in -lsepol... " >&6; }
24013
16789
if test "${ac_cv_lib_sepol_sepol_bool_set+set}" = set; then
24014
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16790
  $as_echo_n "(cached) " >&6
24015
16791
else
24016
16792
  ac_check_lib_save_LIBS=$LIBS
24017
16793
LIBS="-lsepol  $LIBS"
24043
16819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044
16820
  *) ac_try_echo=$ac_try;;
24045
16821
esac
24046
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16822
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16823
$as_echo "$ac_try_echo") >&5
24047
16824
  (eval "$ac_link") 2>conftest.er1
24048
16825
  ac_status=$?
24049
16826
  grep -v '^ *+' conftest.er1 >conftest.err
24050
16827
  rm -f conftest.er1
24051
16828
  cat conftest.err >&5
24052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053
16830
  (exit $ac_status); } && {
24054
16831
         test -z "$ac_c_werror_flag" ||
24055
16832
         test ! -s conftest.err
24056
 
       } && test -s conftest$ac_exeext &&
24057
 
       $as_test_x conftest$ac_exeext; then
 
16833
       } && test -s conftest$ac_exeext && {
 
16834
         test "$cross_compiling" = yes ||
 
16835
         $as_test_x conftest$ac_exeext
 
16836
       }; then
24058
16837
  ac_cv_lib_sepol_sepol_bool_set=yes
24059
16838
else
24060
 
  echo "$as_me: failed program was:" >&5
 
16839
  $as_echo "$as_me: failed program was:" >&5
24061
16840
sed 's/^/| /' conftest.$ac_ext >&5
24062
16841
 
24063
16842
        ac_cv_lib_sepol_sepol_bool_set=no
24064
16843
fi
24065
16844
 
 
16845
rm -rf conftest.dSYM
24066
16846
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24067
16847
      conftest$ac_exeext conftest.$ac_ext
24068
16848
LIBS=$ac_check_lib_save_LIBS
24069
16849
fi
24070
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_bool_set" >&5
24071
 
echo "${ECHO_T}$ac_cv_lib_sepol_sepol_bool_set" >&6; }
24072
 
if test $ac_cv_lib_sepol_sepol_bool_set = yes; then
 
16850
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_bool_set" >&5
 
16851
$as_echo "$ac_cv_lib_sepol_sepol_bool_set" >&6; }
 
16852
if test "x$ac_cv_lib_sepol_sepol_bool_set" = x""yes; then
24073
16853
  cat >>confdefs.h <<_ACEOF
24074
16854
#define HAVE_LIBSEPOL 1
24075
16855
_ACEOF
24079
16859
fi
24080
16860
 
24081
16861
 
24082
 
{ echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
24083
 
echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
 
16862
{ $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
 
16863
$as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
24084
16864
if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
24085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16865
  $as_echo_n "(cached) " >&6
24086
16866
else
24087
16867
  ac_check_lib_save_LIBS=$LIBS
24088
16868
LIBS="-lselinux  $LIBS"
24114
16894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24115
16895
  *) ac_try_echo=$ac_try;;
24116
16896
esac
24117
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16897
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16898
$as_echo "$ac_try_echo") >&5
24118
16899
  (eval "$ac_link") 2>conftest.er1
24119
16900
  ac_status=$?
24120
16901
  grep -v '^ *+' conftest.er1 >conftest.err
24121
16902
  rm -f conftest.er1
24122
16903
  cat conftest.err >&5
24123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16904
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124
16905
  (exit $ac_status); } && {
24125
16906
         test -z "$ac_c_werror_flag" ||
24126
16907
         test ! -s conftest.err
24127
 
       } && test -s conftest$ac_exeext &&
24128
 
       $as_test_x conftest$ac_exeext; then
 
16908
       } && test -s conftest$ac_exeext && {
 
16909
         test "$cross_compiling" = yes ||
 
16910
         $as_test_x conftest$ac_exeext
 
16911
       }; then
24129
16912
  ac_cv_lib_selinux_is_selinux_enabled=yes
24130
16913
else
24131
 
  echo "$as_me: failed program was:" >&5
 
16914
  $as_echo "$as_me: failed program was:" >&5
24132
16915
sed 's/^/| /' conftest.$ac_ext >&5
24133
16916
 
24134
16917
        ac_cv_lib_selinux_is_selinux_enabled=no
24135
16918
fi
24136
16919
 
 
16920
rm -rf conftest.dSYM
24137
16921
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24138
16922
      conftest$ac_exeext conftest.$ac_ext
24139
16923
LIBS=$ac_check_lib_save_LIBS
24140
16924
fi
24141
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
24142
 
echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
24143
 
if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
 
16925
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
 
16926
$as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
 
16927
if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
24144
16928
  cat >>confdefs.h <<_ACEOF
24145
16929
#define HAVE_LIBSELINUX 1
24146
16930
_ACEOF
24150
16934
fi
24151
16935
 
24152
16936
 
24153
 
{ echo "$as_me:$LINENO: checking for dm_task_set_name in -ldevmapper" >&5
24154
 
echo $ECHO_N "checking for dm_task_set_name in -ldevmapper... $ECHO_C" >&6; }
 
16937
{ $as_echo "$as_me:$LINENO: checking for dm_task_set_name in -ldevmapper" >&5
 
16938
$as_echo_n "checking for dm_task_set_name in -ldevmapper... " >&6; }
24155
16939
if test "${ac_cv_lib_devmapper_dm_task_set_name+set}" = set; then
24156
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16940
  $as_echo_n "(cached) " >&6
24157
16941
else
24158
16942
  ac_check_lib_save_LIBS=$LIBS
24159
16943
LIBS="-ldevmapper  $LIBS"
24185
16969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24186
16970
  *) ac_try_echo=$ac_try;;
24187
16971
esac
24188
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16972
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16973
$as_echo "$ac_try_echo") >&5
24189
16974
  (eval "$ac_link") 2>conftest.er1
24190
16975
  ac_status=$?
24191
16976
  grep -v '^ *+' conftest.er1 >conftest.err
24192
16977
  rm -f conftest.er1
24193
16978
  cat conftest.err >&5
24194
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16979
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195
16980
  (exit $ac_status); } && {
24196
16981
         test -z "$ac_c_werror_flag" ||
24197
16982
         test ! -s conftest.err
24198
 
       } && test -s conftest$ac_exeext &&
24199
 
       $as_test_x conftest$ac_exeext; then
 
16983
       } && test -s conftest$ac_exeext && {
 
16984
         test "$cross_compiling" = yes ||
 
16985
         $as_test_x conftest$ac_exeext
 
16986
       }; then
24200
16987
  ac_cv_lib_devmapper_dm_task_set_name=yes
24201
16988
else
24202
 
  echo "$as_me: failed program was:" >&5
 
16989
  $as_echo "$as_me: failed program was:" >&5
24203
16990
sed 's/^/| /' conftest.$ac_ext >&5
24204
16991
 
24205
16992
        ac_cv_lib_devmapper_dm_task_set_name=no
24206
16993
fi
24207
16994
 
 
16995
rm -rf conftest.dSYM
24208
16996
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24209
16997
      conftest$ac_exeext conftest.$ac_ext
24210
16998
LIBS=$ac_check_lib_save_LIBS
24211
16999
fi
24212
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_devmapper_dm_task_set_name" >&5
24213
 
echo "${ECHO_T}$ac_cv_lib_devmapper_dm_task_set_name" >&6; }
24214
 
if test $ac_cv_lib_devmapper_dm_task_set_name = yes; then
 
17000
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_devmapper_dm_task_set_name" >&5
 
17001
$as_echo "$ac_cv_lib_devmapper_dm_task_set_name" >&6; }
 
17002
if test "x$ac_cv_lib_devmapper_dm_task_set_name" = x""yes; then
24215
17003
  cat >>confdefs.h <<_ACEOF
24216
17004
#define HAVE_LIBDEVMAPPER 1
24217
17005
_ACEOF
24223
17011
fi
24224
17012
 
24225
17013
        if test "${ac_cv_header_libdevmapper_h+set}" = set; then
24226
 
  { echo "$as_me:$LINENO: checking for libdevmapper.h" >&5
24227
 
echo $ECHO_N "checking for libdevmapper.h... $ECHO_C" >&6; }
 
17014
  { $as_echo "$as_me:$LINENO: checking for libdevmapper.h" >&5
 
17015
$as_echo_n "checking for libdevmapper.h... " >&6; }
24228
17016
if test "${ac_cv_header_libdevmapper_h+set}" = set; then
24229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17017
  $as_echo_n "(cached) " >&6
24230
17018
fi
24231
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libdevmapper_h" >&5
24232
 
echo "${ECHO_T}$ac_cv_header_libdevmapper_h" >&6; }
 
17019
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libdevmapper_h" >&5
 
17020
$as_echo "$ac_cv_header_libdevmapper_h" >&6; }
24233
17021
else
24234
17022
  # Is the header compilable?
24235
 
{ echo "$as_me:$LINENO: checking libdevmapper.h usability" >&5
24236
 
echo $ECHO_N "checking libdevmapper.h usability... $ECHO_C" >&6; }
 
17023
{ $as_echo "$as_me:$LINENO: checking libdevmapper.h usability" >&5
 
17024
$as_echo_n "checking libdevmapper.h usability... " >&6; }
24237
17025
cat >conftest.$ac_ext <<_ACEOF
24238
17026
/* confdefs.h.  */
24239
17027
_ACEOF
24249
17037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24250
17038
  *) ac_try_echo=$ac_try;;
24251
17039
esac
24252
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17040
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17041
$as_echo "$ac_try_echo") >&5
24253
17042
  (eval "$ac_compile") 2>conftest.er1
24254
17043
  ac_status=$?
24255
17044
  grep -v '^ *+' conftest.er1 >conftest.err
24256
17045
  rm -f conftest.er1
24257
17046
  cat conftest.err >&5
24258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17047
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259
17048
  (exit $ac_status); } && {
24260
17049
         test -z "$ac_c_werror_flag" ||
24261
17050
         test ! -s conftest.err
24262
17051
       } && test -s conftest.$ac_objext; then
24263
17052
  ac_header_compiler=yes
24264
17053
else
24265
 
  echo "$as_me: failed program was:" >&5
 
17054
  $as_echo "$as_me: failed program was:" >&5
24266
17055
sed 's/^/| /' conftest.$ac_ext >&5
24267
17056
 
24268
17057
        ac_header_compiler=no
24269
17058
fi
24270
17059
 
24271
17060
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24273
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
17061
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
17062
$as_echo "$ac_header_compiler" >&6; }
24274
17063
 
24275
17064
# Is the header present?
24276
 
{ echo "$as_me:$LINENO: checking libdevmapper.h presence" >&5
24277
 
echo $ECHO_N "checking libdevmapper.h presence... $ECHO_C" >&6; }
 
17065
{ $as_echo "$as_me:$LINENO: checking libdevmapper.h presence" >&5
 
17066
$as_echo_n "checking libdevmapper.h presence... " >&6; }
24278
17067
cat >conftest.$ac_ext <<_ACEOF
24279
17068
/* confdefs.h.  */
24280
17069
_ACEOF
24288
17077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24289
17078
  *) ac_try_echo=$ac_try;;
24290
17079
esac
24291
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17080
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17081
$as_echo "$ac_try_echo") >&5
24292
17082
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24293
17083
  ac_status=$?
24294
17084
  grep -v '^ *+' conftest.er1 >conftest.err
24295
17085
  rm -f conftest.er1
24296
17086
  cat conftest.err >&5
24297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17087
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298
17088
  (exit $ac_status); } >/dev/null && {
24299
17089
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24300
17090
         test ! -s conftest.err
24301
17091
       }; then
24302
17092
  ac_header_preproc=yes
24303
17093
else
24304
 
  echo "$as_me: failed program was:" >&5
 
17094
  $as_echo "$as_me: failed program was:" >&5
24305
17095
sed 's/^/| /' conftest.$ac_ext >&5
24306
17096
 
24307
17097
  ac_header_preproc=no
24308
17098
fi
24309
17099
 
24310
17100
rm -f conftest.err conftest.$ac_ext
24311
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24312
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
17101
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
17102
$as_echo "$ac_header_preproc" >&6; }
24313
17103
 
24314
17104
# So?  What about this header?
24315
17105
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24316
17106
  yes:no: )
24317
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h: accepted by the compiler, rejected by the preprocessor!" >&5
24318
 
echo "$as_me: WARNING: libdevmapper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24319
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h: proceeding with the compiler's result" >&5
24320
 
echo "$as_me: WARNING: libdevmapper.h: proceeding with the compiler's result" >&2;}
 
17107
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
17108
$as_echo "$as_me: WARNING: libdevmapper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
17109
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h: proceeding with the compiler's result" >&5
 
17110
$as_echo "$as_me: WARNING: libdevmapper.h: proceeding with the compiler's result" >&2;}
24321
17111
    ac_header_preproc=yes
24322
17112
    ;;
24323
17113
  no:yes:* )
24324
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h: present but cannot be compiled" >&5
24325
 
echo "$as_me: WARNING: libdevmapper.h: present but cannot be compiled" >&2;}
24326
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h:     check for missing prerequisite headers?" >&5
24327
 
echo "$as_me: WARNING: libdevmapper.h:     check for missing prerequisite headers?" >&2;}
24328
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h: see the Autoconf documentation" >&5
24329
 
echo "$as_me: WARNING: libdevmapper.h: see the Autoconf documentation" >&2;}
24330
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h:     section \"Present But Cannot Be Compiled\"" >&5
24331
 
echo "$as_me: WARNING: libdevmapper.h:     section \"Present But Cannot Be Compiled\"" >&2;}
24332
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h: proceeding with the preprocessor's result" >&5
24333
 
echo "$as_me: WARNING: libdevmapper.h: proceeding with the preprocessor's result" >&2;}
24334
 
    { echo "$as_me:$LINENO: WARNING: libdevmapper.h: in the future, the compiler will take precedence" >&5
24335
 
echo "$as_me: WARNING: libdevmapper.h: in the future, the compiler will take precedence" >&2;}
 
17114
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h: present but cannot be compiled" >&5
 
17115
$as_echo "$as_me: WARNING: libdevmapper.h: present but cannot be compiled" >&2;}
 
17116
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h:     check for missing prerequisite headers?" >&5
 
17117
$as_echo "$as_me: WARNING: libdevmapper.h:     check for missing prerequisite headers?" >&2;}
 
17118
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h: see the Autoconf documentation" >&5
 
17119
$as_echo "$as_me: WARNING: libdevmapper.h: see the Autoconf documentation" >&2;}
 
17120
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h:     section \"Present But Cannot Be Compiled\"" >&5
 
17121
$as_echo "$as_me: WARNING: libdevmapper.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
17122
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h: proceeding with the preprocessor's result" >&5
 
17123
$as_echo "$as_me: WARNING: libdevmapper.h: proceeding with the preprocessor's result" >&2;}
 
17124
    { $as_echo "$as_me:$LINENO: WARNING: libdevmapper.h: in the future, the compiler will take precedence" >&5
 
17125
$as_echo "$as_me: WARNING: libdevmapper.h: in the future, the compiler will take precedence" >&2;}
24336
17126
 
24337
17127
    ;;
24338
17128
esac
24339
 
{ echo "$as_me:$LINENO: checking for libdevmapper.h" >&5
24340
 
echo $ECHO_N "checking for libdevmapper.h... $ECHO_C" >&6; }
 
17129
{ $as_echo "$as_me:$LINENO: checking for libdevmapper.h" >&5
 
17130
$as_echo_n "checking for libdevmapper.h... " >&6; }
24341
17131
if test "${ac_cv_header_libdevmapper_h+set}" = set; then
24342
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17132
  $as_echo_n "(cached) " >&6
24343
17133
else
24344
17134
  ac_cv_header_libdevmapper_h=$ac_header_preproc
24345
17135
fi
24346
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libdevmapper_h" >&5
24347
 
echo "${ECHO_T}$ac_cv_header_libdevmapper_h" >&6; }
 
17136
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libdevmapper_h" >&5
 
17137
$as_echo "$ac_cv_header_libdevmapper_h" >&6; }
24348
17138
 
24349
17139
fi
24350
 
if test $ac_cv_header_libdevmapper_h = yes; then
 
17140
if test "x$ac_cv_header_libdevmapper_h" = x""yes; then
24351
17141
  :
24352
17142
else
24353
17143
  unset have_module
24359
17149
 
24360
17150
 
24361
17151
 
24362
 
                { echo "$as_me:$LINENO: checking whether to build libdevmapper module" >&5
24363
 
echo $ECHO_N "checking whether to build libdevmapper module... $ECHO_C" >&6; }
 
17152
                { $as_echo "$as_me:$LINENO: checking whether to build libdevmapper module" >&5
 
17153
$as_echo_n "checking whether to build libdevmapper module... " >&6; }
24364
17154
                if test -n "${have_module+set}"; then
24365
17155
                        if test "x${enable_libdevmapper}" = "xauto"; then
24366
17156
                                if test "x${enable_plugins}" != "xno"; then
24367
 
                                        { echo "$as_me:$LINENO: result: yes, as plugin" >&5
24368
 
echo "${ECHO_T}yes, as plugin" >&6; }
 
17157
                                        { $as_echo "$as_me:$LINENO: result: yes, as plugin" >&5
 
17158
$as_echo "yes, as plugin" >&6; }
24369
17159
                                        build_static=no
24370
17160
                                        build_shared=yes
24371
17161
                                else
24372
 
                                        { echo "$as_me:$LINENO: result: yes" >&5
24373
 
echo "${ECHO_T}yes" >&6; }
 
17162
                                        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
17163
$as_echo "yes" >&6; }
24374
17164
                                        build_static=yes
24375
17165
                                        build_shared=no
24376
17166
                                fi
24377
17167
                        elif test "x${enable_libdevmapper}" = "xshared"; then
24378
17168
                                if test "x${enable_plugins}" != "xno"; then
24379
 
                                        { echo "$as_me:$LINENO: result: yes, as plugin" >&5
24380
 
echo "${ECHO_T}yes, as plugin" >&6; }
 
17169
                                        { $as_echo "$as_me:$LINENO: result: yes, as plugin" >&5
 
17170
$as_echo "yes, as plugin" >&6; }
24381
17171
                                        build_static=no
24382
17172
                                        build_shared=yes
24383
17173
                                else
24384
 
                                        { echo "$as_me:$LINENO: result: no" >&5
24385
 
echo "${ECHO_T}no" >&6; }
24386
 
                                        { { echo "$as_me:$LINENO: error: Can't build libdevmapper module, plugins are disabled" >&5
24387
 
echo "$as_me: error: Can't build libdevmapper module, plugins are disabled" >&2;}
 
17174
                                        { $as_echo "$as_me:$LINENO: result: no" >&5
 
17175
$as_echo "no" >&6; }
 
17176
                                        { { $as_echo "$as_me:$LINENO: error: Can't build libdevmapper module, plugins are disabled" >&5
 
17177
$as_echo "$as_me: error: Can't build libdevmapper module, plugins are disabled" >&2;}
24388
17178
   { (exit 1); exit 1; }; }
24389
17179
                                fi
24390
17180
                        else
24391
 
                                { echo "$as_me:$LINENO: result: yes" >&5
24392
 
echo "${ECHO_T}yes" >&6; }
 
17181
                                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
17182
$as_echo "yes" >&6; }
24393
17183
                                build_static=yes
24394
17184
                                build_shared=no
24395
17185
                        fi
24396
17186
                elif test "x${enable_libdevmapper}" != "xauto"; then
24397
 
                        { echo "$as_me:$LINENO: result: no" >&5
24398
 
echo "${ECHO_T}no" >&6; }
24399
 
                        { { echo "$as_me:$LINENO: error: Unable to build libdevmapper plugin, see messages above" >&5
24400
 
echo "$as_me: error: Unable to build libdevmapper plugin, see messages above" >&2;}
 
17187
                        { $as_echo "$as_me:$LINENO: result: no" >&5
 
17188
$as_echo "no" >&6; }
 
17189
                        { { $as_echo "$as_me:$LINENO: error: Unable to build libdevmapper plugin, see messages above" >&5
 
17190
$as_echo "$as_me: error: Unable to build libdevmapper plugin, see messages above" >&2;}
24401
17191
   { (exit 1); exit 1; }; }
24402
17192
                else
24403
 
                        { echo "$as_me:$LINENO: result: no" >&5
24404
 
echo "${ECHO_T}no" >&6; }
 
17193
                        { $as_echo "$as_me:$LINENO: result: no" >&5
 
17194
$as_echo "no" >&6; }
24405
17195
                        build_static=no
24406
17196
                        build_shared=no
24407
17197
                fi
24408
17198
        else
24409
 
                { echo "$as_me:$LINENO: checking whether to build libdevmapper module" >&5
24410
 
echo $ECHO_N "checking whether to build libdevmapper module... $ECHO_C" >&6; }
24411
 
                { echo "$as_me:$LINENO: result: no" >&5
24412
 
echo "${ECHO_T}no" >&6; }
 
17199
                { $as_echo "$as_me:$LINENO: checking whether to build libdevmapper module" >&5
 
17200
$as_echo_n "checking whether to build libdevmapper module... " >&6; }
 
17201
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
17202
$as_echo "no" >&6; }
24413
17203
                build_static=no
24414
17204
                build_shared=no
24415
17205
        fi
24487
17277
    case $ac_val in #(
24488
17278
    *${as_nl}*)
24489
17279
      case $ac_var in #(
24490
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24491
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
17280
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
17281
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24492
17282
      esac
24493
17283
      case $ac_var in #(
24494
17284
      _ | IFS | as_nl) ;; #(
 
17285
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24495
17286
      *) $as_unset $ac_var ;;
24496
17287
      esac ;;
24497
17288
    esac
24524
17315
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24525
17316
  if test -w "$cache_file"; then
24526
17317
    test "x$cache_file" != "x/dev/null" &&
24527
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24528
 
echo "$as_me: updating cache $cache_file" >&6;}
 
17318
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
17319
$as_echo "$as_me: updating cache $cache_file" >&6;}
24529
17320
    cat confcache >$cache_file
24530
17321
  else
24531
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24532
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
17322
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
17323
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24533
17324
  fi
24534
17325
fi
24535
17326
rm -f confcache
24545
17336
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24546
17337
  # 1. Remove the extension, and $U if already installed.
24547
17338
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24548
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
17339
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24549
17340
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24550
17341
  #    will be set to the directory where LIBOBJS objects are built.
24551
17342
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24557
17348
 
24558
17349
 
24559
17350
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24560
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24561
 
Usually this means the macro was only invoked conditionally." >&5
24562
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
24563
 
Usually this means the macro was only invoked conditionally." >&2;}
24564
 
   { (exit 1); exit 1; }; }
24565
 
fi
24566
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24567
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24568
 
Usually this means the macro was only invoked conditionally." >&5
24569
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24570
 
Usually this means the macro was only invoked conditionally." >&2;}
24571
 
   { (exit 1); exit 1; }; }
24572
 
fi
24573
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24574
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24575
 
Usually this means the macro was only invoked conditionally." >&5
24576
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24577
 
Usually this means the macro was only invoked conditionally." >&2;}
24578
 
   { (exit 1); exit 1; }; }
24579
 
fi
 
17351
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
17352
Usually this means the macro was only invoked conditionally." >&5
 
17353
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
17354
Usually this means the macro was only invoked conditionally." >&2;}
 
17355
   { (exit 1); exit 1; }; }
 
17356
fi
 
17357
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17358
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17359
Usually this means the macro was only invoked conditionally." >&5
 
17360
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
17361
Usually this means the macro was only invoked conditionally." >&2;}
 
17362
   { (exit 1); exit 1; }; }
 
17363
fi
 
17364
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17365
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17366
Usually this means the macro was only invoked conditionally." >&5
 
17367
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
17368
Usually this means the macro was only invoked conditionally." >&2;}
 
17369
   { (exit 1); exit 1; }; }
 
17370
fi
 
17371
 
24580
17372
if test -z "${STATIC_LIBRARY_TRUE}" && test -z "${STATIC_LIBRARY_FALSE}"; then
24581
 
  { { echo "$as_me:$LINENO: error: conditional \"STATIC_LIBRARY\" was never defined.
 
17373
  { { $as_echo "$as_me:$LINENO: error: conditional \"STATIC_LIBRARY\" was never defined.
24582
17374
Usually this means the macro was only invoked conditionally." >&5
24583
 
echo "$as_me: error: conditional \"STATIC_LIBRARY\" was never defined.
 
17375
$as_echo "$as_me: error: conditional \"STATIC_LIBRARY\" was never defined.
24584
17376
Usually this means the macro was only invoked conditionally." >&2;}
24585
17377
   { (exit 1); exit 1; }; }
24586
17378
fi
24587
17379
if test -z "${BUILD_LIBGCRYPT_TRUE}" && test -z "${BUILD_LIBGCRYPT_FALSE}"; then
24588
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGCRYPT\" was never defined.
 
17380
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGCRYPT\" was never defined.
24589
17381
Usually this means the macro was only invoked conditionally." >&5
24590
 
echo "$as_me: error: conditional \"BUILD_LIBGCRYPT\" was never defined.
 
17382
$as_echo "$as_me: error: conditional \"BUILD_LIBGCRYPT\" was never defined.
24591
17383
Usually this means the macro was only invoked conditionally." >&2;}
24592
17384
   { (exit 1); exit 1; }; }
24593
17385
fi
24594
17386
if test -z "${SHARED_LIBGCRYPT_TRUE}" && test -z "${SHARED_LIBGCRYPT_FALSE}"; then
24595
 
  { { echo "$as_me:$LINENO: error: conditional \"SHARED_LIBGCRYPT\" was never defined.
 
17387
  { { $as_echo "$as_me:$LINENO: error: conditional \"SHARED_LIBGCRYPT\" was never defined.
24596
17388
Usually this means the macro was only invoked conditionally." >&5
24597
 
echo "$as_me: error: conditional \"SHARED_LIBGCRYPT\" was never defined.
 
17389
$as_echo "$as_me: error: conditional \"SHARED_LIBGCRYPT\" was never defined.
24598
17390
Usually this means the macro was only invoked conditionally." >&2;}
24599
17391
   { (exit 1); exit 1; }; }
24600
17392
fi
24601
17393
if test -z "${BUILD_LIBDEVMAPPER_TRUE}" && test -z "${BUILD_LIBDEVMAPPER_FALSE}"; then
24602
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBDEVMAPPER\" was never defined.
 
17394
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBDEVMAPPER\" was never defined.
24603
17395
Usually this means the macro was only invoked conditionally." >&5
24604
 
echo "$as_me: error: conditional \"BUILD_LIBDEVMAPPER\" was never defined.
 
17396
$as_echo "$as_me: error: conditional \"BUILD_LIBDEVMAPPER\" was never defined.
24605
17397
Usually this means the macro was only invoked conditionally." >&2;}
24606
17398
   { (exit 1); exit 1; }; }
24607
17399
fi
24608
17400
if test -z "${SHARED_LIBDEVMAPPER_TRUE}" && test -z "${SHARED_LIBDEVMAPPER_FALSE}"; then
24609
 
  { { echo "$as_me:$LINENO: error: conditional \"SHARED_LIBDEVMAPPER\" was never defined.
 
17401
  { { $as_echo "$as_me:$LINENO: error: conditional \"SHARED_LIBDEVMAPPER\" was never defined.
24610
17402
Usually this means the macro was only invoked conditionally." >&5
24611
 
echo "$as_me: error: conditional \"SHARED_LIBDEVMAPPER\" was never defined.
 
17403
$as_echo "$as_me: error: conditional \"SHARED_LIBDEVMAPPER\" was never defined.
24612
17404
Usually this means the macro was only invoked conditionally." >&2;}
24613
17405
   { (exit 1); exit 1; }; }
24614
17406
fi
24615
17407
if test -z "${STATIC_CRYPTSETUP_TRUE}" && test -z "${STATIC_CRYPTSETUP_FALSE}"; then
24616
 
  { { echo "$as_me:$LINENO: error: conditional \"STATIC_CRYPTSETUP\" was never defined.
 
17408
  { { $as_echo "$as_me:$LINENO: error: conditional \"STATIC_CRYPTSETUP\" was never defined.
24617
17409
Usually this means the macro was only invoked conditionally." >&5
24618
 
echo "$as_me: error: conditional \"STATIC_CRYPTSETUP\" was never defined.
 
17410
$as_echo "$as_me: error: conditional \"STATIC_CRYPTSETUP\" was never defined.
24619
17411
Usually this means the macro was only invoked conditionally." >&2;}
24620
17412
   { (exit 1); exit 1; }; }
24621
17413
fi
24622
17414
if test -z "${DYNAMIC_CRYPTSETUP_TRUE}" && test -z "${DYNAMIC_CRYPTSETUP_FALSE}"; then
24623
 
  { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_CRYPTSETUP\" was never defined.
 
17415
  { { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_CRYPTSETUP\" was never defined.
24624
17416
Usually this means the macro was only invoked conditionally." >&5
24625
 
echo "$as_me: error: conditional \"DYNAMIC_CRYPTSETUP\" was never defined.
 
17417
$as_echo "$as_me: error: conditional \"DYNAMIC_CRYPTSETUP\" was never defined.
24626
17418
Usually this means the macro was only invoked conditionally." >&2;}
24627
17419
   { (exit 1); exit 1; }; }
24628
17420
fi
24629
17421
 
24630
17422
: ${CONFIG_STATUS=./config.status}
 
17423
ac_write_fail=0
24631
17424
ac_clean_files_save=$ac_clean_files
24632
17425
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24633
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24634
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
24635
 
cat >$CONFIG_STATUS <<_ACEOF
 
17426
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
17427
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
17428
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24636
17429
#! $SHELL
24637
17430
# Generated by $as_me.
24638
17431
# Run this file to recreate the current configuration.
24645
17438
SHELL=\${CONFIG_SHELL-$SHELL}
24646
17439
_ACEOF
24647
17440
 
24648
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17441
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24649
17442
## --------------------- ##
24650
17443
## M4sh Initialization.  ##
24651
17444
## --------------------- ##
24655
17448
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24656
17449
  emulate sh
24657
17450
  NULLCMD=:
24658
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17451
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24659
17452
  # is contrary to our usage.  Disable this feature.
24660
17453
  alias -g '${1+"$@"}'='"$@"'
24661
17454
  setopt NO_GLOB_SUBST
24677
17470
as_cr_digits='0123456789'
24678
17471
as_cr_alnum=$as_cr_Letters$as_cr_digits
24679
17472
 
 
17473
as_nl='
 
17474
'
 
17475
export as_nl
 
17476
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
17477
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
17478
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
17479
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
17480
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17481
  as_echo='printf %s\n'
 
17482
  as_echo_n='printf %s'
 
17483
else
 
17484
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
17485
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
17486
    as_echo_n='/usr/ucb/echo -n'
 
17487
  else
 
17488
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
17489
    as_echo_n_body='eval
 
17490
      arg=$1;
 
17491
      case $arg in
 
17492
      *"$as_nl"*)
 
17493
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
17494
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
17495
      esac;
 
17496
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
17497
    '
 
17498
    export as_echo_n_body
 
17499
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
17500
  fi
 
17501
  export as_echo_body
 
17502
  as_echo='sh -c $as_echo_body as_echo'
 
17503
fi
 
17504
 
24680
17505
# The user is always right.
24681
17506
if test "${PATH_SEPARATOR+set}" != set; then
24682
 
  echo "#! /bin/sh" >conf$$.sh
24683
 
  echo  "exit 0"   >>conf$$.sh
24684
 
  chmod +x conf$$.sh
24685
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24686
 
    PATH_SEPARATOR=';'
24687
 
  else
24688
 
    PATH_SEPARATOR=:
24689
 
  fi
24690
 
  rm -f conf$$.sh
 
17507
  PATH_SEPARATOR=:
 
17508
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
17509
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
17510
      PATH_SEPARATOR=';'
 
17511
  }
24691
17512
fi
24692
17513
 
24693
17514
# Support unset when possible.
24703
17524
# there to prevent editors from complaining about space-tab.
24704
17525
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24705
17526
# splitting by setting IFS to empty value.)
24706
 
as_nl='
24707
 
'
24708
17527
IFS=" ""        $as_nl"
24709
17528
 
24710
17529
# Find who we are.  Look in the path if we contain no directory separator.
24727
17546
  as_myself=$0
24728
17547
fi
24729
17548
if test ! -f "$as_myself"; then
24730
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
17549
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24731
17550
  { (exit 1); exit 1; }
24732
17551
fi
24733
17552
 
24740
17559
PS4='+ '
24741
17560
 
24742
17561
# NLS nuisances.
24743
 
for as_var in \
24744
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24745
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24746
 
  LC_TELEPHONE LC_TIME
24747
 
do
24748
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24749
 
    eval $as_var=C; export $as_var
24750
 
  else
24751
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24752
 
  fi
24753
 
done
 
17562
LC_ALL=C
 
17563
export LC_ALL
 
17564
LANGUAGE=C
 
17565
export LANGUAGE
24754
17566
 
24755
17567
# Required to use basename.
24756
17568
if expr a : '\(a\)' >/dev/null 2>&1 &&
24772
17584
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24773
17585
         X"$0" : 'X\(//\)$' \| \
24774
17586
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24775
 
echo X/"$0" |
 
17587
$as_echo X/"$0" |
24776
17588
    sed '/^.*\/\([^/][^/]*\)\/*$/{
24777
17589
            s//\1/
24778
17590
            q
24823
17635
      s/-\n.*//
24824
17636
    ' >$as_me.lineno &&
24825
17637
  chmod +x "$as_me.lineno" ||
24826
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
17638
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24827
17639
   { (exit 1); exit 1; }; }
24828
17640
 
24829
17641
  # Don't try to exec as it changes $[0], causing all sort of problems
24851
17663
*)
24852
17664
  ECHO_N='-n';;
24853
17665
esac
24854
 
 
24855
17666
if expr a : '\(a\)' >/dev/null 2>&1 &&
24856
17667
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24857
17668
  as_expr=expr
24864
17675
  rm -f conf$$.dir/conf$$.file
24865
17676
else
24866
17677
  rm -f conf$$.dir
24867
 
  mkdir conf$$.dir
 
17678
  mkdir conf$$.dir 2>/dev/null
24868
17679
fi
24869
 
echo >conf$$.file
24870
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
24871
 
  as_ln_s='ln -s'
24872
 
  # ... but there are two gotchas:
24873
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24874
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24875
 
  # In both cases, we have to default to `cp -p'.
24876
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
17680
if (echo >conf$$.file) 2>/dev/null; then
 
17681
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
17682
    as_ln_s='ln -s'
 
17683
    # ... but there are two gotchas:
 
17684
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
17685
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
17686
    # In both cases, we have to default to `cp -p'.
 
17687
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
17688
      as_ln_s='cp -p'
 
17689
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
17690
    as_ln_s=ln
 
17691
  else
24877
17692
    as_ln_s='cp -p'
24878
 
elif ln conf$$.file conf$$ 2>/dev/null; then
24879
 
  as_ln_s=ln
 
17693
  fi
24880
17694
else
24881
17695
  as_ln_s='cp -p'
24882
17696
fi
24901
17715
  as_test_x='
24902
17716
    eval sh -c '\''
24903
17717
      if test -d "$1"; then
24904
 
        test -d "$1/.";
 
17718
        test -d "$1/.";
24905
17719
      else
24906
17720
        case $1 in
24907
 
        -*)set "./$1";;
 
17721
        -*)set "./$1";;
24908
17722
        esac;
24909
17723
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
24910
17724
        ???[sx]*):;;*)false;;esac;fi
24927
17741
# values after options handling.
24928
17742
ac_log="
24929
17743
This file was extended by cryptsetup $as_me 1.0.6, which was
24930
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
17744
generated by GNU Autoconf 2.63.  Invocation command line was
24931
17745
 
24932
17746
  CONFIG_FILES    = $CONFIG_FILES
24933
17747
  CONFIG_HEADERS  = $CONFIG_HEADERS
24940
17754
 
24941
17755
_ACEOF
24942
17756
 
24943
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17757
case $ac_config_files in *"
 
17758
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
17759
esac
 
17760
 
 
17761
case $ac_config_headers in *"
 
17762
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
17763
esac
 
17764
 
 
17765
 
 
17766
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24944
17767
# Files that config.status was made for.
24945
17768
config_files="$ac_config_files"
24946
17769
config_headers="$ac_config_headers"
24948
17771
 
24949
17772
_ACEOF
24950
17773
 
24951
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17774
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24952
17775
ac_cs_usage="\
24953
17776
\`$as_me' instantiates files from templates according to the
24954
17777
current configuration.
24955
17778
 
24956
 
Usage: $0 [OPTIONS] [FILE]...
 
17779
Usage: $0 [OPTION]... [FILE]...
24957
17780
 
24958
17781
  -h, --help       print this help, then exit
24959
17782
  -V, --version    print version number and configuration settings, then exit
24960
 
  -q, --quiet      do not print progress messages
 
17783
  -q, --quiet, --silent
 
17784
                   do not print progress messages
24961
17785
  -d, --debug      don't remove temporary files
24962
17786
      --recheck    update $as_me by reconfiguring in the same conditions
24963
 
  --file=FILE[:TEMPLATE]
24964
 
                   instantiate the configuration file FILE
24965
 
  --header=FILE[:TEMPLATE]
24966
 
                   instantiate the configuration header FILE
 
17787
      --file=FILE[:TEMPLATE]
 
17788
                   instantiate the configuration file FILE
 
17789
      --header=FILE[:TEMPLATE]
 
17790
                   instantiate the configuration header FILE
24967
17791
 
24968
17792
Configuration files:
24969
17793
$config_files
24977
17801
Report bugs to <bug-autoconf@gnu.org>."
24978
17802
 
24979
17803
_ACEOF
24980
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17804
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24981
17805
ac_cs_version="\\
24982
17806
cryptsetup config.status 1.0.6
24983
 
configured by $0, generated by GNU Autoconf 2.61,
24984
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
17807
configured by $0, generated by GNU Autoconf 2.63,
 
17808
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24985
17809
 
24986
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
17810
Copyright (C) 2008 Free Software Foundation, Inc.
24987
17811
This config.status script is free software; the Free Software Foundation
24988
17812
gives unlimited permission to copy, distribute and modify it."
24989
17813
 
24990
17814
ac_pwd='$ac_pwd'
24991
17815
srcdir='$srcdir'
24992
17816
INSTALL='$INSTALL'
 
17817
AWK='$AWK'
 
17818
test -n "\$AWK" || AWK=awk
24993
17819
_ACEOF
24994
17820
 
24995
 
cat >>$CONFIG_STATUS <<\_ACEOF
24996
 
# If no file are specified by the user, then we need to provide default
24997
 
# value.  By we need to know if files were specified by the user.
 
17821
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17822
# The default lists apply if the user does not specify any file.
24998
17823
ac_need_defaults=:
24999
17824
while test $# != 0
25000
17825
do
25016
17841
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25017
17842
    ac_cs_recheck=: ;;
25018
17843
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25019
 
    echo "$ac_cs_version"; exit ;;
 
17844
    $as_echo "$ac_cs_version"; exit ;;
25020
17845
  --debug | --debu | --deb | --de | --d | -d )
25021
17846
    debug=: ;;
25022
17847
  --file | --fil | --fi | --f )
25023
17848
    $ac_shift
25024
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
17849
    case $ac_optarg in
 
17850
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17851
    esac
 
17852
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
25025
17853
    ac_need_defaults=false;;
25026
17854
  --header | --heade | --head | --hea )
25027
17855
    $ac_shift
25028
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
17856
    case $ac_optarg in
 
17857
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17858
    esac
 
17859
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
25029
17860
    ac_need_defaults=false;;
25030
17861
  --he | --h)
25031
17862
    # Conflict between --help and --header
25032
 
    { echo "$as_me: error: ambiguous option: $1
 
17863
    { $as_echo "$as_me: error: ambiguous option: $1
25033
17864
Try \`$0 --help' for more information." >&2
25034
17865
   { (exit 1); exit 1; }; };;
25035
17866
  --help | --hel | -h )
25036
 
    echo "$ac_cs_usage"; exit ;;
 
17867
    $as_echo "$ac_cs_usage"; exit ;;
25037
17868
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25038
17869
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
25039
17870
    ac_cs_silent=: ;;
25040
17871
 
25041
17872
  # This is an error.
25042
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
17873
  -*) { $as_echo "$as_me: error: unrecognized option: $1
25043
17874
Try \`$0 --help' for more information." >&2
25044
17875
   { (exit 1); exit 1; }; } ;;
25045
17876
 
25058
17889
fi
25059
17890
 
25060
17891
_ACEOF
25061
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17892
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25062
17893
if \$ac_cs_recheck; then
25063
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25064
 
  CONFIG_SHELL=$SHELL
 
17894
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17895
  shift
 
17896
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
17897
  CONFIG_SHELL='$SHELL'
25065
17898
  export CONFIG_SHELL
25066
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17899
  exec "\$@"
25067
17900
fi
25068
17901
 
25069
17902
_ACEOF
25070
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17903
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25071
17904
exec 5>>config.log
25072
17905
{
25073
17906
  echo
25074
17907
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25075
17908
## Running $as_me. ##
25076
17909
_ASBOX
25077
 
  echo "$ac_log"
 
17910
  $as_echo "$ac_log"
25078
17911
} >&5
25079
17912
 
25080
17913
_ACEOF
25081
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17914
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25082
17915
#
25083
17916
# INIT-COMMANDS
25084
17917
#
25085
17918
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
17919
 
 
17920
 
 
17921
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
17922
# if CDPATH is set.
 
17923
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17924
 
 
17925
sed_quote_subst='$sed_quote_subst'
 
17926
double_quote_subst='$double_quote_subst'
 
17927
delay_variable_subst='$delay_variable_subst'
 
17928
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17929
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
17930
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
17931
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
17932
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
17933
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
17934
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17935
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
17936
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17937
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17938
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
17939
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17940
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
17941
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
17942
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17943
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17944
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17945
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
17946
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
17947
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
17948
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
17949
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
17950
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
17951
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
17952
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
17953
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
17954
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17955
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17956
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
17957
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
17958
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
17959
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
17960
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
17961
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
17962
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
17963
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17964
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17965
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17966
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
17967
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
17968
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
17969
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
17970
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
17971
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
17972
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"`'
 
17973
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"`'
 
17974
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
17975
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
17976
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
17977
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
17978
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17979
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
17980
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
17981
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17982
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
17983
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
17984
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
17985
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
17986
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
17987
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
17988
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
17989
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
17990
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17991
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17992
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
17993
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
17994
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17995
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17996
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
17997
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17998
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17999
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18000
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18001
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18002
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18003
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18004
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18005
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18006
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18007
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18008
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
18009
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
18010
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
18011
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
18012
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18013
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
18014
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18015
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
18016
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18017
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
18018
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18019
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18020
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18021
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18022
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18023
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
18024
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18025
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18026
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
18027
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18028
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18029
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18030
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18031
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18032
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18033
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18034
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18035
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18036
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
18037
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
18038
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18039
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18040
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
18041
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
18042
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
18043
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18044
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18045
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18046
 
 
18047
LTCC='$LTCC'
 
18048
LTCFLAGS='$LTCFLAGS'
 
18049
compiler='$compiler_DEFAULT'
 
18050
 
 
18051
# Quote evaled strings.
 
18052
for var in SED \
 
18053
GREP \
 
18054
EGREP \
 
18055
FGREP \
 
18056
LD \
 
18057
NM \
 
18058
LN_S \
 
18059
lt_SP2NL \
 
18060
lt_NL2SP \
 
18061
reload_flag \
 
18062
OBJDUMP \
 
18063
deplibs_check_method \
 
18064
file_magic_cmd \
 
18065
AR \
 
18066
AR_FLAGS \
 
18067
STRIP \
 
18068
RANLIB \
 
18069
CC \
 
18070
CFLAGS \
 
18071
compiler \
 
18072
lt_cv_sys_global_symbol_pipe \
 
18073
lt_cv_sys_global_symbol_to_cdecl \
 
18074
lt_cv_sys_global_symbol_to_c_name_address \
 
18075
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
18076
SHELL \
 
18077
ECHO \
 
18078
lt_prog_compiler_no_builtin_flag \
 
18079
lt_prog_compiler_wl \
 
18080
lt_prog_compiler_pic \
 
18081
lt_prog_compiler_static \
 
18082
lt_cv_prog_compiler_c_o \
 
18083
need_locks \
 
18084
DSYMUTIL \
 
18085
NMEDIT \
 
18086
LIPO \
 
18087
OTOOL \
 
18088
OTOOL64 \
 
18089
shrext_cmds \
 
18090
export_dynamic_flag_spec \
 
18091
whole_archive_flag_spec \
 
18092
compiler_needs_object \
 
18093
with_gnu_ld \
 
18094
allow_undefined_flag \
 
18095
no_undefined_flag \
 
18096
hardcode_libdir_flag_spec \
 
18097
hardcode_libdir_flag_spec_ld \
 
18098
hardcode_libdir_separator \
 
18099
fix_srcfile_path \
 
18100
exclude_expsyms \
 
18101
include_expsyms \
 
18102
file_list_spec \
 
18103
variables_saved_for_relink \
 
18104
libname_spec \
 
18105
library_names_spec \
 
18106
soname_spec \
 
18107
finish_eval \
 
18108
old_striplib \
 
18109
striplib; do
 
18110
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18111
    *[\\\\\\\`\\"\\\$]*)
 
18112
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
18113
      ;;
 
18114
    *)
 
18115
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18116
      ;;
 
18117
    esac
 
18118
done
 
18119
 
 
18120
# Double-quote double-evaled strings.
 
18121
for var in reload_cmds \
 
18122
old_postinstall_cmds \
 
18123
old_postuninstall_cmds \
 
18124
old_archive_cmds \
 
18125
extract_expsyms_cmds \
 
18126
old_archive_from_new_cmds \
 
18127
old_archive_from_expsyms_cmds \
 
18128
archive_cmds \
 
18129
archive_expsym_cmds \
 
18130
module_cmds \
 
18131
module_expsym_cmds \
 
18132
export_symbols_cmds \
 
18133
prelink_cmds \
 
18134
postinstall_cmds \
 
18135
postuninstall_cmds \
 
18136
finish_cmds \
 
18137
sys_lib_search_path_spec \
 
18138
sys_lib_dlsearch_path_spec; do
 
18139
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18140
    *[\\\\\\\`\\"\\\$]*)
 
18141
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
18142
      ;;
 
18143
    *)
 
18144
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18145
      ;;
 
18146
    esac
 
18147
done
 
18148
 
 
18149
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
18150
case \$lt_ECHO in
 
18151
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
18152
  ;;
 
18153
esac
 
18154
 
 
18155
ac_aux_dir='$ac_aux_dir'
 
18156
xsi_shell='$xsi_shell'
 
18157
lt_shell_append='$lt_shell_append'
 
18158
 
 
18159
# See if we are running on zsh, and set the options which allow our
 
18160
# commands through without removal of \ escapes INIT.
 
18161
if test -n "\${ZSH_VERSION+set}" ; then
 
18162
   setopt NO_GLOB_SUBST
 
18163
fi
 
18164
 
 
18165
 
 
18166
    PACKAGE='$PACKAGE'
 
18167
    VERSION='$VERSION'
 
18168
    TIMESTAMP='$TIMESTAMP'
 
18169
    RM='$RM'
 
18170
    ofile='$ofile'
 
18171
 
 
18172
 
 
18173
 
25086
18174
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
25087
18175
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
25088
18176
    # from automake < 1.5.
25093
18181
 
25094
18182
_ACEOF
25095
18183
 
25096
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18184
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25097
18185
 
25098
18186
# Handling of arguments.
25099
18187
for ac_config_target in $ac_config_targets
25101
18189
  case $ac_config_target in
25102
18190
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
25103
18191
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
18192
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25104
18193
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
25105
18194
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
25106
18195
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25110
18199
    "luks/Makefile") CONFIG_FILES="$CONFIG_FILES luks/Makefile" ;;
25111
18200
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
25112
18201
 
25113
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25114
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
18202
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
18203
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25115
18204
   { (exit 1); exit 1; }; };;
25116
18205
  esac
25117
18206
done
25152
18241
  (umask 077 && mkdir "$tmp")
25153
18242
} ||
25154
18243
{
25155
 
   echo "$me: cannot create a temporary directory in ." >&2
 
18244
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
25156
18245
   { (exit 1); exit 1; }
25157
18246
}
25158
18247
 
25159
 
#
25160
 
# Set up the sed scripts for CONFIG_FILES section.
25161
 
#
25162
 
 
25163
 
# No need to generate the scripts if there are no CONFIG_FILES.
25164
 
# This happens for instance when ./config.status config.h
 
18248
# Set up the scripts for CONFIG_FILES section.
 
18249
# No need to generate them if there are no CONFIG_FILES.
 
18250
# This happens for instance with `./config.status config.h'.
25165
18251
if test -n "$CONFIG_FILES"; then
25166
18252
 
25167
 
_ACEOF
25168
 
 
25169
 
 
25170
 
 
25171
 
ac_delim='%!_!# '
25172
 
for ac_last_try in false false false false false :; do
25173
 
  cat >conf$$subs.sed <<_ACEOF
25174
 
SHELL!$SHELL$ac_delim
25175
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25176
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25177
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25178
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25179
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25180
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25181
 
exec_prefix!$exec_prefix$ac_delim
25182
 
prefix!$prefix$ac_delim
25183
 
program_transform_name!$program_transform_name$ac_delim
25184
 
bindir!$bindir$ac_delim
25185
 
sbindir!$sbindir$ac_delim
25186
 
libexecdir!$libexecdir$ac_delim
25187
 
datarootdir!$datarootdir$ac_delim
25188
 
datadir!$datadir$ac_delim
25189
 
sysconfdir!$sysconfdir$ac_delim
25190
 
sharedstatedir!$sharedstatedir$ac_delim
25191
 
localstatedir!$localstatedir$ac_delim
25192
 
includedir!$includedir$ac_delim
25193
 
oldincludedir!$oldincludedir$ac_delim
25194
 
docdir!$docdir$ac_delim
25195
 
infodir!$infodir$ac_delim
25196
 
htmldir!$htmldir$ac_delim
25197
 
dvidir!$dvidir$ac_delim
25198
 
pdfdir!$pdfdir$ac_delim
25199
 
psdir!$psdir$ac_delim
25200
 
libdir!$libdir$ac_delim
25201
 
localedir!$localedir$ac_delim
25202
 
mandir!$mandir$ac_delim
25203
 
DEFS!$DEFS$ac_delim
25204
 
ECHO_C!$ECHO_C$ac_delim
25205
 
ECHO_N!$ECHO_N$ac_delim
25206
 
ECHO_T!$ECHO_T$ac_delim
25207
 
LIBS!$LIBS$ac_delim
25208
 
build_alias!$build_alias$ac_delim
25209
 
host_alias!$host_alias$ac_delim
25210
 
target_alias!$target_alias$ac_delim
25211
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25212
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25213
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
25214
 
CYGPATH_W!$CYGPATH_W$ac_delim
25215
 
PACKAGE!$PACKAGE$ac_delim
25216
 
VERSION!$VERSION$ac_delim
25217
 
ACLOCAL!$ACLOCAL$ac_delim
25218
 
AUTOCONF!$AUTOCONF$ac_delim
25219
 
AUTOMAKE!$AUTOMAKE$ac_delim
25220
 
AUTOHEADER!$AUTOHEADER$ac_delim
25221
 
MAKEINFO!$MAKEINFO$ac_delim
25222
 
install_sh!$install_sh$ac_delim
25223
 
STRIP!$STRIP$ac_delim
25224
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
25225
 
mkdir_p!$mkdir_p$ac_delim
25226
 
AWK!$AWK$ac_delim
25227
 
SET_MAKE!$SET_MAKE$ac_delim
25228
 
am__leading_dot!$am__leading_dot$ac_delim
25229
 
AMTAR!$AMTAR$ac_delim
25230
 
am__tar!$am__tar$ac_delim
25231
 
am__untar!$am__untar$ac_delim
25232
 
build!$build$ac_delim
25233
 
build_cpu!$build_cpu$ac_delim
25234
 
build_vendor!$build_vendor$ac_delim
25235
 
build_os!$build_os$ac_delim
25236
 
host!$host$ac_delim
25237
 
host_cpu!$host_cpu$ac_delim
25238
 
host_vendor!$host_vendor$ac_delim
25239
 
host_os!$host_os$ac_delim
25240
 
CC!$CC$ac_delim
25241
 
CFLAGS!$CFLAGS$ac_delim
25242
 
LDFLAGS!$LDFLAGS$ac_delim
25243
 
CPPFLAGS!$CPPFLAGS$ac_delim
25244
 
ac_ct_CC!$ac_ct_CC$ac_delim
25245
 
EXEEXT!$EXEEXT$ac_delim
25246
 
OBJEXT!$OBJEXT$ac_delim
25247
 
DEPDIR!$DEPDIR$ac_delim
25248
 
am__include!$am__include$ac_delim
25249
 
am__quote!$am__quote$ac_delim
25250
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
25251
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
25252
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
25253
 
CCDEPMODE!$CCDEPMODE$ac_delim
25254
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
25255
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
25256
 
CPP!$CPP$ac_delim
25257
 
SED!$SED$ac_delim
25258
 
GREP!$GREP$ac_delim
25259
 
EGREP!$EGREP$ac_delim
25260
 
LN_S!$LN_S$ac_delim
25261
 
ECHO!$ECHO$ac_delim
25262
 
AR!$AR$ac_delim
25263
 
RANLIB!$RANLIB$ac_delim
25264
 
DSYMUTIL!$DSYMUTIL$ac_delim
25265
 
NMEDIT!$NMEDIT$ac_delim
25266
 
CXX!$CXX$ac_delim
25267
 
CXXFLAGS!$CXXFLAGS$ac_delim
25268
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
25269
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
25270
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
25271
 
_ACEOF
25272
 
 
25273
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
25274
 
    break
25275
 
  elif $ac_last_try; then
25276
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25277
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25278
 
   { (exit 1); exit 1; }; }
25279
 
  else
25280
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25281
 
  fi
25282
 
done
25283
 
 
25284
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25285
 
if test -n "$ac_eof"; then
25286
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25287
 
  ac_eof=`expr $ac_eof + 1`
25288
 
fi
25289
 
 
25290
 
cat >>$CONFIG_STATUS <<_ACEOF
25291
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25292
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25293
 
_ACEOF
25294
 
sed '
25295
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25296
 
s/^/s,@/; s/!/@,|#_!!_#|/
25297
 
:n
25298
 
t n
25299
 
s/'"$ac_delim"'$/,g/; t
25300
 
s/$/\\/; p
25301
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25302
 
' >>$CONFIG_STATUS <conf$$subs.sed
25303
 
rm -f conf$$subs.sed
25304
 
cat >>$CONFIG_STATUS <<_ACEOF
25305
 
CEOF$ac_eof
25306
 
_ACEOF
25307
 
 
25308
 
 
25309
 
ac_delim='%!_!# '
25310
 
for ac_last_try in false false false false false :; do
25311
 
  cat >conf$$subs.sed <<_ACEOF
25312
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
25313
 
CXXCPP!$CXXCPP$ac_delim
25314
 
F77!$F77$ac_delim
25315
 
FFLAGS!$FFLAGS$ac_delim
25316
 
ac_ct_F77!$ac_ct_F77$ac_delim
25317
 
LIBTOOL!$LIBTOOL$ac_delim
25318
 
UUID_LIBS!$UUID_LIBS$ac_delim
25319
 
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
25320
 
USE_NLS!$USE_NLS$ac_delim
25321
 
MSGFMT!$MSGFMT$ac_delim
25322
 
GMSGFMT!$GMSGFMT$ac_delim
25323
 
MSGFMT_015!$MSGFMT_015$ac_delim
25324
 
GMSGFMT_015!$GMSGFMT_015$ac_delim
25325
 
XGETTEXT!$XGETTEXT$ac_delim
25326
 
XGETTEXT_015!$XGETTEXT_015$ac_delim
25327
 
MSGMERGE!$MSGMERGE$ac_delim
25328
 
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
25329
 
LIBICONV!$LIBICONV$ac_delim
25330
 
LTLIBICONV!$LTLIBICONV$ac_delim
25331
 
INTLLIBS!$INTLLIBS$ac_delim
25332
 
LIBINTL!$LIBINTL$ac_delim
25333
 
LTLIBINTL!$LTLIBINTL$ac_delim
25334
 
POSUB!$POSUB$ac_delim
25335
 
POPT_LIBS!$POPT_LIBS$ac_delim
25336
 
STATIC_LIBRARY_TRUE!$STATIC_LIBRARY_TRUE$ac_delim
25337
 
STATIC_LIBRARY_FALSE!$STATIC_LIBRARY_FALSE$ac_delim
25338
 
LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
25339
 
LIBGCRYPT_CFLAGS!$LIBGCRYPT_CFLAGS$ac_delim
25340
 
LIBGCRYPT_LIBS!$LIBGCRYPT_LIBS$ac_delim
25341
 
BUILD_LIBGCRYPT_TRUE!$BUILD_LIBGCRYPT_TRUE$ac_delim
25342
 
BUILD_LIBGCRYPT_FALSE!$BUILD_LIBGCRYPT_FALSE$ac_delim
25343
 
SHARED_LIBGCRYPT_TRUE!$SHARED_LIBGCRYPT_TRUE$ac_delim
25344
 
SHARED_LIBGCRYPT_FALSE!$SHARED_LIBGCRYPT_FALSE$ac_delim
25345
 
LIBDEVMAPPER_LIBS!$LIBDEVMAPPER_LIBS$ac_delim
25346
 
LIBDEVMAPPER_CFLAGS!$LIBDEVMAPPER_CFLAGS$ac_delim
25347
 
BUILD_LIBDEVMAPPER_TRUE!$BUILD_LIBDEVMAPPER_TRUE$ac_delim
25348
 
BUILD_LIBDEVMAPPER_FALSE!$BUILD_LIBDEVMAPPER_FALSE$ac_delim
25349
 
SHARED_LIBDEVMAPPER_TRUE!$SHARED_LIBDEVMAPPER_TRUE$ac_delim
25350
 
SHARED_LIBDEVMAPPER_FALSE!$SHARED_LIBDEVMAPPER_FALSE$ac_delim
25351
 
STATIC_CRYPTSETUP_TRUE!$STATIC_CRYPTSETUP_TRUE$ac_delim
25352
 
STATIC_CRYPTSETUP_FALSE!$STATIC_CRYPTSETUP_FALSE$ac_delim
25353
 
DYNAMIC_CRYPTSETUP_TRUE!$DYNAMIC_CRYPTSETUP_TRUE$ac_delim
25354
 
DYNAMIC_CRYPTSETUP_FALSE!$DYNAMIC_CRYPTSETUP_FALSE$ac_delim
25355
 
LIBOBJS!$LIBOBJS$ac_delim
25356
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
25357
 
_ACEOF
25358
 
 
25359
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
25360
 
    break
25361
 
  elif $ac_last_try; then
25362
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25363
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25364
 
   { (exit 1); exit 1; }; }
25365
 
  else
25366
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25367
 
  fi
25368
 
done
25369
 
 
25370
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25371
 
if test -n "$ac_eof"; then
25372
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25373
 
  ac_eof=`expr $ac_eof + 1`
25374
 
fi
25375
 
 
25376
 
cat >>$CONFIG_STATUS <<_ACEOF
25377
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25378
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25379
 
_ACEOF
25380
 
sed '
25381
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25382
 
s/^/s,@/; s/!/@,|#_!!_#|/
25383
 
:n
25384
 
t n
25385
 
s/'"$ac_delim"'$/,g/; t
25386
 
s/$/\\/; p
25387
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25388
 
' >>$CONFIG_STATUS <conf$$subs.sed
25389
 
rm -f conf$$subs.sed
25390
 
cat >>$CONFIG_STATUS <<_ACEOF
25391
 
:end
25392
 
s/|#_!!_#|//g
25393
 
CEOF$ac_eof
25394
 
_ACEOF
25395
 
 
 
18253
 
 
18254
ac_cr='
 
 
b"'"
 
18255
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
18256
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
18257
  ac_cs_awk_cr='\\r'
 
18258
else
 
18259
  ac_cs_awk_cr=$ac_cr
 
18260
fi
 
18261
 
 
18262
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
18263
_ACEOF
 
18264
 
 
18265
 
 
18266
{
 
18267
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
18268
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
18269
  echo "_ACEOF"
 
18270
} >conf$$subs.sh ||
 
18271
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18272
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18273
   { (exit 1); exit 1; }; }
 
18274
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
18275
ac_delim='%!_!# '
 
18276
for ac_last_try in false false false false false :; do
 
18277
  . ./conf$$subs.sh ||
 
18278
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18279
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18280
   { (exit 1); exit 1; }; }
 
18281
 
 
18282
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
18283
  if test $ac_delim_n = $ac_delim_num; then
 
18284
    break
 
18285
  elif $ac_last_try; then
 
18286
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18287
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18288
   { (exit 1); exit 1; }; }
 
18289
  else
 
18290
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18291
  fi
 
18292
done
 
18293
rm -f conf$$subs.sh
 
18294
 
 
18295
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18296
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
18297
_ACEOF
 
18298
sed -n '
 
18299
h
 
18300
s/^/S["/; s/!.*/"]=/
 
18301
p
 
18302
g
 
18303
s/^[^!]*!//
 
18304
:repl
 
18305
t repl
 
18306
s/'"$ac_delim"'$//
 
18307
t delim
 
18308
:nl
 
18309
h
 
18310
s/\(.\{148\}\).*/\1/
 
18311
t more1
 
18312
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
18313
p
 
18314
n
 
18315
b repl
 
18316
:more1
 
18317
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18318
p
 
18319
g
 
18320
s/.\{148\}//
 
18321
t nl
 
18322
:delim
 
18323
h
 
18324
s/\(.\{148\}\).*/\1/
 
18325
t more2
 
18326
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
18327
p
 
18328
b
 
18329
:more2
 
18330
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18331
p
 
18332
g
 
18333
s/.\{148\}//
 
18334
t delim
 
18335
' <conf$$subs.awk | sed '
 
18336
/^[^""]/{
 
18337
  N
 
18338
  s/\n//
 
18339
}
 
18340
' >>$CONFIG_STATUS || ac_write_fail=1
 
18341
rm -f conf$$subs.awk
 
18342
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18343
_ACAWK
 
18344
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
18345
  for (key in S) S_is_set[key] = 1
 
18346
  FS = ""
 
18347
 
 
18348
}
 
18349
{
 
18350
  line = $ 0
 
18351
  nfields = split(line, field, "@")
 
18352
  substed = 0
 
18353
  len = length(field[1])
 
18354
  for (i = 2; i < nfields; i++) {
 
18355
    key = field[i]
 
18356
    keylen = length(key)
 
18357
    if (S_is_set[key]) {
 
18358
      value = S[key]
 
18359
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
18360
      len += length(value) + length(field[++i])
 
18361
      substed = 1
 
18362
    } else
 
18363
      len += 1 + keylen
 
18364
  }
 
18365
 
 
18366
  print line
 
18367
}
 
18368
 
 
18369
_ACAWK
 
18370
_ACEOF
 
18371
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18372
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
18373
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
18374
else
 
18375
  cat
 
18376
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
18377
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
18378
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
18379
   { (exit 1); exit 1; }; }
 
18380
_ACEOF
25396
18381
 
25397
18382
# VPATH may cause trouble with some makes, so we remove $(srcdir),
25398
18383
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25409
18394
}'
25410
18395
fi
25411
18396
 
25412
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18397
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25413
18398
fi # test -n "$CONFIG_FILES"
25414
18399
 
25415
 
 
25416
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
18400
# Set up the scripts for CONFIG_HEADERS section.
 
18401
# No need to generate them if there are no CONFIG_HEADERS.
 
18402
# This happens for instance with `./config.status Makefile'.
 
18403
if test -n "$CONFIG_HEADERS"; then
 
18404
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
18405
BEGIN {
 
18406
_ACEOF
 
18407
 
 
18408
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
18409
# here-document in config.status, that substitutes the proper values into
 
18410
# config.h.in to produce config.h.
 
18411
 
 
18412
# Create a delimiter string that does not exist in confdefs.h, to ease
 
18413
# handling of long lines.
 
18414
ac_delim='%!_!# '
 
18415
for ac_last_try in false false :; do
 
18416
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
18417
  if test -z "$ac_t"; then
 
18418
    break
 
18419
  elif $ac_last_try; then
 
18420
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
18421
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
18422
   { (exit 1); exit 1; }; }
 
18423
  else
 
18424
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18425
  fi
 
18426
done
 
18427
 
 
18428
# For the awk script, D is an array of macro values keyed by name,
 
18429
# likewise P contains macro parameters if any.  Preserve backslash
 
18430
# newline sequences.
 
18431
 
 
18432
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
18433
sed -n '
 
18434
s/.\{148\}/&'"$ac_delim"'/g
 
18435
t rset
 
18436
:rset
 
18437
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
18438
t def
 
18439
d
 
18440
:def
 
18441
s/\\$//
 
18442
t bsnl
 
18443
s/["\\]/\\&/g
 
18444
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18445
D["\1"]=" \3"/p
 
18446
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
18447
d
 
18448
:bsnl
 
18449
s/["\\]/\\&/g
 
18450
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18451
D["\1"]=" \3\\\\\\n"\\/p
 
18452
t cont
 
18453
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
18454
t cont
 
18455
d
 
18456
:cont
 
18457
n
 
18458
s/.\{148\}/&'"$ac_delim"'/g
 
18459
t clear
 
18460
:clear
 
18461
s/\\$//
 
18462
t bsnlc
 
18463
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
18464
d
 
18465
:bsnlc
 
18466
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
18467
b cont
 
18468
' <confdefs.h | sed '
 
18469
s/'"$ac_delim"'/"\\\
 
18470
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
18471
 
 
18472
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18473
  for (key in D) D_is_set[key] = 1
 
18474
  FS = ""
 
18475
}
 
18476
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
18477
  line = \$ 0
 
18478
  split(line, arg, " ")
 
18479
  if (arg[1] == "#") {
 
18480
    defundef = arg[2]
 
18481
    mac1 = arg[3]
 
18482
  } else {
 
18483
    defundef = substr(arg[1], 2)
 
18484
    mac1 = arg[2]
 
18485
  }
 
18486
  split(mac1, mac2, "(") #)
 
18487
  macro = mac2[1]
 
18488
  prefix = substr(line, 1, index(line, defundef) - 1)
 
18489
  if (D_is_set[macro]) {
 
18490
    # Preserve the white space surrounding the "#".
 
18491
    print prefix "define", macro P[macro] D[macro]
 
18492
    next
 
18493
  } else {
 
18494
    # Replace #undef with comments.  This is necessary, for example,
 
18495
    # in the case of _POSIX_SOURCE, which is predefined and required
 
18496
    # on some systems where configure will not decide to define it.
 
18497
    if (defundef == "undef") {
 
18498
      print "/*", prefix defundef, macro, "*/"
 
18499
      next
 
18500
    }
 
18501
  }
 
18502
}
 
18503
{ print }
 
18504
_ACAWK
 
18505
_ACEOF
 
18506
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18507
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
18508
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
18509
   { (exit 1); exit 1; }; }
 
18510
fi # test -n "$CONFIG_HEADERS"
 
18511
 
 
18512
 
 
18513
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
18514
shift
 
18515
for ac_tag
25417
18516
do
25418
18517
  case $ac_tag in
25419
18518
  :[FHLC]) ac_mode=$ac_tag; continue;;
25420
18519
  esac
25421
18520
  case $ac_mode$ac_tag in
25422
18521
  :[FHL]*:*);;
25423
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25424
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
18522
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
18523
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
25425
18524
   { (exit 1); exit 1; }; };;
25426
18525
  :[FH]-) ac_tag=-:-;;
25427
18526
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25450
18549
           [\\/$]*) false;;
25451
18550
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25452
18551
           esac ||
25453
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25454
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
18552
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
18553
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25455
18554
   { (exit 1); exit 1; }; };;
25456
18555
      esac
25457
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
18556
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
18557
      ac_file_inputs="$ac_file_inputs '$ac_f'"
25458
18558
    done
25459
18559
 
25460
18560
    # Let's still pretend it is `configure' which instantiates (i.e., don't
25461
18561
    # use $as_me), people would be surprised to read:
25462
18562
    #    /* config.h.  Generated by config.status.  */
25463
 
    configure_input="Generated from "`IFS=:
25464
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
18563
    configure_input='Generated from '`
 
18564
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
18565
        `' by configure.'
25465
18566
    if test x"$ac_file" != x-; then
25466
18567
      configure_input="$ac_file.  $configure_input"
25467
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
25468
 
echo "$as_me: creating $ac_file" >&6;}
 
18568
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
18569
$as_echo "$as_me: creating $ac_file" >&6;}
25469
18570
    fi
 
18571
    # Neutralize special characters interpreted by sed in replacement strings.
 
18572
    case $configure_input in #(
 
18573
    *\&* | *\|* | *\\* )
 
18574
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
18575
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
18576
    *) ac_sed_conf_input=$configure_input;;
 
18577
    esac
25470
18578
 
25471
18579
    case $ac_tag in
25472
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
18580
    *:-:* | *:-) cat >"$tmp/stdin" \
 
18581
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18582
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18583
   { (exit 1); exit 1; }; } ;;
25473
18584
    esac
25474
18585
    ;;
25475
18586
  esac
25479
18590
         X"$ac_file" : 'X\(//\)[^/]' \| \
25480
18591
         X"$ac_file" : 'X\(//\)$' \| \
25481
18592
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25482
 
echo X"$ac_file" |
 
18593
$as_echo X"$ac_file" |
25483
18594
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25484
18595
            s//\1/
25485
18596
            q
25505
18616
    as_dirs=
25506
18617
    while :; do
25507
18618
      case $as_dir in #(
25508
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
18619
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25509
18620
      *) as_qdir=$as_dir;;
25510
18621
      esac
25511
18622
      as_dirs="'$as_qdir' $as_dirs"
25514
18625
         X"$as_dir" : 'X\(//\)[^/]' \| \
25515
18626
         X"$as_dir" : 'X\(//\)$' \| \
25516
18627
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25517
 
echo X"$as_dir" |
 
18628
$as_echo X"$as_dir" |
25518
18629
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25519
18630
            s//\1/
25520
18631
            q
25535
18646
      test -d "$as_dir" && break
25536
18647
    done
25537
18648
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25538
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25539
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
18649
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
18650
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25540
18651
   { (exit 1); exit 1; }; }; }
25541
18652
  ac_builddir=.
25542
18653
 
25543
18654
case "$ac_dir" in
25544
18655
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25545
18656
*)
25546
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
18657
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25547
18658
  # A ".." for each directory in $ac_dir_suffix.
25548
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
18659
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25549
18660
  case $ac_top_builddir_sub in
25550
18661
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25551
18662
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25585
18696
  esac
25586
18697
_ACEOF
25587
18698
 
25588
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18699
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25589
18700
# If the template does not know about datarootdir, expand it.
25590
18701
# FIXME: This hack should be removed a few years after 2.60.
25591
18702
ac_datarootdir_hack=; ac_datarootdir_seen=
25592
18703
 
25593
 
case `sed -n '/datarootdir/ {
 
18704
ac_sed_dataroot='
 
18705
/datarootdir/ {
25594
18706
  p
25595
18707
  q
25596
18708
}
25599
18711
/@infodir@/p
25600
18712
/@localedir@/p
25601
18713
/@mandir@/p
25602
 
' $ac_file_inputs` in
 
18714
'
 
18715
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25603
18716
*datarootdir*) ac_datarootdir_seen=yes;;
25604
18717
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25605
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25606
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
18718
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18719
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25607
18720
_ACEOF
25608
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18721
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25609
18722
  ac_datarootdir_hack='
25610
18723
  s&@datadir@&$datadir&g
25611
18724
  s&@docdir@&$docdir&g
25619
18732
# Neutralize VPATH when `$srcdir' = `.'.
25620
18733
# Shell code in configure.ac might set extrasub.
25621
18734
# FIXME: do we really want to maintain this feature?
25622
 
cat >>$CONFIG_STATUS <<_ACEOF
25623
 
  sed "$ac_vpsub
 
18735
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18736
ac_sed_extra="$ac_vpsub
25624
18737
$extrasub
25625
18738
_ACEOF
25626
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18739
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25627
18740
:t
25628
18741
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25629
 
s&@configure_input@&$configure_input&;t t
 
18742
s|@configure_input@|$ac_sed_conf_input|;t t
25630
18743
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
18744
s&@top_build_prefix@&$ac_top_build_prefix&;t t
25631
18745
s&@srcdir@&$ac_srcdir&;t t
25632
18746
s&@abs_srcdir@&$ac_abs_srcdir&;t t
25633
18747
s&@top_srcdir@&$ac_top_srcdir&;t t
25637
18751
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25638
18752
s&@INSTALL@&$ac_INSTALL&;t t
25639
18753
$ac_datarootdir_hack
25640
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
18754
"
 
18755
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
18756
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18757
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18758
   { (exit 1); exit 1; }; }
25641
18759
 
25642
18760
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25643
18761
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25644
18762
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25645
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18763
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25646
18764
which seems to be undefined.  Please make sure it is defined." >&5
25647
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18765
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25648
18766
which seems to be undefined.  Please make sure it is defined." >&2;}
25649
18767
 
25650
18768
  rm -f "$tmp/stdin"
25651
18769
  case $ac_file in
25652
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
25653
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25654
 
  esac
 
18770
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
18771
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
18772
  esac \
 
18773
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18774
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18775
   { (exit 1); exit 1; }; }
25655
18776
 ;;
25656
18777
  :H)
25657
18778
  #
25658
18779
  # CONFIG_HEADER
25659
18780
  #
25660
 
_ACEOF
25661
 
 
25662
 
# Transform confdefs.h into a sed script `conftest.defines', that
25663
 
# substitutes the proper values into config.h.in to produce config.h.
25664
 
rm -f conftest.defines conftest.tail
25665
 
# First, append a space to every undef/define line, to ease matching.
25666
 
echo 's/$/ /' >conftest.defines
25667
 
# Then, protect against being on the right side of a sed subst, or in
25668
 
# an unquoted here document, in config.status.  If some macros were
25669
 
# called several times there might be several #defines for the same
25670
 
# symbol, which is useless.  But do not sort them, since the last
25671
 
# AC_DEFINE must be honored.
25672
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25673
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25674
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
25675
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
25676
 
# just an empty string.
25677
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
25678
 
ac_dB='\\)[      (].*,\\1define\\2'
25679
 
ac_dC=' '
25680
 
ac_dD=' ,'
25681
 
 
25682
 
uniq confdefs.h |
25683
 
  sed -n '
25684
 
        t rset
25685
 
        :rset
25686
 
        s/^[     ]*#[    ]*define[       ][      ]*//
25687
 
        t ok
25688
 
        d
25689
 
        :ok
25690
 
        s/[\\&,]/\\&/g
25691
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25692
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25693
 
  ' >>conftest.defines
25694
 
 
25695
 
# Remove the space that was appended to ease matching.
25696
 
# Then replace #undef with comments.  This is necessary, for
25697
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
25698
 
# on some systems where configure will not decide to define it.
25699
 
# (The regexp can be short, since the line contains either #define or #undef.)
25700
 
echo 's/ $//
25701
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
25702
 
 
25703
 
# Break up conftest.defines:
25704
 
ac_max_sed_lines=50
25705
 
 
25706
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25707
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25708
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25709
 
# et cetera.
25710
 
ac_in='$ac_file_inputs'
25711
 
ac_out='"$tmp/out1"'
25712
 
ac_nxt='"$tmp/out2"'
25713
 
 
25714
 
while :
25715
 
do
25716
 
  # Write a here document:
25717
 
    cat >>$CONFIG_STATUS <<_ACEOF
25718
 
    # First, check the format of the line:
25719
 
    cat >"\$tmp/defines.sed" <<\\CEOF
25720
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
25721
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
25722
 
b
25723
 
:def
25724
 
_ACEOF
25725
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25726
 
  echo 'CEOF
25727
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25728
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25729
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25730
 
  grep . conftest.tail >/dev/null || break
25731
 
  rm -f conftest.defines
25732
 
  mv conftest.tail conftest.defines
25733
 
done
25734
 
rm -f conftest.defines conftest.tail
25735
 
 
25736
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
25737
 
cat >>$CONFIG_STATUS <<\_ACEOF
25738
18781
  if test x"$ac_file" != x-; then
25739
 
    echo "/* $configure_input  */" >"$tmp/config.h"
25740
 
    cat "$ac_result" >>"$tmp/config.h"
25741
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25742
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25743
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
18782
    {
 
18783
      $as_echo "/* $configure_input  */" \
 
18784
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
18785
    } >"$tmp/config.h" \
 
18786
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18787
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18788
   { (exit 1); exit 1; }; }
 
18789
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
18790
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
18791
$as_echo "$as_me: $ac_file is unchanged" >&6;}
25744
18792
    else
25745
 
      rm -f $ac_file
25746
 
      mv "$tmp/config.h" $ac_file
 
18793
      rm -f "$ac_file"
 
18794
      mv "$tmp/config.h" "$ac_file" \
 
18795
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18796
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18797
   { (exit 1); exit 1; }; }
25747
18798
    fi
25748
18799
  else
25749
 
    echo "/* $configure_input  */"
25750
 
    cat "$ac_result"
 
18800
    $as_echo "/* $configure_input  */" \
 
18801
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
18802
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
18803
$as_echo "$as_me: error: could not create -" >&2;}
 
18804
   { (exit 1); exit 1; }; }
25751
18805
  fi
25752
 
  rm -f "$tmp/out12"
25753
 
# Compute $ac_file's index in $config_headers.
 
18806
# Compute "$ac_file"'s index in $config_headers.
25754
18807
_am_stamp_count=1
25755
18808
for _am_header in $config_headers :; do
25756
18809
  case $_am_header in
25757
 
    $ac_file | $ac_file:* )
 
18810
    "$ac_file" | "$ac_file":* )
25758
18811
      break ;;
25759
18812
    * )
25760
18813
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25761
18814
  esac
25762
18815
done
25763
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
25764
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25765
 
         X$ac_file : 'X\(//\)[^/]' \| \
25766
 
         X$ac_file : 'X\(//\)$' \| \
25767
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
25768
 
echo X$ac_file |
 
18816
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
 
18817
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18818
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
18819
         X"$ac_file" : 'X\(//\)$' \| \
 
18820
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
18821
$as_echo X"$ac_file" |
25769
18822
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25770
18823
            s//\1/
25771
18824
            q
25785
18838
          s/.*/./; q'`/stamp-h$_am_stamp_count
25786
18839
 ;;
25787
18840
 
25788
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25789
 
echo "$as_me: executing $ac_file commands" >&6;}
 
18841
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
18842
$as_echo "$as_me: executing $ac_file commands" >&6;}
25790
18843
 ;;
25791
18844
  esac
25792
18845
 
25807
18860
         X"$mf" : 'X\(//\)[^/]' \| \
25808
18861
         X"$mf" : 'X\(//\)$' \| \
25809
18862
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25810
 
echo X"$mf" |
 
18863
$as_echo X"$mf" |
25811
18864
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25812
18865
            s//\1/
25813
18866
            q
25851
18904
         X"$file" : 'X\(//\)[^/]' \| \
25852
18905
         X"$file" : 'X\(//\)$' \| \
25853
18906
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25854
 
echo X"$file" |
 
18907
$as_echo X"$file" |
25855
18908
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25856
18909
            s//\1/
25857
18910
            q
25877
18930
    as_dirs=
25878
18931
    while :; do
25879
18932
      case $as_dir in #(
25880
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
18933
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25881
18934
      *) as_qdir=$as_dir;;
25882
18935
      esac
25883
18936
      as_dirs="'$as_qdir' $as_dirs"
25886
18939
         X"$as_dir" : 'X\(//\)[^/]' \| \
25887
18940
         X"$as_dir" : 'X\(//\)$' \| \
25888
18941
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25889
 
echo X"$as_dir" |
 
18942
$as_echo X"$as_dir" |
25890
18943
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25891
18944
            s//\1/
25892
18945
            q
25907
18960
      test -d "$as_dir" && break
25908
18961
    done
25909
18962
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25910
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25911
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
18963
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
18964
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25912
18965
   { (exit 1); exit 1; }; }; }
25913
18966
    # echo "creating $dirpart/$file"
25914
18967
    echo '# dummy' > "$dirpart/$file"
25915
18968
  done
25916
18969
done
25917
18970
 ;;
 
18971
    "libtool":C)
 
18972
 
 
18973
    # See if we are running on zsh, and set the options which allow our
 
18974
    # commands through without removal of \ escapes.
 
18975
    if test -n "${ZSH_VERSION+set}" ; then
 
18976
      setopt NO_GLOB_SUBST
 
18977
    fi
 
18978
 
 
18979
    cfgfile="${ofile}T"
 
18980
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
18981
    $RM "$cfgfile"
 
18982
 
 
18983
    cat <<_LT_EOF >> "$cfgfile"
 
18984
#! $SHELL
 
18985
 
 
18986
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
18987
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
18988
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
18989
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
18990
#
 
18991
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
18992
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
18993
#   Written by Gordon Matzigkeit, 1996
 
18994
#
 
18995
#   This file is part of GNU Libtool.
 
18996
#
 
18997
# GNU Libtool is free software; you can redistribute it and/or
 
18998
# modify it under the terms of the GNU General Public License as
 
18999
# published by the Free Software Foundation; either version 2 of
 
19000
# the License, or (at your option) any later version.
 
19001
#
 
19002
# As a special exception to the GNU General Public License,
 
19003
# if you distribute this file as part of a program or library that
 
19004
# is built using GNU Libtool, you may include this file under the
 
19005
# same distribution terms that you use for the rest of that program.
 
19006
#
 
19007
# GNU Libtool is distributed in the hope that it will be useful,
 
19008
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19009
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19010
# GNU General Public License for more details.
 
19011
#
 
19012
# You should have received a copy of the GNU General Public License
 
19013
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
19014
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
19015
# obtained by writing to the Free Software Foundation, Inc.,
 
19016
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
19017
 
 
19018
 
 
19019
# The names of the tagged configurations supported by this script.
 
19020
available_tags=""
 
19021
 
 
19022
# ### BEGIN LIBTOOL CONFIG
 
19023
 
 
19024
# Whether or not to build static libraries.
 
19025
build_old_libs=$enable_static
 
19026
 
 
19027
# Which release of libtool.m4 was used?
 
19028
macro_version=$macro_version
 
19029
macro_revision=$macro_revision
 
19030
 
 
19031
# Whether or not to build shared libraries.
 
19032
build_libtool_libs=$enable_shared
 
19033
 
 
19034
# What type of objects to build.
 
19035
pic_mode=$pic_mode
 
19036
 
 
19037
# Whether or not to optimize for fast installation.
 
19038
fast_install=$enable_fast_install
 
19039
 
 
19040
# The host system.
 
19041
host_alias=$host_alias
 
19042
host=$host
 
19043
host_os=$host_os
 
19044
 
 
19045
# The build system.
 
19046
build_alias=$build_alias
 
19047
build=$build
 
19048
build_os=$build_os
 
19049
 
 
19050
# A sed program that does not truncate output.
 
19051
SED=$lt_SED
 
19052
 
 
19053
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
19054
Xsed="\$SED -e 1s/^X//"
 
19055
 
 
19056
# A grep program that handles long lines.
 
19057
GREP=$lt_GREP
 
19058
 
 
19059
# An ERE matcher.
 
19060
EGREP=$lt_EGREP
 
19061
 
 
19062
# A literal string matcher.
 
19063
FGREP=$lt_FGREP
 
19064
 
 
19065
# A BSD- or MS-compatible name lister.
 
19066
NM=$lt_NM
 
19067
 
 
19068
# Whether we need soft or hard links.
 
19069
LN_S=$lt_LN_S
 
19070
 
 
19071
# What is the maximum length of a command?
 
19072
max_cmd_len=$max_cmd_len
 
19073
 
 
19074
# Object file suffix (normally "o").
 
19075
objext=$ac_objext
 
19076
 
 
19077
# Executable file suffix (normally "").
 
19078
exeext=$exeext
 
19079
 
 
19080
# whether the shell understands "unset".
 
19081
lt_unset=$lt_unset
 
19082
 
 
19083
# turn spaces into newlines.
 
19084
SP2NL=$lt_lt_SP2NL
 
19085
 
 
19086
# turn newlines into spaces.
 
19087
NL2SP=$lt_lt_NL2SP
 
19088
 
 
19089
# How to create reloadable object files.
 
19090
reload_flag=$lt_reload_flag
 
19091
reload_cmds=$lt_reload_cmds
 
19092
 
 
19093
# An object symbol dumper.
 
19094
OBJDUMP=$lt_OBJDUMP
 
19095
 
 
19096
# Method to check whether dependent libraries are shared objects.
 
19097
deplibs_check_method=$lt_deplibs_check_method
 
19098
 
 
19099
# Command to use when deplibs_check_method == "file_magic".
 
19100
file_magic_cmd=$lt_file_magic_cmd
 
19101
 
 
19102
# The archiver.
 
19103
AR=$lt_AR
 
19104
AR_FLAGS=$lt_AR_FLAGS
 
19105
 
 
19106
# A symbol stripping program.
 
19107
STRIP=$lt_STRIP
 
19108
 
 
19109
# Commands used to install an old-style archive.
 
19110
RANLIB=$lt_RANLIB
 
19111
old_postinstall_cmds=$lt_old_postinstall_cmds
 
19112
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
19113
 
 
19114
# A C compiler.
 
19115
LTCC=$lt_CC
 
19116
 
 
19117
# LTCC compiler flags.
 
19118
LTCFLAGS=$lt_CFLAGS
 
19119
 
 
19120
# Take the output of nm and produce a listing of raw symbols and C names.
 
19121
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
19122
 
 
19123
# Transform the output of nm in a proper C declaration.
 
19124
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
19125
 
 
19126
# Transform the output of nm in a C name address pair.
 
19127
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
19128
 
 
19129
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
19130
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
19131
 
 
19132
# The name of the directory that contains temporary libtool files.
 
19133
objdir=$objdir
 
19134
 
 
19135
# Shell to use when invoking shell scripts.
 
19136
SHELL=$lt_SHELL
 
19137
 
 
19138
# An echo program that does not interpret backslashes.
 
19139
ECHO=$lt_ECHO
 
19140
 
 
19141
# Used to examine libraries when file_magic_cmd begins with "file".
 
19142
MAGIC_CMD=$MAGIC_CMD
 
19143
 
 
19144
# Must we lock files when doing compilation?
 
19145
need_locks=$lt_need_locks
 
19146
 
 
19147
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
19148
DSYMUTIL=$lt_DSYMUTIL
 
19149
 
 
19150
# Tool to change global to local symbols on Mac OS X.
 
19151
NMEDIT=$lt_NMEDIT
 
19152
 
 
19153
# Tool to manipulate fat objects and archives on Mac OS X.
 
19154
LIPO=$lt_LIPO
 
19155
 
 
19156
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
19157
OTOOL=$lt_OTOOL
 
19158
 
 
19159
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
19160
OTOOL64=$lt_OTOOL64
 
19161
 
 
19162
# Old archive suffix (normally "a").
 
19163
libext=$libext
 
19164
 
 
19165
# Shared library suffix (normally ".so").
 
19166
shrext_cmds=$lt_shrext_cmds
 
19167
 
 
19168
# The commands to extract the exported symbol list from a shared archive.
 
19169
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
19170
 
 
19171
# Variables whose values should be saved in libtool wrapper scripts and
 
19172
# restored at link time.
 
19173
variables_saved_for_relink=$lt_variables_saved_for_relink
 
19174
 
 
19175
# Do we need the "lib" prefix for modules?
 
19176
need_lib_prefix=$need_lib_prefix
 
19177
 
 
19178
# Do we need a version for libraries?
 
19179
need_version=$need_version
 
19180
 
 
19181
# Library versioning type.
 
19182
version_type=$version_type
 
19183
 
 
19184
# Shared library runtime path variable.
 
19185
runpath_var=$runpath_var
 
19186
 
 
19187
# Shared library path variable.
 
19188
shlibpath_var=$shlibpath_var
 
19189
 
 
19190
# Is shlibpath searched before the hard-coded library search path?
 
19191
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
19192
 
 
19193
# Format of library name prefix.
 
19194
libname_spec=$lt_libname_spec
 
19195
 
 
19196
# List of archive names.  First name is the real one, the rest are links.
 
19197
# The last name is the one that the linker finds with -lNAME
 
19198
library_names_spec=$lt_library_names_spec
 
19199
 
 
19200
# The coded name of the library, if different from the real name.
 
19201
soname_spec=$lt_soname_spec
 
19202
 
 
19203
# Command to use after installation of a shared archive.
 
19204
postinstall_cmds=$lt_postinstall_cmds
 
19205
 
 
19206
# Command to use after uninstallation of a shared archive.
 
19207
postuninstall_cmds=$lt_postuninstall_cmds
 
19208
 
 
19209
# Commands used to finish a libtool library installation in a directory.
 
19210
finish_cmds=$lt_finish_cmds
 
19211
 
 
19212
# As "finish_cmds", except a single script fragment to be evaled but
 
19213
# not shown.
 
19214
finish_eval=$lt_finish_eval
 
19215
 
 
19216
# Whether we should hardcode library paths into libraries.
 
19217
hardcode_into_libs=$hardcode_into_libs
 
19218
 
 
19219
# Compile-time system search path for libraries.
 
19220
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
19221
 
 
19222
# Run-time system search path for libraries.
 
19223
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
19224
 
 
19225
# Whether dlopen is supported.
 
19226
dlopen_support=$enable_dlopen
 
19227
 
 
19228
# Whether dlopen of programs is supported.
 
19229
dlopen_self=$enable_dlopen_self
 
19230
 
 
19231
# Whether dlopen of statically linked programs is supported.
 
19232
dlopen_self_static=$enable_dlopen_self_static
 
19233
 
 
19234
# Commands to strip libraries.
 
19235
old_striplib=$lt_old_striplib
 
19236
striplib=$lt_striplib
 
19237
 
 
19238
 
 
19239
# The linker used to build libraries.
 
19240
LD=$lt_LD
 
19241
 
 
19242
# Commands used to build an old-style archive.
 
19243
old_archive_cmds=$lt_old_archive_cmds
 
19244
 
 
19245
# A language specific compiler.
 
19246
CC=$lt_compiler
 
19247
 
 
19248
# Is the compiler the GNU compiler?
 
19249
with_gcc=$GCC
 
19250
 
 
19251
# Compiler flag to turn off builtin functions.
 
19252
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
19253
 
 
19254
# How to pass a linker flag through the compiler.
 
19255
wl=$lt_lt_prog_compiler_wl
 
19256
 
 
19257
# Additional compiler flags for building library objects.
 
19258
pic_flag=$lt_lt_prog_compiler_pic
 
19259
 
 
19260
# Compiler flag to prevent dynamic linking.
 
19261
link_static_flag=$lt_lt_prog_compiler_static
 
19262
 
 
19263
# Does compiler simultaneously support -c and -o options?
 
19264
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
19265
 
 
19266
# Whether or not to add -lc for building shared libraries.
 
19267
build_libtool_need_lc=$archive_cmds_need_lc
 
19268
 
 
19269
# Whether or not to disallow shared libs when runtime libs are static.
 
19270
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
19271
 
 
19272
# Compiler flag to allow reflexive dlopens.
 
19273
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
19274
 
 
19275
# Compiler flag to generate shared objects directly from archives.
 
19276
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
19277
 
 
19278
# Whether the compiler copes with passing no objects directly.
 
19279
compiler_needs_object=$lt_compiler_needs_object
 
19280
 
 
19281
# Create an old-style archive from a shared archive.
 
19282
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
19283
 
 
19284
# Create a temporary old-style archive to link instead of a shared archive.
 
19285
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
19286
 
 
19287
# Commands used to build a shared archive.
 
19288
archive_cmds=$lt_archive_cmds
 
19289
archive_expsym_cmds=$lt_archive_expsym_cmds
 
19290
 
 
19291
# Commands used to build a loadable module if different from building
 
19292
# a shared archive.
 
19293
module_cmds=$lt_module_cmds
 
19294
module_expsym_cmds=$lt_module_expsym_cmds
 
19295
 
 
19296
# Whether we are building with GNU ld or not.
 
19297
with_gnu_ld=$lt_with_gnu_ld
 
19298
 
 
19299
# Flag that allows shared libraries with undefined symbols to be built.
 
19300
allow_undefined_flag=$lt_allow_undefined_flag
 
19301
 
 
19302
# Flag that enforces no undefined symbols.
 
19303
no_undefined_flag=$lt_no_undefined_flag
 
19304
 
 
19305
# Flag to hardcode \$libdir into a binary during linking.
 
19306
# This must work even if \$libdir does not exist
 
19307
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
19308
 
 
19309
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
19310
# during linking.  This must work even if \$libdir does not exist.
 
19311
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
19312
 
 
19313
# Whether we need a single "-rpath" flag with a separated argument.
 
19314
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
19315
 
 
19316
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19317
# DIR into the resulting binary.
 
19318
hardcode_direct=$hardcode_direct
 
19319
 
 
19320
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19321
# DIR into the resulting binary and the resulting library dependency is
 
19322
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
19323
# library is relocated.
 
19324
hardcode_direct_absolute=$hardcode_direct_absolute
 
19325
 
 
19326
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
19327
# into the resulting binary.
 
19328
hardcode_minus_L=$hardcode_minus_L
 
19329
 
 
19330
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
19331
# into the resulting binary.
 
19332
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
19333
 
 
19334
# Set to "yes" if building a shared library automatically hardcodes DIR
 
19335
# into the library and all subsequent libraries and executables linked
 
19336
# against it.
 
19337
hardcode_automatic=$hardcode_automatic
 
19338
 
 
19339
# Set to yes if linker adds runtime paths of dependent libraries
 
19340
# to runtime path list.
 
19341
inherit_rpath=$inherit_rpath
 
19342
 
 
19343
# Whether libtool must link a program against all its dependency libraries.
 
19344
link_all_deplibs=$link_all_deplibs
 
19345
 
 
19346
# Fix the shell variable \$srcfile for the compiler.
 
19347
fix_srcfile_path=$lt_fix_srcfile_path
 
19348
 
 
19349
# Set to "yes" if exported symbols are required.
 
19350
always_export_symbols=$always_export_symbols
 
19351
 
 
19352
# The commands to list exported symbols.
 
19353
export_symbols_cmds=$lt_export_symbols_cmds
 
19354
 
 
19355
# Symbols that should not be listed in the preloaded symbols.
 
19356
exclude_expsyms=$lt_exclude_expsyms
 
19357
 
 
19358
# Symbols that must always be exported.
 
19359
include_expsyms=$lt_include_expsyms
 
19360
 
 
19361
# Commands necessary for linking programs (against libraries) with templates.
 
19362
prelink_cmds=$lt_prelink_cmds
 
19363
 
 
19364
# Specify filename containing input files.
 
19365
file_list_spec=$lt_file_list_spec
 
19366
 
 
19367
# How to hardcode a shared library path into an executable.
 
19368
hardcode_action=$hardcode_action
 
19369
 
 
19370
# ### END LIBTOOL CONFIG
 
19371
 
 
19372
_LT_EOF
 
19373
 
 
19374
  case $host_os in
 
19375
  aix3*)
 
19376
    cat <<\_LT_EOF >> "$cfgfile"
 
19377
# AIX sometimes has problems with the GCC collect2 program.  For some
 
19378
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
19379
# vanish in a puff of smoke.
 
19380
if test "X${COLLECT_NAMES+set}" != Xset; then
 
19381
  COLLECT_NAMES=
 
19382
  export COLLECT_NAMES
 
19383
fi
 
19384
_LT_EOF
 
19385
    ;;
 
19386
  esac
 
19387
 
 
19388
 
 
19389
ltmain="$ac_aux_dir/ltmain.sh"
 
19390
 
 
19391
 
 
19392
  # We use sed instead of cat because bash on DJGPP gets confused if
 
19393
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
19394
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
19395
  # is reportedly fixed, but why not run on old versions too?
 
19396
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
19397
    || (rm -f "$cfgfile"; exit 1)
 
19398
 
 
19399
  case $xsi_shell in
 
19400
  yes)
 
19401
    cat << \_LT_EOF >> "$cfgfile"
 
19402
 
 
19403
# func_dirname file append nondir_replacement
 
19404
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
19405
# otherwise set result to NONDIR_REPLACEMENT.
 
19406
func_dirname ()
 
19407
{
 
19408
  case ${1} in
 
19409
    */*) func_dirname_result="${1%/*}${2}" ;;
 
19410
    *  ) func_dirname_result="${3}" ;;
 
19411
  esac
 
19412
}
 
19413
 
 
19414
# func_basename file
 
19415
func_basename ()
 
19416
{
 
19417
  func_basename_result="${1##*/}"
 
19418
}
 
19419
 
 
19420
# func_dirname_and_basename file append nondir_replacement
 
19421
# perform func_basename and func_dirname in a single function
 
19422
# call:
 
19423
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
19424
#             add APPEND to the result, otherwise set result
 
19425
#             to NONDIR_REPLACEMENT.
 
19426
#             value returned in "$func_dirname_result"
 
19427
#   basename: Compute filename of FILE.
 
19428
#             value retuned in "$func_basename_result"
 
19429
# Implementation must be kept synchronized with func_dirname
 
19430
# and func_basename. For efficiency, we do not delegate to
 
19431
# those functions but instead duplicate the functionality here.
 
19432
func_dirname_and_basename ()
 
19433
{
 
19434
  case ${1} in
 
19435
    */*) func_dirname_result="${1%/*}${2}" ;;
 
19436
    *  ) func_dirname_result="${3}" ;;
 
19437
  esac
 
19438
  func_basename_result="${1##*/}"
 
19439
}
 
19440
 
 
19441
# func_stripname prefix suffix name
 
19442
# strip PREFIX and SUFFIX off of NAME.
 
19443
# PREFIX and SUFFIX must not contain globbing or regex special
 
19444
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
19445
# dot (in which case that matches only a dot).
 
19446
func_stripname ()
 
19447
{
 
19448
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
19449
  # positional parameters, so assign one to ordinary parameter first.
 
19450
  func_stripname_result=${3}
 
19451
  func_stripname_result=${func_stripname_result#"${1}"}
 
19452
  func_stripname_result=${func_stripname_result%"${2}"}
 
19453
}
 
19454
 
 
19455
# func_opt_split
 
19456
func_opt_split ()
 
19457
{
 
19458
  func_opt_split_opt=${1%%=*}
 
19459
  func_opt_split_arg=${1#*=}
 
19460
}
 
19461
 
 
19462
# func_lo2o object
 
19463
func_lo2o ()
 
19464
{
 
19465
  case ${1} in
 
19466
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
19467
    *)    func_lo2o_result=${1} ;;
 
19468
  esac
 
19469
}
 
19470
 
 
19471
# func_xform libobj-or-source
 
19472
func_xform ()
 
19473
{
 
19474
  func_xform_result=${1%.*}.lo
 
19475
}
 
19476
 
 
19477
# func_arith arithmetic-term...
 
19478
func_arith ()
 
19479
{
 
19480
  func_arith_result=$(( $* ))
 
19481
}
 
19482
 
 
19483
# func_len string
 
19484
# STRING may not start with a hyphen.
 
19485
func_len ()
 
19486
{
 
19487
  func_len_result=${#1}
 
19488
}
 
19489
 
 
19490
_LT_EOF
 
19491
    ;;
 
19492
  *) # Bourne compatible functions.
 
19493
    cat << \_LT_EOF >> "$cfgfile"
 
19494
 
 
19495
# func_dirname file append nondir_replacement
 
19496
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
19497
# otherwise set result to NONDIR_REPLACEMENT.
 
19498
func_dirname ()
 
19499
{
 
19500
  # Extract subdirectory from the argument.
 
19501
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
19502
  if test "X$func_dirname_result" = "X${1}"; then
 
19503
    func_dirname_result="${3}"
 
19504
  else
 
19505
    func_dirname_result="$func_dirname_result${2}"
 
19506
  fi
 
19507
}
 
19508
 
 
19509
# func_basename file
 
19510
func_basename ()
 
19511
{
 
19512
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
19513
}
 
19514
 
 
19515
 
 
19516
# func_stripname prefix suffix name
 
19517
# strip PREFIX and SUFFIX off of NAME.
 
19518
# PREFIX and SUFFIX must not contain globbing or regex special
 
19519
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
19520
# dot (in which case that matches only a dot).
 
19521
# func_strip_suffix prefix name
 
19522
func_stripname ()
 
19523
{
 
19524
  case ${2} in
 
19525
    .*) func_stripname_result=`$ECHO "X${3}" \
 
19526
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
19527
    *)  func_stripname_result=`$ECHO "X${3}" \
 
19528
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
19529
  esac
 
19530
}
 
19531
 
 
19532
# sed scripts:
 
19533
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
19534
my_sed_long_arg='1s/^-[^=]*=//'
 
19535
 
 
19536
# func_opt_split
 
19537
func_opt_split ()
 
19538
{
 
19539
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
19540
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
19541
}
 
19542
 
 
19543
# func_lo2o object
 
19544
func_lo2o ()
 
19545
{
 
19546
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
19547
}
 
19548
 
 
19549
# func_xform libobj-or-source
 
19550
func_xform ()
 
19551
{
 
19552
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
19553
}
 
19554
 
 
19555
# func_arith arithmetic-term...
 
19556
func_arith ()
 
19557
{
 
19558
  func_arith_result=`expr "$@"`
 
19559
}
 
19560
 
 
19561
# func_len string
 
19562
# STRING may not start with a hyphen.
 
19563
func_len ()
 
19564
{
 
19565
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
19566
}
 
19567
 
 
19568
_LT_EOF
 
19569
esac
 
19570
 
 
19571
case $lt_shell_append in
 
19572
  yes)
 
19573
    cat << \_LT_EOF >> "$cfgfile"
 
19574
 
 
19575
# func_append var value
 
19576
# Append VALUE to the end of shell variable VAR.
 
19577
func_append ()
 
19578
{
 
19579
  eval "$1+=\$2"
 
19580
}
 
19581
_LT_EOF
 
19582
    ;;
 
19583
  *)
 
19584
    cat << \_LT_EOF >> "$cfgfile"
 
19585
 
 
19586
# func_append var value
 
19587
# Append VALUE to the end of shell variable VAR.
 
19588
func_append ()
 
19589
{
 
19590
  eval "$1=\$$1\$2"
 
19591
}
 
19592
 
 
19593
_LT_EOF
 
19594
    ;;
 
19595
  esac
 
19596
 
 
19597
 
 
19598
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
19599
    || (rm -f "$cfgfile"; exit 1)
 
19600
 
 
19601
  mv -f "$cfgfile" "$ofile" ||
 
19602
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
19603
  chmod +x "$ofile"
 
19604
 
 
19605
 ;;
25918
19606
    "po-directories":C)
25919
19607
    for ac_file in $CONFIG_FILES; do
25920
19608
      # Support "outfile[:infile[:infile...]]"
26038
19726
chmod +x $CONFIG_STATUS
26039
19727
ac_clean_files=$ac_clean_files_save
26040
19728
 
 
19729
test $ac_write_fail = 0 ||
 
19730
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
19731
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
19732
   { (exit 1); exit 1; }; }
 
19733
 
26041
19734
 
26042
19735
# configure is writing to config.log, and then calls config.status.
26043
19736
# config.status does its own redirection, appending to config.log.
26059
19752
  # would make configure fail if this is the last instruction.
26060
19753
  $ac_cs_success || { (exit 1); exit 1; }
26061
19754
fi
 
19755
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
19756
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19757
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
19758
fi
26062
19759