~ubuntu-branches/ubuntu/oneiric/almanah/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2009-05-16 15:49:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090516154921-2uhvlj8btb4qygmd
Tags: 0.6.1-0ubuntu1
* New upstream release (LP: #368078)
* debian/control:
  - Bump Standards-Version to 3.8.1
  - Add intltool, libedataserver1.2-dev, libedataserverui1.2-dev, 
    libecal1.2-dev, libcryptui-dev as build dependency
  - Remove build dependency on autotools-dev and chrpath
* debian/{control/compat/rules}: Move to mimalistic dh7 style
* Update debian/watch
* Update copyright information

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 almanah 0.4.0.
 
3
# Generated by GNU Autoconf 2.63 for almanah 0.6.1.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
## --------------------- ##
15
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
16
  emulate sh
17
17
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
19
  # is contrary to our usage.  Disable this feature.
20
20
  alias -g '${1+"$@"}'='"$@"'
21
21
  setopt NO_GLOB_SUBST
37
37
as_cr_digits='0123456789'
38
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
51
79
fi
52
80
 
53
81
# Support unset when possible.
63
91
# there to prevent editors from complaining about space-tab.
64
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
93
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
94
IFS=" ""        $as_nl"
69
95
 
70
96
# Find who we are.  Look in the path if we contain no directory separator.
87
113
  as_myself=$0
88
114
fi
89
115
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
117
  { (exit 1); exit 1; }
92
118
fi
93
119
 
100
126
PS4='+ '
101
127
 
102
128
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
114
133
 
115
134
# Required to use basename.
116
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
132
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
152
         X"$0" : 'X\(//\)$' \| \
134
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
 
154
$as_echo X/"$0" |
136
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
156
            s//\1/
138
157
            q
158
177
  as_have_required=no
159
178
fi
160
179
 
161
 
  if test $as_have_required = yes &&     (eval ":
 
180
  if test $as_have_required = yes &&     (eval ":
162
181
(as_func_return () {
163
182
  (exit \$1)
164
183
}
240
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
260
  emulate sh
242
261
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
263
  # is contrary to our usage.  Disable this feature.
245
264
  alias -g '${1+"$@"}'='"$@"'
246
265
  setopt NO_GLOB_SUBST
261
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
281
  emulate sh
263
282
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
284
  # is contrary to our usage.  Disable this feature.
266
285
  alias -g '${1+"$@"}'='"$@"'
267
286
  setopt NO_GLOB_SUBST
341
360
 
342
361
      if test "x$CONFIG_SHELL" != x; then
343
362
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
367
fi
349
368
 
350
369
 
413
432
 
414
433
test \$exitcode = 0") || {
415
434
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this message.
 
437
  echo This can help us improve future autoconf versions.
 
438
  echo Configuration will now proceed without shell functions.
419
439
}
420
440
 
421
441
 
451
471
      s/-\n.*//
452
472
    ' >$as_me.lineno &&
453
473
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
475
   { (exit 1); exit 1; }; }
456
476
 
457
477
  # Don't try to exec as it changes $[0], causing all sort of problems
479
499
*)
480
500
  ECHO_N='-n';;
481
501
esac
482
 
 
483
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
504
  as_expr=expr
492
511
  rm -f conf$$.dir/conf$$.file
493
512
else
494
513
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
496
515
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
505
528
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
529
  fi
508
530
else
509
531
  as_ln_s='cp -p'
510
532
fi
529
551
  as_test_x='
530
552
    eval sh -c '\''
531
553
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
554
        test -d "$1/.";
533
555
      else
534
556
        case $1 in
535
 
        -*)set "./$1";;
 
557
        -*)set "./$1";;
536
558
        esac;
537
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
560
        ???[sx]*):;;*)false;;esac;fi
553
575
# Check that we are running under the correct shell.
554
576
SHELL=${CONFIG_SHELL-/bin/sh}
555
577
 
556
 
case X$ECHO in
 
578
case X$lt_ECHO in
557
579
X*--fallback-echo)
558
580
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
582
  ;;
561
583
esac
562
584
 
563
 
echo=${ECHO-echo}
 
585
ECHO=${lt_ECHO-echo}
564
586
if test "X$1" = X--no-reexec; then
565
587
  # Discard the --no-reexec flag, and continue.
566
588
  shift
567
589
elif test "X$1" = X--fallback-echo; then
568
590
  # Avoid inline document here, it may be left over
569
591
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
572
594
  :
573
595
else
574
596
  # Restart under the correct shell.
578
600
if test "X$1" = X--fallback-echo; then
579
601
  # used as fallback echo
580
602
  shift
581
 
  cat <<EOF
 
603
  cat <<_LT_EOF
582
604
$*
583
 
EOF
 
605
_LT_EOF
584
606
  exit 0
585
607
fi
586
608
 
588
610
# if CDPATH is set.
589
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
612
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
613
if test -z "$lt_ECHO"; then
 
614
  if test "X${echo_test_string+set}" != Xset; then
 
615
    # find a string as large as possible, as long as the shell can cope with it
 
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
620
      then
 
621
        break
 
622
      fi
 
623
    done
 
624
  fi
 
625
 
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
    :
 
630
  else
 
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
632
    # backslashes.  This makes it impossible to quote backslashes using
 
633
    #   echo "$something" | sed 's/\\/\\\\/g'
 
634
    #
 
635
    # So, first we look for a working echo in the user's PATH.
 
636
 
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
638
    for dir in $PATH /usr/ucb; do
 
639
      IFS="$lt_save_ifs"
 
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
        ECHO="$dir/echo"
 
645
        break
 
646
      fi
 
647
    done
618
648
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
649
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
650
    if test "X$ECHO" = Xecho; then
 
651
      # We didn't find a better echo, so look for alternatives.
 
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
        # This shell has a builtin print -r that does the trick.
 
656
        ECHO='print -r'
 
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
659
        # If we have ksh, try running configure again with it.
 
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
661
        export ORIGINAL_CONFIG_SHELL
 
662
        CONFIG_SHELL=/bin/ksh
 
663
        export CONFIG_SHELL
 
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
665
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
666
        # Try using printf.
 
667
        ECHO='printf %s\n'
 
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
671
          # Cool, printf works
 
672
          :
 
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
674
             test "X$echo_testing_string" = 'X\t' &&
 
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
678
          export CONFIG_SHELL
 
679
          SHELL="$CONFIG_SHELL"
 
680
          export SHELL
 
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
683
             test "X$echo_testing_string" = 'X\t' &&
 
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
687
        else
 
688
          # maybe with a smaller string...
 
689
          prev=:
 
690
 
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
693
            then
 
694
              break
 
695
            fi
 
696
            prev="$cmd"
 
697
          done
 
698
 
 
699
          if test "$prev" != 'sed 50q "$0"'; then
 
700
            echo_test_string=`eval $prev`
 
701
            export echo_test_string
 
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
703
          else
 
704
            # Oops.  We lost completely, so just stick with echo.
 
705
            ECHO=echo
674
706
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
707
        fi
686
708
      fi
687
709
    fi
688
710
  fi
689
711
fi
690
 
fi
691
712
 
692
713
# Copy echo and quote the copy suitably for passing to libtool from
693
714
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
715
lt_ECHO=$ECHO
 
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
718
fi
698
719
 
699
720
 
700
721
 
701
722
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
723
exec 7<&0 </dev/null 6>&1
707
724
 
708
725
# Name of the host.
726
743
# Identity of this package.
727
744
PACKAGE_NAME='almanah'
728
745
PACKAGE_TARNAME='almanah'
729
 
PACKAGE_VERSION='0.4.0'
730
 
PACKAGE_STRING='almanah 0.4.0'
 
746
PACKAGE_VERSION='0.6.1'
 
747
PACKAGE_STRING='almanah 0.6.1'
731
748
PACKAGE_BUGREPORT=''
732
749
 
733
750
# Factoring default headers for most tests.
766
783
# include <unistd.h>
767
784
#endif"
768
785
 
769
 
ac_subst_vars='SHELL
770
 
PATH_SEPARATOR
771
 
PACKAGE_NAME
772
 
PACKAGE_TARNAME
773
 
PACKAGE_VERSION
774
 
PACKAGE_STRING
775
 
PACKAGE_BUGREPORT
776
 
exec_prefix
777
 
prefix
778
 
program_transform_name
779
 
bindir
780
 
sbindir
781
 
libexecdir
782
 
datarootdir
783
 
datadir
784
 
sysconfdir
785
 
sharedstatedir
786
 
localstatedir
787
 
includedir
788
 
oldincludedir
789
 
docdir
790
 
infodir
791
 
htmldir
792
 
dvidir
793
 
pdfdir
794
 
psdir
795
 
libdir
796
 
localedir
797
 
mandir
798
 
DEFS
799
 
ECHO_C
800
 
ECHO_N
801
 
ECHO_T
802
 
LIBS
803
 
build_alias
804
 
host_alias
805
 
target_alias
806
 
INSTALL_PROGRAM
807
 
INSTALL_SCRIPT
808
 
INSTALL_DATA
809
 
am__isrc
810
 
CYGPATH_W
811
 
PACKAGE
812
 
VERSION
813
 
ACLOCAL
814
 
AUTOCONF
815
 
AUTOMAKE
816
 
AUTOHEADER
817
 
MAKEINFO
818
 
install_sh
819
 
STRIP
820
 
INSTALL_STRIP_PROGRAM
821
 
mkdir_p
822
 
AWK
823
 
SET_MAKE
824
 
am__leading_dot
825
 
AMTAR
826
 
am__tar
827
 
am__untar
828
 
MAINTAINER_MODE_TRUE
829
 
MAINTAINER_MODE_FALSE
830
 
MAINT
831
 
CC
832
 
CFLAGS
833
 
LDFLAGS
834
 
CPPFLAGS
835
 
ac_ct_CC
836
 
EXEEXT
837
 
OBJEXT
838
 
DEPDIR
839
 
am__include
840
 
am__quote
841
 
AMDEP_TRUE
842
 
AMDEP_FALSE
843
 
AMDEPBACKSLASH
844
 
CCDEPMODE
845
 
am__fastdepCC_TRUE
846
 
am__fastdepCC_FALSE
847
 
CPP
848
 
GREP
849
 
EGREP
850
 
DEBUG_TRUE
851
 
DEBUG_FALSE
852
 
ENCRYPTION_TRUE
853
 
ENCRYPTION_FALSE
854
 
GETTEXT_PACKAGE
855
 
USE_NLS
856
 
MSGFMT
857
 
MSGFMT_OPTS
858
 
GMSGFMT
859
 
XGETTEXT
860
 
CATALOGS
861
 
CATOBJEXT
862
 
DATADIRNAME
863
 
GMOFILES
864
 
INSTOBJEXT
865
 
INTLLIBS
866
 
PO_IN_DATADIR_TRUE
867
 
PO_IN_DATADIR_FALSE
868
 
POFILES
869
 
POSUB
870
 
MKINSTALLDIRS
 
786
ac_subst_vars='LTLIBOBJS
 
787
LIBOBJS
 
788
GPGME_CONFIG
 
789
ENCRYPTION_LIBS
 
790
ENCRYPTION_CFLAGS
 
791
SPELL_CHECKING_LIBS
 
792
SPELL_CHECKING_CFLAGS
 
793
STANDARD_LIBS
 
794
STANDARD_CFLAGS
 
795
PKG_CONFIG
 
796
GLIB_MKENUMS
 
797
GCONF_SCHEMAS_INSTALL_FALSE
 
798
GCONF_SCHEMAS_INSTALL_TRUE
 
799
GCONF_SCHEMA_FILE_DIR
 
800
GCONF_SCHEMA_CONFIG_SOURCE
 
801
OTOOL64
 
802
OTOOL
 
803
LIPO
 
804
NMEDIT
 
805
DSYMUTIL
 
806
lt_ECHO
 
807
RANLIB
 
808
AR
 
809
OBJDUMP
 
810
LN_S
 
811
NM
 
812
ac_ct_DUMPBIN
 
813
DUMPBIN
 
814
LD
 
815
FGREP
 
816
SED
 
817
host_os
 
818
host_vendor
 
819
host_cpu
 
820
host
 
821
build_os
 
822
build_vendor
 
823
build_cpu
 
824
build
 
825
LIBTOOL
 
826
ALL_LINGUAS
 
827
INTLTOOL_PERL
 
828
MSGMERGE
 
829
INTLTOOL_POLICY_RULE
 
830
INTLTOOL_SERVICE_RULE
 
831
INTLTOOL_THEME_RULE
 
832
INTLTOOL_SCHEMAS_RULE
 
833
INTLTOOL_CAVES_RULE
 
834
INTLTOOL_XML_NOMERGE_RULE
 
835
INTLTOOL_XML_RULE
 
836
INTLTOOL_KBD_RULE
 
837
INTLTOOL_XAM_RULE
 
838
INTLTOOL_UI_RULE
 
839
INTLTOOL_SOUNDLIST_RULE
 
840
INTLTOOL_SHEET_RULE
 
841
INTLTOOL_SERVER_RULE
 
842
INTLTOOL_PONG_RULE
 
843
INTLTOOL_OAF_RULE
 
844
INTLTOOL_PROP_RULE
 
845
INTLTOOL_KEYS_RULE
 
846
INTLTOOL_DIRECTORY_RULE
871
847
INTLTOOL_DESKTOP_RULE
872
 
INTLTOOL_DIRECTORY_RULE
873
 
INTLTOOL_KEYS_RULE
874
 
INTLTOOL_PROP_RULE
875
 
INTLTOOL_OAF_RULE
876
 
INTLTOOL_PONG_RULE
877
 
INTLTOOL_SERVER_RULE
878
 
INTLTOOL_SHEET_RULE
879
 
INTLTOOL_SOUNDLIST_RULE
880
 
INTLTOOL_UI_RULE
881
 
INTLTOOL_XAM_RULE
882
 
INTLTOOL_KBD_RULE
883
 
INTLTOOL_XML_RULE
884
 
INTLTOOL_XML_NOMERGE_RULE
885
 
INTLTOOL_CAVES_RULE
886
 
INTLTOOL_SCHEMAS_RULE
887
 
INTLTOOL_THEME_RULE
888
 
INTLTOOL_SERVICE_RULE
889
 
INTLTOOL_POLICY_RULE
890
 
MSGMERGE
891
848
INTLTOOL_EXTRACT
892
849
INTLTOOL_MERGE
893
850
INTLTOOL_UPDATE
894
 
INTLTOOL_PERL
895
 
ALL_LINGUAS
896
 
build
897
 
build_cpu
898
 
build_vendor
899
 
build_os
900
 
host
901
 
host_cpu
902
 
host_vendor
903
 
host_os
904
 
SED
905
 
LN_S
906
 
ECHO
907
 
AR
908
 
RANLIB
909
 
DSYMUTIL
910
 
NMEDIT
911
 
CXX
912
 
CXXFLAGS
913
 
ac_ct_CXX
914
 
CXXDEPMODE
915
 
am__fastdepCXX_TRUE
916
 
am__fastdepCXX_FALSE
917
 
CXXCPP
918
 
F77
919
 
FFLAGS
920
 
ac_ct_F77
921
 
LIBTOOL
922
 
PKG_CONFIG
923
 
STANDARD_CFLAGS
924
 
STANDARD_LIBS
925
 
ENCRYPTION_CFLAGS
926
 
ENCRYPTION_LIBS
927
 
GPGME_CONFIG
928
 
LIBOBJS
929
 
LTLIBOBJS'
 
851
MKINSTALLDIRS
 
852
POSUB
 
853
POFILES
 
854
PO_IN_DATADIR_FALSE
 
855
PO_IN_DATADIR_TRUE
 
856
INTLLIBS
 
857
INSTOBJEXT
 
858
GMOFILES
 
859
DATADIRNAME
 
860
CATOBJEXT
 
861
CATALOGS
 
862
XGETTEXT
 
863
GMSGFMT
 
864
MSGFMT_OPTS
 
865
MSGFMT
 
866
USE_NLS
 
867
GETTEXT_PACKAGE
 
868
SPELL_CHECKING_FALSE
 
869
SPELL_CHECKING_TRUE
 
870
ENCRYPTION_FALSE
 
871
ENCRYPTION_TRUE
 
872
DEBUG_FALSE
 
873
DEBUG_TRUE
 
874
EGREP
 
875
GREP
 
876
CPP
 
877
am__fastdepCC_FALSE
 
878
am__fastdepCC_TRUE
 
879
CCDEPMODE
 
880
AMDEPBACKSLASH
 
881
AMDEP_FALSE
 
882
AMDEP_TRUE
 
883
am__quote
 
884
am__include
 
885
DEPDIR
 
886
OBJEXT
 
887
EXEEXT
 
888
ac_ct_CC
 
889
CPPFLAGS
 
890
LDFLAGS
 
891
CFLAGS
 
892
CC
 
893
MAINT
 
894
MAINTAINER_MODE_FALSE
 
895
MAINTAINER_MODE_TRUE
 
896
am__untar
 
897
am__tar
 
898
AMTAR
 
899
am__leading_dot
 
900
SET_MAKE
 
901
AWK
 
902
mkdir_p
 
903
INSTALL_STRIP_PROGRAM
 
904
STRIP
 
905
install_sh
 
906
MAKEINFO
 
907
AUTOHEADER
 
908
AUTOMAKE
 
909
AUTOCONF
 
910
ACLOCAL
 
911
VERSION
 
912
PACKAGE
 
913
CYGPATH_W
 
914
INSTALL_DATA
 
915
INSTALL_SCRIPT
 
916
INSTALL_PROGRAM
 
917
target_alias
 
918
host_alias
 
919
build_alias
 
920
LIBS
 
921
ECHO_T
 
922
ECHO_N
 
923
ECHO_C
 
924
DEFS
 
925
mandir
 
926
localedir
 
927
libdir
 
928
psdir
 
929
pdfdir
 
930
dvidir
 
931
htmldir
 
932
infodir
 
933
docdir
 
934
oldincludedir
 
935
includedir
 
936
localstatedir
 
937
sharedstatedir
 
938
sysconfdir
 
939
datadir
 
940
datarootdir
 
941
libexecdir
 
942
sbindir
 
943
bindir
 
944
program_transform_name
 
945
prefix
 
946
exec_prefix
 
947
PACKAGE_BUGREPORT
 
948
PACKAGE_STRING
 
949
PACKAGE_VERSION
 
950
PACKAGE_TARNAME
 
951
PACKAGE_NAME
 
952
PATH_SEPARATOR
 
953
SHELL'
930
954
ac_subst_files=''
 
955
ac_user_opts='
 
956
enable_option_checking
 
957
enable_maintainer_mode
 
958
enable_dependency_tracking
 
959
enable_debug
 
960
enable_encryption
 
961
enable_spell_checking
 
962
enable_nls
 
963
enable_shared
 
964
enable_static
 
965
with_pic
 
966
enable_fast_install
 
967
with_gnu_ld
 
968
enable_libtool_lock
 
969
with_gconf_source
 
970
with_gconf_schema_file_dir
 
971
enable_schemas_install
 
972
'
931
973
      ac_precious_vars='build_alias
932
974
host_alias
933
975
target_alias
937
979
LIBS
938
980
CPPFLAGS
939
981
CPP
940
 
CXX
941
 
CXXFLAGS
942
 
CCC
943
 
CXXCPP
944
 
F77
945
 
FFLAGS
946
982
PKG_CONFIG
947
983
STANDARD_CFLAGS
948
984
STANDARD_LIBS
 
985
SPELL_CHECKING_CFLAGS
 
986
SPELL_CHECKING_LIBS
949
987
ENCRYPTION_CFLAGS
950
988
ENCRYPTION_LIBS'
951
989
 
953
991
# Initialize some variables set by options.
954
992
ac_init_help=
955
993
ac_init_version=false
 
994
ac_unrecognized_opts=
 
995
ac_unrecognized_sep=
956
996
# The variables have the same names as the options, with
957
997
# dashes changed to underlines.
958
998
cache_file=/dev/null
1051
1091
    datarootdir=$ac_optarg ;;
1052
1092
 
1053
1093
  -disable-* | --disable-*)
1054
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1094
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1055
1095
    # Reject names that are not valid shell variable names.
1056
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1096
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1097
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1058
1098
   { (exit 1); exit 1; }; }
1059
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1060
 
    eval enable_$ac_feature=no ;;
 
1099
    ac_useropt_orig=$ac_useropt
 
1100
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1101
    case $ac_user_opts in
 
1102
      *"
 
1103
"enable_$ac_useropt"
 
1104
"*) ;;
 
1105
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1106
         ac_unrecognized_sep=', ';;
 
1107
    esac
 
1108
    eval enable_$ac_useropt=no ;;
1061
1109
 
1062
1110
  -docdir | --docdir | --docdi | --doc | --do)
1063
1111
    ac_prev=docdir ;;
1070
1118
    dvidir=$ac_optarg ;;
1071
1119
 
1072
1120
  -enable-* | --enable-*)
1073
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1121
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1074
1122
    # Reject names that are not valid shell variable names.
1075
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1123
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1124
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1077
1125
   { (exit 1); exit 1; }; }
1078
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1079
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1126
    ac_useropt_orig=$ac_useropt
 
1127
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1128
    case $ac_user_opts in
 
1129
      *"
 
1130
"enable_$ac_useropt"
 
1131
"*) ;;
 
1132
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1133
         ac_unrecognized_sep=', ';;
 
1134
    esac
 
1135
    eval enable_$ac_useropt=\$ac_optarg ;;
1080
1136
 
1081
1137
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1082
1138
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1267
1323
    ac_init_version=: ;;
1268
1324
 
1269
1325
  -with-* | --with-*)
1270
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1326
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1271
1327
    # Reject names that are not valid shell variable names.
1272
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1273
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1328
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1329
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1274
1330
   { (exit 1); exit 1; }; }
1275
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1276
 
    eval with_$ac_package=\$ac_optarg ;;
 
1331
    ac_useropt_orig=$ac_useropt
 
1332
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1333
    case $ac_user_opts in
 
1334
      *"
 
1335
"with_$ac_useropt"
 
1336
"*) ;;
 
1337
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1338
         ac_unrecognized_sep=', ';;
 
1339
    esac
 
1340
    eval with_$ac_useropt=\$ac_optarg ;;
1277
1341
 
1278
1342
  -without-* | --without-*)
1279
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1343
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280
1344
    # Reject names that are not valid shell variable names.
1281
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1282
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1345
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1346
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1283
1347
   { (exit 1); exit 1; }; }
1284
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1285
 
    eval with_$ac_package=no ;;
 
1348
    ac_useropt_orig=$ac_useropt
 
1349
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1350
    case $ac_user_opts in
 
1351
      *"
 
1352
"with_$ac_useropt"
 
1353
"*) ;;
 
1354
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1355
         ac_unrecognized_sep=', ';;
 
1356
    esac
 
1357
    eval with_$ac_useropt=no ;;
1286
1358
 
1287
1359
  --x)
1288
1360
    # Obsolete; use --with-x.
1302
1374
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303
1375
    x_libraries=$ac_optarg ;;
1304
1376
 
1305
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1377
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1306
1378
Try \`$0 --help' for more information." >&2
1307
1379
   { (exit 1); exit 1; }; }
1308
1380
    ;;
1311
1383
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1312
1384
    # Reject names that are not valid shell variable names.
1313
1385
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1314
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1386
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1315
1387
   { (exit 1); exit 1; }; }
1316
1388
    eval $ac_envvar=\$ac_optarg
1317
1389
    export $ac_envvar ;;
1318
1390
 
1319
1391
  *)
1320
1392
    # FIXME: should be removed in autoconf 3.0.
1321
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1393
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322
1394
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1395
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324
1396
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325
1397
    ;;
1326
1398
 
1329
1401
 
1330
1402
if test -n "$ac_prev"; then
1331
1403
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1404
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1333
1405
   { (exit 1); exit 1; }; }
1334
1406
fi
1335
1407
 
1336
 
# Be sure to have absolute directory names.
 
1408
if test -n "$ac_unrecognized_opts"; then
 
1409
  case $enable_option_checking in
 
1410
    no) ;;
 
1411
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1412
   { (exit 1); exit 1; }; } ;;
 
1413
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1414
  esac
 
1415
fi
 
1416
 
 
1417
# Check all directory arguments for consistency.
1337
1418
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338
1419
                datadir sysconfdir sharedstatedir localstatedir includedir \
1339
1420
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340
1421
                libdir localedir mandir
1341
1422
do
1342
1423
  eval ac_val=\$$ac_var
 
1424
  # Remove trailing slashes.
 
1425
  case $ac_val in
 
1426
    */ )
 
1427
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1428
      eval $ac_var=\$ac_val;;
 
1429
  esac
 
1430
  # Be sure to have absolute directory names.
1343
1431
  case $ac_val in
1344
1432
    [\\/$]* | ?:[\\/]* )  continue;;
1345
1433
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1346
1434
  esac
1347
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1435
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1348
1436
   { (exit 1); exit 1; }; }
1349
1437
done
1350
1438
 
1359
1447
if test "x$host_alias" != x; then
1360
1448
  if test "x$build_alias" = x; then
1361
1449
    cross_compiling=maybe
1362
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1450
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1363
1451
    If a cross compiler is detected then cross compile mode will be used." >&2
1364
1452
  elif test "x$build_alias" != "x$host_alias"; then
1365
1453
    cross_compiling=yes
1375
1463
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1376
1464
ac_ls_di=`ls -di .` &&
1377
1465
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1378
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1466
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1379
1467
   { (exit 1); exit 1; }; }
1380
1468
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1381
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1469
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1382
1470
   { (exit 1); exit 1; }; }
1383
1471
 
1384
1472
 
1386
1474
if test -z "$srcdir"; then
1387
1475
  ac_srcdir_defaulted=yes
1388
1476
  # Try the directory containing this script, then the parent directory.
1389
 
  ac_confdir=`$as_dirname -- "$0" ||
1390
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391
 
         X"$0" : 'X\(//\)[^/]' \| \
1392
 
         X"$0" : 'X\(//\)$' \| \
1393
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1394
 
echo X"$0" |
 
1477
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1478
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1479
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1480
         X"$as_myself" : 'X\(//\)$' \| \
 
1481
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1482
$as_echo X"$as_myself" |
1395
1483
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396
1484
            s//\1/
1397
1485
            q
1418
1506
fi
1419
1507
if test ! -r "$srcdir/$ac_unique_file"; then
1420
1508
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1509
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1422
1510
   { (exit 1); exit 1; }; }
1423
1511
fi
1424
1512
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1425
1513
ac_abs_confdir=`(
1426
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1514
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1427
1515
   { (exit 1); exit 1; }; }
1428
1516
        pwd)`
1429
1517
# When building in place, set srcdir=.
1450
1538
  # Omit some internal or obsolete options to make the list less imposing.
1451
1539
  # This message is too long to be a string in the A/UX 3.1 sh.
1452
1540
  cat <<_ACEOF
1453
 
\`configure' configures almanah 0.4.0 to adapt to many kinds of systems.
 
1541
\`configure' configures almanah 0.6.1 to adapt to many kinds of systems.
1454
1542
 
1455
1543
Usage: $0 [OPTION]... [VAR=VALUE]...
1456
1544
 
1472
1560
 
1473
1561
Installation directories:
1474
1562
  --prefix=PREFIX         install architecture-independent files in PREFIX
1475
 
                          [$ac_default_prefix]
 
1563
                          [$ac_default_prefix]
1476
1564
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1477
 
                          [PREFIX]
 
1565
                          [PREFIX]
1478
1566
 
1479
1567
By default, \`make install' will install all the files in
1480
1568
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1484
1572
For better control, use the options below.
1485
1573
 
1486
1574
Fine tuning of the installation directories:
1487
 
  --bindir=DIR           user executables [EPREFIX/bin]
1488
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1489
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1490
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1491
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1492
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1493
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1494
 
  --includedir=DIR       C header files [PREFIX/include]
1495
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1496
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1497
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1498
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1499
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1500
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1501
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/almanah]
1502
 
  --htmldir=DIR          html documentation [DOCDIR]
1503
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1504
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1505
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1575
  --bindir=DIR            user executables [EPREFIX/bin]
 
1576
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1577
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1578
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1579
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1580
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1581
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1582
  --includedir=DIR        C header files [PREFIX/include]
 
1583
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1584
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1585
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1586
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1587
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1588
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1589
  --docdir=DIR            documentation root [DATAROOTDIR/doc/almanah]
 
1590
  --htmldir=DIR           html documentation [DOCDIR]
 
1591
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1592
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1593
  --psdir=DIR             ps documentation [DOCDIR]
1506
1594
_ACEOF
1507
1595
 
1508
1596
  cat <<\_ACEOF
1520
1608
 
1521
1609
if test -n "$ac_init_help"; then
1522
1610
  case $ac_init_help in
1523
 
     short | recursive ) echo "Configuration of almanah 0.4.0:";;
 
1611
     short | recursive ) echo "Configuration of almanah 0.6.1:";;
1524
1612
   esac
1525
1613
  cat <<\_ACEOF
1526
1614
 
1527
1615
Optional Features:
 
1616
  --disable-option-checking  ignore unrecognized --enable/--with options
1528
1617
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1529
1618
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1530
1619
  --enable-maintainer-mode  enable make rules and dependencies not useful
1531
1620
                          (and sometimes confusing) to the casual installer
1532
1621
  --disable-dependency-tracking  speeds up one-time build
1533
1622
  --enable-dependency-tracking   do not reject slow dependency extractors
1534
 
  --enable-debug        Turn on debugging
1535
 
  --enable-encryption   Enable database encryption support
 
1623
  --enable-debug          turn on debugging
 
1624
  --enable-encryption     enable database encryption support
 
1625
  --enable-spell-checking enable spell checking support
 
1626
  --disable-nls           do not use Native Language Support
1536
1627
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1537
1628
  --enable-static[=PKGS]  build static libraries [default=yes]
1538
1629
  --enable-fast-install[=PKGS]
1539
1630
                          optimize for fast installation [default=yes]
1540
1631
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1632
  --disable-schemas-install
 
1633
                          Disable the schemas installation
1541
1634
 
1542
1635
Optional Packages:
1543
1636
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1544
1637
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1545
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1546
1638
  --with-pic              try to use only PIC/non-PIC objects [default=use
1547
1639
                          both]
1548
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1640
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1641
  --with-gconf-source=sourceaddress
 
1642
                          Config database for installing schema files.
 
1643
  --with-gconf-schema-file-dir=dir
 
1644
                          Directory for installing schema files.
1549
1645
 
1550
1646
Some influential environment variables:
1551
1647
  CC          C compiler command
1556
1652
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1557
1653
              you have headers in a nonstandard directory <include dir>
1558
1654
  CPP         C preprocessor
1559
 
  CXX         C++ compiler command
1560
 
  CXXFLAGS    C++ compiler flags
1561
 
  CXXCPP      C++ preprocessor
1562
 
  F77         Fortran 77 compiler command
1563
 
  FFLAGS      Fortran 77 compiler flags
1564
1655
  PKG_CONFIG  path to pkg-config utility
1565
1656
  STANDARD_CFLAGS
1566
1657
              C compiler flags for STANDARD, overriding pkg-config
1567
1658
  STANDARD_LIBS
1568
1659
              linker flags for STANDARD, overriding pkg-config
 
1660
  SPELL_CHECKING_CFLAGS
 
1661
              C compiler flags for SPELL_CHECKING, overriding pkg-config
 
1662
  SPELL_CHECKING_LIBS
 
1663
              linker flags for SPELL_CHECKING, overriding pkg-config
1569
1664
  ENCRYPTION_CFLAGS
1570
1665
              C compiler flags for ENCRYPTION, overriding pkg-config
1571
1666
  ENCRYPTION_LIBS
1581
1676
if test "$ac_init_help" = "recursive"; then
1582
1677
  # If there are subdirs, report their specific --help.
1583
1678
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1584
 
    test -d "$ac_dir" || continue
 
1679
    test -d "$ac_dir" ||
 
1680
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1681
      continue
1585
1682
    ac_builddir=.
1586
1683
 
1587
1684
case "$ac_dir" in
1588
1685
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589
1686
*)
1590
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1687
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591
1688
  # A ".." for each directory in $ac_dir_suffix.
1592
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1689
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593
1690
  case $ac_top_builddir_sub in
1594
1691
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595
1692
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1625
1722
      echo &&
1626
1723
      $SHELL "$ac_srcdir/configure" --help=recursive
1627
1724
    else
1628
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1725
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1629
1726
    fi || ac_status=$?
1630
1727
    cd "$ac_pwd" || { ac_status=$?; break; }
1631
1728
  done
1634
1731
test -n "$ac_init_help" && exit $ac_status
1635
1732
if $ac_init_version; then
1636
1733
  cat <<\_ACEOF
1637
 
almanah configure 0.4.0
1638
 
generated by GNU Autoconf 2.61
 
1734
almanah configure 0.6.1
 
1735
generated by GNU Autoconf 2.63
1639
1736
 
1640
1737
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1641
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1738
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1642
1739
This configure script is free software; the Free Software Foundation
1643
1740
gives unlimited permission to copy, distribute and modify it.
1644
1741
_ACEOF
1648
1745
This file contains any messages produced by compilers while
1649
1746
running configure, to aid debugging if configure makes a mistake.
1650
1747
 
1651
 
It was created by almanah $as_me 0.4.0, which was
1652
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1748
It was created by almanah $as_me 0.6.1, which was
 
1749
generated by GNU Autoconf 2.63.  Invocation command line was
1653
1750
 
1654
1751
  $ $0 $@
1655
1752
 
1685
1782
do
1686
1783
  IFS=$as_save_IFS
1687
1784
  test -z "$as_dir" && as_dir=.
1688
 
  echo "PATH: $as_dir"
 
1785
  $as_echo "PATH: $as_dir"
1689
1786
done
1690
1787
IFS=$as_save_IFS
1691
1788
 
1720
1817
    | -silent | --silent | --silen | --sile | --sil)
1721
1818
      continue ;;
1722
1819
    *\'*)
1723
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1820
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1724
1821
    esac
1725
1822
    case $ac_pass in
1726
1823
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1772
1869
    case $ac_val in #(
1773
1870
    *${as_nl}*)
1774
1871
      case $ac_var in #(
1775
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1776
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1872
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1873
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1777
1874
      esac
1778
1875
      case $ac_var in #(
1779
1876
      _ | IFS | as_nl) ;; #(
 
1877
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1780
1878
      *) $as_unset $ac_var ;;
1781
1879
      esac ;;
1782
1880
    esac
1806
1904
    do
1807
1905
      eval ac_val=\$$ac_var
1808
1906
      case $ac_val in
1809
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1907
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810
1908
      esac
1811
 
      echo "$ac_var='\''$ac_val'\''"
 
1909
      $as_echo "$ac_var='\''$ac_val'\''"
1812
1910
    done | sort
1813
1911
    echo
1814
1912
 
1823
1921
      do
1824
1922
        eval ac_val=\$$ac_var
1825
1923
        case $ac_val in
1826
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1924
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827
1925
        esac
1828
 
        echo "$ac_var='\''$ac_val'\''"
 
1926
        $as_echo "$ac_var='\''$ac_val'\''"
1829
1927
      done | sort
1830
1928
      echo
1831
1929
    fi
1841
1939
      echo
1842
1940
    fi
1843
1941
    test "$ac_signal" != 0 &&
1844
 
      echo "$as_me: caught signal $ac_signal"
1845
 
    echo "$as_me: exit $exit_status"
 
1942
      $as_echo "$as_me: caught signal $ac_signal"
 
1943
    $as_echo "$as_me: exit $exit_status"
1846
1944
  } >&5
1847
1945
  rm -f core *.core core.conftest.* &&
1848
1946
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1884
1982
 
1885
1983
 
1886
1984
# Let the site file select an alternate cache file if it wants to.
1887
 
# Prefer explicitly selected file to automatically selected ones.
 
1985
# Prefer an explicitly selected file to automatically selected ones.
 
1986
ac_site_file1=NONE
 
1987
ac_site_file2=NONE
1888
1988
if test -n "$CONFIG_SITE"; then
1889
 
  set x "$CONFIG_SITE"
 
1989
  ac_site_file1=$CONFIG_SITE
1890
1990
elif test "x$prefix" != xNONE; then
1891
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1991
  ac_site_file1=$prefix/share/config.site
 
1992
  ac_site_file2=$prefix/etc/config.site
1892
1993
else
1893
 
  set x "$ac_default_prefix/share/config.site" \
1894
 
        "$ac_default_prefix/etc/config.site"
 
1994
  ac_site_file1=$ac_default_prefix/share/config.site
 
1995
  ac_site_file2=$ac_default_prefix/etc/config.site
1895
1996
fi
1896
 
shift
1897
 
for ac_site_file
 
1997
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1898
1998
do
 
1999
  test "x$ac_site_file" = xNONE && continue
1899
2000
  if test -r "$ac_site_file"; then
1900
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1901
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2001
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2002
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1902
2003
    sed 's/^/| /' "$ac_site_file" >&5
1903
2004
    . "$ac_site_file"
1904
2005
  fi
1908
2009
  # Some versions of bash will fail to source /dev/null (special
1909
2010
  # files actually), so we avoid doing that.
1910
2011
  if test -f "$cache_file"; then
1911
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1912
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2012
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2013
$as_echo "$as_me: loading cache $cache_file" >&6;}
1913
2014
    case $cache_file in
1914
2015
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1915
2016
      *)                      . "./$cache_file";;
1916
2017
    esac
1917
2018
  fi
1918
2019
else
1919
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1920
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2020
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2021
$as_echo "$as_me: creating cache $cache_file" >&6;}
1921
2022
  >$cache_file
1922
2023
fi
1923
2024
 
1931
2032
  eval ac_new_val=\$ac_env_${ac_var}_value
1932
2033
  case $ac_old_set,$ac_new_set in
1933
2034
    set,)
1934
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1935
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2035
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2036
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1936
2037
      ac_cache_corrupted=: ;;
1937
2038
    ,set)
1938
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1939
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2039
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2040
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1940
2041
      ac_cache_corrupted=: ;;
1941
2042
    ,);;
1942
2043
    *)
1943
2044
      if test "x$ac_old_val" != "x$ac_new_val"; then
1944
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1945
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1946
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1947
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1948
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1949
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1950
 
        ac_cache_corrupted=:
 
2045
        # differences in whitespace do not lead to failure.
 
2046
        ac_old_val_w=`echo x $ac_old_val`
 
2047
        ac_new_val_w=`echo x $ac_new_val`
 
2048
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2049
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2050
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2051
          ac_cache_corrupted=:
 
2052
        else
 
2053
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2054
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2055
          eval $ac_var=\$ac_old_val
 
2056
        fi
 
2057
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2058
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2059
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2060
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1951
2061
      fi;;
1952
2062
  esac
1953
2063
  # Pass precious variables to config.status.
1954
2064
  if test "$ac_new_set" = set; then
1955
2065
    case $ac_new_val in
1956
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2066
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1957
2067
    *) ac_arg=$ac_var=$ac_new_val ;;
1958
2068
    esac
1959
2069
    case " $ac_configure_args " in
1963
2073
  fi
1964
2074
done
1965
2075
if $ac_cache_corrupted; then
1966
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1967
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1968
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1969
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2076
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2077
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2078
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2079
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2080
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2081
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1970
2082
   { (exit 1); exit 1; }; }
1971
2083
fi
1972
2084
 
2002
2114
 
2003
2115
 
2004
2116
 
2005
 
am__api_version='1.10'
2006
 
 
 
2117
am__api_version="1.9"
2007
2118
ac_aux_dir=
2008
2119
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2009
2120
  if test -f "$ac_dir/install-sh"; then
2021
2132
  fi
2022
2133
done
2023
2134
if test -z "$ac_aux_dir"; then
2024
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2025
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2135
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2136
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2026
2137
   { (exit 1); exit 1; }; }
2027
2138
fi
2028
2139
 
2048
2159
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2049
2160
# OS/2's system install, which has a completely different semantic
2050
2161
# ./install, which can be erroneously created by make from ./install.sh.
2051
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2052
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2162
# Reject install programs that cannot install multiple files.
 
2163
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2164
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2053
2165
if test -z "$INSTALL"; then
2054
2166
if test "${ac_cv_path_install+set}" = set; then
2055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2167
  $as_echo_n "(cached) " >&6
2056
2168
else
2057
2169
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058
2170
for as_dir in $PATH
2081
2193
            # program-specific install script used by HP pwplus--don't use.
2082
2194
            :
2083
2195
          else
2084
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2085
 
            break 3
 
2196
            rm -rf conftest.one conftest.two conftest.dir
 
2197
            echo one > conftest.one
 
2198
            echo two > conftest.two
 
2199
            mkdir conftest.dir
 
2200
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2201
              test -s conftest.one && test -s conftest.two &&
 
2202
              test -s conftest.dir/conftest.one &&
 
2203
              test -s conftest.dir/conftest.two
 
2204
            then
 
2205
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2206
              break 3
 
2207
            fi
2086
2208
          fi
2087
2209
        fi
2088
2210
      done
2089
2211
    done
2090
2212
    ;;
2091
2213
esac
 
2214
 
2092
2215
done
2093
2216
IFS=$as_save_IFS
2094
2217
 
 
2218
rm -rf conftest.one conftest.two conftest.dir
2095
2219
 
2096
2220
fi
2097
2221
  if test "${ac_cv_path_install+set}" = set; then
2104
2228
    INSTALL=$ac_install_sh
2105
2229
  fi
2106
2230
fi
2107
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2108
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2231
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2232
$as_echo "$INSTALL" >&6; }
2109
2233
 
2110
2234
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2111
2235
# It thinks the first close brace ends the variable substitution.
2115
2239
 
2116
2240
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2117
2241
 
2118
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2119
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2242
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2243
$as_echo_n "checking whether build environment is sane... " >&6; }
2120
2244
# Just in case
2121
2245
sleep 1
2122
2246
echo timestamp > conftest.file
2139
2263
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2140
2264
      # broken ls alias from the environment.  This has actually
2141
2265
      # happened.  Such a system could not be considered "sane".
2142
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2266
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2143
2267
alias in your environment" >&5
2144
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2268
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2145
2269
alias in your environment" >&2;}
2146
2270
   { (exit 1); exit 1; }; }
2147
2271
   fi
2152
2276
   # Ok.
2153
2277
   :
2154
2278
else
2155
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2279
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2156
2280
Check your system clock" >&5
2157
 
echo "$as_me: error: newly created file is older than distributed files!
 
2281
$as_echo "$as_me: error: newly created file is older than distributed files!
2158
2282
Check your system clock" >&2;}
2159
2283
   { (exit 1); exit 1; }; }
2160
2284
fi
2161
 
{ echo "$as_me:$LINENO: result: yes" >&5
2162
 
echo "${ECHO_T}yes" >&6; }
 
2285
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2286
$as_echo "yes" >&6; }
2163
2287
test "$program_prefix" != NONE &&
2164
2288
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2165
2289
# Use a double $ so make ignores it.
2166
2290
test "$program_suffix" != NONE &&
2167
2291
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2168
 
# Double any \ or $.  echo might interpret backslashes.
 
2292
# Double any \ or $.
2169
2293
# By default was `s,x,x', remove it if useless.
2170
 
cat <<\_ACEOF >conftest.sed
2171
 
s/[\\$]/&&/g;s/;s,x,x,$//
2172
 
_ACEOF
2173
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2174
 
rm -f conftest.sed
 
2294
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2295
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2175
2296
 
2176
2297
# expand $ac_aux_dir to an absolute path
2177
2298
am_aux_dir=`cd $ac_aux_dir && pwd`
2182
2303
  am_missing_run="$MISSING --run "
2183
2304
else
2184
2305
  am_missing_run=
2185
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2186
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2306
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2307
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2187
2308
fi
2188
2309
 
2189
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2190
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2191
 
if test -z "$MKDIR_P"; then
2192
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2310
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
2311
  # We used to keeping the `.' as first argument, in order to
 
2312
  # allow $(mkdir_p) to be used without argument.  As in
 
2313
  #   $(mkdir_p) $(somedir)
 
2314
  # where $(somedir) is conditionally defined.  However this is wrong
 
2315
  # for two reasons:
 
2316
  #  1. if the package is installed by a user who cannot write `.'
 
2317
  #     make install will fail,
 
2318
  #  2. the above comment should most certainly read
 
2319
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
2320
  #     so it does not work when $(somedir) is undefined and
 
2321
  #     $(DESTDIR) is not.
 
2322
  #  To support the latter case, we have to write
 
2323
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
2324
  #  so the `.' trick is pointless.
 
2325
  mkdir_p='mkdir -p --'
2194
2326
else
2195
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2197
 
do
2198
 
  IFS=$as_save_IFS
2199
 
  test -z "$as_dir" && as_dir=.
2200
 
  for ac_prog in mkdir gmkdir; do
2201
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2202
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2203
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2204
 
             'mkdir (GNU coreutils) '* | \
2205
 
             'mkdir (coreutils) '* | \
2206
 
             'mkdir (fileutils) '4.1*)
2207
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2208
 
               break 3;;
2209
 
           esac
2210
 
         done
2211
 
       done
2212
 
done
2213
 
IFS=$as_save_IFS
2214
 
 
2215
 
fi
2216
 
 
2217
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2218
 
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2327
  # On NextStep and OpenStep, the `mkdir' command does not
 
2328
  # recognize any option.  It will interpret all options as
 
2329
  # directories to create, and then abort because `.' already
 
2330
  # exists.
 
2331
  for d in ./-p ./--version;
 
2332
  do
 
2333
    test -d $d && rmdir $d
 
2334
  done
 
2335
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
2336
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
2337
    mkdir_p='$(mkinstalldirs)'
2219
2338
  else
2220
 
    # As a last resort, use the slow shell script.  Don't cache a
2221
 
    # value for MKDIR_P within a source directory, because that will
2222
 
    # break other packages using the cache if that directory is
2223
 
    # removed, or if the value is a relative name.
2224
 
    test -d ./--version && rmdir ./--version
2225
 
    MKDIR_P="$ac_install_sh -d"
 
2339
    mkdir_p='$(install_sh) -d'
2226
2340
  fi
2227
2341
fi
2228
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2229
 
echo "${ECHO_T}$MKDIR_P" >&6; }
2230
 
 
2231
 
mkdir_p="$MKDIR_P"
2232
 
case $mkdir_p in
2233
 
  [\\/$]* | ?:[\\/]*) ;;
2234
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2235
 
esac
2236
2342
 
2237
2343
for ac_prog in gawk mawk nawk awk
2238
2344
do
2239
2345
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2240
2346
set dummy $ac_prog; ac_word=$2
2241
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2242
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2347
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2348
$as_echo_n "checking for $ac_word... " >&6; }
2243
2349
if test "${ac_cv_prog_AWK+set}" = set; then
2244
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2350
  $as_echo_n "(cached) " >&6
2245
2351
else
2246
2352
  if test -n "$AWK"; then
2247
2353
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2254
2360
  for ac_exec_ext in '' $ac_executable_extensions; do
2255
2361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2256
2362
    ac_cv_prog_AWK="$ac_prog"
2257
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2363
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2258
2364
    break 2
2259
2365
  fi
2260
2366
done
2265
2371
fi
2266
2372
AWK=$ac_cv_prog_AWK
2267
2373
if test -n "$AWK"; then
2268
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2269
 
echo "${ECHO_T}$AWK" >&6; }
 
2374
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2375
$as_echo "$AWK" >&6; }
2270
2376
else
2271
 
  { echo "$as_me:$LINENO: result: no" >&5
2272
 
echo "${ECHO_T}no" >&6; }
 
2377
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2378
$as_echo "no" >&6; }
2273
2379
fi
2274
2380
 
2275
2381
 
2276
2382
  test -n "$AWK" && break
2277
2383
done
2278
2384
 
2279
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2280
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2281
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2385
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2386
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2387
set x ${MAKE-make}
 
2388
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2282
2389
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2283
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2390
  $as_echo_n "(cached) " >&6
2284
2391
else
2285
2392
  cat >conftest.make <<\_ACEOF
2286
2393
SHELL = /bin/sh
2297
2404
rm -f conftest.make
2298
2405
fi
2299
2406
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2300
 
  { echo "$as_me:$LINENO: result: yes" >&5
2301
 
echo "${ECHO_T}yes" >&6; }
 
2407
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2408
$as_echo "yes" >&6; }
2302
2409
  SET_MAKE=
2303
2410
else
2304
 
  { echo "$as_me:$LINENO: result: no" >&5
2305
 
echo "${ECHO_T}no" >&6; }
 
2411
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2412
$as_echo "no" >&6; }
2306
2413
  SET_MAKE="MAKE=${MAKE-make}"
2307
2414
fi
2308
2415
 
2315
2422
fi
2316
2423
rmdir .tst 2>/dev/null
2317
2424
 
2318
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2319
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2320
 
  # is not polluted with repeated "-I."
2321
 
  am__isrc=' -I$(srcdir)'
2322
 
  # test to see if srcdir already configured
2323
 
  if test -f $srcdir/config.status; then
2324
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2325
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2425
# test to see if srcdir already configured
 
2426
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
2427
   test -f $srcdir/config.status; then
 
2428
  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2429
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2326
2430
   { (exit 1); exit 1; }; }
2327
 
  fi
2328
2431
fi
2329
2432
 
2330
2433
# test whether we have cygpath
2339
2442
 
2340
2443
# Define the identity of the package.
2341
2444
 PACKAGE=almanah
2342
 
 VERSION=0.4.0
 
2445
 VERSION=0.6.1
2343
2446
 
2344
2447
 
2345
2448
cat >>confdefs.h <<_ACEOF
2367
2470
 
2368
2471
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2369
2472
 
2370
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2473
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2371
2474
 
2372
2475
# Installed binaries are usually stripped using `strip' when the user
2373
2476
# run `make install-strip'.  However `strip' might not be the right
2377
2480
  if test -n "$ac_tool_prefix"; then
2378
2481
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2379
2482
set dummy ${ac_tool_prefix}strip; ac_word=$2
2380
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2381
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2483
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2484
$as_echo_n "checking for $ac_word... " >&6; }
2382
2485
if test "${ac_cv_prog_STRIP+set}" = set; then
2383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2486
  $as_echo_n "(cached) " >&6
2384
2487
else
2385
2488
  if test -n "$STRIP"; then
2386
2489
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2393
2496
  for ac_exec_ext in '' $ac_executable_extensions; do
2394
2497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395
2498
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2396
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2499
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397
2500
    break 2
2398
2501
  fi
2399
2502
done
2404
2507
fi
2405
2508
STRIP=$ac_cv_prog_STRIP
2406
2509
if test -n "$STRIP"; then
2407
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2408
 
echo "${ECHO_T}$STRIP" >&6; }
 
2510
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2511
$as_echo "$STRIP" >&6; }
2409
2512
else
2410
 
  { echo "$as_me:$LINENO: result: no" >&5
2411
 
echo "${ECHO_T}no" >&6; }
 
2513
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2514
$as_echo "no" >&6; }
2412
2515
fi
2413
2516
 
2414
2517
 
2417
2520
  ac_ct_STRIP=$STRIP
2418
2521
  # Extract the first word of "strip", so it can be a program name with args.
2419
2522
set dummy strip; ac_word=$2
2420
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2421
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2523
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2524
$as_echo_n "checking for $ac_word... " >&6; }
2422
2525
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2526
  $as_echo_n "(cached) " >&6
2424
2527
else
2425
2528
  if test -n "$ac_ct_STRIP"; then
2426
2529
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2433
2536
  for ac_exec_ext in '' $ac_executable_extensions; do
2434
2537
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435
2538
    ac_cv_prog_ac_ct_STRIP="strip"
2436
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2539
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437
2540
    break 2
2438
2541
  fi
2439
2542
done
2444
2547
fi
2445
2548
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2446
2549
if test -n "$ac_ct_STRIP"; then
2447
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2448
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2550
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2551
$as_echo "$ac_ct_STRIP" >&6; }
2449
2552
else
2450
 
  { echo "$as_me:$LINENO: result: no" >&5
2451
 
echo "${ECHO_T}no" >&6; }
 
2553
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2554
$as_echo "no" >&6; }
2452
2555
fi
2453
2556
 
2454
2557
  if test "x$ac_ct_STRIP" = x; then
2456
2559
  else
2457
2560
    case $cross_compiling:$ac_tool_warned in
2458
2561
yes:)
2459
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2460
 
whose name does not start with the host triplet.  If you think this
2461
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2462
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2463
 
whose name does not start with the host triplet.  If you think this
2464
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2562
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2563
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2465
2564
ac_tool_warned=yes ;;
2466
2565
esac
2467
2566
    STRIP=$ac_ct_STRIP
2471
2570
fi
2472
2571
 
2473
2572
fi
2474
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2573
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2475
2574
 
2476
2575
# We need awk for the "check" target.  The system "awk" is bad on
2477
2576
# some platforms.
2487
2586
 
2488
2587
ac_config_headers="$ac_config_headers config.h"
2489
2588
 
2490
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2491
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2589
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2590
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2492
2591
    # Check whether --enable-maintainer-mode was given.
2493
2592
if test "${enable_maintainer_mode+set}" = set; then
2494
2593
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2496
2595
  USE_MAINTAINER_MODE=no
2497
2596
fi
2498
2597
 
2499
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2500
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2501
 
   if test $USE_MAINTAINER_MODE = yes; then
 
2598
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2599
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2600
 
 
2601
 
 
2602
if test $USE_MAINTAINER_MODE = yes; then
2502
2603
  MAINTAINER_MODE_TRUE=
2503
2604
  MAINTAINER_MODE_FALSE='#'
2504
2605
else
2522
2623
.PHONY: am__doit
2523
2624
END
2524
2625
# If we don't find an include directive, just comment out the code.
2525
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2526
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2626
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2627
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2527
2628
am__include="#"
2528
2629
am__quote=
2529
2630
_am_result=none
2550
2651
fi
2551
2652
 
2552
2653
 
2553
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2554
 
echo "${ECHO_T}$_am_result" >&6; }
 
2654
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2655
$as_echo "$_am_result" >&6; }
2555
2656
rm -f confinc confmf
2556
2657
 
2557
2658
# Check whether --enable-dependency-tracking was given.
2563
2664
  am_depcomp="$ac_aux_dir/depcomp"
2564
2665
  AMDEPBACKSLASH='\'
2565
2666
fi
2566
 
 if test "x$enable_dependency_tracking" != xno; then
 
2667
 
 
2668
 
 
2669
if test "x$enable_dependency_tracking" != xno; then
2567
2670
  AMDEP_TRUE=
2568
2671
  AMDEP_FALSE='#'
2569
2672
else
2572
2675
fi
2573
2676
 
2574
2677
 
 
2678
 
2575
2679
ac_ext=c
2576
2680
ac_cpp='$CPP $CPPFLAGS'
2577
2681
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2580
2684
if test -n "$ac_tool_prefix"; then
2581
2685
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2582
2686
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2583
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2584
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2687
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2688
$as_echo_n "checking for $ac_word... " >&6; }
2585
2689
if test "${ac_cv_prog_CC+set}" = set; then
2586
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2690
  $as_echo_n "(cached) " >&6
2587
2691
else
2588
2692
  if test -n "$CC"; then
2589
2693
  ac_cv_prog_CC="$CC" # Let the user override the test.
2596
2700
  for ac_exec_ext in '' $ac_executable_extensions; do
2597
2701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598
2702
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2599
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2703
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600
2704
    break 2
2601
2705
  fi
2602
2706
done
2607
2711
fi
2608
2712
CC=$ac_cv_prog_CC
2609
2713
if test -n "$CC"; then
2610
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2611
 
echo "${ECHO_T}$CC" >&6; }
 
2714
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2715
$as_echo "$CC" >&6; }
2612
2716
else
2613
 
  { echo "$as_me:$LINENO: result: no" >&5
2614
 
echo "${ECHO_T}no" >&6; }
 
2717
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2718
$as_echo "no" >&6; }
2615
2719
fi
2616
2720
 
2617
2721
 
2620
2724
  ac_ct_CC=$CC
2621
2725
  # Extract the first word of "gcc", so it can be a program name with args.
2622
2726
set dummy gcc; ac_word=$2
2623
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2624
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2727
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2728
$as_echo_n "checking for $ac_word... " >&6; }
2625
2729
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2626
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2730
  $as_echo_n "(cached) " >&6
2627
2731
else
2628
2732
  if test -n "$ac_ct_CC"; then
2629
2733
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2636
2740
  for ac_exec_ext in '' $ac_executable_extensions; do
2637
2741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638
2742
    ac_cv_prog_ac_ct_CC="gcc"
2639
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2743
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2640
2744
    break 2
2641
2745
  fi
2642
2746
done
2647
2751
fi
2648
2752
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2649
2753
if test -n "$ac_ct_CC"; then
2650
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2651
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2754
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2755
$as_echo "$ac_ct_CC" >&6; }
2652
2756
else
2653
 
  { echo "$as_me:$LINENO: result: no" >&5
2654
 
echo "${ECHO_T}no" >&6; }
 
2757
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2758
$as_echo "no" >&6; }
2655
2759
fi
2656
2760
 
2657
2761
  if test "x$ac_ct_CC" = x; then
2659
2763
  else
2660
2764
    case $cross_compiling:$ac_tool_warned in
2661
2765
yes:)
2662
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2663
 
whose name does not start with the host triplet.  If you think this
2664
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2665
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2666
 
whose name does not start with the host triplet.  If you think this
2667
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2766
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2767
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668
2768
ac_tool_warned=yes ;;
2669
2769
esac
2670
2770
    CC=$ac_ct_CC
2677
2777
          if test -n "$ac_tool_prefix"; then
2678
2778
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2679
2779
set dummy ${ac_tool_prefix}cc; ac_word=$2
2680
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2681
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2780
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2781
$as_echo_n "checking for $ac_word... " >&6; }
2682
2782
if test "${ac_cv_prog_CC+set}" = set; then
2683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2783
  $as_echo_n "(cached) " >&6
2684
2784
else
2685
2785
  if test -n "$CC"; then
2686
2786
  ac_cv_prog_CC="$CC" # Let the user override the test.
2693
2793
  for ac_exec_ext in '' $ac_executable_extensions; do
2694
2794
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695
2795
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2696
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2796
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2697
2797
    break 2
2698
2798
  fi
2699
2799
done
2704
2804
fi
2705
2805
CC=$ac_cv_prog_CC
2706
2806
if test -n "$CC"; then
2707
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2708
 
echo "${ECHO_T}$CC" >&6; }
 
2807
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2808
$as_echo "$CC" >&6; }
2709
2809
else
2710
 
  { echo "$as_me:$LINENO: result: no" >&5
2711
 
echo "${ECHO_T}no" >&6; }
 
2810
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2811
$as_echo "no" >&6; }
2712
2812
fi
2713
2813
 
2714
2814
 
2717
2817
if test -z "$CC"; then
2718
2818
  # Extract the first word of "cc", so it can be a program name with args.
2719
2819
set dummy cc; ac_word=$2
2720
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2721
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2820
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2821
$as_echo_n "checking for $ac_word... " >&6; }
2722
2822
if test "${ac_cv_prog_CC+set}" = set; then
2723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2823
  $as_echo_n "(cached) " >&6
2724
2824
else
2725
2825
  if test -n "$CC"; then
2726
2826
  ac_cv_prog_CC="$CC" # Let the user override the test.
2738
2838
       continue
2739
2839
     fi
2740
2840
    ac_cv_prog_CC="cc"
2741
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2841
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742
2842
    break 2
2743
2843
  fi
2744
2844
done
2761
2861
fi
2762
2862
CC=$ac_cv_prog_CC
2763
2863
if test -n "$CC"; then
2764
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2765
 
echo "${ECHO_T}$CC" >&6; }
 
2864
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2865
$as_echo "$CC" >&6; }
2766
2866
else
2767
 
  { echo "$as_me:$LINENO: result: no" >&5
2768
 
echo "${ECHO_T}no" >&6; }
 
2867
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2868
$as_echo "no" >&6; }
2769
2869
fi
2770
2870
 
2771
2871
 
2776
2876
  do
2777
2877
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2778
2878
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2779
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2780
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2879
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2880
$as_echo_n "checking for $ac_word... " >&6; }
2781
2881
if test "${ac_cv_prog_CC+set}" = set; then
2782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2882
  $as_echo_n "(cached) " >&6
2783
2883
else
2784
2884
  if test -n "$CC"; then
2785
2885
  ac_cv_prog_CC="$CC" # Let the user override the test.
2792
2892
  for ac_exec_ext in '' $ac_executable_extensions; do
2793
2893
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2794
2894
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2795
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2895
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796
2896
    break 2
2797
2897
  fi
2798
2898
done
2803
2903
fi
2804
2904
CC=$ac_cv_prog_CC
2805
2905
if test -n "$CC"; then
2806
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2807
 
echo "${ECHO_T}$CC" >&6; }
 
2906
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2907
$as_echo "$CC" >&6; }
2808
2908
else
2809
 
  { echo "$as_me:$LINENO: result: no" >&5
2810
 
echo "${ECHO_T}no" >&6; }
 
2909
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2910
$as_echo "no" >&6; }
2811
2911
fi
2812
2912
 
2813
2913
 
2820
2920
do
2821
2921
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2822
2922
set dummy $ac_prog; ac_word=$2
2823
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2824
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2923
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2924
$as_echo_n "checking for $ac_word... " >&6; }
2825
2925
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2826
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2926
  $as_echo_n "(cached) " >&6
2827
2927
else
2828
2928
  if test -n "$ac_ct_CC"; then
2829
2929
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2836
2936
  for ac_exec_ext in '' $ac_executable_extensions; do
2837
2937
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838
2938
    ac_cv_prog_ac_ct_CC="$ac_prog"
2839
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2939
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2840
2940
    break 2
2841
2941
  fi
2842
2942
done
2847
2947
fi
2848
2948
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2849
2949
if test -n "$ac_ct_CC"; then
2850
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2851
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2950
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2951
$as_echo "$ac_ct_CC" >&6; }
2852
2952
else
2853
 
  { echo "$as_me:$LINENO: result: no" >&5
2854
 
echo "${ECHO_T}no" >&6; }
 
2953
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2954
$as_echo "no" >&6; }
2855
2955
fi
2856
2956
 
2857
2957
 
2863
2963
  else
2864
2964
    case $cross_compiling:$ac_tool_warned in
2865
2965
yes:)
2866
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2867
 
whose name does not start with the host triplet.  If you think this
2868
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2869
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2870
 
whose name does not start with the host triplet.  If you think this
2871
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2966
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2967
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2872
2968
ac_tool_warned=yes ;;
2873
2969
esac
2874
2970
    CC=$ac_ct_CC
2878
2974
fi
2879
2975
 
2880
2976
 
2881
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2977
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2978
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2979
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2882
2980
See \`config.log' for more details." >&5
2883
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2981
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2884
2982
See \`config.log' for more details." >&2;}
2885
 
   { (exit 1); exit 1; }; }
 
2983
   { (exit 1); exit 1; }; }; }
2886
2984
 
2887
2985
# Provide some information about the compiler.
2888
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2889
 
ac_compiler=`set X $ac_compile; echo $2`
 
2986
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2987
set X $ac_compile
 
2988
ac_compiler=$2
2890
2989
{ (ac_try="$ac_compiler --version >&5"
2891
2990
case "(($ac_try" in
2892
2991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893
2992
  *) ac_try_echo=$ac_try;;
2894
2993
esac
2895
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2994
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2995
$as_echo "$ac_try_echo") >&5
2896
2996
  (eval "$ac_compiler --version >&5") 2>&5
2897
2997
  ac_status=$?
2898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899
2999
  (exit $ac_status); }
2900
3000
{ (ac_try="$ac_compiler -v >&5"
2901
3001
case "(($ac_try" in
2902
3002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903
3003
  *) ac_try_echo=$ac_try;;
2904
3004
esac
2905
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3006
$as_echo "$ac_try_echo") >&5
2906
3007
  (eval "$ac_compiler -v >&5") 2>&5
2907
3008
  ac_status=$?
2908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3009
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909
3010
  (exit $ac_status); }
2910
3011
{ (ac_try="$ac_compiler -V >&5"
2911
3012
case "(($ac_try" in
2912
3013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913
3014
  *) ac_try_echo=$ac_try;;
2914
3015
esac
2915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3017
$as_echo "$ac_try_echo") >&5
2916
3018
  (eval "$ac_compiler -V >&5") 2>&5
2917
3019
  ac_status=$?
2918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3020
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
3021
  (exit $ac_status); }
2920
3022
 
2921
3023
cat >conftest.$ac_ext <<_ACEOF
2934
3036
}
2935
3037
_ACEOF
2936
3038
ac_clean_files_save=$ac_clean_files
2937
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3039
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2938
3040
# Try to create an executable without -o first, disregard a.out.
2939
3041
# It will help us diagnose broken compilers, and finding out an intuition
2940
3042
# of exeext.
2941
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2942
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2943
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2944
 
#
2945
 
# List of possible output files, starting from the most likely.
2946
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2947
 
# only as a last resort.  b.out is created by i960 compilers.
2948
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2949
 
#
2950
 
# The IRIX 6 linker writes into existing files which may not be
2951
 
# executable, retaining their permissions.  Remove them first so a
2952
 
# subsequent execution test works.
 
3043
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3044
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3045
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3046
 
 
3047
# The possible output files:
 
3048
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3049
 
2953
3050
ac_rmfiles=
2954
3051
for ac_file in $ac_files
2955
3052
do
2956
3053
  case $ac_file in
2957
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3054
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2958
3055
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2959
3056
  esac
2960
3057
done
2965
3062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966
3063
  *) ac_try_echo=$ac_try;;
2967
3064
esac
2968
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3066
$as_echo "$ac_try_echo") >&5
2969
3067
  (eval "$ac_link_default") 2>&5
2970
3068
  ac_status=$?
2971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3069
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972
3070
  (exit $ac_status); }; then
2973
3071
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2974
3072
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2979
3077
do
2980
3078
  test -f "$ac_file" || continue
2981
3079
  case $ac_file in
2982
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3080
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2983
3081
        ;;
2984
3082
    [ab].out )
2985
3083
        # We found the default executable, but exeext='' is most
3006
3104
  ac_file=''
3007
3105
fi
3008
3106
 
3009
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3010
 
echo "${ECHO_T}$ac_file" >&6; }
 
3107
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3108
$as_echo "$ac_file" >&6; }
3011
3109
if test -z "$ac_file"; then
3012
 
  echo "$as_me: failed program was:" >&5
 
3110
  $as_echo "$as_me: failed program was:" >&5
3013
3111
sed 's/^/| /' conftest.$ac_ext >&5
3014
3112
 
3015
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3113
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3114
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3115
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3016
3116
See \`config.log' for more details." >&5
3017
 
echo "$as_me: error: C compiler cannot create executables
 
3117
$as_echo "$as_me: error: C compiler cannot create executables
3018
3118
See \`config.log' for more details." >&2;}
3019
 
   { (exit 77); exit 77; }; }
 
3119
   { (exit 77); exit 77; }; }; }
3020
3120
fi
3021
3121
 
3022
3122
ac_exeext=$ac_cv_exeext
3023
3123
 
3024
3124
# Check that the compiler produces executables we can run.  If not, either
3025
3125
# the compiler is broken, or we cross compile.
3026
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3027
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3126
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3127
$as_echo_n "checking whether the C compiler works... " >&6; }
3028
3128
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3029
3129
# If not cross compiling, check that we can run a simple program.
3030
3130
if test "$cross_compiling" != yes; then
3033
3133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034
3134
  *) ac_try_echo=$ac_try;;
3035
3135
esac
3036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3136
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3137
$as_echo "$ac_try_echo") >&5
3037
3138
  (eval "$ac_try") 2>&5
3038
3139
  ac_status=$?
3039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3140
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040
3141
  (exit $ac_status); }; }; then
3041
3142
    cross_compiling=no
3042
3143
  else
3043
3144
    if test "$cross_compiling" = maybe; then
3044
3145
        cross_compiling=yes
3045
3146
    else
3046
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3147
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3148
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3149
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3047
3150
If you meant to cross compile, use \`--host'.
3048
3151
See \`config.log' for more details." >&5
3049
 
echo "$as_me: error: cannot run C compiled programs.
 
3152
$as_echo "$as_me: error: cannot run C compiled programs.
3050
3153
If you meant to cross compile, use \`--host'.
3051
3154
See \`config.log' for more details." >&2;}
3052
 
   { (exit 1); exit 1; }; }
 
3155
   { (exit 1); exit 1; }; }; }
3053
3156
    fi
3054
3157
  fi
3055
3158
fi
3056
 
{ echo "$as_me:$LINENO: result: yes" >&5
3057
 
echo "${ECHO_T}yes" >&6; }
 
3159
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3160
$as_echo "yes" >&6; }
3058
3161
 
3059
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3162
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3060
3163
ac_clean_files=$ac_clean_files_save
3061
3164
# Check that the compiler produces executables we can run.  If not, either
3062
3165
# the compiler is broken, or we cross compile.
3063
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3064
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3065
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3066
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3166
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3167
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3168
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3169
$as_echo "$cross_compiling" >&6; }
3067
3170
 
3068
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3069
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3171
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3172
$as_echo_n "checking for suffix of executables... " >&6; }
3070
3173
if { (ac_try="$ac_link"
3071
3174
case "(($ac_try" in
3072
3175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073
3176
  *) ac_try_echo=$ac_try;;
3074
3177
esac
3075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3178
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3179
$as_echo "$ac_try_echo") >&5
3076
3180
  (eval "$ac_link") 2>&5
3077
3181
  ac_status=$?
3078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079
3183
  (exit $ac_status); }; then
3080
3184
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3081
3185
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3084
3188
for ac_file in conftest.exe conftest conftest.*; do
3085
3189
  test -f "$ac_file" || continue
3086
3190
  case $ac_file in
3087
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3191
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3088
3192
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3089
3193
          break;;
3090
3194
    * ) break;;
3091
3195
  esac
3092
3196
done
3093
3197
else
3094
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3198
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3199
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3200
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3095
3201
See \`config.log' for more details." >&5
3096
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3202
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3097
3203
See \`config.log' for more details." >&2;}
3098
 
   { (exit 1); exit 1; }; }
 
3204
   { (exit 1); exit 1; }; }; }
3099
3205
fi
3100
3206
 
3101
3207
rm -f conftest$ac_cv_exeext
3102
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3103
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3208
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3209
$as_echo "$ac_cv_exeext" >&6; }
3104
3210
 
3105
3211
rm -f conftest.$ac_ext
3106
3212
EXEEXT=$ac_cv_exeext
3107
3213
ac_exeext=$EXEEXT
3108
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3109
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3214
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3215
$as_echo_n "checking for suffix of object files... " >&6; }
3110
3216
if test "${ac_cv_objext+set}" = set; then
3111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3217
  $as_echo_n "(cached) " >&6
3112
3218
else
3113
3219
  cat >conftest.$ac_ext <<_ACEOF
3114
3220
/* confdefs.h.  */
3131
3237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132
3238
  *) ac_try_echo=$ac_try;;
3133
3239
esac
3134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3240
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3241
$as_echo "$ac_try_echo") >&5
3135
3242
  (eval "$ac_compile") 2>&5
3136
3243
  ac_status=$?
3137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3244
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138
3245
  (exit $ac_status); }; then
3139
3246
  for ac_file in conftest.o conftest.obj conftest.*; do
3140
3247
  test -f "$ac_file" || continue;
3141
3248
  case $ac_file in
3142
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3249
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3143
3250
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3144
3251
       break;;
3145
3252
  esac
3146
3253
done
3147
3254
else
3148
 
  echo "$as_me: failed program was:" >&5
 
3255
  $as_echo "$as_me: failed program was:" >&5
3149
3256
sed 's/^/| /' conftest.$ac_ext >&5
3150
3257
 
3151
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3258
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3259
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3260
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3152
3261
See \`config.log' for more details." >&5
3153
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3262
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3154
3263
See \`config.log' for more details." >&2;}
3155
 
   { (exit 1); exit 1; }; }
 
3264
   { (exit 1); exit 1; }; }; }
3156
3265
fi
3157
3266
 
3158
3267
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3159
3268
fi
3160
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3161
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3269
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3270
$as_echo "$ac_cv_objext" >&6; }
3162
3271
OBJEXT=$ac_cv_objext
3163
3272
ac_objext=$OBJEXT
3164
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3165
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3273
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3274
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3166
3275
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3167
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3276
  $as_echo_n "(cached) " >&6
3168
3277
else
3169
3278
  cat >conftest.$ac_ext <<_ACEOF
3170
3279
/* confdefs.h.  */
3190
3299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191
3300
  *) ac_try_echo=$ac_try;;
3192
3301
esac
3193
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3302
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3303
$as_echo "$ac_try_echo") >&5
3194
3304
  (eval "$ac_compile") 2>conftest.er1
3195
3305
  ac_status=$?
3196
3306
  grep -v '^ *+' conftest.er1 >conftest.err
3197
3307
  rm -f conftest.er1
3198
3308
  cat conftest.err >&5
3199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3309
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200
3310
  (exit $ac_status); } && {
3201
3311
         test -z "$ac_c_werror_flag" ||
3202
3312
         test ! -s conftest.err
3203
3313
       } && test -s conftest.$ac_objext; then
3204
3314
  ac_compiler_gnu=yes
3205
3315
else
3206
 
  echo "$as_me: failed program was:" >&5
 
3316
  $as_echo "$as_me: failed program was:" >&5
3207
3317
sed 's/^/| /' conftest.$ac_ext >&5
3208
3318
 
3209
3319
        ac_compiler_gnu=no
3213
3323
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3214
3324
 
3215
3325
fi
3216
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3217
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3218
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3326
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3327
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3328
if test $ac_compiler_gnu = yes; then
 
3329
  GCC=yes
 
3330
else
 
3331
  GCC=
 
3332
fi
3219
3333
ac_test_CFLAGS=${CFLAGS+set}
3220
3334
ac_save_CFLAGS=$CFLAGS
3221
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3222
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3335
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3336
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3223
3337
if test "${ac_cv_prog_cc_g+set}" = set; then
3224
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3338
  $as_echo_n "(cached) " >&6
3225
3339
else
3226
3340
  ac_save_c_werror_flag=$ac_c_werror_flag
3227
3341
   ac_c_werror_flag=yes
3248
3362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249
3363
  *) ac_try_echo=$ac_try;;
3250
3364
esac
3251
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3365
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3366
$as_echo "$ac_try_echo") >&5
3252
3367
  (eval "$ac_compile") 2>conftest.er1
3253
3368
  ac_status=$?
3254
3369
  grep -v '^ *+' conftest.er1 >conftest.err
3255
3370
  rm -f conftest.er1
3256
3371
  cat conftest.err >&5
3257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258
3373
  (exit $ac_status); } && {
3259
3374
         test -z "$ac_c_werror_flag" ||
3260
3375
         test ! -s conftest.err
3261
3376
       } && test -s conftest.$ac_objext; then
3262
3377
  ac_cv_prog_cc_g=yes
3263
3378
else
3264
 
  echo "$as_me: failed program was:" >&5
 
3379
  $as_echo "$as_me: failed program was:" >&5
3265
3380
sed 's/^/| /' conftest.$ac_ext >&5
3266
3381
 
3267
3382
        CFLAGS=""
3286
3401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287
3402
  *) ac_try_echo=$ac_try;;
3288
3403
esac
3289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3404
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3405
$as_echo "$ac_try_echo") >&5
3290
3406
  (eval "$ac_compile") 2>conftest.er1
3291
3407
  ac_status=$?
3292
3408
  grep -v '^ *+' conftest.er1 >conftest.err
3293
3409
  rm -f conftest.er1
3294
3410
  cat conftest.err >&5
3295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3411
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
3412
  (exit $ac_status); } && {
3297
3413
         test -z "$ac_c_werror_flag" ||
3298
3414
         test ! -s conftest.err
3299
3415
       } && test -s conftest.$ac_objext; then
3300
3416
  :
3301
3417
else
3302
 
  echo "$as_me: failed program was:" >&5
 
3418
  $as_echo "$as_me: failed program was:" >&5
3303
3419
sed 's/^/| /' conftest.$ac_ext >&5
3304
3420
 
3305
3421
        ac_c_werror_flag=$ac_save_c_werror_flag
3325
3441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326
3442
  *) ac_try_echo=$ac_try;;
3327
3443
esac
3328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3444
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3445
$as_echo "$ac_try_echo") >&5
3329
3446
  (eval "$ac_compile") 2>conftest.er1
3330
3447
  ac_status=$?
3331
3448
  grep -v '^ *+' conftest.er1 >conftest.err
3332
3449
  rm -f conftest.er1
3333
3450
  cat conftest.err >&5
3334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3451
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335
3452
  (exit $ac_status); } && {
3336
3453
         test -z "$ac_c_werror_flag" ||
3337
3454
         test ! -s conftest.err
3338
3455
       } && test -s conftest.$ac_objext; then
3339
3456
  ac_cv_prog_cc_g=yes
3340
3457
else
3341
 
  echo "$as_me: failed program was:" >&5
 
3458
  $as_echo "$as_me: failed program was:" >&5
3342
3459
sed 's/^/| /' conftest.$ac_ext >&5
3343
3460
 
3344
3461
 
3353
3470
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354
3471
   ac_c_werror_flag=$ac_save_c_werror_flag
3355
3472
fi
3356
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3357
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3473
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3474
$as_echo "$ac_cv_prog_cc_g" >&6; }
3358
3475
if test "$ac_test_CFLAGS" = set; then
3359
3476
  CFLAGS=$ac_save_CFLAGS
3360
3477
elif test $ac_cv_prog_cc_g = yes; then
3370
3487
    CFLAGS=
3371
3488
  fi
3372
3489
fi
3373
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3374
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3490
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3491
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3375
3492
if test "${ac_cv_prog_cc_c89+set}" = set; then
3376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3493
  $as_echo_n "(cached) " >&6
3377
3494
else
3378
3495
  ac_cv_prog_cc_c89=no
3379
3496
ac_save_CC=$CC
3444
3561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445
3562
  *) ac_try_echo=$ac_try;;
3446
3563
esac
3447
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3564
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3565
$as_echo "$ac_try_echo") >&5
3448
3566
  (eval "$ac_compile") 2>conftest.er1
3449
3567
  ac_status=$?
3450
3568
  grep -v '^ *+' conftest.er1 >conftest.err
3451
3569
  rm -f conftest.er1
3452
3570
  cat conftest.err >&5
3453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3571
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454
3572
  (exit $ac_status); } && {
3455
3573
         test -z "$ac_c_werror_flag" ||
3456
3574
         test ! -s conftest.err
3457
3575
       } && test -s conftest.$ac_objext; then
3458
3576
  ac_cv_prog_cc_c89=$ac_arg
3459
3577
else
3460
 
  echo "$as_me: failed program was:" >&5
 
3578
  $as_echo "$as_me: failed program was:" >&5
3461
3579
sed 's/^/| /' conftest.$ac_ext >&5
3462
3580
 
3463
3581
 
3473
3591
# AC_CACHE_VAL
3474
3592
case "x$ac_cv_prog_cc_c89" in
3475
3593
  x)
3476
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3477
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3594
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3595
$as_echo "none needed" >&6; } ;;
3478
3596
  xno)
3479
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3480
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3597
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3598
$as_echo "unsupported" >&6; } ;;
3481
3599
  *)
3482
3600
    CC="$CC $ac_cv_prog_cc_c89"
3483
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3484
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3601
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3602
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3485
3603
esac
3486
3604
 
3487
3605
 
3493
3611
 
3494
3612
depcc="$CC"   am_compiler_list=
3495
3613
 
3496
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3497
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3614
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3615
$as_echo_n "checking dependency style of $depcc... " >&6; }
3498
3616
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3617
  $as_echo_n "(cached) " >&6
3500
3618
else
3501
3619
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3502
3620
  # We make a subdir and do the tests there.  Otherwise we can end up
3558
3676
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3559
3677
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3560
3678
         >/dev/null 2>conftest.err &&
3561
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3562
3679
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3563
3680
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3564
3681
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3584
3701
fi
3585
3702
 
3586
3703
fi
3587
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3588
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3704
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3705
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3589
3706
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3590
3707
 
3591
 
 if
 
3708
 
 
3709
 
 
3710
if
3592
3711
  test "x$enable_dependency_tracking" != xno \
3593
3712
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3594
3713
  am__fastdepCC_TRUE=
3600
3719
 
3601
3720
 
3602
3721
 
3603
 
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3604
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
3722
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3723
$as_echo_n "checking for library containing strerror... " >&6; }
3605
3724
if test "${ac_cv_search_strerror+set}" = set; then
3606
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3725
  $as_echo_n "(cached) " >&6
3607
3726
else
3608
3727
  ac_func_search_save_LIBS=$LIBS
3609
3728
cat >conftest.$ac_ext <<_ACEOF
3641
3760
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642
3761
  *) ac_try_echo=$ac_try;;
3643
3762
esac
3644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3763
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3764
$as_echo "$ac_try_echo") >&5
3645
3765
  (eval "$ac_link") 2>conftest.er1
3646
3766
  ac_status=$?
3647
3767
  grep -v '^ *+' conftest.er1 >conftest.err
3648
3768
  rm -f conftest.er1
3649
3769
  cat conftest.err >&5
3650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3770
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651
3771
  (exit $ac_status); } && {
3652
3772
         test -z "$ac_c_werror_flag" ||
3653
3773
         test ! -s conftest.err
3654
 
       } && test -s conftest$ac_exeext &&
3655
 
       $as_test_x conftest$ac_exeext; then
 
3774
       } && test -s conftest$ac_exeext && {
 
3775
         test "$cross_compiling" = yes ||
 
3776
         $as_test_x conftest$ac_exeext
 
3777
       }; then
3656
3778
  ac_cv_search_strerror=$ac_res
3657
3779
else
3658
 
  echo "$as_me: failed program was:" >&5
 
3780
  $as_echo "$as_me: failed program was:" >&5
3659
3781
sed 's/^/| /' conftest.$ac_ext >&5
3660
3782
 
3661
3783
 
3662
3784
fi
3663
3785
 
 
3786
rm -rf conftest.dSYM
3664
3787
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3665
3788
      conftest$ac_exeext
3666
3789
  if test "${ac_cv_search_strerror+set}" = set; then
3675
3798
rm conftest.$ac_ext
3676
3799
LIBS=$ac_func_search_save_LIBS
3677
3800
fi
3678
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3679
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
3801
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3802
$as_echo "$ac_cv_search_strerror" >&6; }
3680
3803
ac_res=$ac_cv_search_strerror
3681
3804
if test "$ac_res" != no; then
3682
3805
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3691
3814
if test -n "$ac_tool_prefix"; then
3692
3815
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3693
3816
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3694
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3817
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3818
$as_echo_n "checking for $ac_word... " >&6; }
3696
3819
if test "${ac_cv_prog_CC+set}" = set; then
3697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3820
  $as_echo_n "(cached) " >&6
3698
3821
else
3699
3822
  if test -n "$CC"; then
3700
3823
  ac_cv_prog_CC="$CC" # Let the user override the test.
3707
3830
  for ac_exec_ext in '' $ac_executable_extensions; do
3708
3831
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709
3832
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3710
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3833
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711
3834
    break 2
3712
3835
  fi
3713
3836
done
3718
3841
fi
3719
3842
CC=$ac_cv_prog_CC
3720
3843
if test -n "$CC"; then
3721
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3722
 
echo "${ECHO_T}$CC" >&6; }
 
3844
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3845
$as_echo "$CC" >&6; }
3723
3846
else
3724
 
  { echo "$as_me:$LINENO: result: no" >&5
3725
 
echo "${ECHO_T}no" >&6; }
 
3847
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3848
$as_echo "no" >&6; }
3726
3849
fi
3727
3850
 
3728
3851
 
3731
3854
  ac_ct_CC=$CC
3732
3855
  # Extract the first word of "gcc", so it can be a program name with args.
3733
3856
set dummy gcc; ac_word=$2
3734
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3735
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3857
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3858
$as_echo_n "checking for $ac_word... " >&6; }
3736
3859
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3737
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3860
  $as_echo_n "(cached) " >&6
3738
3861
else
3739
3862
  if test -n "$ac_ct_CC"; then
3740
3863
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3747
3870
  for ac_exec_ext in '' $ac_executable_extensions; do
3748
3871
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749
3872
    ac_cv_prog_ac_ct_CC="gcc"
3750
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3873
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751
3874
    break 2
3752
3875
  fi
3753
3876
done
3758
3881
fi
3759
3882
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3760
3883
if test -n "$ac_ct_CC"; then
3761
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3762
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3884
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3885
$as_echo "$ac_ct_CC" >&6; }
3763
3886
else
3764
 
  { echo "$as_me:$LINENO: result: no" >&5
3765
 
echo "${ECHO_T}no" >&6; }
 
3887
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3888
$as_echo "no" >&6; }
3766
3889
fi
3767
3890
 
3768
3891
  if test "x$ac_ct_CC" = x; then
3770
3893
  else
3771
3894
    case $cross_compiling:$ac_tool_warned in
3772
3895
yes:)
3773
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3774
 
whose name does not start with the host triplet.  If you think this
3775
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3776
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3777
 
whose name does not start with the host triplet.  If you think this
3778
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3896
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3897
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3779
3898
ac_tool_warned=yes ;;
3780
3899
esac
3781
3900
    CC=$ac_ct_CC
3788
3907
          if test -n "$ac_tool_prefix"; then
3789
3908
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3790
3909
set dummy ${ac_tool_prefix}cc; ac_word=$2
3791
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3792
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3910
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3911
$as_echo_n "checking for $ac_word... " >&6; }
3793
3912
if test "${ac_cv_prog_CC+set}" = set; then
3794
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3913
  $as_echo_n "(cached) " >&6
3795
3914
else
3796
3915
  if test -n "$CC"; then
3797
3916
  ac_cv_prog_CC="$CC" # Let the user override the test.
3804
3923
  for ac_exec_ext in '' $ac_executable_extensions; do
3805
3924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806
3925
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3807
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3926
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3808
3927
    break 2
3809
3928
  fi
3810
3929
done
3815
3934
fi
3816
3935
CC=$ac_cv_prog_CC
3817
3936
if test -n "$CC"; then
3818
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3819
 
echo "${ECHO_T}$CC" >&6; }
 
3937
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3938
$as_echo "$CC" >&6; }
3820
3939
else
3821
 
  { echo "$as_me:$LINENO: result: no" >&5
3822
 
echo "${ECHO_T}no" >&6; }
 
3940
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3941
$as_echo "no" >&6; }
3823
3942
fi
3824
3943
 
3825
3944
 
3828
3947
if test -z "$CC"; then
3829
3948
  # Extract the first word of "cc", so it can be a program name with args.
3830
3949
set dummy cc; ac_word=$2
3831
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3950
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3951
$as_echo_n "checking for $ac_word... " >&6; }
3833
3952
if test "${ac_cv_prog_CC+set}" = set; then
3834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3953
  $as_echo_n "(cached) " >&6
3835
3954
else
3836
3955
  if test -n "$CC"; then
3837
3956
  ac_cv_prog_CC="$CC" # Let the user override the test.
3849
3968
       continue
3850
3969
     fi
3851
3970
    ac_cv_prog_CC="cc"
3852
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3971
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3853
3972
    break 2
3854
3973
  fi
3855
3974
done
3872
3991
fi
3873
3992
CC=$ac_cv_prog_CC
3874
3993
if test -n "$CC"; then
3875
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3876
 
echo "${ECHO_T}$CC" >&6; }
 
3994
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3995
$as_echo "$CC" >&6; }
3877
3996
else
3878
 
  { echo "$as_me:$LINENO: result: no" >&5
3879
 
echo "${ECHO_T}no" >&6; }
 
3997
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3998
$as_echo "no" >&6; }
3880
3999
fi
3881
4000
 
3882
4001
 
3887
4006
  do
3888
4007
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3889
4008
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3890
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3891
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4009
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4010
$as_echo_n "checking for $ac_word... " >&6; }
3892
4011
if test "${ac_cv_prog_CC+set}" = set; then
3893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4012
  $as_echo_n "(cached) " >&6
3894
4013
else
3895
4014
  if test -n "$CC"; then
3896
4015
  ac_cv_prog_CC="$CC" # Let the user override the test.
3903
4022
  for ac_exec_ext in '' $ac_executable_extensions; do
3904
4023
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905
4024
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3906
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4025
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907
4026
    break 2
3908
4027
  fi
3909
4028
done
3914
4033
fi
3915
4034
CC=$ac_cv_prog_CC
3916
4035
if test -n "$CC"; then
3917
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3918
 
echo "${ECHO_T}$CC" >&6; }
 
4036
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4037
$as_echo "$CC" >&6; }
3919
4038
else
3920
 
  { echo "$as_me:$LINENO: result: no" >&5
3921
 
echo "${ECHO_T}no" >&6; }
 
4039
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4040
$as_echo "no" >&6; }
3922
4041
fi
3923
4042
 
3924
4043
 
3931
4050
do
3932
4051
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3933
4052
set dummy $ac_prog; ac_word=$2
3934
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3935
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4053
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4054
$as_echo_n "checking for $ac_word... " >&6; }
3936
4055
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4056
  $as_echo_n "(cached) " >&6
3938
4057
else
3939
4058
  if test -n "$ac_ct_CC"; then
3940
4059
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3947
4066
  for ac_exec_ext in '' $ac_executable_extensions; do
3948
4067
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3949
4068
    ac_cv_prog_ac_ct_CC="$ac_prog"
3950
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4069
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951
4070
    break 2
3952
4071
  fi
3953
4072
done
3958
4077
fi
3959
4078
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3960
4079
if test -n "$ac_ct_CC"; then
3961
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3962
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4080
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4081
$as_echo "$ac_ct_CC" >&6; }
3963
4082
else
3964
 
  { echo "$as_me:$LINENO: result: no" >&5
3965
 
echo "${ECHO_T}no" >&6; }
 
4083
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4084
$as_echo "no" >&6; }
3966
4085
fi
3967
4086
 
3968
4087
 
3974
4093
  else
3975
4094
    case $cross_compiling:$ac_tool_warned in
3976
4095
yes:)
3977
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3978
 
whose name does not start with the host triplet.  If you think this
3979
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3980
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3981
 
whose name does not start with the host triplet.  If you think this
3982
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4096
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4097
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3983
4098
ac_tool_warned=yes ;;
3984
4099
esac
3985
4100
    CC=$ac_ct_CC
3989
4104
fi
3990
4105
 
3991
4106
 
3992
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4107
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4108
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4109
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3993
4110
See \`config.log' for more details." >&5
3994
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4111
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3995
4112
See \`config.log' for more details." >&2;}
3996
 
   { (exit 1); exit 1; }; }
 
4113
   { (exit 1); exit 1; }; }; }
3997
4114
 
3998
4115
# Provide some information about the compiler.
3999
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4000
 
ac_compiler=`set X $ac_compile; echo $2`
 
4116
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4117
set X $ac_compile
 
4118
ac_compiler=$2
4001
4119
{ (ac_try="$ac_compiler --version >&5"
4002
4120
case "(($ac_try" in
4003
4121
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004
4122
  *) ac_try_echo=$ac_try;;
4005
4123
esac
4006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4124
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4125
$as_echo "$ac_try_echo") >&5
4007
4126
  (eval "$ac_compiler --version >&5") 2>&5
4008
4127
  ac_status=$?
4009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4128
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
4129
  (exit $ac_status); }
4011
4130
{ (ac_try="$ac_compiler -v >&5"
4012
4131
case "(($ac_try" in
4013
4132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014
4133
  *) ac_try_echo=$ac_try;;
4015
4134
esac
4016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4135
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4136
$as_echo "$ac_try_echo") >&5
4017
4137
  (eval "$ac_compiler -v >&5") 2>&5
4018
4138
  ac_status=$?
4019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4139
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020
4140
  (exit $ac_status); }
4021
4141
{ (ac_try="$ac_compiler -V >&5"
4022
4142
case "(($ac_try" in
4023
4143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024
4144
  *) ac_try_echo=$ac_try;;
4025
4145
esac
4026
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4146
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4147
$as_echo "$ac_try_echo") >&5
4027
4148
  (eval "$ac_compiler -V >&5") 2>&5
4028
4149
  ac_status=$?
4029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4150
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030
4151
  (exit $ac_status); }
4031
4152
 
4032
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4033
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
4153
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4154
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4034
4155
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4156
  $as_echo_n "(cached) " >&6
4036
4157
else
4037
4158
  cat >conftest.$ac_ext <<_ACEOF
4038
4159
/* confdefs.h.  */
4058
4179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059
4180
  *) ac_try_echo=$ac_try;;
4060
4181
esac
4061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4182
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4183
$as_echo "$ac_try_echo") >&5
4062
4184
  (eval "$ac_compile") 2>conftest.er1
4063
4185
  ac_status=$?
4064
4186
  grep -v '^ *+' conftest.er1 >conftest.err
4065
4187
  rm -f conftest.er1
4066
4188
  cat conftest.err >&5
4067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4189
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068
4190
  (exit $ac_status); } && {
4069
4191
         test -z "$ac_c_werror_flag" ||
4070
4192
         test ! -s conftest.err
4071
4193
       } && test -s conftest.$ac_objext; then
4072
4194
  ac_compiler_gnu=yes
4073
4195
else
4074
 
  echo "$as_me: failed program was:" >&5
 
4196
  $as_echo "$as_me: failed program was:" >&5
4075
4197
sed 's/^/| /' conftest.$ac_ext >&5
4076
4198
 
4077
4199
        ac_compiler_gnu=no
4081
4203
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4082
4204
 
4083
4205
fi
4084
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4085
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4086
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4206
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4207
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4208
if test $ac_compiler_gnu = yes; then
 
4209
  GCC=yes
 
4210
else
 
4211
  GCC=
 
4212
fi
4087
4213
ac_test_CFLAGS=${CFLAGS+set}
4088
4214
ac_save_CFLAGS=$CFLAGS
4089
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4090
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
4215
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4216
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4091
4217
if test "${ac_cv_prog_cc_g+set}" = set; then
4092
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4218
  $as_echo_n "(cached) " >&6
4093
4219
else
4094
4220
  ac_save_c_werror_flag=$ac_c_werror_flag
4095
4221
   ac_c_werror_flag=yes
4116
4242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117
4243
  *) ac_try_echo=$ac_try;;
4118
4244
esac
4119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4245
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4246
$as_echo "$ac_try_echo") >&5
4120
4247
  (eval "$ac_compile") 2>conftest.er1
4121
4248
  ac_status=$?
4122
4249
  grep -v '^ *+' conftest.er1 >conftest.err
4123
4250
  rm -f conftest.er1
4124
4251
  cat conftest.err >&5
4125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4252
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126
4253
  (exit $ac_status); } && {
4127
4254
         test -z "$ac_c_werror_flag" ||
4128
4255
         test ! -s conftest.err
4129
4256
       } && test -s conftest.$ac_objext; then
4130
4257
  ac_cv_prog_cc_g=yes
4131
4258
else
4132
 
  echo "$as_me: failed program was:" >&5
 
4259
  $as_echo "$as_me: failed program was:" >&5
4133
4260
sed 's/^/| /' conftest.$ac_ext >&5
4134
4261
 
4135
4262
        CFLAGS=""
4154
4281
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155
4282
  *) ac_try_echo=$ac_try;;
4156
4283
esac
4157
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4284
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4285
$as_echo "$ac_try_echo") >&5
4158
4286
  (eval "$ac_compile") 2>conftest.er1
4159
4287
  ac_status=$?
4160
4288
  grep -v '^ *+' conftest.er1 >conftest.err
4161
4289
  rm -f conftest.er1
4162
4290
  cat conftest.err >&5
4163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4291
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164
4292
  (exit $ac_status); } && {
4165
4293
         test -z "$ac_c_werror_flag" ||
4166
4294
         test ! -s conftest.err
4167
4295
       } && test -s conftest.$ac_objext; then
4168
4296
  :
4169
4297
else
4170
 
  echo "$as_me: failed program was:" >&5
 
4298
  $as_echo "$as_me: failed program was:" >&5
4171
4299
sed 's/^/| /' conftest.$ac_ext >&5
4172
4300
 
4173
4301
        ac_c_werror_flag=$ac_save_c_werror_flag
4193
4321
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194
4322
  *) ac_try_echo=$ac_try;;
4195
4323
esac
4196
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4324
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4325
$as_echo "$ac_try_echo") >&5
4197
4326
  (eval "$ac_compile") 2>conftest.er1
4198
4327
  ac_status=$?
4199
4328
  grep -v '^ *+' conftest.er1 >conftest.err
4200
4329
  rm -f conftest.er1
4201
4330
  cat conftest.err >&5
4202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4331
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203
4332
  (exit $ac_status); } && {
4204
4333
         test -z "$ac_c_werror_flag" ||
4205
4334
         test ! -s conftest.err
4206
4335
       } && test -s conftest.$ac_objext; then
4207
4336
  ac_cv_prog_cc_g=yes
4208
4337
else
4209
 
  echo "$as_me: failed program was:" >&5
 
4338
  $as_echo "$as_me: failed program was:" >&5
4210
4339
sed 's/^/| /' conftest.$ac_ext >&5
4211
4340
 
4212
4341
 
4221
4350
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222
4351
   ac_c_werror_flag=$ac_save_c_werror_flag
4223
4352
fi
4224
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4225
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
4353
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4354
$as_echo "$ac_cv_prog_cc_g" >&6; }
4226
4355
if test "$ac_test_CFLAGS" = set; then
4227
4356
  CFLAGS=$ac_save_CFLAGS
4228
4357
elif test $ac_cv_prog_cc_g = yes; then
4238
4367
    CFLAGS=
4239
4368
  fi
4240
4369
fi
4241
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4242
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
4370
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4371
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243
4372
if test "${ac_cv_prog_cc_c89+set}" = set; then
4244
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4373
  $as_echo_n "(cached) " >&6
4245
4374
else
4246
4375
  ac_cv_prog_cc_c89=no
4247
4376
ac_save_CC=$CC
4312
4441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313
4442
  *) ac_try_echo=$ac_try;;
4314
4443
esac
4315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4444
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4445
$as_echo "$ac_try_echo") >&5
4316
4446
  (eval "$ac_compile") 2>conftest.er1
4317
4447
  ac_status=$?
4318
4448
  grep -v '^ *+' conftest.er1 >conftest.err
4319
4449
  rm -f conftest.er1
4320
4450
  cat conftest.err >&5
4321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4451
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322
4452
  (exit $ac_status); } && {
4323
4453
         test -z "$ac_c_werror_flag" ||
4324
4454
         test ! -s conftest.err
4325
4455
       } && test -s conftest.$ac_objext; then
4326
4456
  ac_cv_prog_cc_c89=$ac_arg
4327
4457
else
4328
 
  echo "$as_me: failed program was:" >&5
 
4458
  $as_echo "$as_me: failed program was:" >&5
4329
4459
sed 's/^/| /' conftest.$ac_ext >&5
4330
4460
 
4331
4461
 
4341
4471
# AC_CACHE_VAL
4342
4472
case "x$ac_cv_prog_cc_c89" in
4343
4473
  x)
4344
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4345
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4474
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4475
$as_echo "none needed" >&6; } ;;
4346
4476
  xno)
4347
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4348
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4477
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4478
$as_echo "unsupported" >&6; } ;;
4349
4479
  *)
4350
4480
    CC="$CC $ac_cv_prog_cc_c89"
4351
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4352
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4481
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4482
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4353
4483
esac
4354
4484
 
4355
4485
 
4361
4491
 
4362
4492
depcc="$CC"   am_compiler_list=
4363
4493
 
4364
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4365
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
4494
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4495
$as_echo_n "checking dependency style of $depcc... " >&6; }
4366
4496
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4367
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4497
  $as_echo_n "(cached) " >&6
4368
4498
else
4369
4499
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4370
4500
  # We make a subdir and do the tests there.  Otherwise we can end up
4426
4556
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4427
4557
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4428
4558
         >/dev/null 2>conftest.err &&
4429
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4430
4559
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4431
4560
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4432
4561
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4452
4581
fi
4453
4582
 
4454
4583
fi
4455
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4456
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4584
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4585
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4457
4586
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4458
4587
 
4459
 
 if
 
4588
 
 
4589
 
 
4590
if
4460
4591
  test "x$enable_dependency_tracking" != xno \
4461
4592
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4462
4593
  am__fastdepCC_TRUE=
4475
4606
if test -n "$ac_tool_prefix"; then
4476
4607
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4477
4608
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4478
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4479
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4609
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4610
$as_echo_n "checking for $ac_word... " >&6; }
4480
4611
if test "${ac_cv_prog_CC+set}" = set; then
4481
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4612
  $as_echo_n "(cached) " >&6
4482
4613
else
4483
4614
  if test -n "$CC"; then
4484
4615
  ac_cv_prog_CC="$CC" # Let the user override the test.
4491
4622
  for ac_exec_ext in '' $ac_executable_extensions; do
4492
4623
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493
4624
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4494
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4625
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4495
4626
    break 2
4496
4627
  fi
4497
4628
done
4502
4633
fi
4503
4634
CC=$ac_cv_prog_CC
4504
4635
if test -n "$CC"; then
4505
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4506
 
echo "${ECHO_T}$CC" >&6; }
 
4636
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4637
$as_echo "$CC" >&6; }
4507
4638
else
4508
 
  { echo "$as_me:$LINENO: result: no" >&5
4509
 
echo "${ECHO_T}no" >&6; }
 
4639
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4640
$as_echo "no" >&6; }
4510
4641
fi
4511
4642
 
4512
4643
 
4515
4646
  ac_ct_CC=$CC
4516
4647
  # Extract the first word of "gcc", so it can be a program name with args.
4517
4648
set dummy gcc; ac_word=$2
4518
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4519
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4649
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4650
$as_echo_n "checking for $ac_word... " >&6; }
4520
4651
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4652
  $as_echo_n "(cached) " >&6
4522
4653
else
4523
4654
  if test -n "$ac_ct_CC"; then
4524
4655
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4531
4662
  for ac_exec_ext in '' $ac_executable_extensions; do
4532
4663
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533
4664
    ac_cv_prog_ac_ct_CC="gcc"
4534
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4665
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4535
4666
    break 2
4536
4667
  fi
4537
4668
done
4542
4673
fi
4543
4674
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4544
4675
if test -n "$ac_ct_CC"; then
4545
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4546
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4676
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4677
$as_echo "$ac_ct_CC" >&6; }
4547
4678
else
4548
 
  { echo "$as_me:$LINENO: result: no" >&5
4549
 
echo "${ECHO_T}no" >&6; }
 
4679
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4680
$as_echo "no" >&6; }
4550
4681
fi
4551
4682
 
4552
4683
  if test "x$ac_ct_CC" = x; then
4554
4685
  else
4555
4686
    case $cross_compiling:$ac_tool_warned in
4556
4687
yes:)
4557
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4558
 
whose name does not start with the host triplet.  If you think this
4559
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4560
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4561
 
whose name does not start with the host triplet.  If you think this
4562
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4688
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4689
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4563
4690
ac_tool_warned=yes ;;
4564
4691
esac
4565
4692
    CC=$ac_ct_CC
4572
4699
          if test -n "$ac_tool_prefix"; then
4573
4700
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4574
4701
set dummy ${ac_tool_prefix}cc; ac_word=$2
4575
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4576
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4702
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4703
$as_echo_n "checking for $ac_word... " >&6; }
4577
4704
if test "${ac_cv_prog_CC+set}" = set; then
4578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4705
  $as_echo_n "(cached) " >&6
4579
4706
else
4580
4707
  if test -n "$CC"; then
4581
4708
  ac_cv_prog_CC="$CC" # Let the user override the test.
4588
4715
  for ac_exec_ext in '' $ac_executable_extensions; do
4589
4716
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4590
4717
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4591
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4718
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592
4719
    break 2
4593
4720
  fi
4594
4721
done
4599
4726
fi
4600
4727
CC=$ac_cv_prog_CC
4601
4728
if test -n "$CC"; then
4602
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4603
 
echo "${ECHO_T}$CC" >&6; }
 
4729
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4730
$as_echo "$CC" >&6; }
4604
4731
else
4605
 
  { echo "$as_me:$LINENO: result: no" >&5
4606
 
echo "${ECHO_T}no" >&6; }
 
4732
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4733
$as_echo "no" >&6; }
4607
4734
fi
4608
4735
 
4609
4736
 
4612
4739
if test -z "$CC"; then
4613
4740
  # Extract the first word of "cc", so it can be a program name with args.
4614
4741
set dummy cc; ac_word=$2
4615
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4616
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4742
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4743
$as_echo_n "checking for $ac_word... " >&6; }
4617
4744
if test "${ac_cv_prog_CC+set}" = set; then
4618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4745
  $as_echo_n "(cached) " >&6
4619
4746
else
4620
4747
  if test -n "$CC"; then
4621
4748
  ac_cv_prog_CC="$CC" # Let the user override the test.
4633
4760
       continue
4634
4761
     fi
4635
4762
    ac_cv_prog_CC="cc"
4636
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4763
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637
4764
    break 2
4638
4765
  fi
4639
4766
done
4656
4783
fi
4657
4784
CC=$ac_cv_prog_CC
4658
4785
if test -n "$CC"; then
4659
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4660
 
echo "${ECHO_T}$CC" >&6; }
 
4786
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4787
$as_echo "$CC" >&6; }
4661
4788
else
4662
 
  { echo "$as_me:$LINENO: result: no" >&5
4663
 
echo "${ECHO_T}no" >&6; }
 
4789
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4790
$as_echo "no" >&6; }
4664
4791
fi
4665
4792
 
4666
4793
 
4671
4798
  do
4672
4799
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4673
4800
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4674
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4675
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4801
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4802
$as_echo_n "checking for $ac_word... " >&6; }
4676
4803
if test "${ac_cv_prog_CC+set}" = set; then
4677
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4804
  $as_echo_n "(cached) " >&6
4678
4805
else
4679
4806
  if test -n "$CC"; then
4680
4807
  ac_cv_prog_CC="$CC" # Let the user override the test.
4687
4814
  for ac_exec_ext in '' $ac_executable_extensions; do
4688
4815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689
4816
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4690
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4817
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4691
4818
    break 2
4692
4819
  fi
4693
4820
done
4698
4825
fi
4699
4826
CC=$ac_cv_prog_CC
4700
4827
if test -n "$CC"; then
4701
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4702
 
echo "${ECHO_T}$CC" >&6; }
 
4828
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4829
$as_echo "$CC" >&6; }
4703
4830
else
4704
 
  { echo "$as_me:$LINENO: result: no" >&5
4705
 
echo "${ECHO_T}no" >&6; }
 
4831
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4832
$as_echo "no" >&6; }
4706
4833
fi
4707
4834
 
4708
4835
 
4715
4842
do
4716
4843
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4717
4844
set dummy $ac_prog; ac_word=$2
4718
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4719
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4845
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4846
$as_echo_n "checking for $ac_word... " >&6; }
4720
4847
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4721
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4848
  $as_echo_n "(cached) " >&6
4722
4849
else
4723
4850
  if test -n "$ac_ct_CC"; then
4724
4851
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4731
4858
  for ac_exec_ext in '' $ac_executable_extensions; do
4732
4859
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733
4860
    ac_cv_prog_ac_ct_CC="$ac_prog"
4734
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4861
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4735
4862
    break 2
4736
4863
  fi
4737
4864
done
4742
4869
fi
4743
4870
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4744
4871
if test -n "$ac_ct_CC"; then
4745
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4746
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4872
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4873
$as_echo "$ac_ct_CC" >&6; }
4747
4874
else
4748
 
  { echo "$as_me:$LINENO: result: no" >&5
4749
 
echo "${ECHO_T}no" >&6; }
 
4875
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4876
$as_echo "no" >&6; }
4750
4877
fi
4751
4878
 
4752
4879
 
4758
4885
  else
4759
4886
    case $cross_compiling:$ac_tool_warned in
4760
4887
yes:)
4761
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4762
 
whose name does not start with the host triplet.  If you think this
4763
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4764
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4765
 
whose name does not start with the host triplet.  If you think this
4766
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4888
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4889
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4767
4890
ac_tool_warned=yes ;;
4768
4891
esac
4769
4892
    CC=$ac_ct_CC
4773
4896
fi
4774
4897
 
4775
4898
 
4776
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4899
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4900
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4901
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4777
4902
See \`config.log' for more details." >&5
4778
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4903
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4779
4904
See \`config.log' for more details." >&2;}
4780
 
   { (exit 1); exit 1; }; }
 
4905
   { (exit 1); exit 1; }; }; }
4781
4906
 
4782
4907
# Provide some information about the compiler.
4783
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4784
 
ac_compiler=`set X $ac_compile; echo $2`
 
4908
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4909
set X $ac_compile
 
4910
ac_compiler=$2
4785
4911
{ (ac_try="$ac_compiler --version >&5"
4786
4912
case "(($ac_try" in
4787
4913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4788
4914
  *) ac_try_echo=$ac_try;;
4789
4915
esac
4790
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4916
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4917
$as_echo "$ac_try_echo") >&5
4791
4918
  (eval "$ac_compiler --version >&5") 2>&5
4792
4919
  ac_status=$?
4793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4920
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794
4921
  (exit $ac_status); }
4795
4922
{ (ac_try="$ac_compiler -v >&5"
4796
4923
case "(($ac_try" in
4797
4924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798
4925
  *) ac_try_echo=$ac_try;;
4799
4926
esac
4800
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4927
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4928
$as_echo "$ac_try_echo") >&5
4801
4929
  (eval "$ac_compiler -v >&5") 2>&5
4802
4930
  ac_status=$?
4803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4931
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804
4932
  (exit $ac_status); }
4805
4933
{ (ac_try="$ac_compiler -V >&5"
4806
4934
case "(($ac_try" in
4807
4935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808
4936
  *) ac_try_echo=$ac_try;;
4809
4937
esac
4810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4938
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4939
$as_echo "$ac_try_echo") >&5
4811
4940
  (eval "$ac_compiler -V >&5") 2>&5
4812
4941
  ac_status=$?
4813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4942
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814
4943
  (exit $ac_status); }
4815
4944
 
4816
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4817
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
4945
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4946
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4818
4947
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4948
  $as_echo_n "(cached) " >&6
4820
4949
else
4821
4950
  cat >conftest.$ac_ext <<_ACEOF
4822
4951
/* confdefs.h.  */
4842
4971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4843
4972
  *) ac_try_echo=$ac_try;;
4844
4973
esac
4845
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4974
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4975
$as_echo "$ac_try_echo") >&5
4846
4976
  (eval "$ac_compile") 2>conftest.er1
4847
4977
  ac_status=$?
4848
4978
  grep -v '^ *+' conftest.er1 >conftest.err
4849
4979
  rm -f conftest.er1
4850
4980
  cat conftest.err >&5
4851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4981
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852
4982
  (exit $ac_status); } && {
4853
4983
         test -z "$ac_c_werror_flag" ||
4854
4984
         test ! -s conftest.err
4855
4985
       } && test -s conftest.$ac_objext; then
4856
4986
  ac_compiler_gnu=yes
4857
4987
else
4858
 
  echo "$as_me: failed program was:" >&5
 
4988
  $as_echo "$as_me: failed program was:" >&5
4859
4989
sed 's/^/| /' conftest.$ac_ext >&5
4860
4990
 
4861
4991
        ac_compiler_gnu=no
4865
4995
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4866
4996
 
4867
4997
fi
4868
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4869
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4870
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4998
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4999
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5000
if test $ac_compiler_gnu = yes; then
 
5001
  GCC=yes
 
5002
else
 
5003
  GCC=
 
5004
fi
4871
5005
ac_test_CFLAGS=${CFLAGS+set}
4872
5006
ac_save_CFLAGS=$CFLAGS
4873
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4874
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
5007
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
5008
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4875
5009
if test "${ac_cv_prog_cc_g+set}" = set; then
4876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5010
  $as_echo_n "(cached) " >&6
4877
5011
else
4878
5012
  ac_save_c_werror_flag=$ac_c_werror_flag
4879
5013
   ac_c_werror_flag=yes
4900
5034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901
5035
  *) ac_try_echo=$ac_try;;
4902
5036
esac
4903
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5038
$as_echo "$ac_try_echo") >&5
4904
5039
  (eval "$ac_compile") 2>conftest.er1
4905
5040
  ac_status=$?
4906
5041
  grep -v '^ *+' conftest.er1 >conftest.err
4907
5042
  rm -f conftest.er1
4908
5043
  cat conftest.err >&5
4909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910
5045
  (exit $ac_status); } && {
4911
5046
         test -z "$ac_c_werror_flag" ||
4912
5047
         test ! -s conftest.err
4913
5048
       } && test -s conftest.$ac_objext; then
4914
5049
  ac_cv_prog_cc_g=yes
4915
5050
else
4916
 
  echo "$as_me: failed program was:" >&5
 
5051
  $as_echo "$as_me: failed program was:" >&5
4917
5052
sed 's/^/| /' conftest.$ac_ext >&5
4918
5053
 
4919
5054
        CFLAGS=""
4938
5073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939
5074
  *) ac_try_echo=$ac_try;;
4940
5075
esac
4941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5076
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5077
$as_echo "$ac_try_echo") >&5
4942
5078
  (eval "$ac_compile") 2>conftest.er1
4943
5079
  ac_status=$?
4944
5080
  grep -v '^ *+' conftest.er1 >conftest.err
4945
5081
  rm -f conftest.er1
4946
5082
  cat conftest.err >&5
4947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5083
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948
5084
  (exit $ac_status); } && {
4949
5085
         test -z "$ac_c_werror_flag" ||
4950
5086
         test ! -s conftest.err
4951
5087
       } && test -s conftest.$ac_objext; then
4952
5088
  :
4953
5089
else
4954
 
  echo "$as_me: failed program was:" >&5
 
5090
  $as_echo "$as_me: failed program was:" >&5
4955
5091
sed 's/^/| /' conftest.$ac_ext >&5
4956
5092
 
4957
5093
        ac_c_werror_flag=$ac_save_c_werror_flag
4977
5113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978
5114
  *) ac_try_echo=$ac_try;;
4979
5115
esac
4980
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5117
$as_echo "$ac_try_echo") >&5
4981
5118
  (eval "$ac_compile") 2>conftest.er1
4982
5119
  ac_status=$?
4983
5120
  grep -v '^ *+' conftest.er1 >conftest.err
4984
5121
  rm -f conftest.er1
4985
5122
  cat conftest.err >&5
4986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5123
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987
5124
  (exit $ac_status); } && {
4988
5125
         test -z "$ac_c_werror_flag" ||
4989
5126
         test ! -s conftest.err
4990
5127
       } && test -s conftest.$ac_objext; then
4991
5128
  ac_cv_prog_cc_g=yes
4992
5129
else
4993
 
  echo "$as_me: failed program was:" >&5
 
5130
  $as_echo "$as_me: failed program was:" >&5
4994
5131
sed 's/^/| /' conftest.$ac_ext >&5
4995
5132
 
4996
5133
 
5005
5142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006
5143
   ac_c_werror_flag=$ac_save_c_werror_flag
5007
5144
fi
5008
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5009
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
5145
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5146
$as_echo "$ac_cv_prog_cc_g" >&6; }
5010
5147
if test "$ac_test_CFLAGS" = set; then
5011
5148
  CFLAGS=$ac_save_CFLAGS
5012
5149
elif test $ac_cv_prog_cc_g = yes; then
5022
5159
    CFLAGS=
5023
5160
  fi
5024
5161
fi
5025
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5026
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
5162
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5163
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5027
5164
if test "${ac_cv_prog_cc_c89+set}" = set; then
5028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5165
  $as_echo_n "(cached) " >&6
5029
5166
else
5030
5167
  ac_cv_prog_cc_c89=no
5031
5168
ac_save_CC=$CC
5096
5233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097
5234
  *) ac_try_echo=$ac_try;;
5098
5235
esac
5099
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5236
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5237
$as_echo "$ac_try_echo") >&5
5100
5238
  (eval "$ac_compile") 2>conftest.er1
5101
5239
  ac_status=$?
5102
5240
  grep -v '^ *+' conftest.er1 >conftest.err
5103
5241
  rm -f conftest.er1
5104
5242
  cat conftest.err >&5
5105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5243
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106
5244
  (exit $ac_status); } && {
5107
5245
         test -z "$ac_c_werror_flag" ||
5108
5246
         test ! -s conftest.err
5109
5247
       } && test -s conftest.$ac_objext; then
5110
5248
  ac_cv_prog_cc_c89=$ac_arg
5111
5249
else
5112
 
  echo "$as_me: failed program was:" >&5
 
5250
  $as_echo "$as_me: failed program was:" >&5
5113
5251
sed 's/^/| /' conftest.$ac_ext >&5
5114
5252
 
5115
5253
 
5125
5263
# AC_CACHE_VAL
5126
5264
case "x$ac_cv_prog_cc_c89" in
5127
5265
  x)
5128
 
    { echo "$as_me:$LINENO: result: none needed" >&5
5129
 
echo "${ECHO_T}none needed" >&6; } ;;
 
5266
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5267
$as_echo "none needed" >&6; } ;;
5130
5268
  xno)
5131
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
5132
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
5269
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5270
$as_echo "unsupported" >&6; } ;;
5133
5271
  *)
5134
5272
    CC="$CC $ac_cv_prog_cc_c89"
5135
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5136
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
5273
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5274
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5137
5275
esac
5138
5276
 
5139
5277
 
5145
5283
 
5146
5284
depcc="$CC"   am_compiler_list=
5147
5285
 
5148
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5149
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
5286
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5287
$as_echo_n "checking dependency style of $depcc... " >&6; }
5150
5288
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5289
  $as_echo_n "(cached) " >&6
5152
5290
else
5153
5291
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5154
5292
  # We make a subdir and do the tests there.  Otherwise we can end up
5210
5348
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5211
5349
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5212
5350
         >/dev/null 2>conftest.err &&
5213
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5214
5351
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5215
5352
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5216
5353
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5236
5373
fi
5237
5374
 
5238
5375
fi
5239
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5240
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
5376
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5377
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5241
5378
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5242
5379
 
5243
 
 if
 
5380
 
 
5381
 
 
5382
if
5244
5383
  test "x$enable_dependency_tracking" != xno \
5245
5384
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5246
5385
  am__fastdepCC_TRUE=
5259
5398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260
5399
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5261
5400
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5262
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5263
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
5401
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5402
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5264
5403
# On Suns, sometimes $CPP names a directory.
5265
5404
if test -n "$CPP" && test -d "$CPP"; then
5266
5405
  CPP=
5267
5406
fi
5268
5407
if test -z "$CPP"; then
5269
5408
  if test "${ac_cv_prog_CPP+set}" = set; then
5270
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5409
  $as_echo_n "(cached) " >&6
5271
5410
else
5272
5411
      # Double quotes because CPP needs to be expanded
5273
5412
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5299
5438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5300
5439
  *) ac_try_echo=$ac_try;;
5301
5440
esac
5302
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5441
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5442
$as_echo "$ac_try_echo") >&5
5303
5443
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5304
5444
  ac_status=$?
5305
5445
  grep -v '^ *+' conftest.er1 >conftest.err
5306
5446
  rm -f conftest.er1
5307
5447
  cat conftest.err >&5
5308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5448
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309
5449
  (exit $ac_status); } >/dev/null && {
5310
5450
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5311
5451
         test ! -s conftest.err
5312
5452
       }; then
5313
5453
  :
5314
5454
else
5315
 
  echo "$as_me: failed program was:" >&5
 
5455
  $as_echo "$as_me: failed program was:" >&5
5316
5456
sed 's/^/| /' conftest.$ac_ext >&5
5317
5457
 
5318
5458
  # Broken: fails on valid input.
5336
5476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5337
5477
  *) ac_try_echo=$ac_try;;
5338
5478
esac
5339
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5479
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5480
$as_echo "$ac_try_echo") >&5
5340
5481
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5341
5482
  ac_status=$?
5342
5483
  grep -v '^ *+' conftest.er1 >conftest.err
5343
5484
  rm -f conftest.er1
5344
5485
  cat conftest.err >&5
5345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5486
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346
5487
  (exit $ac_status); } >/dev/null && {
5347
5488
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5348
5489
         test ! -s conftest.err
5350
5491
  # Broken: success on invalid input.
5351
5492
continue
5352
5493
else
5353
 
  echo "$as_me: failed program was:" >&5
 
5494
  $as_echo "$as_me: failed program was:" >&5
5354
5495
sed 's/^/| /' conftest.$ac_ext >&5
5355
5496
 
5356
5497
  # Passes both tests.
5375
5516
else
5376
5517
  ac_cv_prog_CPP=$CPP
5377
5518
fi
5378
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5379
 
echo "${ECHO_T}$CPP" >&6; }
 
5519
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5520
$as_echo "$CPP" >&6; }
5380
5521
ac_preproc_ok=false
5381
5522
for ac_c_preproc_warn_flag in '' yes
5382
5523
do
5404
5545
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5405
5546
  *) ac_try_echo=$ac_try;;
5406
5547
esac
5407
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5548
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5549
$as_echo "$ac_try_echo") >&5
5408
5550
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5409
5551
  ac_status=$?
5410
5552
  grep -v '^ *+' conftest.er1 >conftest.err
5411
5553
  rm -f conftest.er1
5412
5554
  cat conftest.err >&5
5413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5555
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414
5556
  (exit $ac_status); } >/dev/null && {
5415
5557
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5416
5558
         test ! -s conftest.err
5417
5559
       }; then
5418
5560
  :
5419
5561
else
5420
 
  echo "$as_me: failed program was:" >&5
 
5562
  $as_echo "$as_me: failed program was:" >&5
5421
5563
sed 's/^/| /' conftest.$ac_ext >&5
5422
5564
 
5423
5565
  # Broken: fails on valid input.
5441
5583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5442
5584
  *) ac_try_echo=$ac_try;;
5443
5585
esac
5444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5586
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5587
$as_echo "$ac_try_echo") >&5
5445
5588
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5446
5589
  ac_status=$?
5447
5590
  grep -v '^ *+' conftest.er1 >conftest.err
5448
5591
  rm -f conftest.er1
5449
5592
  cat conftest.err >&5
5450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5593
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451
5594
  (exit $ac_status); } >/dev/null && {
5452
5595
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5453
5596
         test ! -s conftest.err
5455
5598
  # Broken: success on invalid input.
5456
5599
continue
5457
5600
else
5458
 
  echo "$as_me: failed program was:" >&5
 
5601
  $as_echo "$as_me: failed program was:" >&5
5459
5602
sed 's/^/| /' conftest.$ac_ext >&5
5460
5603
 
5461
5604
  # Passes both tests.
5471
5614
if $ac_preproc_ok; then
5472
5615
  :
5473
5616
else
5474
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5617
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5618
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5619
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5475
5620
See \`config.log' for more details." >&5
5476
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
5621
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5477
5622
See \`config.log' for more details." >&2;}
5478
 
   { (exit 1); exit 1; }; }
 
5623
   { (exit 1); exit 1; }; }; }
5479
5624
fi
5480
5625
 
5481
5626
ac_ext=c
5485
5630
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5486
5631
 
5487
5632
 
5488
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5489
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5490
 
if test "${ac_cv_path_GREP+set}" = set; then
5491
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5492
 
else
5493
 
  # Extract the first word of "grep ggrep" to use in msg output
5494
 
if test -z "$GREP"; then
5495
 
set dummy grep ggrep; ac_prog_name=$2
5496
 
if test "${ac_cv_path_GREP+set}" = set; then
5497
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5498
 
else
 
5633
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5634
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5635
if test "${ac_cv_path_GREP+set}" = set; then
 
5636
  $as_echo_n "(cached) " >&6
 
5637
else
 
5638
  if test -z "$GREP"; then
5499
5639
  ac_path_GREP_found=false
5500
 
# Loop through the user's path and test for each of PROGNAME-LIST
5501
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5640
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5641
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502
5642
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5503
5643
do
5504
5644
  IFS=$as_save_IFS
5505
5645
  test -z "$as_dir" && as_dir=.
5506
5646
  for ac_prog in grep ggrep; do
5507
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5508
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5509
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5510
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
5647
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5648
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5649
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5650
# Check for GNU ac_path_GREP and select it if it is found.
5511
5651
  # Check for GNU $ac_path_GREP
5512
5652
case `"$ac_path_GREP" --version 2>&1` in
5513
5653
*GNU*)
5514
5654
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5515
5655
*)
5516
5656
  ac_count=0
5517
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5657
  $as_echo_n 0123456789 >"conftest.in"
5518
5658
  while :
5519
5659
  do
5520
5660
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5521
5661
    mv "conftest.tmp" "conftest.in"
5522
5662
    cp "conftest.in" "conftest.nl"
5523
 
    echo 'GREP' >> "conftest.nl"
 
5663
    $as_echo 'GREP' >> "conftest.nl"
5524
5664
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5525
5665
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5526
5666
    ac_count=`expr $ac_count + 1`
5535
5675
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5536
5676
esac
5537
5677
 
5538
 
 
5539
 
    $ac_path_GREP_found && break 3
 
5678
      $ac_path_GREP_found && break 3
 
5679
    done
5540
5680
  done
5541
5681
done
5542
 
 
5543
 
done
5544
5682
IFS=$as_save_IFS
5545
 
 
5546
 
 
5547
 
fi
5548
 
 
5549
 
GREP="$ac_cv_path_GREP"
5550
 
if test -z "$GREP"; then
5551
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5552
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5683
  if test -z "$ac_cv_path_GREP"; then
 
5684
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5685
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5553
5686
   { (exit 1); exit 1; }; }
5554
 
fi
5555
 
 
 
5687
  fi
5556
5688
else
5557
5689
  ac_cv_path_GREP=$GREP
5558
5690
fi
5559
5691
 
5560
 
 
5561
5692
fi
5562
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5563
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
5693
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5694
$as_echo "$ac_cv_path_GREP" >&6; }
5564
5695
 GREP="$ac_cv_path_GREP"
5565
5696
 
5566
5697
 
5567
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
5568
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
5698
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5699
$as_echo_n "checking for egrep... " >&6; }
5569
5700
if test "${ac_cv_path_EGREP+set}" = set; then
5570
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5701
  $as_echo_n "(cached) " >&6
5571
5702
else
5572
5703
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5573
5704
   then ac_cv_path_EGREP="$GREP -E"
5574
5705
   else
5575
 
     # Extract the first word of "egrep" to use in msg output
5576
 
if test -z "$EGREP"; then
5577
 
set dummy egrep; ac_prog_name=$2
5578
 
if test "${ac_cv_path_EGREP+set}" = set; then
5579
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5580
 
else
 
5706
     if test -z "$EGREP"; then
5581
5707
  ac_path_EGREP_found=false
5582
 
# Loop through the user's path and test for each of PROGNAME-LIST
5583
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5708
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5709
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584
5710
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5585
5711
do
5586
5712
  IFS=$as_save_IFS
5587
5713
  test -z "$as_dir" && as_dir=.
5588
5714
  for ac_prog in egrep; do
5589
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5590
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5591
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5592
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
5715
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5716
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5717
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5718
# Check for GNU ac_path_EGREP and select it if it is found.
5593
5719
  # Check for GNU $ac_path_EGREP
5594
5720
case `"$ac_path_EGREP" --version 2>&1` in
5595
5721
*GNU*)
5596
5722
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5597
5723
*)
5598
5724
  ac_count=0
5599
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5725
  $as_echo_n 0123456789 >"conftest.in"
5600
5726
  while :
5601
5727
  do
5602
5728
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5603
5729
    mv "conftest.tmp" "conftest.in"
5604
5730
    cp "conftest.in" "conftest.nl"
5605
 
    echo 'EGREP' >> "conftest.nl"
 
5731
    $as_echo 'EGREP' >> "conftest.nl"
5606
5732
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5607
5733
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5608
5734
    ac_count=`expr $ac_count + 1`
5617
5743
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5618
5744
esac
5619
5745
 
5620
 
 
5621
 
    $ac_path_EGREP_found && break 3
 
5746
      $ac_path_EGREP_found && break 3
 
5747
    done
5622
5748
  done
5623
5749
done
5624
 
 
5625
 
done
5626
5750
IFS=$as_save_IFS
5627
 
 
5628
 
 
5629
 
fi
5630
 
 
5631
 
EGREP="$ac_cv_path_EGREP"
5632
 
if test -z "$EGREP"; then
5633
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5634
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5751
  if test -z "$ac_cv_path_EGREP"; then
 
5752
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5753
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5635
5754
   { (exit 1); exit 1; }; }
5636
 
fi
5637
 
 
 
5755
  fi
5638
5756
else
5639
5757
  ac_cv_path_EGREP=$EGREP
5640
5758
fi
5641
5759
 
5642
 
 
5643
5760
   fi
5644
5761
fi
5645
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5646
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
5762
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5763
$as_echo "$ac_cv_path_EGREP" >&6; }
5647
5764
 EGREP="$ac_cv_path_EGREP"
5648
5765
 
5649
5766
 
5650
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5651
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
5767
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5768
$as_echo_n "checking for ANSI C header files... " >&6; }
5652
5769
if test "${ac_cv_header_stdc+set}" = set; then
5653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5770
  $as_echo_n "(cached) " >&6
5654
5771
else
5655
5772
  cat >conftest.$ac_ext <<_ACEOF
5656
5773
/* confdefs.h.  */
5677
5794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5678
5795
  *) ac_try_echo=$ac_try;;
5679
5796
esac
5680
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5797
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5798
$as_echo "$ac_try_echo") >&5
5681
5799
  (eval "$ac_compile") 2>conftest.er1
5682
5800
  ac_status=$?
5683
5801
  grep -v '^ *+' conftest.er1 >conftest.err
5684
5802
  rm -f conftest.er1
5685
5803
  cat conftest.err >&5
5686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5804
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687
5805
  (exit $ac_status); } && {
5688
5806
         test -z "$ac_c_werror_flag" ||
5689
5807
         test ! -s conftest.err
5690
5808
       } && test -s conftest.$ac_objext; then
5691
5809
  ac_cv_header_stdc=yes
5692
5810
else
5693
 
  echo "$as_me: failed program was:" >&5
 
5811
  $as_echo "$as_me: failed program was:" >&5
5694
5812
sed 's/^/| /' conftest.$ac_ext >&5
5695
5813
 
5696
5814
        ac_cv_header_stdc=no
5782
5900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5783
5901
  *) ac_try_echo=$ac_try;;
5784
5902
esac
5785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5904
$as_echo "$ac_try_echo") >&5
5786
5905
  (eval "$ac_link") 2>&5
5787
5906
  ac_status=$?
5788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5907
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789
5908
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5790
5909
  { (case "(($ac_try" in
5791
5910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5792
5911
  *) ac_try_echo=$ac_try;;
5793
5912
esac
5794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5914
$as_echo "$ac_try_echo") >&5
5795
5915
  (eval "$ac_try") 2>&5
5796
5916
  ac_status=$?
5797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798
5918
  (exit $ac_status); }; }; then
5799
5919
  :
5800
5920
else
5801
 
  echo "$as_me: program exited with status $ac_status" >&5
5802
 
echo "$as_me: failed program was:" >&5
 
5921
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5922
$as_echo "$as_me: failed program was:" >&5
5803
5923
sed 's/^/| /' conftest.$ac_ext >&5
5804
5924
 
5805
5925
( exit $ac_status )
5806
5926
ac_cv_header_stdc=no
5807
5927
fi
 
5928
rm -rf conftest.dSYM
5808
5929
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5809
5930
fi
5810
5931
 
5811
5932
 
5812
5933
fi
5813
5934
fi
5814
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5815
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5935
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5936
$as_echo "$ac_cv_header_stdc" >&6; }
5816
5937
if test $ac_cv_header_stdc = yes; then
5817
5938
 
5818
5939
cat >>confdefs.h <<\_ACEOF
5828
5949
  enableval=$enable_debug; case "${enableval}" in
5829
5950
                yes) debug=true ;;
5830
5951
                no)  debug=false ;;
5831
 
                *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
5832
 
echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
 
5952
                *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
 
5953
$as_echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
5833
5954
   { (exit 1); exit 1; }; } ;;
5834
5955
        esac
5835
5956
else
5845
5966
 
5846
5967
fi
5847
5968
 
5848
 
 if test x$debug = xtrue; then
 
5969
 
 
5970
 
 
5971
if test x$debug = xtrue; then
5849
5972
  DEBUG_TRUE=
5850
5973
  DEBUG_FALSE='#'
5851
5974
else
5859
5982
  enableval=$enable_encryption; case "${enableval}" in
5860
5983
                yes) encryption=true ;;
5861
5984
                no)  encryption=false ;;
5862
 
                *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-encryption" >&5
5863
 
echo "$as_me: error: bad value ${enableval} for --enable-encryption" >&2;}
 
5985
                *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-encryption" >&5
 
5986
$as_echo "$as_me: error: bad value ${enableval} for --enable-encryption" >&2;}
5864
5987
   { (exit 1); exit 1; }; } ;;
5865
5988
        esac
5866
5989
else
5876
5999
 
5877
6000
fi
5878
6001
 
5879
 
 if test x$encryption = xtrue; then
 
6002
 
 
6003
 
 
6004
if test x$encryption = xtrue; then
5880
6005
  ENCRYPTION_TRUE=
5881
6006
  ENCRYPTION_FALSE='#'
5882
6007
else
5885
6010
fi
5886
6011
 
5887
6012
 
 
6013
# Check whether --enable-spell-checking was given.
 
6014
if test "${enable_spell_checking+set}" = set; then
 
6015
  enableval=$enable_spell_checking; case "${enableval}" in
 
6016
                yes) spell_checking=true ;;
 
6017
                no)  spell_checking=false ;;
 
6018
                *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-spell-checking" >&5
 
6019
$as_echo "$as_me: error: bad value ${enableval} for --enable-spell-checking" >&2;}
 
6020
   { (exit 1); exit 1; }; } ;;
 
6021
        esac
 
6022
else
 
6023
  spell_checking=true
 
6024
fi
 
6025
 
 
6026
 
 
6027
if test $spell_checking = "true"; then
 
6028
 
 
6029
cat >>confdefs.h <<\_ACEOF
 
6030
#define ENABLE_SPELL_CHECKING 1
 
6031
_ACEOF
 
6032
 
 
6033
fi
 
6034
 
 
6035
 
 
6036
 
 
6037
if test x$spell_checking = xtrue; then
 
6038
  SPELL_CHECKING_TRUE=
 
6039
  SPELL_CHECKING_FALSE='#'
 
6040
else
 
6041
  SPELL_CHECKING_TRUE='#'
 
6042
  SPELL_CHECKING_FALSE=
 
6043
fi
 
6044
 
 
6045
 
5888
6046
 
5889
6047
GETTEXT_PACKAGE=almanah
5890
6048
 
5906
6064
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5907
6065
                  inttypes.h stdint.h unistd.h
5908
6066
do
5909
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5910
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5911
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6067
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6068
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6069
$as_echo_n "checking for $ac_header... " >&6; }
5912
6070
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6071
  $as_echo_n "(cached) " >&6
5914
6072
else
5915
6073
  cat >conftest.$ac_ext <<_ACEOF
5916
6074
/* confdefs.h.  */
5928
6086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5929
6087
  *) ac_try_echo=$ac_try;;
5930
6088
esac
5931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6089
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6090
$as_echo "$ac_try_echo") >&5
5932
6091
  (eval "$ac_compile") 2>conftest.er1
5933
6092
  ac_status=$?
5934
6093
  grep -v '^ *+' conftest.er1 >conftest.err
5935
6094
  rm -f conftest.er1
5936
6095
  cat conftest.err >&5
5937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6096
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938
6097
  (exit $ac_status); } && {
5939
6098
         test -z "$ac_c_werror_flag" ||
5940
6099
         test ! -s conftest.err
5941
6100
       } && test -s conftest.$ac_objext; then
5942
6101
  eval "$as_ac_Header=yes"
5943
6102
else
5944
 
  echo "$as_me: failed program was:" >&5
 
6103
  $as_echo "$as_me: failed program was:" >&5
5945
6104
sed 's/^/| /' conftest.$ac_ext >&5
5946
6105
 
5947
6106
        eval "$as_ac_Header=no"
5949
6108
 
5950
6109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5951
6110
fi
5952
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5953
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5954
 
echo "${ECHO_T}$ac_res" >&6; }
5955
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6111
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6112
                 $as_echo "$as_val"'`
 
6113
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6114
$as_echo "$ac_res" >&6; }
 
6115
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6116
                 $as_echo "$as_val"'`
 
6117
   if test "x$as_val" = x""yes; then
5956
6118
  cat >>confdefs.h <<_ACEOF
5957
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6119
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5958
6120
_ACEOF
5959
6121
 
5960
6122
fi
5966
6128
 
5967
6129
for ac_header in locale.h
5968
6130
do
5969
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5970
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5971
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5972
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5973
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5974
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6131
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6132
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6133
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6134
$as_echo_n "checking for $ac_header... " >&6; }
 
6135
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6136
  $as_echo_n "(cached) " >&6
5975
6137
fi
5976
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5977
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5978
 
echo "${ECHO_T}$ac_res" >&6; }
 
6138
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6139
                 $as_echo "$as_val"'`
 
6140
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6141
$as_echo "$ac_res" >&6; }
5979
6142
else
5980
6143
  # Is the header compilable?
5981
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5982
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
6144
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6145
$as_echo_n "checking $ac_header usability... " >&6; }
5983
6146
cat >conftest.$ac_ext <<_ACEOF
5984
6147
/* confdefs.h.  */
5985
6148
_ACEOF
5995
6158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5996
6159
  *) ac_try_echo=$ac_try;;
5997
6160
esac
5998
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6161
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6162
$as_echo "$ac_try_echo") >&5
5999
6163
  (eval "$ac_compile") 2>conftest.er1
6000
6164
  ac_status=$?
6001
6165
  grep -v '^ *+' conftest.er1 >conftest.err
6002
6166
  rm -f conftest.er1
6003
6167
  cat conftest.err >&5
6004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6168
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005
6169
  (exit $ac_status); } && {
6006
6170
         test -z "$ac_c_werror_flag" ||
6007
6171
         test ! -s conftest.err
6008
6172
       } && test -s conftest.$ac_objext; then
6009
6173
  ac_header_compiler=yes
6010
6174
else
6011
 
  echo "$as_me: failed program was:" >&5
 
6175
  $as_echo "$as_me: failed program was:" >&5
6012
6176
sed 's/^/| /' conftest.$ac_ext >&5
6013
6177
 
6014
6178
        ac_header_compiler=no
6015
6179
fi
6016
6180
 
6017
6181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6018
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6182
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6183
$as_echo "$ac_header_compiler" >&6; }
6020
6184
 
6021
6185
# Is the header present?
6022
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
6186
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6187
$as_echo_n "checking $ac_header presence... " >&6; }
6024
6188
cat >conftest.$ac_ext <<_ACEOF
6025
6189
/* confdefs.h.  */
6026
6190
_ACEOF
6034
6198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6035
6199
  *) ac_try_echo=$ac_try;;
6036
6200
esac
6037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6201
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6202
$as_echo "$ac_try_echo") >&5
6038
6203
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6039
6204
  ac_status=$?
6040
6205
  grep -v '^ *+' conftest.er1 >conftest.err
6041
6206
  rm -f conftest.er1
6042
6207
  cat conftest.err >&5
6043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6208
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044
6209
  (exit $ac_status); } >/dev/null && {
6045
6210
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6046
6211
         test ! -s conftest.err
6047
6212
       }; then
6048
6213
  ac_header_preproc=yes
6049
6214
else
6050
 
  echo "$as_me: failed program was:" >&5
 
6215
  $as_echo "$as_me: failed program was:" >&5
6051
6216
sed 's/^/| /' conftest.$ac_ext >&5
6052
6217
 
6053
6218
  ac_header_preproc=no
6054
6219
fi
6055
6220
 
6056
6221
rm -f conftest.err conftest.$ac_ext
6057
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6058
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
6222
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6223
$as_echo "$ac_header_preproc" >&6; }
6059
6224
 
6060
6225
# So?  What about this header?
6061
6226
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6062
6227
  yes:no: )
6063
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6064
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6065
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6066
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
6228
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
6229
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6230
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
6231
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6067
6232
    ac_header_preproc=yes
6068
6233
    ;;
6069
6234
  no:yes:* )
6070
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6071
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6072
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6073
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6074
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6075
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6076
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6077
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6078
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6079
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6080
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6081
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
6235
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
6236
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
6237
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
6238
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
6239
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
6240
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
6241
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
6242
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6243
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
6244
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
6245
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
6246
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6082
6247
 
6083
6248
    ;;
6084
6249
esac
6085
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6086
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6250
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6251
$as_echo_n "checking for $ac_header... " >&6; }
6087
6252
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6253
  $as_echo_n "(cached) " >&6
6089
6254
else
6090
6255
  eval "$as_ac_Header=\$ac_header_preproc"
6091
6256
fi
6092
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6093
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6094
 
echo "${ECHO_T}$ac_res" >&6; }
 
6257
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6258
                 $as_echo "$as_val"'`
 
6259
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6260
$as_echo "$ac_res" >&6; }
6095
6261
 
6096
6262
fi
6097
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6263
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6264
                 $as_echo "$as_val"'`
 
6265
   if test "x$as_val" = x""yes; then
6098
6266
  cat >>confdefs.h <<_ACEOF
6099
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6267
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6100
6268
_ACEOF
6101
6269
 
6102
6270
fi
6104
6272
done
6105
6273
 
6106
6274
    if test $ac_cv_header_locale_h = yes; then
6107
 
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6108
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
 
6275
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
6276
$as_echo_n "checking for LC_MESSAGES... " >&6; }
6109
6277
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6110
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6278
  $as_echo_n "(cached) " >&6
6111
6279
else
6112
6280
  cat >conftest.$ac_ext <<_ACEOF
6113
6281
/* confdefs.h.  */
6130
6298
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6131
6299
  *) ac_try_echo=$ac_try;;
6132
6300
esac
6133
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6301
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6302
$as_echo "$ac_try_echo") >&5
6134
6303
  (eval "$ac_link") 2>conftest.er1
6135
6304
  ac_status=$?
6136
6305
  grep -v '^ *+' conftest.er1 >conftest.err
6137
6306
  rm -f conftest.er1
6138
6307
  cat conftest.err >&5
6139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6308
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140
6309
  (exit $ac_status); } && {
6141
6310
         test -z "$ac_c_werror_flag" ||
6142
6311
         test ! -s conftest.err
6143
 
       } && test -s conftest$ac_exeext &&
6144
 
       $as_test_x conftest$ac_exeext; then
 
6312
       } && test -s conftest$ac_exeext && {
 
6313
         test "$cross_compiling" = yes ||
 
6314
         $as_test_x conftest$ac_exeext
 
6315
       }; then
6145
6316
  am_cv_val_LC_MESSAGES=yes
6146
6317
else
6147
 
  echo "$as_me: failed program was:" >&5
 
6318
  $as_echo "$as_me: failed program was:" >&5
6148
6319
sed 's/^/| /' conftest.$ac_ext >&5
6149
6320
 
6150
6321
        am_cv_val_LC_MESSAGES=no
6151
6322
fi
6152
6323
 
 
6324
rm -rf conftest.dSYM
6153
6325
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6154
6326
      conftest$ac_exeext conftest.$ac_ext
6155
6327
fi
6156
 
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6157
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
 
6328
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
6329
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6158
6330
    if test $am_cv_val_LC_MESSAGES = yes; then
6159
6331
 
6160
6332
cat >>confdefs.h <<\_ACEOF
6173
6345
    INTLLIBS=
6174
6346
 
6175
6347
    if test "${ac_cv_header_libintl_h+set}" = set; then
6176
 
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
6177
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 
6348
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
6349
$as_echo_n "checking for libintl.h... " >&6; }
6178
6350
if test "${ac_cv_header_libintl_h+set}" = set; then
6179
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6351
  $as_echo_n "(cached) " >&6
6180
6352
fi
6181
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6182
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 
6353
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
6354
$as_echo "$ac_cv_header_libintl_h" >&6; }
6183
6355
else
6184
6356
  # Is the header compilable?
6185
 
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
6186
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
 
6357
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
6358
$as_echo_n "checking libintl.h usability... " >&6; }
6187
6359
cat >conftest.$ac_ext <<_ACEOF
6188
6360
/* confdefs.h.  */
6189
6361
_ACEOF
6199
6371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6200
6372
  *) ac_try_echo=$ac_try;;
6201
6373
esac
6202
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6374
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6375
$as_echo "$ac_try_echo") >&5
6203
6376
  (eval "$ac_compile") 2>conftest.er1
6204
6377
  ac_status=$?
6205
6378
  grep -v '^ *+' conftest.er1 >conftest.err
6206
6379
  rm -f conftest.er1
6207
6380
  cat conftest.err >&5
6208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6381
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209
6382
  (exit $ac_status); } && {
6210
6383
         test -z "$ac_c_werror_flag" ||
6211
6384
         test ! -s conftest.err
6212
6385
       } && test -s conftest.$ac_objext; then
6213
6386
  ac_header_compiler=yes
6214
6387
else
6215
 
  echo "$as_me: failed program was:" >&5
 
6388
  $as_echo "$as_me: failed program was:" >&5
6216
6389
sed 's/^/| /' conftest.$ac_ext >&5
6217
6390
 
6218
6391
        ac_header_compiler=no
6219
6392
fi
6220
6393
 
6221
6394
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6222
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6223
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6395
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6396
$as_echo "$ac_header_compiler" >&6; }
6224
6397
 
6225
6398
# Is the header present?
6226
 
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
6227
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
 
6399
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
6400
$as_echo_n "checking libintl.h presence... " >&6; }
6228
6401
cat >conftest.$ac_ext <<_ACEOF
6229
6402
/* confdefs.h.  */
6230
6403
_ACEOF
6238
6411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6239
6412
  *) ac_try_echo=$ac_try;;
6240
6413
esac
6241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6414
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6415
$as_echo "$ac_try_echo") >&5
6242
6416
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6243
6417
  ac_status=$?
6244
6418
  grep -v '^ *+' conftest.er1 >conftest.err
6245
6419
  rm -f conftest.er1
6246
6420
  cat conftest.err >&5
6247
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6421
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248
6422
  (exit $ac_status); } >/dev/null && {
6249
6423
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6250
6424
         test ! -s conftest.err
6251
6425
       }; then
6252
6426
  ac_header_preproc=yes
6253
6427
else
6254
 
  echo "$as_me: failed program was:" >&5
 
6428
  $as_echo "$as_me: failed program was:" >&5
6255
6429
sed 's/^/| /' conftest.$ac_ext >&5
6256
6430
 
6257
6431
  ac_header_preproc=no
6258
6432
fi
6259
6433
 
6260
6434
rm -f conftest.err conftest.$ac_ext
6261
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6262
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
6435
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6436
$as_echo "$ac_header_preproc" >&6; }
6263
6437
 
6264
6438
# So?  What about this header?
6265
6439
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6266
6440
  yes:no: )
6267
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6268
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6269
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6270
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
6441
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
6442
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6443
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
6444
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6271
6445
    ac_header_preproc=yes
6272
6446
    ;;
6273
6447
  no:yes:* )
6274
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6275
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6276
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
6277
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
6278
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6279
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6280
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
6281
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6282
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6283
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6284
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6285
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
6448
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
6449
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
6450
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
6451
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
6452
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
6453
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
6454
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
6455
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6456
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
6457
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
6458
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
6459
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6286
6460
 
6287
6461
    ;;
6288
6462
esac
6289
 
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
6290
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 
6463
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
6464
$as_echo_n "checking for libintl.h... " >&6; }
6291
6465
if test "${ac_cv_header_libintl_h+set}" = set; then
6292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6466
  $as_echo_n "(cached) " >&6
6293
6467
else
6294
6468
  ac_cv_header_libintl_h=$ac_header_preproc
6295
6469
fi
6296
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6297
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 
6470
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
6471
$as_echo "$ac_cv_header_libintl_h" >&6; }
6298
6472
 
6299
6473
fi
6300
 
if test $ac_cv_header_libintl_h = yes; then
 
6474
if test "x$ac_cv_header_libintl_h" = x""yes; then
6301
6475
  gt_cv_func_dgettext_libintl="no"
6302
6476
      libintl_extra_libs=""
6303
6477
 
6304
6478
      #
6305
6479
      # First check in libc
6306
6480
      #
6307
 
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6308
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
 
6481
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
6482
$as_echo_n "checking for ngettext in libc... " >&6; }
6309
6483
if test "${gt_cv_func_ngettext_libc+set}" = set; then
6310
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6484
  $as_echo_n "(cached) " >&6
6311
6485
else
6312
6486
  cat >conftest.$ac_ext <<_ACEOF
6313
6487
/* confdefs.h.  */
6332
6506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6333
6507
  *) ac_try_echo=$ac_try;;
6334
6508
esac
6335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6509
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6510
$as_echo "$ac_try_echo") >&5
6336
6511
  (eval "$ac_link") 2>conftest.er1
6337
6512
  ac_status=$?
6338
6513
  grep -v '^ *+' conftest.er1 >conftest.err
6339
6514
  rm -f conftest.er1
6340
6515
  cat conftest.err >&5
6341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6516
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342
6517
  (exit $ac_status); } && {
6343
6518
         test -z "$ac_c_werror_flag" ||
6344
6519
         test ! -s conftest.err
6345
 
       } && test -s conftest$ac_exeext &&
6346
 
       $as_test_x conftest$ac_exeext; then
 
6520
       } && test -s conftest$ac_exeext && {
 
6521
         test "$cross_compiling" = yes ||
 
6522
         $as_test_x conftest$ac_exeext
 
6523
       }; then
6347
6524
  gt_cv_func_ngettext_libc=yes
6348
6525
else
6349
 
  echo "$as_me: failed program was:" >&5
 
6526
  $as_echo "$as_me: failed program was:" >&5
6350
6527
sed 's/^/| /' conftest.$ac_ext >&5
6351
6528
 
6352
6529
        gt_cv_func_ngettext_libc=no
6353
6530
fi
6354
6531
 
 
6532
rm -rf conftest.dSYM
6355
6533
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6356
6534
      conftest$ac_exeext conftest.$ac_ext
6357
6535
 
6358
6536
fi
6359
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6360
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
 
6537
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
6538
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
6361
6539
 
6362
6540
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6363
 
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6364
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
 
6541
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
6542
$as_echo_n "checking for dgettext in libc... " >&6; }
6365
6543
if test "${gt_cv_func_dgettext_libc+set}" = set; then
6366
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6544
  $as_echo_n "(cached) " >&6
6367
6545
else
6368
6546
  cat >conftest.$ac_ext <<_ACEOF
6369
6547
/* confdefs.h.  */
6388
6566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6389
6567
  *) ac_try_echo=$ac_try;;
6390
6568
esac
6391
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6570
$as_echo "$ac_try_echo") >&5
6392
6571
  (eval "$ac_link") 2>conftest.er1
6393
6572
  ac_status=$?
6394
6573
  grep -v '^ *+' conftest.er1 >conftest.err
6395
6574
  rm -f conftest.er1
6396
6575
  cat conftest.err >&5
6397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6576
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398
6577
  (exit $ac_status); } && {
6399
6578
         test -z "$ac_c_werror_flag" ||
6400
6579
         test ! -s conftest.err
6401
 
       } && test -s conftest$ac_exeext &&
6402
 
       $as_test_x conftest$ac_exeext; then
 
6580
       } && test -s conftest$ac_exeext && {
 
6581
         test "$cross_compiling" = yes ||
 
6582
         $as_test_x conftest$ac_exeext
 
6583
       }; then
6403
6584
  gt_cv_func_dgettext_libc=yes
6404
6585
else
6405
 
  echo "$as_me: failed program was:" >&5
 
6586
  $as_echo "$as_me: failed program was:" >&5
6406
6587
sed 's/^/| /' conftest.$ac_ext >&5
6407
6588
 
6408
6589
        gt_cv_func_dgettext_libc=no
6409
6590
fi
6410
6591
 
 
6592
rm -rf conftest.dSYM
6411
6593
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6412
6594
      conftest$ac_exeext conftest.$ac_ext
6413
6595
 
6414
6596
fi
6415
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6416
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
 
6597
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
6598
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6417
6599
      fi
6418
6600
 
6419
6601
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6420
6602
 
6421
6603
for ac_func in bind_textdomain_codeset
6422
6604
do
6423
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6424
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6425
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
6605
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6606
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6607
$as_echo_n "checking for $ac_func... " >&6; }
6426
6608
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6609
  $as_echo_n "(cached) " >&6
6428
6610
else
6429
6611
  cat >conftest.$ac_ext <<_ACEOF
6430
6612
/* confdefs.h.  */
6477
6659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6478
6660
  *) ac_try_echo=$ac_try;;
6479
6661
esac
6480
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6662
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6663
$as_echo "$ac_try_echo") >&5
6481
6664
  (eval "$ac_link") 2>conftest.er1
6482
6665
  ac_status=$?
6483
6666
  grep -v '^ *+' conftest.er1 >conftest.err
6484
6667
  rm -f conftest.er1
6485
6668
  cat conftest.err >&5
6486
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487
6670
  (exit $ac_status); } && {
6488
6671
         test -z "$ac_c_werror_flag" ||
6489
6672
         test ! -s conftest.err
6490
 
       } && test -s conftest$ac_exeext &&
6491
 
       $as_test_x conftest$ac_exeext; then
 
6673
       } && test -s conftest$ac_exeext && {
 
6674
         test "$cross_compiling" = yes ||
 
6675
         $as_test_x conftest$ac_exeext
 
6676
       }; then
6492
6677
  eval "$as_ac_var=yes"
6493
6678
else
6494
 
  echo "$as_me: failed program was:" >&5
 
6679
  $as_echo "$as_me: failed program was:" >&5
6495
6680
sed 's/^/| /' conftest.$ac_ext >&5
6496
6681
 
6497
6682
        eval "$as_ac_var=no"
6498
6683
fi
6499
6684
 
 
6685
rm -rf conftest.dSYM
6500
6686
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6501
6687
      conftest$ac_exeext conftest.$ac_ext
6502
6688
fi
6503
 
ac_res=`eval echo '${'$as_ac_var'}'`
6504
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6505
 
echo "${ECHO_T}$ac_res" >&6; }
6506
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
6689
ac_res=`eval 'as_val=${'$as_ac_var'}
 
6690
                 $as_echo "$as_val"'`
 
6691
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6692
$as_echo "$ac_res" >&6; }
 
6693
as_val=`eval 'as_val=${'$as_ac_var'}
 
6694
                 $as_echo "$as_val"'`
 
6695
   if test "x$as_val" = x""yes; then
6507
6696
  cat >>confdefs.h <<_ACEOF
6508
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6697
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6509
6698
_ACEOF
6510
6699
 
6511
6700
fi
6520
6709
         || test "$gt_cv_func_ngettext_libc" != "yes" \
6521
6710
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6522
6711
 
6523
 
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6524
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
 
6712
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
6713
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6525
6714
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6715
  $as_echo_n "(cached) " >&6
6527
6716
else
6528
6717
  ac_check_lib_save_LIBS=$LIBS
6529
6718
LIBS="-lintl  $LIBS"
6555
6744
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6556
6745
  *) ac_try_echo=$ac_try;;
6557
6746
esac
6558
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6747
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6748
$as_echo "$ac_try_echo") >&5
6559
6749
  (eval "$ac_link") 2>conftest.er1
6560
6750
  ac_status=$?
6561
6751
  grep -v '^ *+' conftest.er1 >conftest.err
6562
6752
  rm -f conftest.er1
6563
6753
  cat conftest.err >&5
6564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6754
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565
6755
  (exit $ac_status); } && {
6566
6756
         test -z "$ac_c_werror_flag" ||
6567
6757
         test ! -s conftest.err
6568
 
       } && test -s conftest$ac_exeext &&
6569
 
       $as_test_x conftest$ac_exeext; then
 
6758
       } && test -s conftest$ac_exeext && {
 
6759
         test "$cross_compiling" = yes ||
 
6760
         $as_test_x conftest$ac_exeext
 
6761
       }; then
6570
6762
  ac_cv_lib_intl_bindtextdomain=yes
6571
6763
else
6572
 
  echo "$as_me: failed program was:" >&5
 
6764
  $as_echo "$as_me: failed program was:" >&5
6573
6765
sed 's/^/| /' conftest.$ac_ext >&5
6574
6766
 
6575
6767
        ac_cv_lib_intl_bindtextdomain=no
6576
6768
fi
6577
6769
 
 
6770
rm -rf conftest.dSYM
6578
6771
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6579
6772
      conftest$ac_exeext conftest.$ac_ext
6580
6773
LIBS=$ac_check_lib_save_LIBS
6581
6774
fi
6582
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6583
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6584
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
6585
 
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6586
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
6775
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
6776
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
6777
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
 
6778
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
6779
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6587
6780
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6781
  $as_echo_n "(cached) " >&6
6589
6782
else
6590
6783
  ac_check_lib_save_LIBS=$LIBS
6591
6784
LIBS="-lintl  $LIBS"
6617
6810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6618
6811
  *) ac_try_echo=$ac_try;;
6619
6812
esac
6620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6813
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6814
$as_echo "$ac_try_echo") >&5
6621
6815
  (eval "$ac_link") 2>conftest.er1
6622
6816
  ac_status=$?
6623
6817
  grep -v '^ *+' conftest.er1 >conftest.err
6624
6818
  rm -f conftest.er1
6625
6819
  cat conftest.err >&5
6626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6820
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627
6821
  (exit $ac_status); } && {
6628
6822
         test -z "$ac_c_werror_flag" ||
6629
6823
         test ! -s conftest.err
6630
 
       } && test -s conftest$ac_exeext &&
6631
 
       $as_test_x conftest$ac_exeext; then
 
6824
       } && test -s conftest$ac_exeext && {
 
6825
         test "$cross_compiling" = yes ||
 
6826
         $as_test_x conftest$ac_exeext
 
6827
       }; then
6632
6828
  ac_cv_lib_intl_ngettext=yes
6633
6829
else
6634
 
  echo "$as_me: failed program was:" >&5
 
6830
  $as_echo "$as_me: failed program was:" >&5
6635
6831
sed 's/^/| /' conftest.$ac_ext >&5
6636
6832
 
6637
6833
        ac_cv_lib_intl_ngettext=no
6638
6834
fi
6639
6835
 
 
6836
rm -rf conftest.dSYM
6640
6837
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6641
6838
      conftest$ac_exeext conftest.$ac_ext
6642
6839
LIBS=$ac_check_lib_save_LIBS
6643
6840
fi
6644
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6645
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6646
 
if test $ac_cv_lib_intl_ngettext = yes; then
6647
 
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6648
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
 
6841
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
6842
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
6843
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
6844
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
6845
$as_echo_n "checking for dgettext in -lintl... " >&6; }
6649
6846
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6650
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6847
  $as_echo_n "(cached) " >&6
6651
6848
else
6652
6849
  ac_check_lib_save_LIBS=$LIBS
6653
6850
LIBS="-lintl  $LIBS"
6679
6876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680
6877
  *) ac_try_echo=$ac_try;;
6681
6878
esac
6682
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6879
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6880
$as_echo "$ac_try_echo") >&5
6683
6881
  (eval "$ac_link") 2>conftest.er1
6684
6882
  ac_status=$?
6685
6883
  grep -v '^ *+' conftest.er1 >conftest.err
6686
6884
  rm -f conftest.er1
6687
6885
  cat conftest.err >&5
6688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6886
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689
6887
  (exit $ac_status); } && {
6690
6888
         test -z "$ac_c_werror_flag" ||
6691
6889
         test ! -s conftest.err
6692
 
       } && test -s conftest$ac_exeext &&
6693
 
       $as_test_x conftest$ac_exeext; then
 
6890
       } && test -s conftest$ac_exeext && {
 
6891
         test "$cross_compiling" = yes ||
 
6892
         $as_test_x conftest$ac_exeext
 
6893
       }; then
6694
6894
  ac_cv_lib_intl_dgettext=yes
6695
6895
else
6696
 
  echo "$as_me: failed program was:" >&5
 
6896
  $as_echo "$as_me: failed program was:" >&5
6697
6897
sed 's/^/| /' conftest.$ac_ext >&5
6698
6898
 
6699
6899
        ac_cv_lib_intl_dgettext=no
6700
6900
fi
6701
6901
 
 
6902
rm -rf conftest.dSYM
6702
6903
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6703
6904
      conftest$ac_exeext conftest.$ac_ext
6704
6905
LIBS=$ac_check_lib_save_LIBS
6705
6906
fi
6706
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6707
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6708
 
if test $ac_cv_lib_intl_dgettext = yes; then
 
6907
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
6908
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
6909
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
6709
6910
  gt_cv_func_dgettext_libintl=yes
6710
6911
fi
6711
6912
 
6715
6916
 
6716
6917
 
6717
6918
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6718
 
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6719
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6720
 
          { echo "$as_me:$LINENO: result: " >&5
6721
 
echo "${ECHO_T}" >&6; }
6722
 
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6723
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
6919
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
6920
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
6921
          { $as_echo "$as_me:$LINENO: result: " >&5
 
6922
$as_echo "" >&6; }
 
6923
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
6924
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6724
6925
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6926
  $as_echo_n "(cached) " >&6
6726
6927
else
6727
6928
  ac_check_lib_save_LIBS=$LIBS
6728
6929
LIBS="-lintl -liconv $LIBS"
6754
6955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6755
6956
  *) ac_try_echo=$ac_try;;
6756
6957
esac
6757
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6959
$as_echo "$ac_try_echo") >&5
6758
6960
  (eval "$ac_link") 2>conftest.er1
6759
6961
  ac_status=$?
6760
6962
  grep -v '^ *+' conftest.er1 >conftest.err
6761
6963
  rm -f conftest.er1
6762
6964
  cat conftest.err >&5
6763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6965
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764
6966
  (exit $ac_status); } && {
6765
6967
         test -z "$ac_c_werror_flag" ||
6766
6968
         test ! -s conftest.err
6767
 
       } && test -s conftest$ac_exeext &&
6768
 
       $as_test_x conftest$ac_exeext; then
 
6969
       } && test -s conftest$ac_exeext && {
 
6970
         test "$cross_compiling" = yes ||
 
6971
         $as_test_x conftest$ac_exeext
 
6972
       }; then
6769
6973
  ac_cv_lib_intl_ngettext=yes
6770
6974
else
6771
 
  echo "$as_me: failed program was:" >&5
 
6975
  $as_echo "$as_me: failed program was:" >&5
6772
6976
sed 's/^/| /' conftest.$ac_ext >&5
6773
6977
 
6774
6978
        ac_cv_lib_intl_ngettext=no
6775
6979
fi
6776
6980
 
 
6981
rm -rf conftest.dSYM
6777
6982
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6778
6983
      conftest$ac_exeext conftest.$ac_ext
6779
6984
LIBS=$ac_check_lib_save_LIBS
6780
6985
fi
6781
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6782
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6783
 
if test $ac_cv_lib_intl_ngettext = yes; then
6784
 
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6785
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
 
6986
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
6987
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
6988
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
6989
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
6990
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6786
6991
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6992
  $as_echo_n "(cached) " >&6
6788
6993
else
6789
6994
  ac_check_lib_save_LIBS=$LIBS
6790
6995
LIBS="-lintl -liconv $LIBS"
6816
7021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6817
7022
  *) ac_try_echo=$ac_try;;
6818
7023
esac
6819
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7025
$as_echo "$ac_try_echo") >&5
6820
7026
  (eval "$ac_link") 2>conftest.er1
6821
7027
  ac_status=$?
6822
7028
  grep -v '^ *+' conftest.er1 >conftest.err
6823
7029
  rm -f conftest.er1
6824
7030
  cat conftest.err >&5
6825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7031
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826
7032
  (exit $ac_status); } && {
6827
7033
         test -z "$ac_c_werror_flag" ||
6828
7034
         test ! -s conftest.err
6829
 
       } && test -s conftest$ac_exeext &&
6830
 
       $as_test_x conftest$ac_exeext; then
 
7035
       } && test -s conftest$ac_exeext && {
 
7036
         test "$cross_compiling" = yes ||
 
7037
         $as_test_x conftest$ac_exeext
 
7038
       }; then
6831
7039
  ac_cv_lib_intl_dcgettext=yes
6832
7040
else
6833
 
  echo "$as_me: failed program was:" >&5
 
7041
  $as_echo "$as_me: failed program was:" >&5
6834
7042
sed 's/^/| /' conftest.$ac_ext >&5
6835
7043
 
6836
7044
        ac_cv_lib_intl_dcgettext=no
6837
7045
fi
6838
7046
 
 
7047
rm -rf conftest.dSYM
6839
7048
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6840
7049
      conftest$ac_exeext conftest.$ac_ext
6841
7050
LIBS=$ac_check_lib_save_LIBS
6842
7051
fi
6843
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
6844
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
6845
 
if test $ac_cv_lib_intl_dcgettext = yes; then
 
7052
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
7053
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
7054
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
6846
7055
  gt_cv_func_dgettext_libintl=yes
6847
7056
                        libintl_extra_libs=-liconv
6848
7057
else
6867
7076
 
6868
7077
for ac_func in bind_textdomain_codeset
6869
7078
do
6870
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6871
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6872
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7079
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7080
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7081
$as_echo_n "checking for $ac_func... " >&6; }
6873
7082
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6874
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7083
  $as_echo_n "(cached) " >&6
6875
7084
else
6876
7085
  cat >conftest.$ac_ext <<_ACEOF
6877
7086
/* confdefs.h.  */
6924
7133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6925
7134
  *) ac_try_echo=$ac_try;;
6926
7135
esac
6927
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7136
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7137
$as_echo "$ac_try_echo") >&5
6928
7138
  (eval "$ac_link") 2>conftest.er1
6929
7139
  ac_status=$?
6930
7140
  grep -v '^ *+' conftest.er1 >conftest.err
6931
7141
  rm -f conftest.er1
6932
7142
  cat conftest.err >&5
6933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7143
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934
7144
  (exit $ac_status); } && {
6935
7145
         test -z "$ac_c_werror_flag" ||
6936
7146
         test ! -s conftest.err
6937
 
       } && test -s conftest$ac_exeext &&
6938
 
       $as_test_x conftest$ac_exeext; then
 
7147
       } && test -s conftest$ac_exeext && {
 
7148
         test "$cross_compiling" = yes ||
 
7149
         $as_test_x conftest$ac_exeext
 
7150
       }; then
6939
7151
  eval "$as_ac_var=yes"
6940
7152
else
6941
 
  echo "$as_me: failed program was:" >&5
 
7153
  $as_echo "$as_me: failed program was:" >&5
6942
7154
sed 's/^/| /' conftest.$ac_ext >&5
6943
7155
 
6944
7156
        eval "$as_ac_var=no"
6945
7157
fi
6946
7158
 
 
7159
rm -rf conftest.dSYM
6947
7160
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6948
7161
      conftest$ac_exeext conftest.$ac_ext
6949
7162
fi
6950
 
ac_res=`eval echo '${'$as_ac_var'}'`
6951
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6952
 
echo "${ECHO_T}$ac_res" >&6; }
6953
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
7163
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7164
                 $as_echo "$as_val"'`
 
7165
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7166
$as_echo "$ac_res" >&6; }
 
7167
as_val=`eval 'as_val=${'$as_ac_var'}
 
7168
                 $as_echo "$as_val"'`
 
7169
   if test "x$as_val" = x""yes; then
6954
7170
  cat >>confdefs.h <<_ACEOF
6955
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7171
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6956
7172
_ACEOF
6957
7173
 
6958
7174
fi
6988
7204
 
6989
7205
        # Extract the first word of "msgfmt", so it can be a program name with args.
6990
7206
set dummy msgfmt; ac_word=$2
6991
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6992
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7207
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7208
$as_echo_n "checking for $ac_word... " >&6; }
6993
7209
if test "${ac_cv_path_MSGFMT+set}" = set; then
6994
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7210
  $as_echo_n "(cached) " >&6
6995
7211
else
6996
7212
  case "$MSGFMT" in
6997
7213
  /*)
7015
7231
fi
7016
7232
MSGFMT="$ac_cv_path_MSGFMT"
7017
7233
if test "$MSGFMT" != "no"; then
7018
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7019
 
echo "${ECHO_T}$MSGFMT" >&6; }
 
7234
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
7235
$as_echo "$MSGFMT" >&6; }
7020
7236
else
7021
 
  { echo "$as_me:$LINENO: result: no" >&5
7022
 
echo "${ECHO_T}no" >&6; }
 
7237
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7238
$as_echo "no" >&6; }
7023
7239
fi
7024
7240
        if test "$MSGFMT" != "no"; then
7025
7241
          glib_save_LIBS="$LIBS"
7027
7243
 
7028
7244
for ac_func in dcgettext
7029
7245
do
7030
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7031
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7032
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7246
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7247
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7248
$as_echo_n "checking for $ac_func... " >&6; }
7033
7249
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7250
  $as_echo_n "(cached) " >&6
7035
7251
else
7036
7252
  cat >conftest.$ac_ext <<_ACEOF
7037
7253
/* confdefs.h.  */
7084
7300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7085
7301
  *) ac_try_echo=$ac_try;;
7086
7302
esac
7087
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7303
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7304
$as_echo "$ac_try_echo") >&5
7088
7305
  (eval "$ac_link") 2>conftest.er1
7089
7306
  ac_status=$?
7090
7307
  grep -v '^ *+' conftest.er1 >conftest.err
7091
7308
  rm -f conftest.er1
7092
7309
  cat conftest.err >&5
7093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7310
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094
7311
  (exit $ac_status); } && {
7095
7312
         test -z "$ac_c_werror_flag" ||
7096
7313
         test ! -s conftest.err
7097
 
       } && test -s conftest$ac_exeext &&
7098
 
       $as_test_x conftest$ac_exeext; then
 
7314
       } && test -s conftest$ac_exeext && {
 
7315
         test "$cross_compiling" = yes ||
 
7316
         $as_test_x conftest$ac_exeext
 
7317
       }; then
7099
7318
  eval "$as_ac_var=yes"
7100
7319
else
7101
 
  echo "$as_me: failed program was:" >&5
 
7320
  $as_echo "$as_me: failed program was:" >&5
7102
7321
sed 's/^/| /' conftest.$ac_ext >&5
7103
7322
 
7104
7323
        eval "$as_ac_var=no"
7105
7324
fi
7106
7325
 
 
7326
rm -rf conftest.dSYM
7107
7327
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7108
7328
      conftest$ac_exeext conftest.$ac_ext
7109
7329
fi
7110
 
ac_res=`eval echo '${'$as_ac_var'}'`
7111
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7112
 
echo "${ECHO_T}$ac_res" >&6; }
7113
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
7330
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7331
                 $as_echo "$as_val"'`
 
7332
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7333
$as_echo "$ac_res" >&6; }
 
7334
as_val=`eval 'as_val=${'$as_ac_var'}
 
7335
                 $as_echo "$as_val"'`
 
7336
   if test "x$as_val" = x""yes; then
7114
7337
  cat >>confdefs.h <<_ACEOF
7115
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7338
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7116
7339
_ACEOF
7117
7340
 
7118
7341
fi
7119
7342
done
7120
7343
 
7121
7344
          MSGFMT_OPTS=
7122
 
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7123
 
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 
7345
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
7346
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
7124
7347
          cat >conftest.foo <<_ACEOF
7125
7348
 
7126
7349
msgid ""
7134
7357
"Content-Transfer-Encoding: 8bit\n"
7135
7358
 
7136
7359
_ACEOF
7137
 
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
7360
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7138
7361
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7139
7362
  ac_status=$?
7140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7363
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141
7364
  (exit $ac_status); }; then
7142
 
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7143
 
echo "${ECHO_T}yes" >&6; }
7144
 
else { echo "$as_me:$LINENO: result: no" >&5
7145
 
echo "${ECHO_T}no" >&6; }
 
7365
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7366
$as_echo "yes" >&6; }
 
7367
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
7368
$as_echo "no" >&6; }
7146
7369
echo "$as_me: failed input was:" >&5
7147
7370
sed 's/^/| /' conftest.foo >&5
7148
7371
fi
7149
7372
 
7150
7373
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
7151
7374
set dummy gmsgfmt; ac_word=$2
7152
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7153
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7375
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7376
$as_echo_n "checking for $ac_word... " >&6; }
7154
7377
if test "${ac_cv_path_GMSGFMT+set}" = set; then
7155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7378
  $as_echo_n "(cached) " >&6
7156
7379
else
7157
7380
  case $GMSGFMT in
7158
7381
  [\\/]* | ?:[\\/]*)
7167
7390
  for ac_exec_ext in '' $ac_executable_extensions; do
7168
7391
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7169
7392
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7170
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7393
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7171
7394
    break 2
7172
7395
  fi
7173
7396
done
7180
7403
fi
7181
7404
GMSGFMT=$ac_cv_path_GMSGFMT
7182
7405
if test -n "$GMSGFMT"; then
7183
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7184
 
echo "${ECHO_T}$GMSGFMT" >&6; }
 
7406
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
7407
$as_echo "$GMSGFMT" >&6; }
7185
7408
else
7186
 
  { echo "$as_me:$LINENO: result: no" >&5
7187
 
echo "${ECHO_T}no" >&6; }
 
7409
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7410
$as_echo "no" >&6; }
7188
7411
fi
7189
7412
 
7190
7413
 
7191
7414
          # Extract the first word of "xgettext", so it can be a program name with args.
7192
7415
set dummy xgettext; ac_word=$2
7193
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7194
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7416
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7417
$as_echo_n "checking for $ac_word... " >&6; }
7195
7418
if test "${ac_cv_path_XGETTEXT+set}" = set; then
7196
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7419
  $as_echo_n "(cached) " >&6
7197
7420
else
7198
7421
  case "$XGETTEXT" in
7199
7422
  /*)
7217
7440
fi
7218
7441
XGETTEXT="$ac_cv_path_XGETTEXT"
7219
7442
if test "$XGETTEXT" != ":"; then
7220
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7221
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
7443
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
7444
$as_echo "$XGETTEXT" >&6; }
7222
7445
else
7223
 
  { echo "$as_me:$LINENO: result: no" >&5
7224
 
echo "${ECHO_T}no" >&6; }
 
7446
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7447
$as_echo "no" >&6; }
7225
7448
fi
7226
7449
 
7227
7450
          cat >conftest.$ac_ext <<_ACEOF
7246
7469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7247
7470
  *) ac_try_echo=$ac_try;;
7248
7471
esac
7249
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7472
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7473
$as_echo "$ac_try_echo") >&5
7250
7474
  (eval "$ac_link") 2>conftest.er1
7251
7475
  ac_status=$?
7252
7476
  grep -v '^ *+' conftest.er1 >conftest.err
7253
7477
  rm -f conftest.er1
7254
7478
  cat conftest.err >&5
7255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7479
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256
7480
  (exit $ac_status); } && {
7257
7481
         test -z "$ac_c_werror_flag" ||
7258
7482
         test ! -s conftest.err
7259
 
       } && test -s conftest$ac_exeext &&
7260
 
       $as_test_x conftest$ac_exeext; then
 
7483
       } && test -s conftest$ac_exeext && {
 
7484
         test "$cross_compiling" = yes ||
 
7485
         $as_test_x conftest$ac_exeext
 
7486
       }; then
7261
7487
  CATOBJEXT=.gmo
7262
7488
             DATADIRNAME=share
7263
7489
else
7264
 
  echo "$as_me: failed program was:" >&5
 
7490
  $as_echo "$as_me: failed program was:" >&5
7265
7491
sed 's/^/| /' conftest.$ac_ext >&5
7266
7492
 
7267
7493
        case $host in
7268
7494
            *-*-solaris*)
7269
 
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7270
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
7495
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
7496
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7271
7497
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7498
  $as_echo_n "(cached) " >&6
7273
7499
else
7274
7500
  cat >conftest.$ac_ext <<_ACEOF
7275
7501
/* confdefs.h.  */
7322
7548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7323
7549
  *) ac_try_echo=$ac_try;;
7324
7550
esac
7325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7551
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7552
$as_echo "$ac_try_echo") >&5
7326
7553
  (eval "$ac_link") 2>conftest.er1
7327
7554
  ac_status=$?
7328
7555
  grep -v '^ *+' conftest.er1 >conftest.err
7329
7556
  rm -f conftest.er1
7330
7557
  cat conftest.err >&5
7331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7558
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332
7559
  (exit $ac_status); } && {
7333
7560
         test -z "$ac_c_werror_flag" ||
7334
7561
         test ! -s conftest.err
7335
 
       } && test -s conftest$ac_exeext &&
7336
 
       $as_test_x conftest$ac_exeext; then
 
7562
       } && test -s conftest$ac_exeext && {
 
7563
         test "$cross_compiling" = yes ||
 
7564
         $as_test_x conftest$ac_exeext
 
7565
       }; then
7337
7566
  ac_cv_func_bind_textdomain_codeset=yes
7338
7567
else
7339
 
  echo "$as_me: failed program was:" >&5
 
7568
  $as_echo "$as_me: failed program was:" >&5
7340
7569
sed 's/^/| /' conftest.$ac_ext >&5
7341
7570
 
7342
7571
        ac_cv_func_bind_textdomain_codeset=no
7343
7572
fi
7344
7573
 
 
7574
rm -rf conftest.dSYM
7345
7575
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7346
7576
      conftest$ac_exeext conftest.$ac_ext
7347
7577
fi
7348
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7349
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7350
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
7578
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
7579
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
7580
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
7351
7581
  CATOBJEXT=.gmo
7352
7582
               DATADIRNAME=share
7353
7583
else
7363
7593
            esac
7364
7594
fi
7365
7595
 
 
7596
rm -rf conftest.dSYM
7366
7597
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7367
7598
      conftest$ac_exeext conftest.$ac_ext
7368
7599
          LIBS="$glib_save_LIBS"
7388
7619
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7389
7620
        : ;
7390
7621
      else
7391
 
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7392
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
 
7622
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
7623
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
7393
7624
        XGETTEXT=":"
7394
7625
      fi
7395
7626
    fi
7421
7652
     if test "x$ALL_LINGUAS" = "x"; then
7422
7653
       LINGUAS=
7423
7654
     else
7424
 
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7425
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
 
7655
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
7656
$as_echo_n "checking for catalogs to be installed... " >&6; }
7426
7657
       NEW_LINGUAS=
7427
7658
       for presentlang in $ALL_LINGUAS; do
7428
7659
         useit=no
7446
7677
         fi
7447
7678
       done
7448
7679
       LINGUAS=$NEW_LINGUAS
7449
 
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7450
 
echo "${ECHO_T}$LINGUAS" >&6; }
 
7680
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
7681
$as_echo "$LINGUAS" >&6; }
7451
7682
     fi
7452
7683
 
7453
7684
          if test -n "$LINGUAS"; then
7479
7710
        < $srcdir/po/POTFILES.in > po/POTFILES
7480
7711
 
7481
7712
 
 
7713
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
7714
$as_echo_n "checking whether NLS is requested... " >&6; }
 
7715
    # Check whether --enable-nls was given.
 
7716
if test "${enable_nls+set}" = set; then
 
7717
  enableval=$enable_nls; USE_NLS=$enableval
 
7718
else
 
7719
  USE_NLS=yes
 
7720
fi
 
7721
 
 
7722
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
7723
$as_echo "$USE_NLS" >&6; }
 
7724
 
 
7725
 
 
7726
 
 
7727
 
7482
7728
case "$am__api_version" in
7483
7729
    1.01234)
7484
 
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7485
 
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
7730
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
7731
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7486
7732
   { (exit 1); exit 1; }; }
7487
7733
    ;;
7488
7734
    *)
7490
7736
esac
7491
7737
 
7492
7738
if test -n "0.35.0"; then
7493
 
    { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
7494
 
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
 
7739
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
7740
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
7495
7741
 
7496
7742
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7497
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
7498
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
 
7743
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
7744
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7499
7745
 
7500
 
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7501
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
 
7746
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
7747
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
7502
7748
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7503
 
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
7504
 
echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
 
7749
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
 
7750
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
 
7751
   { (exit 1); exit 1; }; }
 
7752
fi
 
7753
 
 
7754
# Extract the first word of "intltool-update", so it can be a program name with args.
 
7755
set dummy intltool-update; ac_word=$2
 
7756
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7757
$as_echo_n "checking for $ac_word... " >&6; }
 
7758
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
7759
  $as_echo_n "(cached) " >&6
 
7760
else
 
7761
  case $INTLTOOL_UPDATE in
 
7762
  [\\/]* | ?:[\\/]*)
 
7763
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
7764
  ;;
 
7765
  *)
 
7766
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7767
for as_dir in $PATH
 
7768
do
 
7769
  IFS=$as_save_IFS
 
7770
  test -z "$as_dir" && as_dir=.
 
7771
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7772
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7773
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
7774
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7775
    break 2
 
7776
  fi
 
7777
done
 
7778
done
 
7779
IFS=$as_save_IFS
 
7780
 
 
7781
  ;;
 
7782
esac
 
7783
fi
 
7784
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
7785
if test -n "$INTLTOOL_UPDATE"; then
 
7786
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
7787
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
7788
else
 
7789
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7790
$as_echo "no" >&6; }
 
7791
fi
 
7792
 
 
7793
 
 
7794
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
7795
set dummy intltool-merge; ac_word=$2
 
7796
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7797
$as_echo_n "checking for $ac_word... " >&6; }
 
7798
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
7799
  $as_echo_n "(cached) " >&6
 
7800
else
 
7801
  case $INTLTOOL_MERGE in
 
7802
  [\\/]* | ?:[\\/]*)
 
7803
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
7804
  ;;
 
7805
  *)
 
7806
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7807
for as_dir in $PATH
 
7808
do
 
7809
  IFS=$as_save_IFS
 
7810
  test -z "$as_dir" && as_dir=.
 
7811
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7812
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7813
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
7814
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7815
    break 2
 
7816
  fi
 
7817
done
 
7818
done
 
7819
IFS=$as_save_IFS
 
7820
 
 
7821
  ;;
 
7822
esac
 
7823
fi
 
7824
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
7825
if test -n "$INTLTOOL_MERGE"; then
 
7826
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
7827
$as_echo "$INTLTOOL_MERGE" >&6; }
 
7828
else
 
7829
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7830
$as_echo "no" >&6; }
 
7831
fi
 
7832
 
 
7833
 
 
7834
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
7835
set dummy intltool-extract; ac_word=$2
 
7836
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7837
$as_echo_n "checking for $ac_word... " >&6; }
 
7838
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
7839
  $as_echo_n "(cached) " >&6
 
7840
else
 
7841
  case $INTLTOOL_EXTRACT in
 
7842
  [\\/]* | ?:[\\/]*)
 
7843
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
7844
  ;;
 
7845
  *)
 
7846
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7847
for as_dir in $PATH
 
7848
do
 
7849
  IFS=$as_save_IFS
 
7850
  test -z "$as_dir" && as_dir=.
 
7851
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7852
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7853
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
7854
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7855
    break 2
 
7856
  fi
 
7857
done
 
7858
done
 
7859
IFS=$as_save_IFS
 
7860
 
 
7861
  ;;
 
7862
esac
 
7863
fi
 
7864
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
7865
if test -n "$INTLTOOL_EXTRACT"; then
 
7866
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
7867
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
7868
else
 
7869
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7870
$as_echo "no" >&6; }
 
7871
fi
 
7872
 
 
7873
 
 
7874
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
7875
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
 
7876
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
7505
7877
   { (exit 1); exit 1; }; }
7506
7878
fi
7507
7879
 
7545
7917
 
7546
7918
 
7547
7919
 
 
7920
 
 
7921
 
 
7922
 
 
7923
 
 
7924
 
 
7925
 
 
7926
 
 
7927
 
 
7928
 
 
7929
 
 
7930
 
 
7931
 
 
7932
 
 
7933
 
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
 
 
7945
 
 
7946
 
 
7947
 
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
 
7956
 
 
7957
 
 
7958
 
 
7959
 
 
7960
 
 
7961
 
 
7962
 
 
7963
 
 
7964
 
 
7965
 
 
7966
 
 
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
 
7972
 
 
7973
 
 
7974
 
 
7975
 
 
7976
 
 
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
 
 
7983
 
 
7984
 
 
7985
 
 
7986
 
 
7987
 
 
7988
 
 
7989
 
 
7990
 
 
7991
 
 
7992
 
 
7993
 
 
7994
 
 
7995
 
7548
7996
# Check the gettext tools to make sure they are GNU
7549
7997
# Extract the first word of "xgettext", so it can be a program name with args.
7550
7998
set dummy xgettext; ac_word=$2
7551
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7552
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7999
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8000
$as_echo_n "checking for $ac_word... " >&6; }
7553
8001
if test "${ac_cv_path_XGETTEXT+set}" = set; then
7554
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8002
  $as_echo_n "(cached) " >&6
7555
8003
else
7556
8004
  case $XGETTEXT in
7557
8005
  [\\/]* | ?:[\\/]*)
7566
8014
  for ac_exec_ext in '' $ac_executable_extensions; do
7567
8015
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568
8016
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7569
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8017
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7570
8018
    break 2
7571
8019
  fi
7572
8020
done
7578
8026
fi
7579
8027
XGETTEXT=$ac_cv_path_XGETTEXT
7580
8028
if test -n "$XGETTEXT"; then
7581
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7582
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
8029
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
8030
$as_echo "$XGETTEXT" >&6; }
7583
8031
else
7584
 
  { echo "$as_me:$LINENO: result: no" >&5
7585
 
echo "${ECHO_T}no" >&6; }
 
8032
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8033
$as_echo "no" >&6; }
7586
8034
fi
7587
8035
 
7588
8036
 
7589
8037
# Extract the first word of "msgmerge", so it can be a program name with args.
7590
8038
set dummy msgmerge; ac_word=$2
7591
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7592
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8039
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8040
$as_echo_n "checking for $ac_word... " >&6; }
7593
8041
if test "${ac_cv_path_MSGMERGE+set}" = set; then
7594
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8042
  $as_echo_n "(cached) " >&6
7595
8043
else
7596
8044
  case $MSGMERGE in
7597
8045
  [\\/]* | ?:[\\/]*)
7606
8054
  for ac_exec_ext in '' $ac_executable_extensions; do
7607
8055
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7608
8056
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7609
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8057
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7610
8058
    break 2
7611
8059
  fi
7612
8060
done
7618
8066
fi
7619
8067
MSGMERGE=$ac_cv_path_MSGMERGE
7620
8068
if test -n "$MSGMERGE"; then
7621
 
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7622
 
echo "${ECHO_T}$MSGMERGE" >&6; }
 
8069
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
8070
$as_echo "$MSGMERGE" >&6; }
7623
8071
else
7624
 
  { echo "$as_me:$LINENO: result: no" >&5
7625
 
echo "${ECHO_T}no" >&6; }
 
8072
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8073
$as_echo "no" >&6; }
7626
8074
fi
7627
8075
 
7628
8076
 
7629
8077
# Extract the first word of "msgfmt", so it can be a program name with args.
7630
8078
set dummy msgfmt; ac_word=$2
7631
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7632
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8079
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8080
$as_echo_n "checking for $ac_word... " >&6; }
7633
8081
if test "${ac_cv_path_MSGFMT+set}" = set; then
7634
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8082
  $as_echo_n "(cached) " >&6
7635
8083
else
7636
8084
  case $MSGFMT in
7637
8085
  [\\/]* | ?:[\\/]*)
7646
8094
  for ac_exec_ext in '' $ac_executable_extensions; do
7647
8095
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7648
8096
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7649
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8097
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7650
8098
    break 2
7651
8099
  fi
7652
8100
done
7658
8106
fi
7659
8107
MSGFMT=$ac_cv_path_MSGFMT
7660
8108
if test -n "$MSGFMT"; then
7661
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7662
 
echo "${ECHO_T}$MSGFMT" >&6; }
7663
 
else
7664
 
  { echo "$as_me:$LINENO: result: no" >&5
7665
 
echo "${ECHO_T}no" >&6; }
 
8109
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
8110
$as_echo "$MSGFMT" >&6; }
 
8111
else
 
8112
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8113
$as_echo "no" >&6; }
 
8114
fi
 
8115
 
 
8116
 
 
8117
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
8118
set dummy gmsgfmt; ac_word=$2
 
8119
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8120
$as_echo_n "checking for $ac_word... " >&6; }
 
8121
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
8122
  $as_echo_n "(cached) " >&6
 
8123
else
 
8124
  case $GMSGFMT in
 
8125
  [\\/]* | ?:[\\/]*)
 
8126
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
8127
  ;;
 
8128
  *)
 
8129
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8130
for as_dir in $PATH
 
8131
do
 
8132
  IFS=$as_save_IFS
 
8133
  test -z "$as_dir" && as_dir=.
 
8134
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8135
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8136
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
8137
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8138
    break 2
 
8139
  fi
 
8140
done
 
8141
done
 
8142
IFS=$as_save_IFS
 
8143
 
 
8144
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
8145
  ;;
 
8146
esac
 
8147
fi
 
8148
GMSGFMT=$ac_cv_path_GMSGFMT
 
8149
if test -n "$GMSGFMT"; then
 
8150
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
8151
$as_echo "$GMSGFMT" >&6; }
 
8152
else
 
8153
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8154
$as_echo "no" >&6; }
7666
8155
fi
7667
8156
 
7668
8157
 
7669
8158
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
7670
 
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
7671
 
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
8159
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
8160
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
7672
8161
   { (exit 1); exit 1; }; }
7673
8162
fi
7674
8163
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
7675
8164
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
7676
8165
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
7677
8166
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
7678
 
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
7679
 
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
8167
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
8168
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
7680
8169
   { (exit 1); exit 1; }; }
7681
8170
fi
7682
8171
 
7683
 
# Use the tools built into the package, not the ones that are installed.
7684
 
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
7685
 
 
7686
 
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
7687
 
 
7688
 
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
7689
 
 
7690
 
 
7691
8172
# Extract the first word of "perl", so it can be a program name with args.
7692
8173
set dummy perl; ac_word=$2
7693
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7694
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8174
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8175
$as_echo_n "checking for $ac_word... " >&6; }
7695
8176
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
7696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8177
  $as_echo_n "(cached) " >&6
7697
8178
else
7698
8179
  case $INTLTOOL_PERL in
7699
8180
  [\\/]* | ?:[\\/]*)
7708
8189
  for ac_exec_ext in '' $ac_executable_extensions; do
7709
8190
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7710
8191
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
7711
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8192
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7712
8193
    break 2
7713
8194
  fi
7714
8195
done
7720
8201
fi
7721
8202
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
7722
8203
if test -n "$INTLTOOL_PERL"; then
7723
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
7724
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
 
8204
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
8205
$as_echo "$INTLTOOL_PERL" >&6; }
7725
8206
else
7726
 
  { echo "$as_me:$LINENO: result: no" >&5
7727
 
echo "${ECHO_T}no" >&6; }
 
8207
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8208
$as_echo "no" >&6; }
7728
8209
fi
7729
8210
 
7730
8211
 
7731
8212
if test -z "$INTLTOOL_PERL"; then
7732
 
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
7733
 
echo "$as_me: error: perl not found; required for intltool" >&2;}
 
8213
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
 
8214
$as_echo "$as_me: error: perl not found" >&2;}
7734
8215
   { (exit 1); exit 1; }; }
7735
8216
fi
7736
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
7737
 
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
7738
 
echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
8217
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
8218
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
8219
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
8220
if test $? -ne 0; then
 
8221
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
 
8222
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
7739
8223
   { (exit 1); exit 1; }; }
 
8224
else
 
8225
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
8226
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
8227
$as_echo "$IT_PERL_VERSION" >&6; }
7740
8228
fi
7741
8229
if test "x" != "xno-xml"; then
7742
 
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
7743
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
 
8230
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
8231
$as_echo_n "checking for XML::Parser... " >&6; }
7744
8232
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
7745
 
       { echo "$as_me:$LINENO: result: ok" >&5
7746
 
echo "${ECHO_T}ok" >&6; }
 
8233
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
8234
$as_echo "ok" >&6; }
7747
8235
   else
7748
 
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
7749
 
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
8236
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
8237
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
7750
8238
   { (exit 1); exit 1; }; }
7751
8239
   fi
7752
8240
fi
7779
8267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780
8268
  *) ac_try_echo=$ac_try;;
7781
8269
esac
7782
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8270
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8271
$as_echo "$ac_try_echo") >&5
7783
8272
  (eval "$ac_link") 2>conftest.er1
7784
8273
  ac_status=$?
7785
8274
  grep -v '^ *+' conftest.er1 >conftest.err
7786
8275
  rm -f conftest.er1
7787
8276
  cat conftest.err >&5
7788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8277
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789
8278
  (exit $ac_status); } && {
7790
8279
         test -z "$ac_c_werror_flag" ||
7791
8280
         test ! -s conftest.err
7792
 
       } && test -s conftest$ac_exeext &&
7793
 
       $as_test_x conftest$ac_exeext; then
 
8281
       } && test -s conftest$ac_exeext && {
 
8282
         test "$cross_compiling" = yes ||
 
8283
         $as_test_x conftest$ac_exeext
 
8284
       }; then
7794
8285
  DATADIRNAME=share
7795
8286
else
7796
 
  echo "$as_me: failed program was:" >&5
 
8287
  $as_echo "$as_me: failed program was:" >&5
7797
8288
sed 's/^/| /' conftest.$ac_ext >&5
7798
8289
 
7799
8290
        case $host in
7800
8291
    *-*-solaris*)
7801
 
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7802
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
8292
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
8293
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7803
8294
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8295
  $as_echo_n "(cached) " >&6
7805
8296
else
7806
8297
  cat >conftest.$ac_ext <<_ACEOF
7807
8298
/* confdefs.h.  */
7854
8345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7855
8346
  *) ac_try_echo=$ac_try;;
7856
8347
esac
7857
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8348
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8349
$as_echo "$ac_try_echo") >&5
7858
8350
  (eval "$ac_link") 2>conftest.er1
7859
8351
  ac_status=$?
7860
8352
  grep -v '^ *+' conftest.er1 >conftest.err
7861
8353
  rm -f conftest.er1
7862
8354
  cat conftest.err >&5
7863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8355
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864
8356
  (exit $ac_status); } && {
7865
8357
         test -z "$ac_c_werror_flag" ||
7866
8358
         test ! -s conftest.err
7867
 
       } && test -s conftest$ac_exeext &&
7868
 
       $as_test_x conftest$ac_exeext; then
 
8359
       } && test -s conftest$ac_exeext && {
 
8360
         test "$cross_compiling" = yes ||
 
8361
         $as_test_x conftest$ac_exeext
 
8362
       }; then
7869
8363
  ac_cv_func_bind_textdomain_codeset=yes
7870
8364
else
7871
 
  echo "$as_me: failed program was:" >&5
 
8365
  $as_echo "$as_me: failed program was:" >&5
7872
8366
sed 's/^/| /' conftest.$ac_ext >&5
7873
8367
 
7874
8368
        ac_cv_func_bind_textdomain_codeset=no
7875
8369
fi
7876
8370
 
 
8371
rm -rf conftest.dSYM
7877
8372
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7878
8373
      conftest$ac_exeext conftest.$ac_ext
7879
8374
fi
7880
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7881
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7882
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
8375
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
8376
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
8377
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
7883
8378
  DATADIRNAME=share
7884
8379
else
7885
8380
  DATADIRNAME=lib
7892
8387
    esac
7893
8388
fi
7894
8389
 
 
8390
rm -rf conftest.dSYM
7895
8391
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7896
8392
      conftest$ac_exeext conftest.$ac_ext
7897
8393
fi
7900
8396
 
7901
8397
 
7902
8398
 
7903
 
ac_config_commands="$ac_config_commands intltool"
7904
 
 
7905
 
 
7906
 
 
7907
 
 
7908
 
# Check whether --enable-shared was given.
7909
 
if test "${enable_shared+set}" = set; then
7910
 
  enableval=$enable_shared; p=${PACKAGE-default}
7911
 
    case $enableval in
7912
 
    yes) enable_shared=yes ;;
7913
 
    no) enable_shared=no ;;
7914
 
    *)
7915
 
      enable_shared=no
7916
 
      # Look at the argument we got.  We use all the common list separators.
7917
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7918
 
      for pkg in $enableval; do
7919
 
        IFS="$lt_save_ifs"
7920
 
        if test "X$pkg" = "X$p"; then
7921
 
          enable_shared=yes
7922
 
        fi
7923
 
      done
7924
 
      IFS="$lt_save_ifs"
7925
 
      ;;
7926
 
    esac
7927
 
else
7928
 
  enable_shared=yes
7929
 
fi
7930
 
 
7931
 
 
7932
 
# Check whether --enable-static was given.
7933
 
if test "${enable_static+set}" = set; then
7934
 
  enableval=$enable_static; p=${PACKAGE-default}
7935
 
    case $enableval in
7936
 
    yes) enable_static=yes ;;
7937
 
    no) enable_static=no ;;
7938
 
    *)
7939
 
     enable_static=no
7940
 
      # Look at the argument we got.  We use all the common list separators.
7941
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7942
 
      for pkg in $enableval; do
7943
 
        IFS="$lt_save_ifs"
7944
 
        if test "X$pkg" = "X$p"; then
7945
 
          enable_static=yes
7946
 
        fi
7947
 
      done
7948
 
      IFS="$lt_save_ifs"
7949
 
      ;;
7950
 
    esac
7951
 
else
7952
 
  enable_static=yes
7953
 
fi
7954
 
 
7955
 
 
7956
 
# Check whether --enable-fast-install was given.
7957
 
if test "${enable_fast_install+set}" = set; then
7958
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7959
 
    case $enableval in
7960
 
    yes) enable_fast_install=yes ;;
7961
 
    no) enable_fast_install=no ;;
7962
 
    *)
7963
 
      enable_fast_install=no
7964
 
      # Look at the argument we got.  We use all the common list separators.
7965
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7966
 
      for pkg in $enableval; do
7967
 
        IFS="$lt_save_ifs"
7968
 
        if test "X$pkg" = "X$p"; then
7969
 
          enable_fast_install=yes
7970
 
        fi
7971
 
      done
7972
 
      IFS="$lt_save_ifs"
7973
 
      ;;
7974
 
    esac
7975
 
else
7976
 
  enable_fast_install=yes
7977
 
fi
7978
 
 
 
8399
 
 
8400
case `pwd` in
 
8401
  *\ * | *\     *)
 
8402
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
8403
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
8404
esac
 
8405
 
 
8406
 
 
8407
 
 
8408
macro_version='2.2.6'
 
8409
macro_revision='1.3012'
 
8410
 
 
8411
 
 
8412
 
 
8413
 
 
8414
 
 
8415
 
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
ltmain="$ac_aux_dir/ltmain.sh"
7979
8424
 
7980
8425
# Make sure we can run config.sub.
7981
8426
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7982
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
7983
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
8427
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
8428
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
7984
8429
   { (exit 1); exit 1; }; }
7985
8430
 
7986
 
{ echo "$as_me:$LINENO: checking build system type" >&5
7987
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
8431
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
8432
$as_echo_n "checking build system type... " >&6; }
7988
8433
if test "${ac_cv_build+set}" = set; then
7989
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8434
  $as_echo_n "(cached) " >&6
7990
8435
else
7991
8436
  ac_build_alias=$build_alias
7992
8437
test "x$ac_build_alias" = x &&
7993
8438
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7994
8439
test "x$ac_build_alias" = x &&
7995
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7996
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
8440
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
8441
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7997
8442
   { (exit 1); exit 1; }; }
7998
8443
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7999
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
8000
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
8444
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
8445
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
8001
8446
   { (exit 1); exit 1; }; }
8002
8447
 
8003
8448
fi
8004
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
8005
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
8449
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
8450
$as_echo "$ac_cv_build" >&6; }
8006
8451
case $ac_cv_build in
8007
8452
*-*-*) ;;
8008
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
8009
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
8453
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
8454
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
8010
8455
   { (exit 1); exit 1; }; };;
8011
8456
esac
8012
8457
build=$ac_cv_build
8023
8468
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
8024
8469
 
8025
8470
 
8026
 
{ echo "$as_me:$LINENO: checking host system type" >&5
8027
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
8471
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
8472
$as_echo_n "checking host system type... " >&6; }
8028
8473
if test "${ac_cv_host+set}" = set; then
8029
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8474
  $as_echo_n "(cached) " >&6
8030
8475
else
8031
8476
  if test "x$host_alias" = x; then
8032
8477
  ac_cv_host=$ac_cv_build
8033
8478
else
8034
8479
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
8035
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
8036
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
8480
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
8481
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
8037
8482
   { (exit 1); exit 1; }; }
8038
8483
fi
8039
8484
 
8040
8485
fi
8041
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
8042
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
8486
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
8487
$as_echo "$ac_cv_host" >&6; }
8043
8488
case $ac_cv_host in
8044
8489
*-*-*) ;;
8045
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
8046
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
8490
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
8491
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
8047
8492
   { (exit 1); exit 1; }; };;
8048
8493
esac
8049
8494
host=$ac_cv_host
8060
8505
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
8061
8506
 
8062
8507
 
8063
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
8064
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
8065
 
if test "${lt_cv_path_SED+set}" = set; then
8066
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8508
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
8509
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
8510
if test "${ac_cv_path_SED+set}" = set; then
 
8511
  $as_echo_n "(cached) " >&6
8067
8512
else
8068
 
  # Loop through the user's path and test for sed and gsed.
8069
 
# Then use that list of sed's as ones to test for truncation.
8070
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8513
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
8514
     for ac_i in 1 2 3 4 5 6 7; do
 
8515
       ac_script="$ac_script$as_nl$ac_script"
 
8516
     done
 
8517
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
8518
     $as_unset ac_script || ac_script=
 
8519
     if test -z "$SED"; then
 
8520
  ac_path_SED_found=false
 
8521
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8522
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071
8523
for as_dir in $PATH
8072
8524
do
8073
8525
  IFS=$as_save_IFS
8074
8526
  test -z "$as_dir" && as_dir=.
8075
 
  for lt_ac_prog in sed gsed; do
8076
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8077
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
8078
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8079
 
      fi
8080
 
    done
8081
 
  done
8082
 
done
8083
 
IFS=$as_save_IFS
8084
 
lt_ac_max=0
8085
 
lt_ac_count=0
8086
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
8087
 
# along with /bin/sed that truncates output.
8088
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8089
 
  test ! -f $lt_ac_sed && continue
8090
 
  cat /dev/null > conftest.in
8091
 
  lt_ac_count=0
8092
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8093
 
  # Check for GNU sed and select it if it is found.
8094
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8095
 
    lt_cv_path_SED=$lt_ac_sed
8096
 
    break
8097
 
  fi
8098
 
  while true; do
8099
 
    cat conftest.in conftest.in >conftest.tmp
8100
 
    mv conftest.tmp conftest.in
8101
 
    cp conftest.in conftest.nl
8102
 
    echo >>conftest.nl
8103
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8104
 
    cmp -s conftest.out conftest.nl || break
8105
 
    # 10000 chars as input seems more than enough
8106
 
    test $lt_ac_count -gt 10 && break
8107
 
    lt_ac_count=`expr $lt_ac_count + 1`
8108
 
    if test $lt_ac_count -gt $lt_ac_max; then
8109
 
      lt_ac_max=$lt_ac_count
8110
 
      lt_cv_path_SED=$lt_ac_sed
8111
 
    fi
8112
 
  done
8113
 
done
8114
 
 
8115
 
fi
8116
 
 
8117
 
SED=$lt_cv_path_SED
8118
 
 
8119
 
{ echo "$as_me:$LINENO: result: $SED" >&5
8120
 
echo "${ECHO_T}$SED" >&6; }
 
8527
  for ac_prog in sed gsed; do
 
8528
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8529
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
8530
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
8531
# Check for GNU ac_path_SED and select it if it is found.
 
8532
  # Check for GNU $ac_path_SED
 
8533
case `"$ac_path_SED" --version 2>&1` in
 
8534
*GNU*)
 
8535
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
8536
*)
 
8537
  ac_count=0
 
8538
  $as_echo_n 0123456789 >"conftest.in"
 
8539
  while :
 
8540
  do
 
8541
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8542
    mv "conftest.tmp" "conftest.in"
 
8543
    cp "conftest.in" "conftest.nl"
 
8544
    $as_echo '' >> "conftest.nl"
 
8545
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8546
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8547
    ac_count=`expr $ac_count + 1`
 
8548
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
8549
      # Best one so far, save it but keep looking for a better one
 
8550
      ac_cv_path_SED="$ac_path_SED"
 
8551
      ac_path_SED_max=$ac_count
 
8552
    fi
 
8553
    # 10*(2^10) chars as input seems more than enough
 
8554
    test $ac_count -gt 10 && break
 
8555
  done
 
8556
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8557
esac
 
8558
 
 
8559
      $ac_path_SED_found && break 3
 
8560
    done
 
8561
  done
 
8562
done
 
8563
IFS=$as_save_IFS
 
8564
  if test -z "$ac_cv_path_SED"; then
 
8565
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
8566
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
8567
   { (exit 1); exit 1; }; }
 
8568
  fi
 
8569
else
 
8570
  ac_cv_path_SED=$SED
 
8571
fi
 
8572
 
 
8573
fi
 
8574
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
8575
$as_echo "$ac_cv_path_SED" >&6; }
 
8576
 SED="$ac_cv_path_SED"
 
8577
  rm -f conftest.sed
 
8578
 
 
8579
test -z "$SED" && SED=sed
 
8580
Xsed="$SED -e 1s/^X//"
 
8581
 
 
8582
 
 
8583
 
 
8584
 
 
8585
 
 
8586
 
 
8587
 
 
8588
 
 
8589
 
 
8590
 
 
8591
 
 
8592
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
8593
$as_echo_n "checking for fgrep... " >&6; }
 
8594
if test "${ac_cv_path_FGREP+set}" = set; then
 
8595
  $as_echo_n "(cached) " >&6
 
8596
else
 
8597
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
8598
   then ac_cv_path_FGREP="$GREP -F"
 
8599
   else
 
8600
     if test -z "$FGREP"; then
 
8601
  ac_path_FGREP_found=false
 
8602
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8603
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8604
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8605
do
 
8606
  IFS=$as_save_IFS
 
8607
  test -z "$as_dir" && as_dir=.
 
8608
  for ac_prog in fgrep; do
 
8609
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8610
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
8611
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
8612
# Check for GNU ac_path_FGREP and select it if it is found.
 
8613
  # Check for GNU $ac_path_FGREP
 
8614
case `"$ac_path_FGREP" --version 2>&1` in
 
8615
*GNU*)
 
8616
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
8617
*)
 
8618
  ac_count=0
 
8619
  $as_echo_n 0123456789 >"conftest.in"
 
8620
  while :
 
8621
  do
 
8622
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8623
    mv "conftest.tmp" "conftest.in"
 
8624
    cp "conftest.in" "conftest.nl"
 
8625
    $as_echo 'FGREP' >> "conftest.nl"
 
8626
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8627
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8628
    ac_count=`expr $ac_count + 1`
 
8629
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
8630
      # Best one so far, save it but keep looking for a better one
 
8631
      ac_cv_path_FGREP="$ac_path_FGREP"
 
8632
      ac_path_FGREP_max=$ac_count
 
8633
    fi
 
8634
    # 10*(2^10) chars as input seems more than enough
 
8635
    test $ac_count -gt 10 && break
 
8636
  done
 
8637
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8638
esac
 
8639
 
 
8640
      $ac_path_FGREP_found && break 3
 
8641
    done
 
8642
  done
 
8643
done
 
8644
IFS=$as_save_IFS
 
8645
  if test -z "$ac_cv_path_FGREP"; then
 
8646
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
8647
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
8648
   { (exit 1); exit 1; }; }
 
8649
  fi
 
8650
else
 
8651
  ac_cv_path_FGREP=$FGREP
 
8652
fi
 
8653
 
 
8654
   fi
 
8655
fi
 
8656
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
8657
$as_echo "$ac_cv_path_FGREP" >&6; }
 
8658
 FGREP="$ac_cv_path_FGREP"
 
8659
 
 
8660
 
 
8661
test -z "$GREP" && GREP=grep
 
8662
 
 
8663
 
 
8664
 
 
8665
 
 
8666
 
 
8667
 
 
8668
 
 
8669
 
 
8670
 
 
8671
 
 
8672
 
 
8673
 
 
8674
 
 
8675
 
 
8676
 
 
8677
 
 
8678
 
8121
8679
 
8122
8680
 
8123
8681
# Check whether --with-gnu-ld was given.
8130
8688
ac_prog=ld
8131
8689
if test "$GCC" = yes; then
8132
8690
  # Check if gcc -print-prog-name=ld gives a path.
8133
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8134
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
8691
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
8692
$as_echo_n "checking for ld used by $CC... " >&6; }
8135
8693
  case $host in
8136
8694
  *-*-mingw*)
8137
8695
    # gcc leaves a trailing carriage return which upsets mingw
8144
8702
    [\\/]* | ?:[\\/]*)
8145
8703
      re_direlt='/[^/][^/]*/\.\./'
8146
8704
      # Canonicalize the pathname of ld
8147
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
8148
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8149
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
8705
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
8706
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
8707
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8150
8708
      done
8151
8709
      test -z "$LD" && LD="$ac_prog"
8152
8710
      ;;
8160
8718
    ;;
8161
8719
  esac
8162
8720
elif test "$with_gnu_ld" = yes; then
8163
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
8164
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
8721
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
8722
$as_echo_n "checking for GNU ld... " >&6; }
8165
8723
else
8166
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8167
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
8724
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
8725
$as_echo_n "checking for non-GNU ld... " >&6; }
8168
8726
fi
8169
8727
if test "${lt_cv_path_LD+set}" = set; then
8170
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8728
  $as_echo_n "(cached) " >&6
8171
8729
else
8172
8730
  if test -z "$LD"; then
8173
8731
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8197
8755
 
8198
8756
LD="$lt_cv_path_LD"
8199
8757
if test -n "$LD"; then
8200
 
  { echo "$as_me:$LINENO: result: $LD" >&5
8201
 
echo "${ECHO_T}$LD" >&6; }
 
8758
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
8759
$as_echo "$LD" >&6; }
8202
8760
else
8203
 
  { echo "$as_me:$LINENO: result: no" >&5
8204
 
echo "${ECHO_T}no" >&6; }
 
8761
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8762
$as_echo "no" >&6; }
8205
8763
fi
8206
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8207
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
8764
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
8765
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8208
8766
   { (exit 1); exit 1; }; }
8209
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8210
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
8767
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
8768
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8211
8769
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8212
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8770
  $as_echo_n "(cached) " >&6
8213
8771
else
8214
8772
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
8215
8773
case `$LD -v 2>&1 </dev/null` in
8221
8779
  ;;
8222
8780
esac
8223
8781
fi
8224
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8225
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
8782
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
8783
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
8226
8784
with_gnu_ld=$lt_cv_prog_gnu_ld
8227
8785
 
8228
8786
 
8229
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8230
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8231
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
8232
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8233
 
else
8234
 
  lt_cv_ld_reload_flag='-r'
8235
 
fi
8236
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8237
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8238
 
reload_flag=$lt_cv_ld_reload_flag
8239
 
case $reload_flag in
8240
 
"" | " "*) ;;
8241
 
*) reload_flag=" $reload_flag" ;;
8242
 
esac
8243
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8244
 
case $host_os in
8245
 
  darwin*)
8246
 
    if test "$GCC" = yes; then
8247
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8248
 
    else
8249
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
8250
 
    fi
8251
 
    ;;
8252
 
esac
8253
 
 
8254
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8255
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
8787
 
 
8788
 
 
8789
 
 
8790
 
 
8791
 
 
8792
 
 
8793
 
 
8794
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
8795
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8256
8796
if test "${lt_cv_path_NM+set}" = set; then
8257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8797
  $as_echo_n "(cached) " >&6
8258
8798
else
8259
8799
  if test -n "$NM"; then
8260
8800
  # Let the user override the test.
8297
8837
    done
8298
8838
    IFS="$lt_save_ifs"
8299
8839
  done
8300
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8301
 
fi
8302
 
fi
8303
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8304
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8305
 
NM="$lt_cv_path_NM"
8306
 
 
8307
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8308
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
8840
  : ${lt_cv_path_NM=no}
 
8841
fi
 
8842
fi
 
8843
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
8844
$as_echo "$lt_cv_path_NM" >&6; }
 
8845
if test "$lt_cv_path_NM" != "no"; then
 
8846
  NM="$lt_cv_path_NM"
 
8847
else
 
8848
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
8849
  if test -n "$ac_tool_prefix"; then
 
8850
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
8851
  do
 
8852
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
8853
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
8854
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8855
$as_echo_n "checking for $ac_word... " >&6; }
 
8856
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
8857
  $as_echo_n "(cached) " >&6
 
8858
else
 
8859
  if test -n "$DUMPBIN"; then
 
8860
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
8861
else
 
8862
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8863
for as_dir in $PATH
 
8864
do
 
8865
  IFS=$as_save_IFS
 
8866
  test -z "$as_dir" && as_dir=.
 
8867
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8868
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8869
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
8870
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8871
    break 2
 
8872
  fi
 
8873
done
 
8874
done
 
8875
IFS=$as_save_IFS
 
8876
 
 
8877
fi
 
8878
fi
 
8879
DUMPBIN=$ac_cv_prog_DUMPBIN
 
8880
if test -n "$DUMPBIN"; then
 
8881
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
8882
$as_echo "$DUMPBIN" >&6; }
 
8883
else
 
8884
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8885
$as_echo "no" >&6; }
 
8886
fi
 
8887
 
 
8888
 
 
8889
    test -n "$DUMPBIN" && break
 
8890
  done
 
8891
fi
 
8892
if test -z "$DUMPBIN"; then
 
8893
  ac_ct_DUMPBIN=$DUMPBIN
 
8894
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
8895
do
 
8896
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8897
set dummy $ac_prog; ac_word=$2
 
8898
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8899
$as_echo_n "checking for $ac_word... " >&6; }
 
8900
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
8901
  $as_echo_n "(cached) " >&6
 
8902
else
 
8903
  if test -n "$ac_ct_DUMPBIN"; then
 
8904
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
8905
else
 
8906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8907
for as_dir in $PATH
 
8908
do
 
8909
  IFS=$as_save_IFS
 
8910
  test -z "$as_dir" && as_dir=.
 
8911
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8912
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8913
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
8914
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8915
    break 2
 
8916
  fi
 
8917
done
 
8918
done
 
8919
IFS=$as_save_IFS
 
8920
 
 
8921
fi
 
8922
fi
 
8923
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
8924
if test -n "$ac_ct_DUMPBIN"; then
 
8925
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
8926
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
8927
else
 
8928
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8929
$as_echo "no" >&6; }
 
8930
fi
 
8931
 
 
8932
 
 
8933
  test -n "$ac_ct_DUMPBIN" && break
 
8934
done
 
8935
 
 
8936
  if test "x$ac_ct_DUMPBIN" = x; then
 
8937
    DUMPBIN=":"
 
8938
  else
 
8939
    case $cross_compiling:$ac_tool_warned in
 
8940
yes:)
 
8941
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8942
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8943
ac_tool_warned=yes ;;
 
8944
esac
 
8945
    DUMPBIN=$ac_ct_DUMPBIN
 
8946
  fi
 
8947
fi
 
8948
 
 
8949
 
 
8950
  if test "$DUMPBIN" != ":"; then
 
8951
    NM="$DUMPBIN"
 
8952
  fi
 
8953
fi
 
8954
test -z "$NM" && NM=nm
 
8955
 
 
8956
 
 
8957
 
 
8958
 
 
8959
 
 
8960
 
 
8961
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
8962
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
8963
if test "${lt_cv_nm_interface+set}" = set; then
 
8964
  $as_echo_n "(cached) " >&6
 
8965
else
 
8966
  lt_cv_nm_interface="BSD nm"
 
8967
  echo "int some_variable = 0;" > conftest.$ac_ext
 
8968
  (eval echo "\"\$as_me:8968: $ac_compile\"" >&5)
 
8969
  (eval "$ac_compile" 2>conftest.err)
 
8970
  cat conftest.err >&5
 
8971
  (eval echo "\"\$as_me:8971: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
8972
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
8973
  cat conftest.err >&5
 
8974
  (eval echo "\"\$as_me:8974: output\"" >&5)
 
8975
  cat conftest.out >&5
 
8976
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
8977
    lt_cv_nm_interface="MS dumpbin"
 
8978
  fi
 
8979
  rm -f conftest*
 
8980
fi
 
8981
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
8982
$as_echo "$lt_cv_nm_interface" >&6; }
 
8983
 
 
8984
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
8985
$as_echo_n "checking whether ln -s works... " >&6; }
8309
8986
LN_S=$as_ln_s
8310
8987
if test "$LN_S" = "ln -s"; then
8311
 
  { echo "$as_me:$LINENO: result: yes" >&5
8312
 
echo "${ECHO_T}yes" >&6; }
8313
 
else
8314
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8315
 
echo "${ECHO_T}no, using $LN_S" >&6; }
8316
 
fi
8317
 
 
8318
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
8319
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
8988
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8989
$as_echo "yes" >&6; }
 
8990
else
 
8991
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
8992
$as_echo "no, using $LN_S" >&6; }
 
8993
fi
 
8994
 
 
8995
# find the maximum length of command line arguments
 
8996
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
8997
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
8998
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
8999
  $as_echo_n "(cached) " >&6
 
9000
else
 
9001
    i=0
 
9002
  teststring="ABCD"
 
9003
 
 
9004
  case $build_os in
 
9005
  msdosdjgpp*)
 
9006
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
9007
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
9008
    # during glob expansion).  Even if it were fixed, the result of this
 
9009
    # check would be larger than it should be.
 
9010
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
9011
    ;;
 
9012
 
 
9013
  gnu*)
 
9014
    # Under GNU Hurd, this test is not required because there is
 
9015
    # no limit to the length of command line arguments.
 
9016
    # Libtool will interpret -1 as no limit whatsoever
 
9017
    lt_cv_sys_max_cmd_len=-1;
 
9018
    ;;
 
9019
 
 
9020
  cygwin* | mingw* | cegcc*)
 
9021
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
9022
    # about 5 minutes as the teststring grows exponentially.
 
9023
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
9024
    # you end up with a "frozen" computer, even though with patience
 
9025
    # the test eventually succeeds (with a max line length of 256k).
 
9026
    # Instead, let's just punt: use the minimum linelength reported by
 
9027
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
9028
    lt_cv_sys_max_cmd_len=8192;
 
9029
    ;;
 
9030
 
 
9031
  amigaos*)
 
9032
    # On AmigaOS with pdksh, this test takes hours, literally.
 
9033
    # So we just punt and use a minimum line length of 8192.
 
9034
    lt_cv_sys_max_cmd_len=8192;
 
9035
    ;;
 
9036
 
 
9037
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
9038
    # This has been around since 386BSD, at least.  Likely further.
 
9039
    if test -x /sbin/sysctl; then
 
9040
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
9041
    elif test -x /usr/sbin/sysctl; then
 
9042
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
9043
    else
 
9044
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
9045
    fi
 
9046
    # And add a safety zone
 
9047
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
9048
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
9049
    ;;
 
9050
 
 
9051
  interix*)
 
9052
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
9053
    lt_cv_sys_max_cmd_len=196608
 
9054
    ;;
 
9055
 
 
9056
  osf*)
 
9057
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
9058
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
9059
    # nice to cause kernel panics so lets avoid the loop below.
 
9060
    # First set a reasonable default.
 
9061
    lt_cv_sys_max_cmd_len=16384
 
9062
    #
 
9063
    if test -x /sbin/sysconfig; then
 
9064
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
9065
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
9066
      esac
 
9067
    fi
 
9068
    ;;
 
9069
  sco3.2v5*)
 
9070
    lt_cv_sys_max_cmd_len=102400
 
9071
    ;;
 
9072
  sysv5* | sco5v6* | sysv4.2uw2*)
 
9073
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
9074
    if test -n "$kargmax"; then
 
9075
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
9076
    else
 
9077
      lt_cv_sys_max_cmd_len=32768
 
9078
    fi
 
9079
    ;;
 
9080
  *)
 
9081
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
9082
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
9083
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
9084
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
9085
    else
 
9086
      # Make teststring a little bigger before we do anything with it.
 
9087
      # a 1K string should be a reasonable start.
 
9088
      for i in 1 2 3 4 5 6 7 8 ; do
 
9089
        teststring=$teststring$teststring
 
9090
      done
 
9091
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
9092
      # If test is not a shell built-in, we'll probably end up computing a
 
9093
      # maximum length that is only half of the actual maximum length, but
 
9094
      # we can't tell.
 
9095
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
9096
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
9097
              test $i != 17 # 1/2 MB should be enough
 
9098
      do
 
9099
        i=`expr $i + 1`
 
9100
        teststring=$teststring$teststring
 
9101
      done
 
9102
      # Only check the string length outside the loop.
 
9103
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
9104
      teststring=
 
9105
      # Add a significant safety factor because C++ compilers can tack on
 
9106
      # massive amounts of additional arguments before passing them to the
 
9107
      # linker.  It appears as though 1/2 is a usable value.
 
9108
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
9109
    fi
 
9110
    ;;
 
9111
  esac
 
9112
 
 
9113
fi
 
9114
 
 
9115
if test -n $lt_cv_sys_max_cmd_len ; then
 
9116
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
9117
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
9118
else
 
9119
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
9120
$as_echo "none" >&6; }
 
9121
fi
 
9122
max_cmd_len=$lt_cv_sys_max_cmd_len
 
9123
 
 
9124
 
 
9125
 
 
9126
 
 
9127
 
 
9128
 
 
9129
: ${CP="cp -f"}
 
9130
: ${MV="mv -f"}
 
9131
: ${RM="rm -f"}
 
9132
 
 
9133
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
9134
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
9135
# Try some XSI features
 
9136
xsi_shell=no
 
9137
( _lt_dummy="a/b/c"
 
9138
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
9139
      = c,a/b,, \
 
9140
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
9141
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
9142
  && xsi_shell=yes
 
9143
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
9144
$as_echo "$xsi_shell" >&6; }
 
9145
 
 
9146
 
 
9147
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
9148
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
9149
lt_shell_append=no
 
9150
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
9151
    >/dev/null 2>&1 \
 
9152
  && lt_shell_append=yes
 
9153
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
9154
$as_echo "$lt_shell_append" >&6; }
 
9155
 
 
9156
 
 
9157
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
9158
  lt_unset=unset
 
9159
else
 
9160
  lt_unset=false
 
9161
fi
 
9162
 
 
9163
 
 
9164
 
 
9165
 
 
9166
 
 
9167
# test EBCDIC or ASCII
 
9168
case `echo X|tr X '\101'` in
 
9169
 A) # ASCII based system
 
9170
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
9171
  lt_SP2NL='tr \040 \012'
 
9172
  lt_NL2SP='tr \015\012 \040\040'
 
9173
  ;;
 
9174
 *) # EBCDIC based system
 
9175
  lt_SP2NL='tr \100 \n'
 
9176
  lt_NL2SP='tr \r\n \100\100'
 
9177
  ;;
 
9178
esac
 
9179
 
 
9180
 
 
9181
 
 
9182
 
 
9183
 
 
9184
 
 
9185
 
 
9186
 
 
9187
 
 
9188
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
9189
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
9190
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
9191
  $as_echo_n "(cached) " >&6
 
9192
else
 
9193
  lt_cv_ld_reload_flag='-r'
 
9194
fi
 
9195
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
9196
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
9197
reload_flag=$lt_cv_ld_reload_flag
 
9198
case $reload_flag in
 
9199
"" | " "*) ;;
 
9200
*) reload_flag=" $reload_flag" ;;
 
9201
esac
 
9202
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
9203
case $host_os in
 
9204
  darwin*)
 
9205
    if test "$GCC" = yes; then
 
9206
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
9207
    else
 
9208
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
9209
    fi
 
9210
    ;;
 
9211
esac
 
9212
 
 
9213
 
 
9214
 
 
9215
 
 
9216
 
 
9217
 
 
9218
 
 
9219
 
 
9220
 
 
9221
if test -n "$ac_tool_prefix"; then
 
9222
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
9223
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
9224
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9225
$as_echo_n "checking for $ac_word... " >&6; }
 
9226
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
9227
  $as_echo_n "(cached) " >&6
 
9228
else
 
9229
  if test -n "$OBJDUMP"; then
 
9230
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
9231
else
 
9232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9233
for as_dir in $PATH
 
9234
do
 
9235
  IFS=$as_save_IFS
 
9236
  test -z "$as_dir" && as_dir=.
 
9237
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9239
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
9240
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9241
    break 2
 
9242
  fi
 
9243
done
 
9244
done
 
9245
IFS=$as_save_IFS
 
9246
 
 
9247
fi
 
9248
fi
 
9249
OBJDUMP=$ac_cv_prog_OBJDUMP
 
9250
if test -n "$OBJDUMP"; then
 
9251
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
9252
$as_echo "$OBJDUMP" >&6; }
 
9253
else
 
9254
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9255
$as_echo "no" >&6; }
 
9256
fi
 
9257
 
 
9258
 
 
9259
fi
 
9260
if test -z "$ac_cv_prog_OBJDUMP"; then
 
9261
  ac_ct_OBJDUMP=$OBJDUMP
 
9262
  # Extract the first word of "objdump", so it can be a program name with args.
 
9263
set dummy objdump; ac_word=$2
 
9264
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9265
$as_echo_n "checking for $ac_word... " >&6; }
 
9266
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
9267
  $as_echo_n "(cached) " >&6
 
9268
else
 
9269
  if test -n "$ac_ct_OBJDUMP"; then
 
9270
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
9271
else
 
9272
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9273
for as_dir in $PATH
 
9274
do
 
9275
  IFS=$as_save_IFS
 
9276
  test -z "$as_dir" && as_dir=.
 
9277
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9278
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9279
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
9280
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9281
    break 2
 
9282
  fi
 
9283
done
 
9284
done
 
9285
IFS=$as_save_IFS
 
9286
 
 
9287
fi
 
9288
fi
 
9289
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
9290
if test -n "$ac_ct_OBJDUMP"; then
 
9291
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
9292
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
9293
else
 
9294
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9295
$as_echo "no" >&6; }
 
9296
fi
 
9297
 
 
9298
  if test "x$ac_ct_OBJDUMP" = x; then
 
9299
    OBJDUMP="false"
 
9300
  else
 
9301
    case $cross_compiling:$ac_tool_warned in
 
9302
yes:)
 
9303
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9304
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9305
ac_tool_warned=yes ;;
 
9306
esac
 
9307
    OBJDUMP=$ac_ct_OBJDUMP
 
9308
  fi
 
9309
else
 
9310
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
9311
fi
 
9312
 
 
9313
test -z "$OBJDUMP" && OBJDUMP=objdump
 
9314
 
 
9315
 
 
9316
 
 
9317
 
 
9318
 
 
9319
 
 
9320
 
 
9321
 
 
9322
 
 
9323
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
9324
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
8320
9325
if test "${lt_cv_deplibs_check_method+set}" = set; then
8321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9326
  $as_echo_n "(cached) " >&6
8322
9327
else
8323
9328
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8324
9329
lt_cv_file_magic_test_file=
8368
9373
  fi
8369
9374
  ;;
8370
9375
 
 
9376
cegcc)
 
9377
  # use the weaker test based on 'objdump'. See mingw*.
 
9378
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
9379
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
9380
  ;;
 
9381
 
8371
9382
darwin* | rhapsody*)
8372
9383
  lt_cv_deplibs_check_method=pass_all
8373
9384
  ;;
8374
9385
 
8375
9386
freebsd* | dragonfly*)
8376
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
9387
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8377
9388
    case $host_cpu in
8378
9389
    i*86 )
8379
9390
      # Not sure whether the presence of OpenBSD here was a mistake.
8430
9441
  lt_cv_deplibs_check_method=pass_all
8431
9442
  ;;
8432
9443
 
8433
 
netbsd* | netbsdelf*-gnu)
8434
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
9444
netbsd*)
 
9445
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8435
9446
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8436
9447
  else
8437
9448
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8444
9455
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8445
9456
  ;;
8446
9457
 
8447
 
nto-qnx*)
8448
 
  lt_cv_deplibs_check_method=unknown
 
9458
*nto* | *qnx*)
 
9459
  lt_cv_deplibs_check_method=pass_all
8449
9460
  ;;
8450
9461
 
8451
9462
openbsd*)
8452
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9463
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8453
9464
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8454
9465
  else
8455
9466
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8468
9479
  lt_cv_deplibs_check_method=pass_all
8469
9480
  ;;
8470
9481
 
 
9482
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9483
  lt_cv_deplibs_check_method=pass_all
 
9484
  ;;
 
9485
 
8471
9486
sysv4 | sysv4.3*)
8472
9487
  case $host_vendor in
8473
9488
  motorola)
8495
9510
  esac
8496
9511
  ;;
8497
9512
 
8498
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9513
tpf*)
8499
9514
  lt_cv_deplibs_check_method=pass_all
8500
9515
  ;;
8501
9516
esac
8502
9517
 
8503
9518
fi
8504
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8505
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
9519
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
9520
$as_echo "$lt_cv_deplibs_check_method" >&6; }
8506
9521
file_magic_cmd=$lt_cv_file_magic_cmd
8507
9522
deplibs_check_method=$lt_cv_deplibs_check_method
8508
9523
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8510
9525
 
8511
9526
 
8512
9527
 
 
9528
 
 
9529
 
 
9530
 
 
9531
 
 
9532
 
 
9533
 
 
9534
 
 
9535
 
 
9536
if test -n "$ac_tool_prefix"; then
 
9537
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
9538
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
9539
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9540
$as_echo_n "checking for $ac_word... " >&6; }
 
9541
if test "${ac_cv_prog_AR+set}" = set; then
 
9542
  $as_echo_n "(cached) " >&6
 
9543
else
 
9544
  if test -n "$AR"; then
 
9545
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
9546
else
 
9547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9548
for as_dir in $PATH
 
9549
do
 
9550
  IFS=$as_save_IFS
 
9551
  test -z "$as_dir" && as_dir=.
 
9552
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9553
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9554
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
9555
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9556
    break 2
 
9557
  fi
 
9558
done
 
9559
done
 
9560
IFS=$as_save_IFS
 
9561
 
 
9562
fi
 
9563
fi
 
9564
AR=$ac_cv_prog_AR
 
9565
if test -n "$AR"; then
 
9566
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
9567
$as_echo "$AR" >&6; }
 
9568
else
 
9569
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9570
$as_echo "no" >&6; }
 
9571
fi
 
9572
 
 
9573
 
 
9574
fi
 
9575
if test -z "$ac_cv_prog_AR"; then
 
9576
  ac_ct_AR=$AR
 
9577
  # Extract the first word of "ar", so it can be a program name with args.
 
9578
set dummy ar; ac_word=$2
 
9579
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9580
$as_echo_n "checking for $ac_word... " >&6; }
 
9581
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
9582
  $as_echo_n "(cached) " >&6
 
9583
else
 
9584
  if test -n "$ac_ct_AR"; then
 
9585
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
9586
else
 
9587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9588
for as_dir in $PATH
 
9589
do
 
9590
  IFS=$as_save_IFS
 
9591
  test -z "$as_dir" && as_dir=.
 
9592
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9593
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9594
    ac_cv_prog_ac_ct_AR="ar"
 
9595
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9596
    break 2
 
9597
  fi
 
9598
done
 
9599
done
 
9600
IFS=$as_save_IFS
 
9601
 
 
9602
fi
 
9603
fi
 
9604
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
9605
if test -n "$ac_ct_AR"; then
 
9606
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
9607
$as_echo "$ac_ct_AR" >&6; }
 
9608
else
 
9609
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9610
$as_echo "no" >&6; }
 
9611
fi
 
9612
 
 
9613
  if test "x$ac_ct_AR" = x; then
 
9614
    AR="false"
 
9615
  else
 
9616
    case $cross_compiling:$ac_tool_warned in
 
9617
yes:)
 
9618
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9619
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9620
ac_tool_warned=yes ;;
 
9621
esac
 
9622
    AR=$ac_ct_AR
 
9623
  fi
 
9624
else
 
9625
  AR="$ac_cv_prog_AR"
 
9626
fi
 
9627
 
 
9628
test -z "$AR" && AR=ar
 
9629
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
9630
 
 
9631
 
 
9632
 
 
9633
 
 
9634
 
 
9635
 
 
9636
 
 
9637
 
 
9638
 
 
9639
 
 
9640
 
 
9641
if test -n "$ac_tool_prefix"; then
 
9642
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
9643
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
9644
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9645
$as_echo_n "checking for $ac_word... " >&6; }
 
9646
if test "${ac_cv_prog_STRIP+set}" = set; then
 
9647
  $as_echo_n "(cached) " >&6
 
9648
else
 
9649
  if test -n "$STRIP"; then
 
9650
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
9651
else
 
9652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9653
for as_dir in $PATH
 
9654
do
 
9655
  IFS=$as_save_IFS
 
9656
  test -z "$as_dir" && as_dir=.
 
9657
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9659
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
9660
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9661
    break 2
 
9662
  fi
 
9663
done
 
9664
done
 
9665
IFS=$as_save_IFS
 
9666
 
 
9667
fi
 
9668
fi
 
9669
STRIP=$ac_cv_prog_STRIP
 
9670
if test -n "$STRIP"; then
 
9671
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
9672
$as_echo "$STRIP" >&6; }
 
9673
else
 
9674
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9675
$as_echo "no" >&6; }
 
9676
fi
 
9677
 
 
9678
 
 
9679
fi
 
9680
if test -z "$ac_cv_prog_STRIP"; then
 
9681
  ac_ct_STRIP=$STRIP
 
9682
  # Extract the first word of "strip", so it can be a program name with args.
 
9683
set dummy strip; ac_word=$2
 
9684
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9685
$as_echo_n "checking for $ac_word... " >&6; }
 
9686
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
9687
  $as_echo_n "(cached) " >&6
 
9688
else
 
9689
  if test -n "$ac_ct_STRIP"; then
 
9690
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
9691
else
 
9692
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9693
for as_dir in $PATH
 
9694
do
 
9695
  IFS=$as_save_IFS
 
9696
  test -z "$as_dir" && as_dir=.
 
9697
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9698
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9699
    ac_cv_prog_ac_ct_STRIP="strip"
 
9700
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9701
    break 2
 
9702
  fi
 
9703
done
 
9704
done
 
9705
IFS=$as_save_IFS
 
9706
 
 
9707
fi
 
9708
fi
 
9709
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
9710
if test -n "$ac_ct_STRIP"; then
 
9711
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
9712
$as_echo "$ac_ct_STRIP" >&6; }
 
9713
else
 
9714
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9715
$as_echo "no" >&6; }
 
9716
fi
 
9717
 
 
9718
  if test "x$ac_ct_STRIP" = x; then
 
9719
    STRIP=":"
 
9720
  else
 
9721
    case $cross_compiling:$ac_tool_warned in
 
9722
yes:)
 
9723
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9724
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9725
ac_tool_warned=yes ;;
 
9726
esac
 
9727
    STRIP=$ac_ct_STRIP
 
9728
  fi
 
9729
else
 
9730
  STRIP="$ac_cv_prog_STRIP"
 
9731
fi
 
9732
 
 
9733
test -z "$STRIP" && STRIP=:
 
9734
 
 
9735
 
 
9736
 
 
9737
 
 
9738
 
 
9739
 
 
9740
if test -n "$ac_tool_prefix"; then
 
9741
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
9742
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
9743
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9744
$as_echo_n "checking for $ac_word... " >&6; }
 
9745
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
9746
  $as_echo_n "(cached) " >&6
 
9747
else
 
9748
  if test -n "$RANLIB"; then
 
9749
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
9750
else
 
9751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9752
for as_dir in $PATH
 
9753
do
 
9754
  IFS=$as_save_IFS
 
9755
  test -z "$as_dir" && as_dir=.
 
9756
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9757
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9758
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
9759
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9760
    break 2
 
9761
  fi
 
9762
done
 
9763
done
 
9764
IFS=$as_save_IFS
 
9765
 
 
9766
fi
 
9767
fi
 
9768
RANLIB=$ac_cv_prog_RANLIB
 
9769
if test -n "$RANLIB"; then
 
9770
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
9771
$as_echo "$RANLIB" >&6; }
 
9772
else
 
9773
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9774
$as_echo "no" >&6; }
 
9775
fi
 
9776
 
 
9777
 
 
9778
fi
 
9779
if test -z "$ac_cv_prog_RANLIB"; then
 
9780
  ac_ct_RANLIB=$RANLIB
 
9781
  # Extract the first word of "ranlib", so it can be a program name with args.
 
9782
set dummy ranlib; ac_word=$2
 
9783
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9784
$as_echo_n "checking for $ac_word... " >&6; }
 
9785
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
9786
  $as_echo_n "(cached) " >&6
 
9787
else
 
9788
  if test -n "$ac_ct_RANLIB"; then
 
9789
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
9790
else
 
9791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9792
for as_dir in $PATH
 
9793
do
 
9794
  IFS=$as_save_IFS
 
9795
  test -z "$as_dir" && as_dir=.
 
9796
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9798
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
9799
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9800
    break 2
 
9801
  fi
 
9802
done
 
9803
done
 
9804
IFS=$as_save_IFS
 
9805
 
 
9806
fi
 
9807
fi
 
9808
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
9809
if test -n "$ac_ct_RANLIB"; then
 
9810
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
9811
$as_echo "$ac_ct_RANLIB" >&6; }
 
9812
else
 
9813
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9814
$as_echo "no" >&6; }
 
9815
fi
 
9816
 
 
9817
  if test "x$ac_ct_RANLIB" = x; then
 
9818
    RANLIB=":"
 
9819
  else
 
9820
    case $cross_compiling:$ac_tool_warned in
 
9821
yes:)
 
9822
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9823
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9824
ac_tool_warned=yes ;;
 
9825
esac
 
9826
    RANLIB=$ac_ct_RANLIB
 
9827
  fi
 
9828
else
 
9829
  RANLIB="$ac_cv_prog_RANLIB"
 
9830
fi
 
9831
 
 
9832
test -z "$RANLIB" && RANLIB=:
 
9833
 
 
9834
 
 
9835
 
 
9836
 
 
9837
 
 
9838
 
 
9839
# Determine commands to create old-style static archives.
 
9840
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
9841
old_postinstall_cmds='chmod 644 $oldlib'
 
9842
old_postuninstall_cmds=
 
9843
 
 
9844
if test -n "$RANLIB"; then
 
9845
  case $host_os in
 
9846
  openbsd*)
 
9847
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
9848
    ;;
 
9849
  *)
 
9850
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
9851
    ;;
 
9852
  esac
 
9853
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
9854
fi
 
9855
 
 
9856
 
 
9857
 
 
9858
 
 
9859
 
 
9860
 
 
9861
 
 
9862
 
 
9863
 
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
 
 
9871
 
 
9872
 
 
9873
 
 
9874
 
 
9875
 
 
9876
 
 
9877
 
 
9878
 
 
9879
 
 
9880
 
 
9881
 
 
9882
 
 
9883
 
 
9884
 
 
9885
 
 
9886
 
 
9887
 
 
9888
 
8513
9889
# If no C compiler was specified, use CC.
8514
9890
LTCC=${LTCC-"$CC"}
8515
9891
 
8519
9895
# Allow CC to be a program name with arguments.
8520
9896
compiler=$CC
8521
9897
 
8522
 
# Check whether --enable-libtool-lock was given.
8523
 
if test "${enable_libtool_lock+set}" = set; then
8524
 
  enableval=$enable_libtool_lock;
8525
 
fi
8526
 
 
8527
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8528
 
 
8529
 
# Some flags need to be propagated to the compiler or linker for good
8530
 
# libtool support.
8531
 
case $host in
8532
 
ia64-*-hpux*)
8533
 
  # Find out which ABI we are using.
8534
 
  echo 'int i;' > conftest.$ac_ext
8535
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8536
 
  (eval $ac_compile) 2>&5
8537
 
  ac_status=$?
8538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539
 
  (exit $ac_status); }; then
8540
 
    case `/usr/bin/file conftest.$ac_objext` in
8541
 
    *ELF-32*)
8542
 
      HPUX_IA64_MODE="32"
8543
 
      ;;
8544
 
    *ELF-64*)
8545
 
      HPUX_IA64_MODE="64"
8546
 
      ;;
8547
 
    esac
8548
 
  fi
8549
 
  rm -rf conftest*
8550
 
  ;;
8551
 
*-*-irix6*)
8552
 
  # Find out which ABI we are using.
8553
 
  echo '#line 8553 "configure"' > conftest.$ac_ext
8554
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8555
 
  (eval $ac_compile) 2>&5
8556
 
  ac_status=$?
8557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558
 
  (exit $ac_status); }; then
8559
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8560
 
    case `/usr/bin/file conftest.$ac_objext` in
8561
 
    *32-bit*)
8562
 
      LD="${LD-ld} -melf32bsmip"
8563
 
      ;;
8564
 
    *N32*)
8565
 
      LD="${LD-ld} -melf32bmipn32"
8566
 
      ;;
8567
 
    *64-bit*)
8568
 
      LD="${LD-ld} -melf64bmip"
8569
 
      ;;
8570
 
    esac
8571
 
   else
8572
 
    case `/usr/bin/file conftest.$ac_objext` in
8573
 
    *32-bit*)
8574
 
      LD="${LD-ld} -32"
8575
 
      ;;
8576
 
    *N32*)
8577
 
      LD="${LD-ld} -n32"
8578
 
      ;;
8579
 
    *64-bit*)
8580
 
      LD="${LD-ld} -64"
8581
 
      ;;
8582
 
    esac
8583
 
   fi
8584
 
  fi
8585
 
  rm -rf conftest*
8586
 
  ;;
8587
 
 
8588
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8589
 
s390*-*linux*|sparc*-*linux*)
8590
 
  # Find out which ABI we are using.
8591
 
  echo 'int i;' > conftest.$ac_ext
8592
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8593
 
  (eval $ac_compile) 2>&5
8594
 
  ac_status=$?
8595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596
 
  (exit $ac_status); }; then
8597
 
    case `/usr/bin/file conftest.o` in
8598
 
    *32-bit*)
8599
 
      case $host in
8600
 
        x86_64-*kfreebsd*-gnu)
8601
 
          LD="${LD-ld} -m elf_i386_fbsd"
8602
 
          ;;
8603
 
        x86_64-*linux*)
8604
 
          LD="${LD-ld} -m elf_i386"
8605
 
          ;;
8606
 
        ppc64-*linux*|powerpc64-*linux*)
8607
 
          LD="${LD-ld} -m elf32ppclinux"
8608
 
          ;;
8609
 
        s390x-*linux*)
8610
 
          LD="${LD-ld} -m elf_s390"
8611
 
          ;;
8612
 
        sparc64-*linux*)
8613
 
          LD="${LD-ld} -m elf32_sparc"
8614
 
          ;;
8615
 
      esac
8616
 
      ;;
8617
 
    *64-bit*)
8618
 
      case $host in
8619
 
        x86_64-*kfreebsd*-gnu)
8620
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
8621
 
          ;;
8622
 
        x86_64-*linux*)
8623
 
          LD="${LD-ld} -m elf_x86_64"
8624
 
          ;;
8625
 
        ppc*-*linux*|powerpc*-*linux*)
8626
 
          LD="${LD-ld} -m elf64ppc"
8627
 
          ;;
8628
 
        s390*-*linux*)
8629
 
          LD="${LD-ld} -m elf64_s390"
8630
 
          ;;
8631
 
        sparc*-*linux*)
8632
 
          LD="${LD-ld} -m elf64_sparc"
8633
 
          ;;
8634
 
      esac
8635
 
      ;;
8636
 
    esac
8637
 
  fi
8638
 
  rm -rf conftest*
8639
 
  ;;
8640
 
 
8641
 
*-*-sco3.2v5*)
8642
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8643
 
  SAVE_CFLAGS="$CFLAGS"
8644
 
  CFLAGS="$CFLAGS -belf"
8645
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8646
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8647
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
8648
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8649
 
else
8650
 
  ac_ext=c
8651
 
ac_cpp='$CPP $CPPFLAGS'
8652
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8653
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8654
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8655
 
 
8656
 
     cat >conftest.$ac_ext <<_ACEOF
8657
 
/* confdefs.h.  */
8658
 
_ACEOF
8659
 
cat confdefs.h >>conftest.$ac_ext
8660
 
cat >>conftest.$ac_ext <<_ACEOF
8661
 
/* end confdefs.h.  */
8662
 
 
8663
 
int
8664
 
main ()
8665
 
{
8666
 
 
8667
 
  ;
8668
 
  return 0;
8669
 
}
8670
 
_ACEOF
8671
 
rm -f conftest.$ac_objext conftest$ac_exeext
8672
 
if { (ac_try="$ac_link"
8673
 
case "(($ac_try" in
8674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8675
 
  *) ac_try_echo=$ac_try;;
8676
 
esac
8677
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8678
 
  (eval "$ac_link") 2>conftest.er1
8679
 
  ac_status=$?
8680
 
  grep -v '^ *+' conftest.er1 >conftest.err
8681
 
  rm -f conftest.er1
8682
 
  cat conftest.err >&5
8683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684
 
  (exit $ac_status); } && {
8685
 
         test -z "$ac_c_werror_flag" ||
8686
 
         test ! -s conftest.err
8687
 
       } && test -s conftest$ac_exeext &&
8688
 
       $as_test_x conftest$ac_exeext; then
8689
 
  lt_cv_cc_needs_belf=yes
8690
 
else
8691
 
  echo "$as_me: failed program was:" >&5
8692
 
sed 's/^/| /' conftest.$ac_ext >&5
8693
 
 
8694
 
        lt_cv_cc_needs_belf=no
8695
 
fi
8696
 
 
8697
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8698
 
      conftest$ac_exeext conftest.$ac_ext
8699
 
     ac_ext=c
8700
 
ac_cpp='$CPP $CPPFLAGS'
8701
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8702
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8703
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8704
 
 
8705
 
fi
8706
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8707
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8708
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8709
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8710
 
    CFLAGS="$SAVE_CFLAGS"
8711
 
  fi
8712
 
  ;;
8713
 
sparc*-*solaris*)
8714
 
  # Find out which ABI we are using.
8715
 
  echo 'int i;' > conftest.$ac_ext
8716
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8717
 
  (eval $ac_compile) 2>&5
8718
 
  ac_status=$?
8719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720
 
  (exit $ac_status); }; then
8721
 
    case `/usr/bin/file conftest.o` in
8722
 
    *64-bit*)
8723
 
      case $lt_cv_prog_gnu_ld in
8724
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
8725
 
      *)
8726
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8727
 
          LD="${LD-ld} -64"
8728
 
        fi
8729
 
        ;;
8730
 
      esac
8731
 
      ;;
8732
 
    esac
8733
 
  fi
8734
 
  rm -rf conftest*
8735
 
  ;;
8736
 
 
8737
 
 
8738
 
esac
8739
 
 
8740
 
need_locks="$enable_libtool_lock"
8741
 
 
8742
 
 
8743
 
 
8744
 
for ac_header in dlfcn.h
8745
 
do
8746
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8747
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8748
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8749
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8750
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8751
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8752
 
fi
8753
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8754
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8755
 
echo "${ECHO_T}$ac_res" >&6; }
8756
 
else
8757
 
  # Is the header compilable?
8758
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8759
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8760
 
cat >conftest.$ac_ext <<_ACEOF
8761
 
/* confdefs.h.  */
8762
 
_ACEOF
8763
 
cat confdefs.h >>conftest.$ac_ext
8764
 
cat >>conftest.$ac_ext <<_ACEOF
8765
 
/* end confdefs.h.  */
8766
 
$ac_includes_default
8767
 
#include <$ac_header>
8768
 
_ACEOF
8769
 
rm -f conftest.$ac_objext
8770
 
if { (ac_try="$ac_compile"
8771
 
case "(($ac_try" in
8772
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8773
 
  *) ac_try_echo=$ac_try;;
8774
 
esac
8775
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8776
 
  (eval "$ac_compile") 2>conftest.er1
8777
 
  ac_status=$?
8778
 
  grep -v '^ *+' conftest.er1 >conftest.err
8779
 
  rm -f conftest.er1
8780
 
  cat conftest.err >&5
8781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782
 
  (exit $ac_status); } && {
8783
 
         test -z "$ac_c_werror_flag" ||
8784
 
         test ! -s conftest.err
8785
 
       } && test -s conftest.$ac_objext; then
8786
 
  ac_header_compiler=yes
8787
 
else
8788
 
  echo "$as_me: failed program was:" >&5
8789
 
sed 's/^/| /' conftest.$ac_ext >&5
8790
 
 
8791
 
        ac_header_compiler=no
8792
 
fi
8793
 
 
8794
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8795
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8796
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
8797
 
 
8798
 
# Is the header present?
8799
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8800
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8801
 
cat >conftest.$ac_ext <<_ACEOF
8802
 
/* confdefs.h.  */
8803
 
_ACEOF
8804
 
cat confdefs.h >>conftest.$ac_ext
8805
 
cat >>conftest.$ac_ext <<_ACEOF
8806
 
/* end confdefs.h.  */
8807
 
#include <$ac_header>
8808
 
_ACEOF
8809
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8810
 
case "(($ac_try" in
8811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8812
 
  *) ac_try_echo=$ac_try;;
8813
 
esac
8814
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8815
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8816
 
  ac_status=$?
8817
 
  grep -v '^ *+' conftest.er1 >conftest.err
8818
 
  rm -f conftest.er1
8819
 
  cat conftest.err >&5
8820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821
 
  (exit $ac_status); } >/dev/null && {
8822
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8823
 
         test ! -s conftest.err
8824
 
       }; then
8825
 
  ac_header_preproc=yes
8826
 
else
8827
 
  echo "$as_me: failed program was:" >&5
8828
 
sed 's/^/| /' conftest.$ac_ext >&5
8829
 
 
8830
 
  ac_header_preproc=no
8831
 
fi
8832
 
 
8833
 
rm -f conftest.err conftest.$ac_ext
8834
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8835
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
8836
 
 
8837
 
# So?  What about this header?
8838
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8839
 
  yes:no: )
8840
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8841
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8842
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8843
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8844
 
    ac_header_preproc=yes
8845
 
    ;;
8846
 
  no:yes:* )
8847
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8848
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8849
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8850
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8851
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8852
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8853
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8854
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8855
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8856
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8857
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8858
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8859
 
 
8860
 
    ;;
8861
 
esac
8862
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8863
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8864
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8865
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8866
 
else
8867
 
  eval "$as_ac_Header=\$ac_header_preproc"
8868
 
fi
8869
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8870
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8871
 
echo "${ECHO_T}$ac_res" >&6; }
8872
 
 
8873
 
fi
8874
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8875
 
  cat >>confdefs.h <<_ACEOF
8876
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8877
 
_ACEOF
8878
 
 
8879
 
fi
8880
 
 
8881
 
done
8882
 
 
8883
 
ac_ext=cpp
8884
 
ac_cpp='$CXXCPP $CPPFLAGS'
8885
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8886
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8887
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8888
 
if test -z "$CXX"; then
8889
 
  if test -n "$CCC"; then
8890
 
    CXX=$CCC
8891
 
  else
8892
 
    if test -n "$ac_tool_prefix"; then
8893
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8894
 
  do
8895
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8896
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8897
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8898
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8899
 
if test "${ac_cv_prog_CXX+set}" = set; then
8900
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8901
 
else
8902
 
  if test -n "$CXX"; then
8903
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
8904
 
else
8905
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906
 
for as_dir in $PATH
8907
 
do
8908
 
  IFS=$as_save_IFS
8909
 
  test -z "$as_dir" && as_dir=.
8910
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8911
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8912
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8913
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8914
 
    break 2
8915
 
  fi
8916
 
done
8917
 
done
8918
 
IFS=$as_save_IFS
8919
 
 
8920
 
fi
8921
 
fi
8922
 
CXX=$ac_cv_prog_CXX
8923
 
if test -n "$CXX"; then
8924
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
8925
 
echo "${ECHO_T}$CXX" >&6; }
8926
 
else
8927
 
  { echo "$as_me:$LINENO: result: no" >&5
8928
 
echo "${ECHO_T}no" >&6; }
8929
 
fi
8930
 
 
8931
 
 
8932
 
    test -n "$CXX" && break
8933
 
  done
8934
 
fi
8935
 
if test -z "$CXX"; then
8936
 
  ac_ct_CXX=$CXX
8937
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8938
 
do
8939
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8940
 
set dummy $ac_prog; ac_word=$2
8941
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8942
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8943
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8945
 
else
8946
 
  if test -n "$ac_ct_CXX"; then
8947
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8948
 
else
8949
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8950
 
for as_dir in $PATH
8951
 
do
8952
 
  IFS=$as_save_IFS
8953
 
  test -z "$as_dir" && as_dir=.
8954
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8955
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8956
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
8957
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8958
 
    break 2
8959
 
  fi
8960
 
done
8961
 
done
8962
 
IFS=$as_save_IFS
8963
 
 
8964
 
fi
8965
 
fi
8966
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8967
 
if test -n "$ac_ct_CXX"; then
8968
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8969
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
8970
 
else
8971
 
  { echo "$as_me:$LINENO: result: no" >&5
8972
 
echo "${ECHO_T}no" >&6; }
8973
 
fi
8974
 
 
8975
 
 
8976
 
  test -n "$ac_ct_CXX" && break
8977
 
done
8978
 
 
8979
 
  if test "x$ac_ct_CXX" = x; then
8980
 
    CXX="g++"
8981
 
  else
8982
 
    case $cross_compiling:$ac_tool_warned in
8983
 
yes:)
8984
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8985
 
whose name does not start with the host triplet.  If you think this
8986
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8987
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8988
 
whose name does not start with the host triplet.  If you think this
8989
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8990
 
ac_tool_warned=yes ;;
8991
 
esac
8992
 
    CXX=$ac_ct_CXX
8993
 
  fi
8994
 
fi
8995
 
 
8996
 
  fi
8997
 
fi
8998
 
# Provide some information about the compiler.
8999
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
9000
 
ac_compiler=`set X $ac_compile; echo $2`
9001
 
{ (ac_try="$ac_compiler --version >&5"
9002
 
case "(($ac_try" in
9003
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9004
 
  *) ac_try_echo=$ac_try;;
9005
 
esac
9006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9007
 
  (eval "$ac_compiler --version >&5") 2>&5
9008
 
  ac_status=$?
9009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010
 
  (exit $ac_status); }
9011
 
{ (ac_try="$ac_compiler -v >&5"
9012
 
case "(($ac_try" in
9013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9014
 
  *) ac_try_echo=$ac_try;;
9015
 
esac
9016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9017
 
  (eval "$ac_compiler -v >&5") 2>&5
9018
 
  ac_status=$?
9019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020
 
  (exit $ac_status); }
9021
 
{ (ac_try="$ac_compiler -V >&5"
9022
 
case "(($ac_try" in
9023
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024
 
  *) ac_try_echo=$ac_try;;
9025
 
esac
9026
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027
 
  (eval "$ac_compiler -V >&5") 2>&5
9028
 
  ac_status=$?
9029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030
 
  (exit $ac_status); }
9031
 
 
9032
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9033
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
9034
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9036
 
else
9037
 
  cat >conftest.$ac_ext <<_ACEOF
9038
 
/* confdefs.h.  */
9039
 
_ACEOF
9040
 
cat confdefs.h >>conftest.$ac_ext
9041
 
cat >>conftest.$ac_ext <<_ACEOF
9042
 
/* end confdefs.h.  */
9043
 
 
9044
 
int
9045
 
main ()
9046
 
{
9047
 
#ifndef __GNUC__
9048
 
       choke me
9049
 
#endif
9050
 
 
9051
 
  ;
9052
 
  return 0;
9053
 
}
9054
 
_ACEOF
9055
 
rm -f conftest.$ac_objext
9056
 
if { (ac_try="$ac_compile"
9057
 
case "(($ac_try" in
9058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059
 
  *) ac_try_echo=$ac_try;;
9060
 
esac
9061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062
 
  (eval "$ac_compile") 2>conftest.er1
9063
 
  ac_status=$?
9064
 
  grep -v '^ *+' conftest.er1 >conftest.err
9065
 
  rm -f conftest.er1
9066
 
  cat conftest.err >&5
9067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068
 
  (exit $ac_status); } && {
9069
 
         test -z "$ac_cxx_werror_flag" ||
9070
 
         test ! -s conftest.err
9071
 
       } && test -s conftest.$ac_objext; then
9072
 
  ac_compiler_gnu=yes
9073
 
else
9074
 
  echo "$as_me: failed program was:" >&5
9075
 
sed 's/^/| /' conftest.$ac_ext >&5
9076
 
 
9077
 
        ac_compiler_gnu=no
9078
 
fi
9079
 
 
9080
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9081
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9082
 
 
9083
 
fi
9084
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9085
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
9086
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
9087
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
9088
 
ac_save_CXXFLAGS=$CXXFLAGS
9089
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9090
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
9091
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
9092
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9093
 
else
9094
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9095
 
   ac_cxx_werror_flag=yes
9096
 
   ac_cv_prog_cxx_g=no
9097
 
   CXXFLAGS="-g"
9098
 
   cat >conftest.$ac_ext <<_ACEOF
9099
 
/* confdefs.h.  */
9100
 
_ACEOF
9101
 
cat confdefs.h >>conftest.$ac_ext
9102
 
cat >>conftest.$ac_ext <<_ACEOF
9103
 
/* end confdefs.h.  */
9104
 
 
9105
 
int
9106
 
main ()
9107
 
{
9108
 
 
9109
 
  ;
9110
 
  return 0;
9111
 
}
9112
 
_ACEOF
9113
 
rm -f conftest.$ac_objext
9114
 
if { (ac_try="$ac_compile"
9115
 
case "(($ac_try" in
9116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9117
 
  *) ac_try_echo=$ac_try;;
9118
 
esac
9119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9120
 
  (eval "$ac_compile") 2>conftest.er1
9121
 
  ac_status=$?
9122
 
  grep -v '^ *+' conftest.er1 >conftest.err
9123
 
  rm -f conftest.er1
9124
 
  cat conftest.err >&5
9125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126
 
  (exit $ac_status); } && {
9127
 
         test -z "$ac_cxx_werror_flag" ||
9128
 
         test ! -s conftest.err
9129
 
       } && test -s conftest.$ac_objext; then
9130
 
  ac_cv_prog_cxx_g=yes
9131
 
else
9132
 
  echo "$as_me: failed program was:" >&5
9133
 
sed 's/^/| /' conftest.$ac_ext >&5
9134
 
 
9135
 
        CXXFLAGS=""
9136
 
      cat >conftest.$ac_ext <<_ACEOF
9137
 
/* confdefs.h.  */
9138
 
_ACEOF
9139
 
cat confdefs.h >>conftest.$ac_ext
9140
 
cat >>conftest.$ac_ext <<_ACEOF
9141
 
/* end confdefs.h.  */
9142
 
 
9143
 
int
9144
 
main ()
9145
 
{
9146
 
 
9147
 
  ;
9148
 
  return 0;
9149
 
}
9150
 
_ACEOF
9151
 
rm -f conftest.$ac_objext
9152
 
if { (ac_try="$ac_compile"
9153
 
case "(($ac_try" in
9154
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9155
 
  *) ac_try_echo=$ac_try;;
9156
 
esac
9157
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9158
 
  (eval "$ac_compile") 2>conftest.er1
9159
 
  ac_status=$?
9160
 
  grep -v '^ *+' conftest.er1 >conftest.err
9161
 
  rm -f conftest.er1
9162
 
  cat conftest.err >&5
9163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164
 
  (exit $ac_status); } && {
9165
 
         test -z "$ac_cxx_werror_flag" ||
9166
 
         test ! -s conftest.err
9167
 
       } && test -s conftest.$ac_objext; then
9168
 
  :
9169
 
else
9170
 
  echo "$as_me: failed program was:" >&5
9171
 
sed 's/^/| /' conftest.$ac_ext >&5
9172
 
 
9173
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9174
 
         CXXFLAGS="-g"
9175
 
         cat >conftest.$ac_ext <<_ACEOF
9176
 
/* confdefs.h.  */
9177
 
_ACEOF
9178
 
cat confdefs.h >>conftest.$ac_ext
9179
 
cat >>conftest.$ac_ext <<_ACEOF
9180
 
/* end confdefs.h.  */
9181
 
 
9182
 
int
9183
 
main ()
9184
 
{
9185
 
 
9186
 
  ;
9187
 
  return 0;
9188
 
}
9189
 
_ACEOF
9190
 
rm -f conftest.$ac_objext
9191
 
if { (ac_try="$ac_compile"
9192
 
case "(($ac_try" in
9193
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9194
 
  *) ac_try_echo=$ac_try;;
9195
 
esac
9196
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9197
 
  (eval "$ac_compile") 2>conftest.er1
9198
 
  ac_status=$?
9199
 
  grep -v '^ *+' conftest.er1 >conftest.err
9200
 
  rm -f conftest.er1
9201
 
  cat conftest.err >&5
9202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203
 
  (exit $ac_status); } && {
9204
 
         test -z "$ac_cxx_werror_flag" ||
9205
 
         test ! -s conftest.err
9206
 
       } && test -s conftest.$ac_objext; then
9207
 
  ac_cv_prog_cxx_g=yes
9208
 
else
9209
 
  echo "$as_me: failed program was:" >&5
9210
 
sed 's/^/| /' conftest.$ac_ext >&5
9211
 
 
9212
 
 
9213
 
fi
9214
 
 
9215
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9216
 
fi
9217
 
 
9218
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9219
 
fi
9220
 
 
9221
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9222
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9223
 
fi
9224
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9225
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
9226
 
if test "$ac_test_CXXFLAGS" = set; then
9227
 
  CXXFLAGS=$ac_save_CXXFLAGS
9228
 
elif test $ac_cv_prog_cxx_g = yes; then
9229
 
  if test "$GXX" = yes; then
9230
 
    CXXFLAGS="-g -O2"
9231
 
  else
9232
 
    CXXFLAGS="-g"
9233
 
  fi
9234
 
else
9235
 
  if test "$GXX" = yes; then
9236
 
    CXXFLAGS="-O2"
9237
 
  else
9238
 
    CXXFLAGS=
9239
 
  fi
9240
 
fi
9241
 
ac_ext=cpp
9242
 
ac_cpp='$CXXCPP $CPPFLAGS'
9243
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9244
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9245
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9246
 
 
9247
 
depcc="$CXX"  am_compiler_list=
9248
 
 
9249
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9250
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9251
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9252
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9253
 
else
9254
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9255
 
  # We make a subdir and do the tests there.  Otherwise we can end up
9256
 
  # making bogus files that we don't know about and never remove.  For
9257
 
  # instance it was reported that on HP-UX the gcc test will end up
9258
 
  # making a dummy file named `D' -- because `-MD' means `put the output
9259
 
  # in D'.
9260
 
  mkdir conftest.dir
9261
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
9262
 
  # using a relative directory.
9263
 
  cp "$am_depcomp" conftest.dir
9264
 
  cd conftest.dir
9265
 
  # We will build objects and dependencies in a subdirectory because
9266
 
  # it helps to detect inapplicable dependency modes.  For instance
9267
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
9268
 
  # side effect of compilation, but ICC will put the dependencies in
9269
 
  # the current directory while Tru64 will put them in the object
9270
 
  # directory.
9271
 
  mkdir sub
9272
 
 
9273
 
  am_cv_CXX_dependencies_compiler_type=none
9274
 
  if test "$am_compiler_list" = ""; then
9275
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9276
 
  fi
9277
 
  for depmode in $am_compiler_list; do
9278
 
    # Setup a source with many dependencies, because some compilers
9279
 
    # like to wrap large dependency lists on column 80 (with \), and
9280
 
    # we should not choose a depcomp mode which is confused by this.
9281
 
    #
9282
 
    # We need to recreate these files for each test, as the compiler may
9283
 
    # overwrite some of them when testing with obscure command lines.
9284
 
    # This happens at least with the AIX C compiler.
9285
 
    : > sub/conftest.c
9286
 
    for i in 1 2 3 4 5 6; do
9287
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
9288
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9289
 
      # Solaris 8's {/usr,}/bin/sh.
9290
 
      touch sub/conftst$i.h
9291
 
    done
9292
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9293
 
 
9294
 
    case $depmode in
9295
 
    nosideeffect)
9296
 
      # after this tag, mechanisms are not by side-effect, so they'll
9297
 
      # only be used when explicitly requested
9298
 
      if test "x$enable_dependency_tracking" = xyes; then
9299
 
        continue
9300
 
      else
9301
 
        break
9302
 
      fi
9303
 
      ;;
9304
 
    none) break ;;
9305
 
    esac
9306
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9307
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9308
 
    # handle `-M -o', and we need to detect this.
9309
 
    if depmode=$depmode \
9310
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9311
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9312
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9313
 
         >/dev/null 2>conftest.err &&
9314
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9315
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9316
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9317
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9318
 
      # icc doesn't choke on unknown options, it will just issue warnings
9319
 
      # or remarks (even with -Werror).  So we grep stderr for any message
9320
 
      # that says an option was ignored or not supported.
9321
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
9322
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
9323
 
      # The diagnosis changed in icc 8.0:
9324
 
      #   icc: Command line remark: option '-MP' not supported
9325
 
      if (grep 'ignoring option' conftest.err ||
9326
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9327
 
        am_cv_CXX_dependencies_compiler_type=$depmode
9328
 
        break
9329
 
      fi
9330
 
    fi
9331
 
  done
9332
 
 
9333
 
  cd ..
9334
 
  rm -rf conftest.dir
9335
 
else
9336
 
  am_cv_CXX_dependencies_compiler_type=none
9337
 
fi
9338
 
 
9339
 
fi
9340
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9341
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
9342
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9343
 
 
9344
 
 if
9345
 
  test "x$enable_dependency_tracking" != xno \
9346
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9347
 
  am__fastdepCXX_TRUE=
9348
 
  am__fastdepCXX_FALSE='#'
9349
 
else
9350
 
  am__fastdepCXX_TRUE='#'
9351
 
  am__fastdepCXX_FALSE=
9352
 
fi
9353
 
 
9354
 
 
9355
 
 
9356
 
 
9357
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9358
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9359
 
    (test "X$CXX" != "Xg++"))) ; then
9360
 
  ac_ext=cpp
9361
 
ac_cpp='$CXXCPP $CPPFLAGS'
9362
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9363
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9364
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9365
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9366
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
9367
 
if test -z "$CXXCPP"; then
9368
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
9369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9370
 
else
9371
 
      # Double quotes because CXXCPP needs to be expanded
9372
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
9373
 
    do
9374
 
      ac_preproc_ok=false
9375
 
for ac_cxx_preproc_warn_flag in '' yes
9376
 
do
9377
 
  # Use a header file that comes with gcc, so configuring glibc
9378
 
  # with a fresh cross-compiler works.
9379
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9380
 
  # <limits.h> exists even on freestanding compilers.
9381
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9382
 
  # not just through cpp. "Syntax error" is here to catch this case.
9383
 
  cat >conftest.$ac_ext <<_ACEOF
9384
 
/* confdefs.h.  */
9385
 
_ACEOF
9386
 
cat confdefs.h >>conftest.$ac_ext
9387
 
cat >>conftest.$ac_ext <<_ACEOF
9388
 
/* end confdefs.h.  */
9389
 
#ifdef __STDC__
9390
 
# include <limits.h>
9391
 
#else
9392
 
# include <assert.h>
9393
 
#endif
9394
 
                     Syntax error
9395
 
_ACEOF
9396
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9397
 
case "(($ac_try" in
9398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9399
 
  *) ac_try_echo=$ac_try;;
9400
 
esac
9401
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9403
 
  ac_status=$?
9404
 
  grep -v '^ *+' conftest.er1 >conftest.err
9405
 
  rm -f conftest.er1
9406
 
  cat conftest.err >&5
9407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408
 
  (exit $ac_status); } >/dev/null && {
9409
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9410
 
         test ! -s conftest.err
9411
 
       }; then
9412
 
  :
9413
 
else
9414
 
  echo "$as_me: failed program was:" >&5
9415
 
sed 's/^/| /' conftest.$ac_ext >&5
9416
 
 
9417
 
  # Broken: fails on valid input.
9418
 
continue
9419
 
fi
9420
 
 
9421
 
rm -f conftest.err conftest.$ac_ext
9422
 
 
9423
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9424
 
  # can be detected and how.
9425
 
  cat >conftest.$ac_ext <<_ACEOF
9426
 
/* confdefs.h.  */
9427
 
_ACEOF
9428
 
cat confdefs.h >>conftest.$ac_ext
9429
 
cat >>conftest.$ac_ext <<_ACEOF
9430
 
/* end confdefs.h.  */
9431
 
#include <ac_nonexistent.h>
9432
 
_ACEOF
9433
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9434
 
case "(($ac_try" in
9435
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9436
 
  *) ac_try_echo=$ac_try;;
9437
 
esac
9438
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9439
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9440
 
  ac_status=$?
9441
 
  grep -v '^ *+' conftest.er1 >conftest.err
9442
 
  rm -f conftest.er1
9443
 
  cat conftest.err >&5
9444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445
 
  (exit $ac_status); } >/dev/null && {
9446
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9447
 
         test ! -s conftest.err
9448
 
       }; then
9449
 
  # Broken: success on invalid input.
9450
 
continue
9451
 
else
9452
 
  echo "$as_me: failed program was:" >&5
9453
 
sed 's/^/| /' conftest.$ac_ext >&5
9454
 
 
9455
 
  # Passes both tests.
9456
 
ac_preproc_ok=:
9457
 
break
9458
 
fi
9459
 
 
9460
 
rm -f conftest.err conftest.$ac_ext
9461
 
 
9462
 
done
9463
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9464
 
rm -f conftest.err conftest.$ac_ext
9465
 
if $ac_preproc_ok; then
9466
 
  break
9467
 
fi
9468
 
 
9469
 
    done
9470
 
    ac_cv_prog_CXXCPP=$CXXCPP
9471
 
 
9472
 
fi
9473
 
  CXXCPP=$ac_cv_prog_CXXCPP
9474
 
else
9475
 
  ac_cv_prog_CXXCPP=$CXXCPP
9476
 
fi
9477
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
9478
 
echo "${ECHO_T}$CXXCPP" >&6; }
9479
 
ac_preproc_ok=false
9480
 
for ac_cxx_preproc_warn_flag in '' yes
9481
 
do
9482
 
  # Use a header file that comes with gcc, so configuring glibc
9483
 
  # with a fresh cross-compiler works.
9484
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9485
 
  # <limits.h> exists even on freestanding compilers.
9486
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9487
 
  # not just through cpp. "Syntax error" is here to catch this case.
9488
 
  cat >conftest.$ac_ext <<_ACEOF
9489
 
/* confdefs.h.  */
9490
 
_ACEOF
9491
 
cat confdefs.h >>conftest.$ac_ext
9492
 
cat >>conftest.$ac_ext <<_ACEOF
9493
 
/* end confdefs.h.  */
9494
 
#ifdef __STDC__
9495
 
# include <limits.h>
9496
 
#else
9497
 
# include <assert.h>
9498
 
#endif
9499
 
                     Syntax error
9500
 
_ACEOF
9501
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9502
 
case "(($ac_try" in
9503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9504
 
  *) ac_try_echo=$ac_try;;
9505
 
esac
9506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9507
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9508
 
  ac_status=$?
9509
 
  grep -v '^ *+' conftest.er1 >conftest.err
9510
 
  rm -f conftest.er1
9511
 
  cat conftest.err >&5
9512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513
 
  (exit $ac_status); } >/dev/null && {
9514
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9515
 
         test ! -s conftest.err
9516
 
       }; then
9517
 
  :
9518
 
else
9519
 
  echo "$as_me: failed program was:" >&5
9520
 
sed 's/^/| /' conftest.$ac_ext >&5
9521
 
 
9522
 
  # Broken: fails on valid input.
9523
 
continue
9524
 
fi
9525
 
 
9526
 
rm -f conftest.err conftest.$ac_ext
9527
 
 
9528
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9529
 
  # can be detected and how.
9530
 
  cat >conftest.$ac_ext <<_ACEOF
9531
 
/* confdefs.h.  */
9532
 
_ACEOF
9533
 
cat confdefs.h >>conftest.$ac_ext
9534
 
cat >>conftest.$ac_ext <<_ACEOF
9535
 
/* end confdefs.h.  */
9536
 
#include <ac_nonexistent.h>
9537
 
_ACEOF
9538
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9539
 
case "(($ac_try" in
9540
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9541
 
  *) ac_try_echo=$ac_try;;
9542
 
esac
9543
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9544
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9545
 
  ac_status=$?
9546
 
  grep -v '^ *+' conftest.er1 >conftest.err
9547
 
  rm -f conftest.er1
9548
 
  cat conftest.err >&5
9549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550
 
  (exit $ac_status); } >/dev/null && {
9551
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9552
 
         test ! -s conftest.err
9553
 
       }; then
9554
 
  # Broken: success on invalid input.
9555
 
continue
9556
 
else
9557
 
  echo "$as_me: failed program was:" >&5
9558
 
sed 's/^/| /' conftest.$ac_ext >&5
9559
 
 
9560
 
  # Passes both tests.
9561
 
ac_preproc_ok=:
9562
 
break
9563
 
fi
9564
 
 
9565
 
rm -f conftest.err conftest.$ac_ext
9566
 
 
9567
 
done
9568
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9569
 
rm -f conftest.err conftest.$ac_ext
9570
 
if $ac_preproc_ok; then
9571
 
  :
9572
 
else
9573
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9574
 
See \`config.log' for more details." >&5
9575
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9576
 
See \`config.log' for more details." >&2;}
9577
 
   { (exit 1); exit 1; }; }
9578
 
fi
9579
 
 
9580
 
ac_ext=cpp
9581
 
ac_cpp='$CXXCPP $CPPFLAGS'
9582
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9583
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9584
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9585
 
 
9586
 
fi
9587
 
 
9588
 
 
9589
 
ac_ext=f
9590
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
9591
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9592
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
9593
 
if test -n "$ac_tool_prefix"; then
9594
 
  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
9595
 
  do
9596
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9597
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9598
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9599
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9600
 
if test "${ac_cv_prog_F77+set}" = set; then
9601
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9602
 
else
9603
 
  if test -n "$F77"; then
9604
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
9605
 
else
9606
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9607
 
for as_dir in $PATH
9608
 
do
9609
 
  IFS=$as_save_IFS
9610
 
  test -z "$as_dir" && as_dir=.
9611
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9612
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9613
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
9614
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9615
 
    break 2
9616
 
  fi
9617
 
done
9618
 
done
9619
 
IFS=$as_save_IFS
9620
 
 
9621
 
fi
9622
 
fi
9623
 
F77=$ac_cv_prog_F77
9624
 
if test -n "$F77"; then
9625
 
  { echo "$as_me:$LINENO: result: $F77" >&5
9626
 
echo "${ECHO_T}$F77" >&6; }
9627
 
else
9628
 
  { echo "$as_me:$LINENO: result: no" >&5
9629
 
echo "${ECHO_T}no" >&6; }
9630
 
fi
9631
 
 
9632
 
 
9633
 
    test -n "$F77" && break
9634
 
  done
9635
 
fi
9636
 
if test -z "$F77"; then
9637
 
  ac_ct_F77=$F77
9638
 
  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
9639
 
do
9640
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
9641
 
set dummy $ac_prog; ac_word=$2
9642
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9643
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9644
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
9645
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9646
 
else
9647
 
  if test -n "$ac_ct_F77"; then
9648
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
9649
 
else
9650
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651
 
for as_dir in $PATH
9652
 
do
9653
 
  IFS=$as_save_IFS
9654
 
  test -z "$as_dir" && as_dir=.
9655
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9656
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9657
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
9658
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9659
 
    break 2
9660
 
  fi
9661
 
done
9662
 
done
9663
 
IFS=$as_save_IFS
9664
 
 
9665
 
fi
9666
 
fi
9667
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
9668
 
if test -n "$ac_ct_F77"; then
9669
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9670
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
9671
 
else
9672
 
  { echo "$as_me:$LINENO: result: no" >&5
9673
 
echo "${ECHO_T}no" >&6; }
9674
 
fi
9675
 
 
9676
 
 
9677
 
  test -n "$ac_ct_F77" && break
9678
 
done
9679
 
 
9680
 
  if test "x$ac_ct_F77" = x; then
9681
 
    F77=""
9682
 
  else
9683
 
    case $cross_compiling:$ac_tool_warned in
9684
 
yes:)
9685
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9686
 
whose name does not start with the host triplet.  If you think this
9687
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9688
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9689
 
whose name does not start with the host triplet.  If you think this
9690
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9691
 
ac_tool_warned=yes ;;
9692
 
esac
9693
 
    F77=$ac_ct_F77
9694
 
  fi
9695
 
fi
9696
 
 
9697
 
 
9698
 
# Provide some information about the compiler.
9699
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9700
 
ac_compiler=`set X $ac_compile; echo $2`
9701
 
{ (ac_try="$ac_compiler --version >&5"
9702
 
case "(($ac_try" in
9703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9704
 
  *) ac_try_echo=$ac_try;;
9705
 
esac
9706
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9707
 
  (eval "$ac_compiler --version >&5") 2>&5
9708
 
  ac_status=$?
9709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710
 
  (exit $ac_status); }
9711
 
{ (ac_try="$ac_compiler -v >&5"
9712
 
case "(($ac_try" in
9713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9714
 
  *) ac_try_echo=$ac_try;;
9715
 
esac
9716
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9717
 
  (eval "$ac_compiler -v >&5") 2>&5
9718
 
  ac_status=$?
9719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720
 
  (exit $ac_status); }
9721
 
{ (ac_try="$ac_compiler -V >&5"
9722
 
case "(($ac_try" in
9723
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9724
 
  *) ac_try_echo=$ac_try;;
9725
 
esac
9726
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9727
 
  (eval "$ac_compiler -V >&5") 2>&5
9728
 
  ac_status=$?
9729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730
 
  (exit $ac_status); }
9731
 
rm -f a.out
9732
 
 
9733
 
# If we don't use `.F' as extension, the preprocessor is not run on the
9734
 
# input file.  (Note that this only needs to work for GNU compilers.)
9735
 
ac_save_ext=$ac_ext
9736
 
ac_ext=F
9737
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9738
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9739
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9741
 
else
9742
 
  cat >conftest.$ac_ext <<_ACEOF
9743
 
      program main
9744
 
#ifndef __GNUC__
9745
 
       choke me
9746
 
#endif
9747
 
 
9748
 
      end
9749
 
_ACEOF
9750
 
rm -f conftest.$ac_objext
9751
 
if { (ac_try="$ac_compile"
9752
 
case "(($ac_try" in
9753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9754
 
  *) ac_try_echo=$ac_try;;
9755
 
esac
9756
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9757
 
  (eval "$ac_compile") 2>conftest.er1
9758
 
  ac_status=$?
9759
 
  grep -v '^ *+' conftest.er1 >conftest.err
9760
 
  rm -f conftest.er1
9761
 
  cat conftest.err >&5
9762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763
 
  (exit $ac_status); } && {
9764
 
         test -z "$ac_f77_werror_flag" ||
9765
 
         test ! -s conftest.err
9766
 
       } && test -s conftest.$ac_objext; then
9767
 
  ac_compiler_gnu=yes
9768
 
else
9769
 
  echo "$as_me: failed program was:" >&5
9770
 
sed 's/^/| /' conftest.$ac_ext >&5
9771
 
 
9772
 
        ac_compiler_gnu=no
9773
 
fi
9774
 
 
9775
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9776
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9777
 
 
9778
 
fi
9779
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9780
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9781
 
ac_ext=$ac_save_ext
9782
 
ac_test_FFLAGS=${FFLAGS+set}
9783
 
ac_save_FFLAGS=$FFLAGS
9784
 
FFLAGS=
9785
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9786
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9787
 
if test "${ac_cv_prog_f77_g+set}" = set; then
9788
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9789
 
else
9790
 
  FFLAGS=-g
9791
 
cat >conftest.$ac_ext <<_ACEOF
9792
 
      program main
9793
 
 
9794
 
      end
9795
 
_ACEOF
9796
 
rm -f conftest.$ac_objext
9797
 
if { (ac_try="$ac_compile"
9798
 
case "(($ac_try" in
9799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9800
 
  *) ac_try_echo=$ac_try;;
9801
 
esac
9802
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9803
 
  (eval "$ac_compile") 2>conftest.er1
9804
 
  ac_status=$?
9805
 
  grep -v '^ *+' conftest.er1 >conftest.err
9806
 
  rm -f conftest.er1
9807
 
  cat conftest.err >&5
9808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809
 
  (exit $ac_status); } && {
9810
 
         test -z "$ac_f77_werror_flag" ||
9811
 
         test ! -s conftest.err
9812
 
       } && test -s conftest.$ac_objext; then
9813
 
  ac_cv_prog_f77_g=yes
9814
 
else
9815
 
  echo "$as_me: failed program was:" >&5
9816
 
sed 's/^/| /' conftest.$ac_ext >&5
9817
 
 
9818
 
        ac_cv_prog_f77_g=no
9819
 
fi
9820
 
 
9821
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9822
 
 
9823
 
fi
9824
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9825
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9826
 
if test "$ac_test_FFLAGS" = set; then
9827
 
  FFLAGS=$ac_save_FFLAGS
9828
 
elif test $ac_cv_prog_f77_g = yes; then
9829
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9830
 
    FFLAGS="-g -O2"
9831
 
  else
9832
 
    FFLAGS="-g"
9833
 
  fi
9834
 
else
9835
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9836
 
    FFLAGS="-O2"
9837
 
  else
9838
 
    FFLAGS=
9839
 
  fi
9840
 
fi
9841
 
 
9842
 
G77=`test $ac_compiler_gnu = yes && echo yes`
9843
 
ac_ext=c
9844
 
ac_cpp='$CPP $CPPFLAGS'
9845
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9846
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9847
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9848
 
 
9849
 
 
9850
 
 
9851
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9852
 
# find the maximum length of command line arguments
9853
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9854
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9855
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9856
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9857
 
else
9858
 
    i=0
9859
 
  teststring="ABCD"
9860
 
 
9861
 
  case $build_os in
9862
 
  msdosdjgpp*)
9863
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
9864
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
9865
 
    # during glob expansion).  Even if it were fixed, the result of this
9866
 
    # check would be larger than it should be.
9867
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9868
 
    ;;
9869
 
 
9870
 
  gnu*)
9871
 
    # Under GNU Hurd, this test is not required because there is
9872
 
    # no limit to the length of command line arguments.
9873
 
    # Libtool will interpret -1 as no limit whatsoever
9874
 
    lt_cv_sys_max_cmd_len=-1;
9875
 
    ;;
9876
 
 
9877
 
  cygwin* | mingw*)
9878
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
9879
 
    # about 5 minutes as the teststring grows exponentially.
9880
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
9881
 
    # you end up with a "frozen" computer, even though with patience
9882
 
    # the test eventually succeeds (with a max line length of 256k).
9883
 
    # Instead, let's just punt: use the minimum linelength reported by
9884
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
9885
 
    lt_cv_sys_max_cmd_len=8192;
9886
 
    ;;
9887
 
 
9888
 
  amigaos*)
9889
 
    # On AmigaOS with pdksh, this test takes hours, literally.
9890
 
    # So we just punt and use a minimum line length of 8192.
9891
 
    lt_cv_sys_max_cmd_len=8192;
9892
 
    ;;
9893
 
 
9894
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
9895
 
    # This has been around since 386BSD, at least.  Likely further.
9896
 
    if test -x /sbin/sysctl; then
9897
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9898
 
    elif test -x /usr/sbin/sysctl; then
9899
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9900
 
    else
9901
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
9902
 
    fi
9903
 
    # And add a safety zone
9904
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9905
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9906
 
    ;;
9907
 
 
9908
 
  interix*)
9909
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
9910
 
    lt_cv_sys_max_cmd_len=196608
9911
 
    ;;
9912
 
 
9913
 
  osf*)
9914
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9915
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9916
 
    # nice to cause kernel panics so lets avoid the loop below.
9917
 
    # First set a reasonable default.
9918
 
    lt_cv_sys_max_cmd_len=16384
9919
 
    #
9920
 
    if test -x /sbin/sysconfig; then
9921
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9922
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
9923
 
      esac
9924
 
    fi
9925
 
    ;;
9926
 
  sco3.2v5*)
9927
 
    lt_cv_sys_max_cmd_len=102400
9928
 
    ;;
9929
 
  sysv5* | sco5v6* | sysv4.2uw2*)
9930
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9931
 
    if test -n "$kargmax"; then
9932
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
9933
 
    else
9934
 
      lt_cv_sys_max_cmd_len=32768
9935
 
    fi
9936
 
    ;;
9937
 
  *)
9938
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9939
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
9940
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9941
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9942
 
    else
9943
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9944
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
9945
 
               = "XX$teststring") >/dev/null 2>&1 &&
9946
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
9947
 
              lt_cv_sys_max_cmd_len=$new_result &&
9948
 
              test $i != 17 # 1/2 MB should be enough
9949
 
      do
9950
 
        i=`expr $i + 1`
9951
 
        teststring=$teststring$teststring
9952
 
      done
9953
 
      teststring=
9954
 
      # Add a significant safety factor because C++ compilers can tack on massive
9955
 
      # amounts of additional arguments before passing them to the linker.
9956
 
      # It appears as though 1/2 is a usable value.
9957
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9958
 
    fi
9959
 
    ;;
9960
 
  esac
9961
 
 
9962
 
fi
9963
 
 
9964
 
if test -n $lt_cv_sys_max_cmd_len ; then
9965
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9966
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9967
 
else
9968
 
  { echo "$as_me:$LINENO: result: none" >&5
9969
 
echo "${ECHO_T}none" >&6; }
9970
 
fi
9971
 
 
9972
 
 
9973
 
 
9974
 
 
9975
9898
 
9976
9899
# Check for command to grab the raw symbol name followed by C symbol from nm.
9977
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9978
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
9900
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
9901
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9979
9902
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9903
  $as_echo_n "(cached) " >&6
9981
9904
else
9982
9905
 
9983
9906
# These are sane defaults that work on at least a few old systems.
9989
9912
# Regexp to match symbols that can be accessed directly from C.
9990
9913
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9991
9914
 
9992
 
# Transform an extracted symbol line into a proper C declaration
9993
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9994
 
 
9995
 
# Transform an extracted symbol line into symbol name and symbol address
9996
 
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'"
9997
 
 
9998
9915
# Define system-specific variables.
9999
9916
case $host_os in
10000
9917
aix*)
10001
9918
  symcode='[BCDT]'
10002
9919
  ;;
10003
 
cygwin* | mingw* | pw32*)
 
9920
cygwin* | mingw* | pw32* | cegcc*)
10004
9921
  symcode='[ABCDGISTW]'
10005
9922
  ;;
10006
 
hpux*) # Its linker distinguishes data from code symbols
 
9923
hpux*)
10007
9924
  if test "$host_cpu" = ia64; then
10008
9925
    symcode='[ABCDEGRST]'
10009
9926
  fi
10010
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10011
 
  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'"
10012
 
  ;;
10013
 
linux* | k*bsd*-gnu)
10014
 
  if test "$host_cpu" = ia64; then
10015
 
    symcode='[ABCDGIRSTW]'
10016
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10017
 
    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'"
10018
 
  fi
10019
9927
  ;;
10020
9928
irix* | nonstopux*)
10021
9929
  symcode='[BCDEGRST]'
10040
9948
  ;;
10041
9949
esac
10042
9950
 
 
9951
# If we're using GNU nm, then use its standard symbol codes.
 
9952
case `$NM -V 2>&1` in
 
9953
*GNU* | *'with BFD'*)
 
9954
  symcode='[ABCDGIRSTW]' ;;
 
9955
esac
 
9956
 
 
9957
# Transform an extracted symbol line into a proper C declaration.
 
9958
# Some systems (esp. on ia64) link data and code symbols differently,
 
9959
# so use this general approach.
 
9960
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
9961
 
 
9962
# Transform an extracted symbol line into symbol name and symbol address
 
9963
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
9964
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'"
 
9965
 
10043
9966
# Handle CRLF in mingw tool chain
10044
9967
opt_cr=
10045
9968
case $build_os in
10046
9969
mingw*)
10047
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
9970
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10048
9971
  ;;
10049
9972
esac
10050
9973
 
10051
 
# If we're using GNU nm, then use its standard symbol codes.
10052
 
case `$NM -V 2>&1` in
10053
 
*GNU* | *'with BFD'*)
10054
 
  symcode='[ABCDGIRSTW]' ;;
10055
 
esac
10056
 
 
10057
 
# Try without a prefix undercore, then with it.
 
9974
# Try without a prefix underscore, then with it.
10058
9975
for ac_symprfx in "" "_"; do
10059
9976
 
10060
9977
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10061
9978
  symxfrm="\\1 $ac_symprfx\\2 \\2"
10062
9979
 
10063
9980
  # Write the raw and C identifiers.
10064
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
9981
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
9982
    # Fake it for dumpbin and say T for any non-static function
 
9983
    # and D for any global variable.
 
9984
    # Also find C++ and __fastcall symbols from MSVC++,
 
9985
    # which start with @ or ?.
 
9986
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
9987
"     {last_section=section; section=\$ 3};"\
 
9988
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
9989
"     \$ 0!~/External *\|/{next};"\
 
9990
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
9991
"     {if(hide[section]) next};"\
 
9992
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
9993
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
9994
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
9995
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
9996
"     ' prfx=^$ac_symprfx"
 
9997
  else
 
9998
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
9999
  fi
10065
10000
 
10066
10001
  # Check to see that the pipe works correctly.
10067
10002
  pipe_works=no
10068
10003
 
10069
10004
  rm -f conftest*
10070
 
  cat > conftest.$ac_ext <<EOF
 
10005
  cat > conftest.$ac_ext <<_LT_EOF
10071
10006
#ifdef __cplusplus
10072
10007
extern "C" {
10073
10008
#endif
10074
10009
char nm_test_var;
10075
 
void nm_test_func(){}
 
10010
void nm_test_func(void);
 
10011
void nm_test_func(void){}
10076
10012
#ifdef __cplusplus
10077
10013
}
10078
10014
#endif
10079
10015
int main(){nm_test_var='a';nm_test_func();return(0);}
10080
 
EOF
 
10016
_LT_EOF
10081
10017
 
10082
10018
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10083
10019
  (eval $ac_compile) 2>&5
10084
10020
  ac_status=$?
10085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10021
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086
10022
  (exit $ac_status); }; then
10087
10023
    # Now try to grab the symbols.
10088
10024
    nlist=conftest.nm
10089
10025
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10090
10026
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10091
10027
  ac_status=$?
10092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10028
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093
10029
  (exit $ac_status); } && test -s "$nlist"; then
10094
10030
      # Try sorting and uniquifying the output.
10095
10031
      if sort "$nlist" | uniq > "$nlist"T; then
10099
10035
      fi
10100
10036
 
10101
10037
      # Make sure that we snagged all the symbols we need.
10102
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
10103
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
10104
 
          cat <<EOF > conftest.$ac_ext
 
10038
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
10039
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
10040
          cat <<_LT_EOF > conftest.$ac_ext
10105
10041
#ifdef __cplusplus
10106
10042
extern "C" {
10107
10043
#endif
10108
10044
 
10109
 
EOF
 
10045
_LT_EOF
10110
10046
          # Now generate the symbol file.
10111
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10112
 
 
10113
 
          cat <<EOF >> conftest.$ac_ext
10114
 
#if defined (__STDC__) && __STDC__
10115
 
# define lt_ptr_t void *
10116
 
#else
10117
 
# define lt_ptr_t char *
10118
 
# define const
10119
 
#endif
10120
 
 
10121
 
/* The mapping between symbol names and symbols. */
 
10047
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
10048
 
 
10049
          cat <<_LT_EOF >> conftest.$ac_ext
 
10050
 
 
10051
/* The mapping between symbol names and symbols.  */
10122
10052
const struct {
10123
10053
  const char *name;
10124
 
  lt_ptr_t address;
 
10054
  void       *address;
10125
10055
}
10126
 
lt_preloaded_symbols[] =
 
10056
lt__PROGRAM__LTX_preloaded_symbols[] =
10127
10057
{
10128
 
EOF
10129
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
10130
 
          cat <<\EOF >> conftest.$ac_ext
10131
 
  {0, (lt_ptr_t) 0}
 
10058
  { "@PROGRAM@", (void *) 0 },
 
10059
_LT_EOF
 
10060
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
10061
          cat <<\_LT_EOF >> conftest.$ac_ext
 
10062
  {0, (void *) 0}
10132
10063
};
10133
10064
 
 
10065
/* This works around a problem in FreeBSD linker */
 
10066
#ifdef FREEBSD_WORKAROUND
 
10067
static const void *lt_preloaded_setup() {
 
10068
  return lt__PROGRAM__LTX_preloaded_symbols;
 
10069
}
 
10070
#endif
 
10071
 
10134
10072
#ifdef __cplusplus
10135
10073
}
10136
10074
#endif
10137
 
EOF
 
10075
_LT_EOF
10138
10076
          # Now try linking the two files.
10139
10077
          mv conftest.$ac_objext conftstm.$ac_objext
10140
10078
          lt_save_LIBS="$LIBS"
10144
10082
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145
10083
  (eval $ac_link) 2>&5
10146
10084
  ac_status=$?
10147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10085
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148
10086
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
10149
10087
            pipe_works=yes
10150
10088
          fi
10179
10117
  lt_cv_sys_global_symbol_to_cdecl=
10180
10118
fi
10181
10119
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10182
 
  { echo "$as_me:$LINENO: result: failed" >&5
10183
 
echo "${ECHO_T}failed" >&6; }
10184
 
else
10185
 
  { echo "$as_me:$LINENO: result: ok" >&5
10186
 
echo "${ECHO_T}ok" >&6; }
10187
 
fi
10188
 
 
10189
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
10190
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
10191
 
if test "${lt_cv_objdir+set}" = set; then
10192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10193
 
else
10194
 
  rm -f .libs 2>/dev/null
10195
 
mkdir .libs 2>/dev/null
10196
 
if test -d .libs; then
10197
 
  lt_cv_objdir=.libs
10198
 
else
10199
 
  # MS-DOS does not allow filenames that begin with a dot.
10200
 
  lt_cv_objdir=_libs
10201
 
fi
10202
 
rmdir .libs 2>/dev/null
10203
 
fi
10204
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
10205
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
10206
 
objdir=$lt_cv_objdir
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
case $host_os in
10213
 
aix3*)
10214
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
10215
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
10216
 
  # vanish in a puff of smoke.
10217
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
10218
 
    COLLECT_NAMES=
10219
 
    export COLLECT_NAMES
10220
 
  fi
10221
 
  ;;
10222
 
esac
10223
 
 
10224
 
# Sed substitution that helps us do robust quoting.  It backslashifies
10225
 
# metacharacters that are still active within double-quoted strings.
10226
 
Xsed='sed -e 1s/^X//'
10227
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
10228
 
 
10229
 
# Same as above, but do not quote variable references.
10230
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
10231
 
 
10232
 
# Sed substitution to delay expansion of an escaped shell variable in a
10233
 
# double_quote_subst'ed string.
10234
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10235
 
 
10236
 
# Sed substitution to avoid accidental globbing in evaled expressions
10237
 
no_glob_subst='s/\*/\\\*/g'
10238
 
 
10239
 
# Constants:
10240
 
rm="rm -f"
10241
 
 
10242
 
# Global variables:
10243
 
default_ofile=libtool
10244
 
can_build_shared=yes
10245
 
 
10246
 
# All known linkers require a `.a' archive for static linking (except MSVC,
10247
 
# which needs '.lib').
10248
 
libext=a
10249
 
ltmain="$ac_aux_dir/ltmain.sh"
10250
 
ofile="$default_ofile"
10251
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
10252
 
 
10253
 
if test -n "$ac_tool_prefix"; then
10254
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10255
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
10256
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10257
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10258
 
if test "${ac_cv_prog_AR+set}" = set; then
10259
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10260
 
else
10261
 
  if test -n "$AR"; then
10262
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
10263
 
else
10264
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10265
 
for as_dir in $PATH
10266
 
do
10267
 
  IFS=$as_save_IFS
10268
 
  test -z "$as_dir" && as_dir=.
10269
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10270
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10271
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
10272
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10273
 
    break 2
10274
 
  fi
10275
 
done
10276
 
done
10277
 
IFS=$as_save_IFS
10278
 
 
10279
 
fi
10280
 
fi
10281
 
AR=$ac_cv_prog_AR
10282
 
if test -n "$AR"; then
10283
 
  { echo "$as_me:$LINENO: result: $AR" >&5
10284
 
echo "${ECHO_T}$AR" >&6; }
10285
 
else
10286
 
  { echo "$as_me:$LINENO: result: no" >&5
10287
 
echo "${ECHO_T}no" >&6; }
10288
 
fi
10289
 
 
10290
 
 
10291
 
fi
10292
 
if test -z "$ac_cv_prog_AR"; then
10293
 
  ac_ct_AR=$AR
10294
 
  # Extract the first word of "ar", so it can be a program name with args.
10295
 
set dummy ar; ac_word=$2
10296
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10297
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10298
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
10299
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10300
 
else
10301
 
  if test -n "$ac_ct_AR"; then
10302
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10303
 
else
10304
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10305
 
for as_dir in $PATH
10306
 
do
10307
 
  IFS=$as_save_IFS
10308
 
  test -z "$as_dir" && as_dir=.
10309
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10310
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10311
 
    ac_cv_prog_ac_ct_AR="ar"
10312
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10313
 
    break 2
10314
 
  fi
10315
 
done
10316
 
done
10317
 
IFS=$as_save_IFS
10318
 
 
10319
 
fi
10320
 
fi
10321
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
10322
 
if test -n "$ac_ct_AR"; then
10323
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
10324
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
10325
 
else
10326
 
  { echo "$as_me:$LINENO: result: no" >&5
10327
 
echo "${ECHO_T}no" >&6; }
10328
 
fi
10329
 
 
10330
 
  if test "x$ac_ct_AR" = x; then
10331
 
    AR="false"
10332
 
  else
10333
 
    case $cross_compiling:$ac_tool_warned in
10334
 
yes:)
10335
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10336
 
whose name does not start with the host triplet.  If you think this
10337
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10338
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10339
 
whose name does not start with the host triplet.  If you think this
10340
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10341
 
ac_tool_warned=yes ;;
10342
 
esac
10343
 
    AR=$ac_ct_AR
10344
 
  fi
10345
 
else
10346
 
  AR="$ac_cv_prog_AR"
10347
 
fi
10348
 
 
10349
 
if test -n "$ac_tool_prefix"; then
10350
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10351
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10352
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10353
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10354
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
10355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10356
 
else
10357
 
  if test -n "$RANLIB"; then
10358
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10359
 
else
10360
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10361
 
for as_dir in $PATH
10362
 
do
10363
 
  IFS=$as_save_IFS
10364
 
  test -z "$as_dir" && as_dir=.
10365
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10366
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10367
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10368
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10369
 
    break 2
10370
 
  fi
10371
 
done
10372
 
done
10373
 
IFS=$as_save_IFS
10374
 
 
10375
 
fi
10376
 
fi
10377
 
RANLIB=$ac_cv_prog_RANLIB
10378
 
if test -n "$RANLIB"; then
10379
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
10380
 
echo "${ECHO_T}$RANLIB" >&6; }
10381
 
else
10382
 
  { echo "$as_me:$LINENO: result: no" >&5
10383
 
echo "${ECHO_T}no" >&6; }
10384
 
fi
10385
 
 
10386
 
 
10387
 
fi
10388
 
if test -z "$ac_cv_prog_RANLIB"; then
10389
 
  ac_ct_RANLIB=$RANLIB
10390
 
  # Extract the first word of "ranlib", so it can be a program name with args.
10391
 
set dummy ranlib; ac_word=$2
10392
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10393
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10394
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10395
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10396
 
else
10397
 
  if test -n "$ac_ct_RANLIB"; then
10398
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10399
 
else
10400
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10401
 
for as_dir in $PATH
10402
 
do
10403
 
  IFS=$as_save_IFS
10404
 
  test -z "$as_dir" && as_dir=.
10405
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10406
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10407
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
10408
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10409
 
    break 2
10410
 
  fi
10411
 
done
10412
 
done
10413
 
IFS=$as_save_IFS
10414
 
 
10415
 
fi
10416
 
fi
10417
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10418
 
if test -n "$ac_ct_RANLIB"; then
10419
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
10420
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
10421
 
else
10422
 
  { echo "$as_me:$LINENO: result: no" >&5
10423
 
echo "${ECHO_T}no" >&6; }
10424
 
fi
10425
 
 
10426
 
  if test "x$ac_ct_RANLIB" = x; then
10427
 
    RANLIB=":"
10428
 
  else
10429
 
    case $cross_compiling:$ac_tool_warned in
10430
 
yes:)
10431
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10432
 
whose name does not start with the host triplet.  If you think this
10433
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10434
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10435
 
whose name does not start with the host triplet.  If you think this
10436
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10437
 
ac_tool_warned=yes ;;
10438
 
esac
10439
 
    RANLIB=$ac_ct_RANLIB
10440
 
  fi
10441
 
else
10442
 
  RANLIB="$ac_cv_prog_RANLIB"
10443
 
fi
10444
 
 
10445
 
if test -n "$ac_tool_prefix"; then
10446
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10447
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
10448
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10449
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10450
 
if test "${ac_cv_prog_STRIP+set}" = set; then
10451
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10452
 
else
10453
 
  if test -n "$STRIP"; then
10454
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10455
 
else
10456
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10457
 
for as_dir in $PATH
10458
 
do
10459
 
  IFS=$as_save_IFS
10460
 
  test -z "$as_dir" && as_dir=.
10461
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10462
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10463
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10464
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10465
 
    break 2
10466
 
  fi
10467
 
done
10468
 
done
10469
 
IFS=$as_save_IFS
10470
 
 
10471
 
fi
10472
 
fi
10473
 
STRIP=$ac_cv_prog_STRIP
10474
 
if test -n "$STRIP"; then
10475
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
10476
 
echo "${ECHO_T}$STRIP" >&6; }
10477
 
else
10478
 
  { echo "$as_me:$LINENO: result: no" >&5
10479
 
echo "${ECHO_T}no" >&6; }
10480
 
fi
10481
 
 
10482
 
 
10483
 
fi
10484
 
if test -z "$ac_cv_prog_STRIP"; then
10485
 
  ac_ct_STRIP=$STRIP
10486
 
  # Extract the first word of "strip", so it can be a program name with args.
10487
 
set dummy strip; ac_word=$2
10488
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10489
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10490
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10491
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10492
 
else
10493
 
  if test -n "$ac_ct_STRIP"; then
10494
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10495
 
else
10496
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10497
 
for as_dir in $PATH
10498
 
do
10499
 
  IFS=$as_save_IFS
10500
 
  test -z "$as_dir" && as_dir=.
10501
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10502
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10503
 
    ac_cv_prog_ac_ct_STRIP="strip"
10504
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10505
 
    break 2
10506
 
  fi
10507
 
done
10508
 
done
10509
 
IFS=$as_save_IFS
10510
 
 
10511
 
fi
10512
 
fi
10513
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10514
 
if test -n "$ac_ct_STRIP"; then
10515
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10516
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
10517
 
else
10518
 
  { echo "$as_me:$LINENO: result: no" >&5
10519
 
echo "${ECHO_T}no" >&6; }
10520
 
fi
10521
 
 
10522
 
  if test "x$ac_ct_STRIP" = x; then
10523
 
    STRIP=":"
10524
 
  else
10525
 
    case $cross_compiling:$ac_tool_warned in
10526
 
yes:)
10527
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10528
 
whose name does not start with the host triplet.  If you think this
10529
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10530
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10531
 
whose name does not start with the host triplet.  If you think this
10532
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10533
 
ac_tool_warned=yes ;;
10534
 
esac
10535
 
    STRIP=$ac_ct_STRIP
10536
 
  fi
10537
 
else
10538
 
  STRIP="$ac_cv_prog_STRIP"
10539
 
fi
10540
 
 
10541
 
 
10542
 
old_CC="$CC"
10543
 
old_CFLAGS="$CFLAGS"
10544
 
 
10545
 
# Set sane defaults for various variables
10546
 
test -z "$AR" && AR=ar
10547
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
10548
 
test -z "$AS" && AS=as
10549
 
test -z "$CC" && CC=cc
10550
 
test -z "$LTCC" && LTCC=$CC
10551
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10552
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
10553
 
test -z "$LD" && LD=ld
10554
 
test -z "$LN_S" && LN_S="ln -s"
10555
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10556
 
test -z "$NM" && NM=nm
10557
 
test -z "$SED" && SED=sed
10558
 
test -z "$OBJDUMP" && OBJDUMP=objdump
10559
 
test -z "$RANLIB" && RANLIB=:
10560
 
test -z "$STRIP" && STRIP=:
10561
 
test -z "$ac_objext" && ac_objext=o
10562
 
 
10563
 
# Determine commands to create old-style static archives.
10564
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10565
 
old_postinstall_cmds='chmod 644 $oldlib'
10566
 
old_postuninstall_cmds=
10567
 
 
10568
 
if test -n "$RANLIB"; then
10569
 
  case $host_os in
10570
 
  openbsd*)
10571
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10572
 
    ;;
10573
 
  *)
10574
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
10575
 
    ;;
10576
 
  esac
10577
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10578
 
fi
10579
 
 
10580
 
for cc_temp in $compiler""; do
10581
 
  case $cc_temp in
10582
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10583
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10584
 
    \-*) ;;
10585
 
    *) break;;
10586
 
  esac
10587
 
done
10588
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10589
 
 
10590
 
 
10591
 
# Only perform the check for file, if the check method requires it
10592
 
case $deplibs_check_method in
10593
 
file_magic*)
10594
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10595
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10596
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
10597
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10598
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10599
 
else
10600
 
  case $MAGIC_CMD in
10601
 
[\\/*] |  ?:[\\/]*)
10602
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10603
 
  ;;
10604
 
*)
10605
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10606
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10607
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10608
 
  for ac_dir in $ac_dummy; do
10609
 
    IFS="$lt_save_ifs"
10610
 
    test -z "$ac_dir" && ac_dir=.
10611
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
10612
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10613
 
      if test -n "$file_magic_test_file"; then
10614
 
        case $deplibs_check_method in
10615
 
        "file_magic "*)
10616
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10617
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10618
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10619
 
            $EGREP "$file_magic_regex" > /dev/null; then
10620
 
            :
10621
 
          else
10622
 
            cat <<EOF 1>&2
10623
 
 
10624
 
*** Warning: the command libtool uses to detect shared libraries,
10625
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
10626
 
*** The result is that libtool may fail to recognize shared libraries
10627
 
*** as such.  This will affect the creation of libtool libraries that
10628
 
*** depend on shared libraries, but programs linked with such libtool
10629
 
*** libraries will work regardless of this problem.  Nevertheless, you
10630
 
*** may want to report the problem to your system manager and/or to
10631
 
*** bug-libtool@gnu.org
10632
 
 
10633
 
EOF
10634
 
          fi ;;
10635
 
        esac
10636
 
      fi
10637
 
      break
10638
 
    fi
10639
 
  done
10640
 
  IFS="$lt_save_ifs"
10641
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10642
 
  ;;
10643
 
esac
10644
 
fi
10645
 
 
10646
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10647
 
if test -n "$MAGIC_CMD"; then
10648
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10649
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
10650
 
else
10651
 
  { echo "$as_me:$LINENO: result: no" >&5
10652
 
echo "${ECHO_T}no" >&6; }
10653
 
fi
10654
 
 
10655
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
10656
 
  if test -n "$ac_tool_prefix"; then
10657
 
    { echo "$as_me:$LINENO: checking for file" >&5
10658
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
10659
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10660
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10661
 
else
10662
 
  case $MAGIC_CMD in
10663
 
[\\/*] |  ?:[\\/]*)
10664
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10665
 
  ;;
10666
 
*)
10667
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10668
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10669
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10670
 
  for ac_dir in $ac_dummy; do
10671
 
    IFS="$lt_save_ifs"
10672
 
    test -z "$ac_dir" && ac_dir=.
10673
 
    if test -f $ac_dir/file; then
10674
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
10675
 
      if test -n "$file_magic_test_file"; then
10676
 
        case $deplibs_check_method in
10677
 
        "file_magic "*)
10678
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10679
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10680
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10681
 
            $EGREP "$file_magic_regex" > /dev/null; then
10682
 
            :
10683
 
          else
10684
 
            cat <<EOF 1>&2
10685
 
 
10686
 
*** Warning: the command libtool uses to detect shared libraries,
10687
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
10688
 
*** The result is that libtool may fail to recognize shared libraries
10689
 
*** as such.  This will affect the creation of libtool libraries that
10690
 
*** depend on shared libraries, but programs linked with such libtool
10691
 
*** libraries will work regardless of this problem.  Nevertheless, you
10692
 
*** may want to report the problem to your system manager and/or to
10693
 
*** bug-libtool@gnu.org
10694
 
 
10695
 
EOF
10696
 
          fi ;;
10697
 
        esac
10698
 
      fi
10699
 
      break
10700
 
    fi
10701
 
  done
10702
 
  IFS="$lt_save_ifs"
10703
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10704
 
  ;;
10705
 
esac
10706
 
fi
10707
 
 
10708
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10709
 
if test -n "$MAGIC_CMD"; then
10710
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10711
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
10712
 
else
10713
 
  { echo "$as_me:$LINENO: result: no" >&5
10714
 
echo "${ECHO_T}no" >&6; }
10715
 
fi
10716
 
 
10717
 
  else
10718
 
    MAGIC_CMD=:
10719
 
  fi
10720
 
fi
10721
 
 
10722
 
  fi
10723
 
  ;;
10724
 
esac
 
10120
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
10121
$as_echo "failed" >&6; }
 
10122
else
 
10123
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
10124
$as_echo "ok" >&6; }
 
10125
fi
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
# Check whether --enable-libtool-lock was given.
 
10149
if test "${enable_libtool_lock+set}" = set; then
 
10150
  enableval=$enable_libtool_lock;
 
10151
fi
 
10152
 
 
10153
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
10154
 
 
10155
# Some flags need to be propagated to the compiler or linker for good
 
10156
# libtool support.
 
10157
case $host in
 
10158
ia64-*-hpux*)
 
10159
  # Find out which ABI we are using.
 
10160
  echo 'int i;' > conftest.$ac_ext
 
10161
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10162
  (eval $ac_compile) 2>&5
 
10163
  ac_status=$?
 
10164
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10165
  (exit $ac_status); }; then
 
10166
    case `/usr/bin/file conftest.$ac_objext` in
 
10167
      *ELF-32*)
 
10168
        HPUX_IA64_MODE="32"
 
10169
        ;;
 
10170
      *ELF-64*)
 
10171
        HPUX_IA64_MODE="64"
 
10172
        ;;
 
10173
    esac
 
10174
  fi
 
10175
  rm -rf conftest*
 
10176
  ;;
 
10177
*-*-irix6*)
 
10178
  # Find out which ABI we are using.
 
10179
  echo '#line 10179 "configure"' > conftest.$ac_ext
 
10180
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10181
  (eval $ac_compile) 2>&5
 
10182
  ac_status=$?
 
10183
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10184
  (exit $ac_status); }; then
 
10185
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
10186
      case `/usr/bin/file conftest.$ac_objext` in
 
10187
        *32-bit*)
 
10188
          LD="${LD-ld} -melf32bsmip"
 
10189
          ;;
 
10190
        *N32*)
 
10191
          LD="${LD-ld} -melf32bmipn32"
 
10192
          ;;
 
10193
        *64-bit*)
 
10194
          LD="${LD-ld} -melf64bmip"
 
10195
        ;;
 
10196
      esac
 
10197
    else
 
10198
      case `/usr/bin/file conftest.$ac_objext` in
 
10199
        *32-bit*)
 
10200
          LD="${LD-ld} -32"
 
10201
          ;;
 
10202
        *N32*)
 
10203
          LD="${LD-ld} -n32"
 
10204
          ;;
 
10205
        *64-bit*)
 
10206
          LD="${LD-ld} -64"
 
10207
          ;;
 
10208
      esac
 
10209
    fi
 
10210
  fi
 
10211
  rm -rf conftest*
 
10212
  ;;
 
10213
 
 
10214
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
10215
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
10216
  # Find out which ABI we are using.
 
10217
  echo 'int i;' > conftest.$ac_ext
 
10218
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10219
  (eval $ac_compile) 2>&5
 
10220
  ac_status=$?
 
10221
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10222
  (exit $ac_status); }; then
 
10223
    case `/usr/bin/file conftest.o` in
 
10224
      *32-bit*)
 
10225
        case $host in
 
10226
          x86_64-*kfreebsd*-gnu)
 
10227
            LD="${LD-ld} -m elf_i386_fbsd"
 
10228
            ;;
 
10229
          x86_64-*linux*)
 
10230
            LD="${LD-ld} -m elf_i386"
 
10231
            ;;
 
10232
          ppc64-*linux*|powerpc64-*linux*)
 
10233
            LD="${LD-ld} -m elf32ppclinux"
 
10234
            ;;
 
10235
          s390x-*linux*)
 
10236
            LD="${LD-ld} -m elf_s390"
 
10237
            ;;
 
10238
          sparc64-*linux*)
 
10239
            LD="${LD-ld} -m elf32_sparc"
 
10240
            ;;
 
10241
        esac
 
10242
        ;;
 
10243
      *64-bit*)
 
10244
        case $host in
 
10245
          x86_64-*kfreebsd*-gnu)
 
10246
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
10247
            ;;
 
10248
          x86_64-*linux*)
 
10249
            LD="${LD-ld} -m elf_x86_64"
 
10250
            ;;
 
10251
          ppc*-*linux*|powerpc*-*linux*)
 
10252
            LD="${LD-ld} -m elf64ppc"
 
10253
            ;;
 
10254
          s390*-*linux*|s390*-*tpf*)
 
10255
            LD="${LD-ld} -m elf64_s390"
 
10256
            ;;
 
10257
          sparc*-*linux*)
 
10258
            LD="${LD-ld} -m elf64_sparc"
 
10259
            ;;
 
10260
        esac
 
10261
        ;;
 
10262
    esac
 
10263
  fi
 
10264
  rm -rf conftest*
 
10265
  ;;
 
10266
 
 
10267
*-*-sco3.2v5*)
 
10268
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
10269
  SAVE_CFLAGS="$CFLAGS"
 
10270
  CFLAGS="$CFLAGS -belf"
 
10271
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
10272
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
10273
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
10274
  $as_echo_n "(cached) " >&6
 
10275
else
 
10276
  ac_ext=c
 
10277
ac_cpp='$CPP $CPPFLAGS'
 
10278
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10279
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10280
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10281
 
 
10282
     cat >conftest.$ac_ext <<_ACEOF
 
10283
/* confdefs.h.  */
 
10284
_ACEOF
 
10285
cat confdefs.h >>conftest.$ac_ext
 
10286
cat >>conftest.$ac_ext <<_ACEOF
 
10287
/* end confdefs.h.  */
 
10288
 
 
10289
int
 
10290
main ()
 
10291
{
 
10292
 
 
10293
  ;
 
10294
  return 0;
 
10295
}
 
10296
_ACEOF
 
10297
rm -f conftest.$ac_objext conftest$ac_exeext
 
10298
if { (ac_try="$ac_link"
 
10299
case "(($ac_try" in
 
10300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10301
  *) ac_try_echo=$ac_try;;
 
10302
esac
 
10303
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10304
$as_echo "$ac_try_echo") >&5
 
10305
  (eval "$ac_link") 2>conftest.er1
 
10306
  ac_status=$?
 
10307
  grep -v '^ *+' conftest.er1 >conftest.err
 
10308
  rm -f conftest.er1
 
10309
  cat conftest.err >&5
 
10310
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10311
  (exit $ac_status); } && {
 
10312
         test -z "$ac_c_werror_flag" ||
 
10313
         test ! -s conftest.err
 
10314
       } && test -s conftest$ac_exeext && {
 
10315
         test "$cross_compiling" = yes ||
 
10316
         $as_test_x conftest$ac_exeext
 
10317
       }; then
 
10318
  lt_cv_cc_needs_belf=yes
 
10319
else
 
10320
  $as_echo "$as_me: failed program was:" >&5
 
10321
sed 's/^/| /' conftest.$ac_ext >&5
 
10322
 
 
10323
        lt_cv_cc_needs_belf=no
 
10324
fi
 
10325
 
 
10326
rm -rf conftest.dSYM
 
10327
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10328
      conftest$ac_exeext conftest.$ac_ext
 
10329
     ac_ext=c
 
10330
ac_cpp='$CPP $CPPFLAGS'
 
10331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10334
 
 
10335
fi
 
10336
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
10337
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
10338
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
10339
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
10340
    CFLAGS="$SAVE_CFLAGS"
 
10341
  fi
 
10342
  ;;
 
10343
sparc*-*solaris*)
 
10344
  # Find out which ABI we are using.
 
10345
  echo 'int i;' > conftest.$ac_ext
 
10346
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10347
  (eval $ac_compile) 2>&5
 
10348
  ac_status=$?
 
10349
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10350
  (exit $ac_status); }; then
 
10351
    case `/usr/bin/file conftest.o` in
 
10352
    *64-bit*)
 
10353
      case $lt_cv_prog_gnu_ld in
 
10354
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
10355
      *)
 
10356
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
10357
          LD="${LD-ld} -64"
 
10358
        fi
 
10359
        ;;
 
10360
      esac
 
10361
      ;;
 
10362
    esac
 
10363
  fi
 
10364
  rm -rf conftest*
 
10365
  ;;
 
10366
esac
 
10367
 
 
10368
need_locks="$enable_libtool_lock"
10725
10369
 
10726
10370
 
10727
10371
  case $host_os in
10729
10373
    if test -n "$ac_tool_prefix"; then
10730
10374
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10731
10375
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10732
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10733
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
10376
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10377
$as_echo_n "checking for $ac_word... " >&6; }
10734
10378
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
10735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10379
  $as_echo_n "(cached) " >&6
10736
10380
else
10737
10381
  if test -n "$DSYMUTIL"; then
10738
10382
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10745
10389
  for ac_exec_ext in '' $ac_executable_extensions; do
10746
10390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10747
10391
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10748
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10392
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10749
10393
    break 2
10750
10394
  fi
10751
10395
done
10756
10400
fi
10757
10401
DSYMUTIL=$ac_cv_prog_DSYMUTIL
10758
10402
if test -n "$DSYMUTIL"; then
10759
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
10760
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
10403
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
10404
$as_echo "$DSYMUTIL" >&6; }
10761
10405
else
10762
 
  { echo "$as_me:$LINENO: result: no" >&5
10763
 
echo "${ECHO_T}no" >&6; }
 
10406
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10407
$as_echo "no" >&6; }
10764
10408
fi
10765
10409
 
10766
10410
 
10769
10413
  ac_ct_DSYMUTIL=$DSYMUTIL
10770
10414
  # Extract the first word of "dsymutil", so it can be a program name with args.
10771
10415
set dummy dsymutil; ac_word=$2
10772
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10773
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
10416
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10417
$as_echo_n "checking for $ac_word... " >&6; }
10774
10418
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
10775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10419
  $as_echo_n "(cached) " >&6
10776
10420
else
10777
10421
  if test -n "$ac_ct_DSYMUTIL"; then
10778
10422
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10785
10429
  for ac_exec_ext in '' $ac_executable_extensions; do
10786
10430
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10787
10431
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10788
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10432
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10789
10433
    break 2
10790
10434
  fi
10791
10435
done
10796
10440
fi
10797
10441
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10798
10442
if test -n "$ac_ct_DSYMUTIL"; then
10799
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
10800
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
10443
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
10444
$as_echo "$ac_ct_DSYMUTIL" >&6; }
10801
10445
else
10802
 
  { echo "$as_me:$LINENO: result: no" >&5
10803
 
echo "${ECHO_T}no" >&6; }
 
10446
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10447
$as_echo "no" >&6; }
10804
10448
fi
10805
10449
 
10806
10450
  if test "x$ac_ct_DSYMUTIL" = x; then
10808
10452
  else
10809
10453
    case $cross_compiling:$ac_tool_warned in
10810
10454
yes:)
10811
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10812
 
whose name does not start with the host triplet.  If you think this
10813
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10814
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10815
 
whose name does not start with the host triplet.  If you think this
10816
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
10455
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10456
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10817
10457
ac_tool_warned=yes ;;
10818
10458
esac
10819
10459
    DSYMUTIL=$ac_ct_DSYMUTIL
10825
10465
    if test -n "$ac_tool_prefix"; then
10826
10466
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10827
10467
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10828
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10829
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
10468
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10469
$as_echo_n "checking for $ac_word... " >&6; }
10830
10470
if test "${ac_cv_prog_NMEDIT+set}" = set; then
10831
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10471
  $as_echo_n "(cached) " >&6
10832
10472
else
10833
10473
  if test -n "$NMEDIT"; then
10834
10474
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10841
10481
  for ac_exec_ext in '' $ac_executable_extensions; do
10842
10482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10843
10483
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10844
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10484
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10845
10485
    break 2
10846
10486
  fi
10847
10487
done
10852
10492
fi
10853
10493
NMEDIT=$ac_cv_prog_NMEDIT
10854
10494
if test -n "$NMEDIT"; then
10855
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
10856
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
10495
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
10496
$as_echo "$NMEDIT" >&6; }
10857
10497
else
10858
 
  { echo "$as_me:$LINENO: result: no" >&5
10859
 
echo "${ECHO_T}no" >&6; }
 
10498
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10499
$as_echo "no" >&6; }
10860
10500
fi
10861
10501
 
10862
10502
 
10865
10505
  ac_ct_NMEDIT=$NMEDIT
10866
10506
  # Extract the first word of "nmedit", so it can be a program name with args.
10867
10507
set dummy nmedit; ac_word=$2
10868
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10869
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
10508
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10509
$as_echo_n "checking for $ac_word... " >&6; }
10870
10510
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
10871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10511
  $as_echo_n "(cached) " >&6
10872
10512
else
10873
10513
  if test -n "$ac_ct_NMEDIT"; then
10874
10514
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10881
10521
  for ac_exec_ext in '' $ac_executable_extensions; do
10882
10522
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10883
10523
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
10884
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10524
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10885
10525
    break 2
10886
10526
  fi
10887
10527
done
10892
10532
fi
10893
10533
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10894
10534
if test -n "$ac_ct_NMEDIT"; then
10895
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
10896
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
10535
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
10536
$as_echo "$ac_ct_NMEDIT" >&6; }
10897
10537
else
10898
 
  { echo "$as_me:$LINENO: result: no" >&5
10899
 
echo "${ECHO_T}no" >&6; }
 
10538
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10539
$as_echo "no" >&6; }
10900
10540
fi
10901
10541
 
10902
10542
  if test "x$ac_ct_NMEDIT" = x; then
10904
10544
  else
10905
10545
    case $cross_compiling:$ac_tool_warned in
10906
10546
yes:)
10907
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10908
 
whose name does not start with the host triplet.  If you think this
10909
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10910
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10911
 
whose name does not start with the host triplet.  If you think this
10912
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
10547
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10548
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10913
10549
ac_tool_warned=yes ;;
10914
10550
esac
10915
10551
    NMEDIT=$ac_ct_NMEDIT
10918
10554
  NMEDIT="$ac_cv_prog_NMEDIT"
10919
10555
fi
10920
10556
 
10921
 
 
10922
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
10923
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
10557
    if test -n "$ac_tool_prefix"; then
 
10558
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
10559
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
10560
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10561
$as_echo_n "checking for $ac_word... " >&6; }
 
10562
if test "${ac_cv_prog_LIPO+set}" = set; then
 
10563
  $as_echo_n "(cached) " >&6
 
10564
else
 
10565
  if test -n "$LIPO"; then
 
10566
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
10567
else
 
10568
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10569
for as_dir in $PATH
 
10570
do
 
10571
  IFS=$as_save_IFS
 
10572
  test -z "$as_dir" && as_dir=.
 
10573
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10574
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10575
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
10576
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10577
    break 2
 
10578
  fi
 
10579
done
 
10580
done
 
10581
IFS=$as_save_IFS
 
10582
 
 
10583
fi
 
10584
fi
 
10585
LIPO=$ac_cv_prog_LIPO
 
10586
if test -n "$LIPO"; then
 
10587
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
10588
$as_echo "$LIPO" >&6; }
 
10589
else
 
10590
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10591
$as_echo "no" >&6; }
 
10592
fi
 
10593
 
 
10594
 
 
10595
fi
 
10596
if test -z "$ac_cv_prog_LIPO"; then
 
10597
  ac_ct_LIPO=$LIPO
 
10598
  # Extract the first word of "lipo", so it can be a program name with args.
 
10599
set dummy lipo; ac_word=$2
 
10600
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10601
$as_echo_n "checking for $ac_word... " >&6; }
 
10602
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
10603
  $as_echo_n "(cached) " >&6
 
10604
else
 
10605
  if test -n "$ac_ct_LIPO"; then
 
10606
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
10607
else
 
10608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10609
for as_dir in $PATH
 
10610
do
 
10611
  IFS=$as_save_IFS
 
10612
  test -z "$as_dir" && as_dir=.
 
10613
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10614
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10615
    ac_cv_prog_ac_ct_LIPO="lipo"
 
10616
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10617
    break 2
 
10618
  fi
 
10619
done
 
10620
done
 
10621
IFS=$as_save_IFS
 
10622
 
 
10623
fi
 
10624
fi
 
10625
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
10626
if test -n "$ac_ct_LIPO"; then
 
10627
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
10628
$as_echo "$ac_ct_LIPO" >&6; }
 
10629
else
 
10630
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10631
$as_echo "no" >&6; }
 
10632
fi
 
10633
 
 
10634
  if test "x$ac_ct_LIPO" = x; then
 
10635
    LIPO=":"
 
10636
  else
 
10637
    case $cross_compiling:$ac_tool_warned in
 
10638
yes:)
 
10639
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10640
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10641
ac_tool_warned=yes ;;
 
10642
esac
 
10643
    LIPO=$ac_ct_LIPO
 
10644
  fi
 
10645
else
 
10646
  LIPO="$ac_cv_prog_LIPO"
 
10647
fi
 
10648
 
 
10649
    if test -n "$ac_tool_prefix"; then
 
10650
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
10651
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
10652
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10653
$as_echo_n "checking for $ac_word... " >&6; }
 
10654
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
10655
  $as_echo_n "(cached) " >&6
 
10656
else
 
10657
  if test -n "$OTOOL"; then
 
10658
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
10659
else
 
10660
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10661
for as_dir in $PATH
 
10662
do
 
10663
  IFS=$as_save_IFS
 
10664
  test -z "$as_dir" && as_dir=.
 
10665
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10666
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10667
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
10668
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10669
    break 2
 
10670
  fi
 
10671
done
 
10672
done
 
10673
IFS=$as_save_IFS
 
10674
 
 
10675
fi
 
10676
fi
 
10677
OTOOL=$ac_cv_prog_OTOOL
 
10678
if test -n "$OTOOL"; then
 
10679
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
10680
$as_echo "$OTOOL" >&6; }
 
10681
else
 
10682
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10683
$as_echo "no" >&6; }
 
10684
fi
 
10685
 
 
10686
 
 
10687
fi
 
10688
if test -z "$ac_cv_prog_OTOOL"; then
 
10689
  ac_ct_OTOOL=$OTOOL
 
10690
  # Extract the first word of "otool", so it can be a program name with args.
 
10691
set dummy otool; ac_word=$2
 
10692
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10693
$as_echo_n "checking for $ac_word... " >&6; }
 
10694
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
10695
  $as_echo_n "(cached) " >&6
 
10696
else
 
10697
  if test -n "$ac_ct_OTOOL"; then
 
10698
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
10699
else
 
10700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10701
for as_dir in $PATH
 
10702
do
 
10703
  IFS=$as_save_IFS
 
10704
  test -z "$as_dir" && as_dir=.
 
10705
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10706
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10707
    ac_cv_prog_ac_ct_OTOOL="otool"
 
10708
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10709
    break 2
 
10710
  fi
 
10711
done
 
10712
done
 
10713
IFS=$as_save_IFS
 
10714
 
 
10715
fi
 
10716
fi
 
10717
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
10718
if test -n "$ac_ct_OTOOL"; then
 
10719
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
10720
$as_echo "$ac_ct_OTOOL" >&6; }
 
10721
else
 
10722
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10723
$as_echo "no" >&6; }
 
10724
fi
 
10725
 
 
10726
  if test "x$ac_ct_OTOOL" = x; then
 
10727
    OTOOL=":"
 
10728
  else
 
10729
    case $cross_compiling:$ac_tool_warned in
 
10730
yes:)
 
10731
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10732
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10733
ac_tool_warned=yes ;;
 
10734
esac
 
10735
    OTOOL=$ac_ct_OTOOL
 
10736
  fi
 
10737
else
 
10738
  OTOOL="$ac_cv_prog_OTOOL"
 
10739
fi
 
10740
 
 
10741
    if test -n "$ac_tool_prefix"; then
 
10742
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
10743
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
10744
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10745
$as_echo_n "checking for $ac_word... " >&6; }
 
10746
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
10747
  $as_echo_n "(cached) " >&6
 
10748
else
 
10749
  if test -n "$OTOOL64"; then
 
10750
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
10751
else
 
10752
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10753
for as_dir in $PATH
 
10754
do
 
10755
  IFS=$as_save_IFS
 
10756
  test -z "$as_dir" && as_dir=.
 
10757
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10758
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10759
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
10760
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10761
    break 2
 
10762
  fi
 
10763
done
 
10764
done
 
10765
IFS=$as_save_IFS
 
10766
 
 
10767
fi
 
10768
fi
 
10769
OTOOL64=$ac_cv_prog_OTOOL64
 
10770
if test -n "$OTOOL64"; then
 
10771
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
10772
$as_echo "$OTOOL64" >&6; }
 
10773
else
 
10774
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10775
$as_echo "no" >&6; }
 
10776
fi
 
10777
 
 
10778
 
 
10779
fi
 
10780
if test -z "$ac_cv_prog_OTOOL64"; then
 
10781
  ac_ct_OTOOL64=$OTOOL64
 
10782
  # Extract the first word of "otool64", so it can be a program name with args.
 
10783
set dummy otool64; ac_word=$2
 
10784
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10785
$as_echo_n "checking for $ac_word... " >&6; }
 
10786
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
10787
  $as_echo_n "(cached) " >&6
 
10788
else
 
10789
  if test -n "$ac_ct_OTOOL64"; then
 
10790
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
10791
else
 
10792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10793
for as_dir in $PATH
 
10794
do
 
10795
  IFS=$as_save_IFS
 
10796
  test -z "$as_dir" && as_dir=.
 
10797
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10798
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10799
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
10800
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10801
    break 2
 
10802
  fi
 
10803
done
 
10804
done
 
10805
IFS=$as_save_IFS
 
10806
 
 
10807
fi
 
10808
fi
 
10809
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
10810
if test -n "$ac_ct_OTOOL64"; then
 
10811
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
10812
$as_echo "$ac_ct_OTOOL64" >&6; }
 
10813
else
 
10814
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10815
$as_echo "no" >&6; }
 
10816
fi
 
10817
 
 
10818
  if test "x$ac_ct_OTOOL64" = x; then
 
10819
    OTOOL64=":"
 
10820
  else
 
10821
    case $cross_compiling:$ac_tool_warned in
 
10822
yes:)
 
10823
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10824
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10825
ac_tool_warned=yes ;;
 
10826
esac
 
10827
    OTOOL64=$ac_ct_OTOOL64
 
10828
  fi
 
10829
else
 
10830
  OTOOL64="$ac_cv_prog_OTOOL64"
 
10831
fi
 
10832
 
 
10833
 
 
10834
 
 
10835
 
 
10836
 
 
10837
 
 
10838
 
 
10839
 
 
10840
 
 
10841
 
 
10842
 
 
10843
 
 
10844
 
 
10845
 
 
10846
 
 
10847
 
 
10848
 
 
10849
 
 
10850
 
 
10851
 
 
10852
 
 
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
 
 
10859
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
10860
$as_echo_n "checking for -single_module linker flag... " >&6; }
10924
10861
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
10925
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10862
  $as_echo_n "(cached) " >&6
10926
10863
else
10927
10864
  lt_cv_apple_cc_single_mod=no
10928
10865
      if test -z "${LT_MULTI_MODULE}"; then
10929
 
   # By default we will add the -single_module flag. You can override
10930
 
   # by either setting the environment variable LT_MULTI_MODULE
10931
 
   # non-empty at configure time, or by adding -multi_module to the
10932
 
   # link flags.
10933
 
   echo "int foo(void){return 1;}" > conftest.c
10934
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10935
 
     -dynamiclib ${wl}-single_module conftest.c
10936
 
   if test -f libconftest.dylib; then
10937
 
     lt_cv_apple_cc_single_mod=yes
10938
 
     rm -rf libconftest.dylib*
10939
 
   fi
10940
 
   rm conftest.c
 
10866
        # By default we will add the -single_module flag. You can override
 
10867
        # by either setting the environment variable LT_MULTI_MODULE
 
10868
        # non-empty at configure time, or by adding -multi_module to the
 
10869
        # link flags.
 
10870
        rm -rf libconftest.dylib*
 
10871
        echo "int foo(void){return 1;}" > conftest.c
 
10872
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
10873
-dynamiclib -Wl,-single_module conftest.c" >&5
 
10874
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
10875
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
10876
        _lt_result=$?
 
10877
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
10878
          lt_cv_apple_cc_single_mod=yes
 
10879
        else
 
10880
          cat conftest.err >&5
 
10881
        fi
 
10882
        rm -rf libconftest.dylib*
 
10883
        rm -f conftest.*
10941
10884
      fi
10942
10885
fi
10943
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
10944
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
10945
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
10946
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
10886
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
10887
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
10888
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
10889
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10947
10890
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
10948
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10891
  $as_echo_n "(cached) " >&6
10949
10892
else
10950
10893
  lt_cv_ld_exported_symbols_list=no
10951
10894
      save_LDFLAGS=$LDFLAGS
10972
10915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10973
10916
  *) ac_try_echo=$ac_try;;
10974
10917
esac
10975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10918
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10919
$as_echo "$ac_try_echo") >&5
10976
10920
  (eval "$ac_link") 2>conftest.er1
10977
10921
  ac_status=$?
10978
10922
  grep -v '^ *+' conftest.er1 >conftest.err
10979
10923
  rm -f conftest.er1
10980
10924
  cat conftest.err >&5
10981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10925
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982
10926
  (exit $ac_status); } && {
10983
10927
         test -z "$ac_c_werror_flag" ||
10984
10928
         test ! -s conftest.err
10985
 
       } && test -s conftest$ac_exeext &&
10986
 
       $as_test_x conftest$ac_exeext; then
 
10929
       } && test -s conftest$ac_exeext && {
 
10930
         test "$cross_compiling" = yes ||
 
10931
         $as_test_x conftest$ac_exeext
 
10932
       }; then
10987
10933
  lt_cv_ld_exported_symbols_list=yes
10988
10934
else
10989
 
  echo "$as_me: failed program was:" >&5
 
10935
  $as_echo "$as_me: failed program was:" >&5
10990
10936
sed 's/^/| /' conftest.$ac_ext >&5
10991
10937
 
10992
10938
        lt_cv_ld_exported_symbols_list=no
10993
10939
fi
10994
10940
 
 
10941
rm -rf conftest.dSYM
10995
10942
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10996
10943
      conftest$ac_exeext conftest.$ac_ext
10997
 
   LDFLAGS="$save_LDFLAGS"
 
10944
        LDFLAGS="$save_LDFLAGS"
10998
10945
 
10999
10946
fi
11000
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
11001
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
10947
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
10948
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11002
10949
    case $host_os in
11003
 
    rhapsody* | darwin1.[0123])
 
10950
    rhapsody* | darwin1.[012])
11004
10951
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
11005
10952
    darwin1.*)
11006
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11007
 
    darwin*)
 
10953
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
10954
    darwin*) # darwin 5.x on
11008
10955
      # if running on 10.5 or later, the deployment target defaults
11009
10956
      # to the OS version, if on x86, and 10.4, the deployment
11010
10957
      # target defaults to 10.4. Don't you love it?
11011
10958
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11012
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11013
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11014
 
   10.[012]*)
11015
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11016
 
   10.*)
11017
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
10959
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
10960
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
10961
        10.[012]*)
 
10962
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
10963
        10.*)
 
10964
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11018
10965
      esac
11019
10966
    ;;
11020
10967
  esac
11024
10971
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
11025
10972
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
11026
10973
    else
11027
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
10974
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
11028
10975
    fi
11029
10976
    if test "$DSYMUTIL" != ":"; then
11030
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
10977
      _lt_dsymutil='~$DSYMUTIL $lib || :'
11031
10978
    else
11032
10979
      _lt_dsymutil=
11033
10980
    fi
11035
10982
  esac
11036
10983
 
11037
10984
 
11038
 
enable_dlopen=no
11039
 
enable_win32_dll=no
11040
 
 
11041
 
# Check whether --enable-libtool-lock was given.
11042
 
if test "${enable_libtool_lock+set}" = set; then
11043
 
  enableval=$enable_libtool_lock;
11044
 
fi
11045
 
 
11046
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
10985
for ac_header in dlfcn.h
 
10986
do
 
10987
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
10988
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
10989
$as_echo_n "checking for $ac_header... " >&6; }
 
10990
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
10991
  $as_echo_n "(cached) " >&6
 
10992
else
 
10993
  cat >conftest.$ac_ext <<_ACEOF
 
10994
/* confdefs.h.  */
 
10995
_ACEOF
 
10996
cat confdefs.h >>conftest.$ac_ext
 
10997
cat >>conftest.$ac_ext <<_ACEOF
 
10998
/* end confdefs.h.  */
 
10999
$ac_includes_default
 
11000
 
 
11001
#include <$ac_header>
 
11002
_ACEOF
 
11003
rm -f conftest.$ac_objext
 
11004
if { (ac_try="$ac_compile"
 
11005
case "(($ac_try" in
 
11006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11007
  *) ac_try_echo=$ac_try;;
 
11008
esac
 
11009
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11010
$as_echo "$ac_try_echo") >&5
 
11011
  (eval "$ac_compile") 2>conftest.er1
 
11012
  ac_status=$?
 
11013
  grep -v '^ *+' conftest.er1 >conftest.err
 
11014
  rm -f conftest.er1
 
11015
  cat conftest.err >&5
 
11016
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11017
  (exit $ac_status); } && {
 
11018
         test -z "$ac_c_werror_flag" ||
 
11019
         test ! -s conftest.err
 
11020
       } && test -s conftest.$ac_objext; then
 
11021
  eval "$as_ac_Header=yes"
 
11022
else
 
11023
  $as_echo "$as_me: failed program was:" >&5
 
11024
sed 's/^/| /' conftest.$ac_ext >&5
 
11025
 
 
11026
        eval "$as_ac_Header=no"
 
11027
fi
 
11028
 
 
11029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11030
fi
 
11031
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
11032
                 $as_echo "$as_val"'`
 
11033
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
11034
$as_echo "$ac_res" >&6; }
 
11035
as_val=`eval 'as_val=${'$as_ac_Header'}
 
11036
                 $as_echo "$as_val"'`
 
11037
   if test "x$as_val" = x""yes; then
 
11038
  cat >>confdefs.h <<_ACEOF
 
11039
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11040
_ACEOF
 
11041
 
 
11042
fi
 
11043
 
 
11044
done
 
11045
 
 
11046
 
 
11047
 
 
11048
# Set options
 
11049
 
 
11050
 
 
11051
 
 
11052
        enable_dlopen=no
 
11053
 
 
11054
 
 
11055
  enable_win32_dll=no
 
11056
 
 
11057
 
 
11058
            # Check whether --enable-shared was given.
 
11059
if test "${enable_shared+set}" = set; then
 
11060
  enableval=$enable_shared; p=${PACKAGE-default}
 
11061
    case $enableval in
 
11062
    yes) enable_shared=yes ;;
 
11063
    no) enable_shared=no ;;
 
11064
    *)
 
11065
      enable_shared=no
 
11066
      # Look at the argument we got.  We use all the common list separators.
 
11067
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11068
      for pkg in $enableval; do
 
11069
        IFS="$lt_save_ifs"
 
11070
        if test "X$pkg" = "X$p"; then
 
11071
          enable_shared=yes
 
11072
        fi
 
11073
      done
 
11074
      IFS="$lt_save_ifs"
 
11075
      ;;
 
11076
    esac
 
11077
else
 
11078
  enable_shared=yes
 
11079
fi
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
  # Check whether --enable-static was given.
 
11090
if test "${enable_static+set}" = set; then
 
11091
  enableval=$enable_static; p=${PACKAGE-default}
 
11092
    case $enableval in
 
11093
    yes) enable_static=yes ;;
 
11094
    no) enable_static=no ;;
 
11095
    *)
 
11096
     enable_static=no
 
11097
      # Look at the argument we got.  We use all the common list separators.
 
11098
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11099
      for pkg in $enableval; do
 
11100
        IFS="$lt_save_ifs"
 
11101
        if test "X$pkg" = "X$p"; then
 
11102
          enable_static=yes
 
11103
        fi
 
11104
      done
 
11105
      IFS="$lt_save_ifs"
 
11106
      ;;
 
11107
    esac
 
11108
else
 
11109
  enable_static=yes
 
11110
fi
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
11047
11119
 
11048
11120
 
11049
11121
# Check whether --with-pic was given.
11053
11125
  pic_mode=default
11054
11126
fi
11055
11127
 
 
11128
 
11056
11129
test -z "$pic_mode" && pic_mode=default
11057
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
  # Check whether --enable-fast-install was given.
 
11138
if test "${enable_fast_install+set}" = set; then
 
11139
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
11140
    case $enableval in
 
11141
    yes) enable_fast_install=yes ;;
 
11142
    no) enable_fast_install=no ;;
 
11143
    *)
 
11144
      enable_fast_install=no
 
11145
      # Look at the argument we got.  We use all the common list separators.
 
11146
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11147
      for pkg in $enableval; do
 
11148
        IFS="$lt_save_ifs"
 
11149
        if test "X$pkg" = "X$p"; then
 
11150
          enable_fast_install=yes
 
11151
        fi
 
11152
      done
 
11153
      IFS="$lt_save_ifs"
 
11154
      ;;
 
11155
    esac
 
11156
else
 
11157
  enable_fast_install=yes
 
11158
fi
 
11159
 
 
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
 
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
# This can be used to rebuild libtool when needed
 
11171
LIBTOOL_DEPS="$ltmain"
 
11172
 
 
11173
# Always use our own libtool.
 
11174
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
11175
 
 
11176
 
 
11177
 
 
11178
 
 
11179
 
 
11180
 
 
11181
 
 
11182
 
 
11183
 
 
11184
 
 
11185
 
 
11186
 
 
11187
 
 
11188
 
 
11189
 
 
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
test -z "$LN_S" && LN_S="ln -s"
 
11201
 
 
11202
 
 
11203
 
 
11204
 
 
11205
 
 
11206
 
 
11207
 
 
11208
 
 
11209
 
 
11210
 
 
11211
 
 
11212
 
 
11213
 
 
11214
 
 
11215
if test -n "${ZSH_VERSION+set}" ; then
 
11216
   setopt NO_GLOB_SUBST
 
11217
fi
 
11218
 
 
11219
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
11220
$as_echo_n "checking for objdir... " >&6; }
 
11221
if test "${lt_cv_objdir+set}" = set; then
 
11222
  $as_echo_n "(cached) " >&6
 
11223
else
 
11224
  rm -f .libs 2>/dev/null
 
11225
mkdir .libs 2>/dev/null
 
11226
if test -d .libs; then
 
11227
  lt_cv_objdir=.libs
 
11228
else
 
11229
  # MS-DOS does not allow filenames that begin with a dot.
 
11230
  lt_cv_objdir=_libs
 
11231
fi
 
11232
rmdir .libs 2>/dev/null
 
11233
fi
 
11234
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
11235
$as_echo "$lt_cv_objdir" >&6; }
 
11236
objdir=$lt_cv_objdir
 
11237
 
 
11238
 
 
11239
 
 
11240
 
 
11241
 
 
11242
cat >>confdefs.h <<_ACEOF
 
11243
#define LT_OBJDIR "$lt_cv_objdir/"
 
11244
_ACEOF
 
11245
 
 
11246
 
 
11247
 
 
11248
 
 
11249
 
 
11250
 
 
11251
 
 
11252
 
 
11253
 
 
11254
 
 
11255
 
 
11256
 
 
11257
 
 
11258
 
 
11259
 
 
11260
 
 
11261
 
 
11262
case $host_os in
 
11263
aix3*)
 
11264
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
11265
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
11266
  # vanish in a puff of smoke.
 
11267
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
11268
    COLLECT_NAMES=
 
11269
    export COLLECT_NAMES
 
11270
  fi
 
11271
  ;;
 
11272
esac
 
11273
 
 
11274
# Sed substitution that helps us do robust quoting.  It backslashifies
 
11275
# metacharacters that are still active within double-quoted strings.
 
11276
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
11277
 
 
11278
# Same as above, but do not quote variable references.
 
11279
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
11280
 
 
11281
# Sed substitution to delay expansion of an escaped shell variable in a
 
11282
# double_quote_subst'ed string.
 
11283
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
11284
 
 
11285
# Sed substitution to delay expansion of an escaped single quote.
 
11286
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
11287
 
 
11288
# Sed substitution to avoid accidental globbing in evaled expressions
 
11289
no_glob_subst='s/\*/\\\*/g'
 
11290
 
 
11291
# Global variables:
 
11292
ofile=libtool
 
11293
can_build_shared=yes
 
11294
 
 
11295
# All known linkers require a `.a' archive for static linking (except MSVC,
 
11296
# which needs '.lib').
 
11297
libext=a
 
11298
 
 
11299
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
11300
 
 
11301
old_CC="$CC"
 
11302
old_CFLAGS="$CFLAGS"
 
11303
 
 
11304
# Set sane defaults for various variables
 
11305
test -z "$CC" && CC=cc
 
11306
test -z "$LTCC" && LTCC=$CC
 
11307
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
11308
test -z "$LD" && LD=ld
 
11309
test -z "$ac_objext" && ac_objext=o
 
11310
 
 
11311
for cc_temp in $compiler""; do
 
11312
  case $cc_temp in
 
11313
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11314
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11315
    \-*) ;;
 
11316
    *) break;;
 
11317
  esac
 
11318
done
 
11319
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11320
 
 
11321
 
 
11322
# Only perform the check for file, if the check method requires it
 
11323
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
11324
case $deplibs_check_method in
 
11325
file_magic*)
 
11326
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
11327
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
11328
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
11329
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
11330
  $as_echo_n "(cached) " >&6
 
11331
else
 
11332
  case $MAGIC_CMD in
 
11333
[\\/*] |  ?:[\\/]*)
 
11334
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
11335
  ;;
 
11336
*)
 
11337
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
11338
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11339
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
11340
  for ac_dir in $ac_dummy; do
 
11341
    IFS="$lt_save_ifs"
 
11342
    test -z "$ac_dir" && ac_dir=.
 
11343
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
11344
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
11345
      if test -n "$file_magic_test_file"; then
 
11346
        case $deplibs_check_method in
 
11347
        "file_magic "*)
 
11348
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
11349
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11350
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
11351
            $EGREP "$file_magic_regex" > /dev/null; then
 
11352
            :
 
11353
          else
 
11354
            cat <<_LT_EOF 1>&2
 
11355
 
 
11356
*** Warning: the command libtool uses to detect shared libraries,
 
11357
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
11358
*** The result is that libtool may fail to recognize shared libraries
 
11359
*** as such.  This will affect the creation of libtool libraries that
 
11360
*** depend on shared libraries, but programs linked with such libtool
 
11361
*** libraries will work regardless of this problem.  Nevertheless, you
 
11362
*** may want to report the problem to your system manager and/or to
 
11363
*** bug-libtool@gnu.org
 
11364
 
 
11365
_LT_EOF
 
11366
          fi ;;
 
11367
        esac
 
11368
      fi
 
11369
      break
 
11370
    fi
 
11371
  done
 
11372
  IFS="$lt_save_ifs"
 
11373
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
11374
  ;;
 
11375
esac
 
11376
fi
 
11377
 
 
11378
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11379
if test -n "$MAGIC_CMD"; then
 
11380
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
11381
$as_echo "$MAGIC_CMD" >&6; }
 
11382
else
 
11383
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11384
$as_echo "no" >&6; }
 
11385
fi
 
11386
 
 
11387
 
 
11388
 
 
11389
 
 
11390
 
 
11391
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
11392
  if test -n "$ac_tool_prefix"; then
 
11393
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
11394
$as_echo_n "checking for file... " >&6; }
 
11395
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
11396
  $as_echo_n "(cached) " >&6
 
11397
else
 
11398
  case $MAGIC_CMD in
 
11399
[\\/*] |  ?:[\\/]*)
 
11400
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
11401
  ;;
 
11402
*)
 
11403
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
11404
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11405
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
11406
  for ac_dir in $ac_dummy; do
 
11407
    IFS="$lt_save_ifs"
 
11408
    test -z "$ac_dir" && ac_dir=.
 
11409
    if test -f $ac_dir/file; then
 
11410
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
11411
      if test -n "$file_magic_test_file"; then
 
11412
        case $deplibs_check_method in
 
11413
        "file_magic "*)
 
11414
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
11415
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11416
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
11417
            $EGREP "$file_magic_regex" > /dev/null; then
 
11418
            :
 
11419
          else
 
11420
            cat <<_LT_EOF 1>&2
 
11421
 
 
11422
*** Warning: the command libtool uses to detect shared libraries,
 
11423
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
11424
*** The result is that libtool may fail to recognize shared libraries
 
11425
*** as such.  This will affect the creation of libtool libraries that
 
11426
*** depend on shared libraries, but programs linked with such libtool
 
11427
*** libraries will work regardless of this problem.  Nevertheless, you
 
11428
*** may want to report the problem to your system manager and/or to
 
11429
*** bug-libtool@gnu.org
 
11430
 
 
11431
_LT_EOF
 
11432
          fi ;;
 
11433
        esac
 
11434
      fi
 
11435
      break
 
11436
    fi
 
11437
  done
 
11438
  IFS="$lt_save_ifs"
 
11439
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
11440
  ;;
 
11441
esac
 
11442
fi
 
11443
 
 
11444
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11445
if test -n "$MAGIC_CMD"; then
 
11446
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
11447
$as_echo "$MAGIC_CMD" >&6; }
 
11448
else
 
11449
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11450
$as_echo "no" >&6; }
 
11451
fi
 
11452
 
 
11453
 
 
11454
  else
 
11455
    MAGIC_CMD=:
 
11456
  fi
 
11457
fi
 
11458
 
 
11459
  fi
 
11460
  ;;
 
11461
esac
 
11462
 
11058
11463
# Use C for the default configuration in the libtool script
11059
 
tagname=
 
11464
 
11060
11465
lt_save_CC="$CC"
11061
11466
ac_ext=c
11062
11467
ac_cpp='$CPP $CPPFLAGS'
11079
11484
lt_simple_link_test_code='int main(){return(0);}'
11080
11485
 
11081
11486
 
 
11487
 
 
11488
 
 
11489
 
 
11490
 
 
11491
 
11082
11492
# If no C compiler was specified, use CC.
11083
11493
LTCC=${LTCC-"$CC"}
11084
11494
 
11088
11498
# Allow CC to be a program name with arguments.
11089
11499
compiler=$CC
11090
11500
 
 
11501
# Save the default compiler, since it gets overwritten when the other
 
11502
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
11503
compiler_DEFAULT=$CC
11091
11504
 
11092
11505
# save warnings/boilerplate of simple test code
11093
11506
ac_outfile=conftest.$ac_objext
11094
11507
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11095
11508
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11096
11509
_lt_compiler_boilerplate=`cat conftest.err`
11097
 
$rm conftest*
 
11510
$RM conftest*
11098
11511
 
11099
11512
ac_outfile=conftest.$ac_objext
11100
11513
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11101
11514
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11102
11515
_lt_linker_boilerplate=`cat conftest.err`
11103
 
$rm -r conftest*
11104
 
 
11105
 
 
 
11516
$RM -r conftest*
 
11517
 
 
11518
 
 
11519
if test -n "$compiler"; then
11106
11520
 
11107
11521
lt_prog_compiler_no_builtin_flag=
11108
11522
 
11109
11523
if test "$GCC" = yes; then
11110
11524
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
11111
11525
 
11112
 
 
11113
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11114
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
11526
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
11527
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11115
11528
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11529
  $as_echo_n "(cached) " >&6
11117
11530
else
11118
11531
  lt_cv_prog_compiler_rtti_exceptions=no
11119
 
  ac_outfile=conftest.$ac_objext
 
11532
   ac_outfile=conftest.$ac_objext
11120
11533
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11121
11534
   lt_compiler_flag="-fno-rtti -fno-exceptions"
11122
11535
   # Insert the option either (1) after the last *FLAGS variable, or
11128
11541
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11129
11542
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11130
11543
   -e 's:$: $lt_compiler_flag:'`
11131
 
   (eval echo "\"\$as_me:11131: $lt_compile\"" >&5)
 
11544
   (eval echo "\"\$as_me:11544: $lt_compile\"" >&5)
11132
11545
   (eval "$lt_compile" 2>conftest.err)
11133
11546
   ac_status=$?
11134
11547
   cat conftest.err >&5
11135
 
   echo "$as_me:11135: \$? = $ac_status" >&5
 
11548
   echo "$as_me:11548: \$? = $ac_status" >&5
11136
11549
   if (exit $ac_status) && test -s "$ac_outfile"; then
11137
11550
     # The compiler can only warn and ignore the option if not recognized
11138
11551
     # So say no if there are warnings other than the usual output.
11139
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11552
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11140
11553
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11141
11554
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11142
11555
       lt_cv_prog_compiler_rtti_exceptions=yes
11143
11556
     fi
11144
11557
   fi
11145
 
   $rm conftest*
 
11558
   $RM conftest*
11146
11559
 
11147
11560
fi
11148
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11149
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
11561
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
11562
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11150
11563
 
11151
11564
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11152
11565
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11156
11569
 
11157
11570
fi
11158
11571
 
11159
 
lt_prog_compiler_wl=
 
11572
 
 
11573
 
 
11574
 
 
11575
 
 
11576
 
 
11577
  lt_prog_compiler_wl=
11160
11578
lt_prog_compiler_pic=
11161
11579
lt_prog_compiler_static=
11162
11580
 
11163
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11164
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
11581
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
11582
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11165
11583
 
11166
11584
  if test "$GCC" = yes; then
11167
11585
    lt_prog_compiler_wl='-Wl,'
11177
11595
      ;;
11178
11596
 
11179
11597
    amigaos*)
11180
 
      # FIXME: we need at least 68020 code to build shared libraries, but
11181
 
      # adding the `-m68020' flag to GCC prevents building anything better,
11182
 
      # like `-m68040'.
11183
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
11598
      case $host_cpu in
 
11599
      powerpc)
 
11600
            # see comment about AmigaOS4 .so support
 
11601
            lt_prog_compiler_pic='-fPIC'
 
11602
        ;;
 
11603
      m68k)
 
11604
            # FIXME: we need at least 68020 code to build shared libraries, but
 
11605
            # adding the `-m68020' flag to GCC prevents building anything better,
 
11606
            # like `-m68040'.
 
11607
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
11608
        ;;
 
11609
      esac
11184
11610
      ;;
11185
11611
 
11186
11612
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11187
11613
      # PIC is the default for these OSes.
11188
11614
      ;;
11189
11615
 
11190
 
    mingw* | cygwin* | pw32* | os2*)
 
11616
    mingw* | cygwin* | pw32* | os2* | cegcc*)
11191
11617
      # This hack is so that the source file can tell whether it is being
11192
11618
      # built for inclusion in a dll (and should export symbols for example).
11193
11619
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
11201
11627
      lt_prog_compiler_pic='-fno-common'
11202
11628
      ;;
11203
11629
 
 
11630
    hpux*)
 
11631
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
11632
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
11633
      # sets the default TLS model and affects inlining.
 
11634
      case $host_cpu in
 
11635
      hppa*64*)
 
11636
        # +Z the default
 
11637
        ;;
 
11638
      *)
 
11639
        lt_prog_compiler_pic='-fPIC'
 
11640
        ;;
 
11641
      esac
 
11642
      ;;
 
11643
 
11204
11644
    interix[3-9]*)
11205
11645
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11206
11646
      # Instead, we relocate shared libraries at runtime.
11213
11653
      enable_shared=no
11214
11654
      ;;
11215
11655
 
 
11656
    *nto* | *qnx*)
 
11657
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11658
      # it will coredump.
 
11659
      lt_prog_compiler_pic='-fPIC -shared'
 
11660
      ;;
 
11661
 
11216
11662
    sysv4*MP*)
11217
11663
      if test -d /usr/nec; then
11218
11664
        lt_prog_compiler_pic=-Kconform_pic
11219
11665
      fi
11220
11666
      ;;
11221
11667
 
11222
 
    hpux*)
11223
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11224
 
      # not for PA HP-UX.
11225
 
      case $host_cpu in
11226
 
      hppa*64*|ia64*)
11227
 
        # +Z the default
11228
 
        ;;
11229
 
      *)
11230
 
        lt_prog_compiler_pic='-fPIC'
11231
 
        ;;
11232
 
      esac
11233
 
      ;;
11234
 
 
11235
11668
    *)
11236
11669
      lt_prog_compiler_pic='-fPIC'
11237
11670
      ;;
11248
11681
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11249
11682
      fi
11250
11683
      ;;
11251
 
      darwin*)
11252
 
        # PIC is the default on this platform
11253
 
        # Common symbols not allowed in MH_DYLIB files
11254
 
       case $cc_basename in
11255
 
         xlc*)
11256
 
         lt_prog_compiler_pic='-qnocommon'
11257
 
         lt_prog_compiler_wl='-Wl,'
11258
 
         ;;
11259
 
       esac
11260
 
       ;;
11261
11684
 
11262
 
    mingw* | cygwin* | pw32* | os2*)
 
11685
    mingw* | cygwin* | pw32* | os2* | cegcc*)
11263
11686
      # This hack is so that the source file can tell whether it is being
11264
11687
      # built for inclusion in a dll (and should export symbols for example).
11265
11688
      lt_prog_compiler_pic='-DDLL_EXPORT'
11287
11710
      lt_prog_compiler_static='-non_shared'
11288
11711
      ;;
11289
11712
 
11290
 
    newsos6)
11291
 
      lt_prog_compiler_pic='-KPIC'
11292
 
      lt_prog_compiler_static='-Bstatic'
11293
 
      ;;
11294
 
 
11295
11713
    linux* | k*bsd*-gnu)
11296
11714
      case $cc_basename in
11297
 
      icc* | ecc*)
 
11715
      # old Intel for x86_64 which still supported -KPIC.
 
11716
      ecc*)
11298
11717
        lt_prog_compiler_wl='-Wl,'
11299
11718
        lt_prog_compiler_pic='-KPIC'
11300
11719
        lt_prog_compiler_static='-static'
11301
11720
        ;;
 
11721
      # icc used to be incompatible with GCC.
 
11722
      # ICC 10 doesn't accept -KPIC any more.
 
11723
      icc* | ifort*)
 
11724
        lt_prog_compiler_wl='-Wl,'
 
11725
        lt_prog_compiler_pic='-fPIC'
 
11726
        lt_prog_compiler_static='-static'
 
11727
        ;;
 
11728
      # Lahey Fortran 8.1.
 
11729
      lf95*)
 
11730
        lt_prog_compiler_wl='-Wl,'
 
11731
        lt_prog_compiler_pic='--shared'
 
11732
        lt_prog_compiler_static='--static'
 
11733
        ;;
11302
11734
      pgcc* | pgf77* | pgf90* | pgf95*)
11303
11735
        # Portland Group compilers (*not* the Pentium gcc compiler,
11304
11736
        # which looks to be a dead project)
11311
11743
        # All Alpha code is PIC.
11312
11744
        lt_prog_compiler_static='-non_shared'
11313
11745
        ;;
 
11746
      xl*)
 
11747
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
11748
        lt_prog_compiler_wl='-Wl,'
 
11749
        lt_prog_compiler_pic='-qpic'
 
11750
        lt_prog_compiler_static='-qstaticlink'
 
11751
        ;;
11314
11752
      *)
11315
 
        case `$CC -V 2>&1 | sed 5q` in
 
11753
        case `$CC -V 2>&1 | sed 5q` in
11316
11754
        *Sun\ C*)
11317
11755
          # Sun C 5.9
11318
11756
          lt_prog_compiler_pic='-KPIC'
11330
11768
      esac
11331
11769
      ;;
11332
11770
 
 
11771
    newsos6)
 
11772
      lt_prog_compiler_pic='-KPIC'
 
11773
      lt_prog_compiler_static='-Bstatic'
 
11774
      ;;
 
11775
 
 
11776
    *nto* | *qnx*)
 
11777
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11778
      # it will coredump.
 
11779
      lt_prog_compiler_pic='-fPIC -shared'
 
11780
      ;;
 
11781
 
11333
11782
    osf3* | osf4* | osf5*)
11334
11783
      lt_prog_compiler_wl='-Wl,'
11335
11784
      # All OSF/1 code is PIC.
11392
11841
    esac
11393
11842
  fi
11394
11843
 
11395
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11396
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
11844
case $host_os in
 
11845
  # For platforms which do not support PIC, -DPIC is meaningless:
 
11846
  *djgpp*)
 
11847
    lt_prog_compiler_pic=
 
11848
    ;;
 
11849
  *)
 
11850
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
11851
    ;;
 
11852
esac
 
11853
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
11854
$as_echo "$lt_prog_compiler_pic" >&6; }
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
11397
11860
 
11398
11861
#
11399
11862
# Check to make sure the PIC flag actually works.
11400
11863
#
11401
11864
if test -n "$lt_prog_compiler_pic"; then
11402
 
 
11403
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11404
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
11865
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
11866
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11405
11867
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
11406
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11868
  $as_echo_n "(cached) " >&6
11407
11869
else
11408
11870
  lt_cv_prog_compiler_pic_works=no
11409
 
  ac_outfile=conftest.$ac_objext
 
11871
   ac_outfile=conftest.$ac_objext
11410
11872
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11411
11873
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11412
11874
   # Insert the option either (1) after the last *FLAGS variable, or
11418
11880
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11419
11881
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11420
11882
   -e 's:$: $lt_compiler_flag:'`
11421
 
   (eval echo "\"\$as_me:11421: $lt_compile\"" >&5)
 
11883
   (eval echo "\"\$as_me:11883: $lt_compile\"" >&5)
11422
11884
   (eval "$lt_compile" 2>conftest.err)
11423
11885
   ac_status=$?
11424
11886
   cat conftest.err >&5
11425
 
   echo "$as_me:11425: \$? = $ac_status" >&5
 
11887
   echo "$as_me:11887: \$? = $ac_status" >&5
11426
11888
   if (exit $ac_status) && test -s "$ac_outfile"; then
11427
11889
     # The compiler can only warn and ignore the option if not recognized
11428
11890
     # So say no if there are warnings other than the usual output.
11429
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11891
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11430
11892
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11431
11893
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11432
11894
       lt_cv_prog_compiler_pic_works=yes
11433
11895
     fi
11434
11896
   fi
11435
 
   $rm conftest*
 
11897
   $RM conftest*
11436
11898
 
11437
11899
fi
11438
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
11439
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
11900
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
11901
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11440
11902
 
11441
11903
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11442
11904
    case $lt_prog_compiler_pic in
11449
11911
fi
11450
11912
 
11451
11913
fi
11452
 
case $host_os in
11453
 
  # For platforms which do not support PIC, -DPIC is meaningless:
11454
 
  *djgpp*)
11455
 
    lt_prog_compiler_pic=
11456
 
    ;;
11457
 
  *)
11458
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11459
 
    ;;
11460
 
esac
 
11914
 
 
11915
 
 
11916
 
 
11917
 
 
11918
 
11461
11919
 
11462
11920
#
11463
11921
# Check to make sure the static flag actually works.
11464
11922
#
11465
11923
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11466
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11467
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
11924
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
11925
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11468
11926
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
11469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11927
  $as_echo_n "(cached) " >&6
11470
11928
else
11471
11929
  lt_cv_prog_compiler_static_works=no
11472
11930
   save_LDFLAGS="$LDFLAGS"
11478
11936
     if test -s conftest.err; then
11479
11937
       # Append any errors to the config.log.
11480
11938
       cat conftest.err 1>&5
11481
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
11939
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11482
11940
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11483
11941
       if diff conftest.exp conftest.er2 >/dev/null; then
11484
11942
         lt_cv_prog_compiler_static_works=yes
11487
11945
       lt_cv_prog_compiler_static_works=yes
11488
11946
     fi
11489
11947
   fi
11490
 
   $rm -r conftest*
 
11948
   $RM -r conftest*
11491
11949
   LDFLAGS="$save_LDFLAGS"
11492
11950
 
11493
11951
fi
11494
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
11495
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
11952
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
11953
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11496
11954
 
11497
11955
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11498
11956
    :
11501
11959
fi
11502
11960
 
11503
11961
 
11504
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11505
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11506
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11508
 
else
11509
 
  lt_cv_prog_compiler_c_o=no
11510
 
   $rm -r conftest 2>/dev/null
11511
 
   mkdir conftest
11512
 
   cd conftest
11513
 
   mkdir out
11514
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11515
 
 
11516
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11517
 
   # Insert the option either (1) after the last *FLAGS variable, or
11518
 
   # (2) before a word containing "conftest.", or (3) at the end.
11519
 
   # Note that $ac_compile itself does not contain backslashes and begins
11520
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11521
 
   lt_compile=`echo "$ac_compile" | $SED \
11522
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11523
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11524
 
   -e 's:$: $lt_compiler_flag:'`
11525
 
   (eval echo "\"\$as_me:11525: $lt_compile\"" >&5)
11526
 
   (eval "$lt_compile" 2>out/conftest.err)
11527
 
   ac_status=$?
11528
 
   cat out/conftest.err >&5
11529
 
   echo "$as_me:11529: \$? = $ac_status" >&5
11530
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11531
 
   then
11532
 
     # The compiler can only warn and ignore the option if not recognized
11533
 
     # So say no if there are warnings
11534
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11535
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11536
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11537
 
       lt_cv_prog_compiler_c_o=yes
11538
 
     fi
11539
 
   fi
11540
 
   chmod u+w . 2>&5
11541
 
   $rm conftest*
11542
 
   # SGI C++ compiler will create directory out/ii_files/ for
11543
 
   # template instantiation
11544
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11545
 
   $rm out/* && rmdir out
11546
 
   cd ..
11547
 
   rmdir conftest
11548
 
   $rm conftest*
11549
 
 
11550
 
fi
11551
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11552
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
11962
 
 
11963
 
 
11964
 
 
11965
 
 
11966
 
 
11967
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11968
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11969
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
11970
  $as_echo_n "(cached) " >&6
 
11971
else
 
11972
  lt_cv_prog_compiler_c_o=no
 
11973
   $RM -r conftest 2>/dev/null
 
11974
   mkdir conftest
 
11975
   cd conftest
 
11976
   mkdir out
 
11977
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11978
 
 
11979
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11980
   # Insert the option either (1) after the last *FLAGS variable, or
 
11981
   # (2) before a word containing "conftest.", or (3) at the end.
 
11982
   # Note that $ac_compile itself does not contain backslashes and begins
 
11983
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11984
   lt_compile=`echo "$ac_compile" | $SED \
 
11985
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11986
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11987
   -e 's:$: $lt_compiler_flag:'`
 
11988
   (eval echo "\"\$as_me:11988: $lt_compile\"" >&5)
 
11989
   (eval "$lt_compile" 2>out/conftest.err)
 
11990
   ac_status=$?
 
11991
   cat out/conftest.err >&5
 
11992
   echo "$as_me:11992: \$? = $ac_status" >&5
 
11993
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11994
   then
 
11995
     # The compiler can only warn and ignore the option if not recognized
 
11996
     # So say no if there are warnings
 
11997
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11998
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11999
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12000
       lt_cv_prog_compiler_c_o=yes
 
12001
     fi
 
12002
   fi
 
12003
   chmod u+w . 2>&5
 
12004
   $RM conftest*
 
12005
   # SGI C++ compiler will create directory out/ii_files/ for
 
12006
   # template instantiation
 
12007
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
12008
   $RM out/* && rmdir out
 
12009
   cd ..
 
12010
   $RM -r conftest
 
12011
   $RM conftest*
 
12012
 
 
12013
fi
 
12014
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
12015
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
12016
 
 
12017
 
 
12018
 
 
12019
 
 
12020
 
 
12021
 
 
12022
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12023
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
12024
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
12025
  $as_echo_n "(cached) " >&6
 
12026
else
 
12027
  lt_cv_prog_compiler_c_o=no
 
12028
   $RM -r conftest 2>/dev/null
 
12029
   mkdir conftest
 
12030
   cd conftest
 
12031
   mkdir out
 
12032
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12033
 
 
12034
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
12035
   # Insert the option either (1) after the last *FLAGS variable, or
 
12036
   # (2) before a word containing "conftest.", or (3) at the end.
 
12037
   # Note that $ac_compile itself does not contain backslashes and begins
 
12038
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
12039
   lt_compile=`echo "$ac_compile" | $SED \
 
12040
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
12041
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
12042
   -e 's:$: $lt_compiler_flag:'`
 
12043
   (eval echo "\"\$as_me:12043: $lt_compile\"" >&5)
 
12044
   (eval "$lt_compile" 2>out/conftest.err)
 
12045
   ac_status=$?
 
12046
   cat out/conftest.err >&5
 
12047
   echo "$as_me:12047: \$? = $ac_status" >&5
 
12048
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
12049
   then
 
12050
     # The compiler can only warn and ignore the option if not recognized
 
12051
     # So say no if there are warnings
 
12052
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
12053
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12054
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12055
       lt_cv_prog_compiler_c_o=yes
 
12056
     fi
 
12057
   fi
 
12058
   chmod u+w . 2>&5
 
12059
   $RM conftest*
 
12060
   # SGI C++ compiler will create directory out/ii_files/ for
 
12061
   # template instantiation
 
12062
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
12063
   $RM out/* && rmdir out
 
12064
   cd ..
 
12065
   $RM -r conftest
 
12066
   $RM conftest*
 
12067
 
 
12068
fi
 
12069
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
12070
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
12071
 
 
12072
 
11553
12073
 
11554
12074
 
11555
12075
hard_links="nottested"
11556
12076
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11557
12077
  # do not overwrite the value of need_locks provided by the user
11558
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11559
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
12078
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12079
$as_echo_n "checking if we can lock with hard links... " >&6; }
11560
12080
  hard_links=yes
11561
 
  $rm conftest*
 
12081
  $RM conftest*
11562
12082
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11563
12083
  touch conftest.a
11564
12084
  ln conftest.a conftest.b 2>&5 || hard_links=no
11565
12085
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11566
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
11567
 
echo "${ECHO_T}$hard_links" >&6; }
 
12086
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
12087
$as_echo "$hard_links" >&6; }
11568
12088
  if test "$hard_links" = no; then
11569
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11570
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
12089
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
12090
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11571
12091
    need_locks=warn
11572
12092
  fi
11573
12093
else
11574
12094
  need_locks=no
11575
12095
fi
11576
12096
 
11577
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11578
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12103
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11579
12104
 
11580
12105
  runpath_var=
11581
12106
  allow_undefined_flag=
11582
 
  enable_shared_with_static_runtimes=no
 
12107
  always_export_symbols=no
11583
12108
  archive_cmds=
11584
12109
  archive_expsym_cmds=
11585
 
  old_archive_From_new_cmds=
11586
 
  old_archive_from_expsyms_cmds=
 
12110
  compiler_needs_object=no
 
12111
  enable_shared_with_static_runtimes=no
11587
12112
  export_dynamic_flag_spec=
11588
 
  whole_archive_flag_spec=
11589
 
  thread_safe_flag_spec=
 
12113
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
12114
  hardcode_automatic=no
 
12115
  hardcode_direct=no
 
12116
  hardcode_direct_absolute=no
11590
12117
  hardcode_libdir_flag_spec=
11591
12118
  hardcode_libdir_flag_spec_ld=
11592
12119
  hardcode_libdir_separator=
11593
 
  hardcode_direct=no
11594
12120
  hardcode_minus_L=no
11595
12121
  hardcode_shlibpath_var=unsupported
 
12122
  inherit_rpath=no
11596
12123
  link_all_deplibs=unknown
11597
 
  hardcode_automatic=no
11598
12124
  module_cmds=
11599
12125
  module_expsym_cmds=
11600
 
  always_export_symbols=no
11601
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
12126
  old_archive_from_new_cmds=
 
12127
  old_archive_from_expsyms_cmds=
 
12128
  thread_safe_flag_spec=
 
12129
  whole_archive_flag_spec=
11602
12130
  # include_expsyms should be a list of space-separated symbols to be *always*
11603
12131
  # included in the symbol list
11604
12132
  include_expsyms=
11614
12142
  # preloaded symbol tables.
11615
12143
  # Exclude shared library initialization/finalization symbols.
11616
12144
  extract_expsyms_cmds=
11617
 
  # Just being paranoid about ensuring that cc_basename is set.
11618
 
  for cc_temp in $compiler""; do
11619
 
  case $cc_temp in
11620
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11621
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11622
 
    \-*) ;;
11623
 
    *) break;;
11624
 
  esac
11625
 
done
11626
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11627
12145
 
11628
12146
  case $host_os in
11629
 
  cygwin* | mingw* | pw32*)
 
12147
  cygwin* | mingw* | pw32* | cegcc*)
11630
12148
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
11631
12149
    # When not using gcc, we currently assume that we are using
11632
12150
    # Microsoft Visual C++.
11652
12170
    # are reset later if shared libraries are not supported. Putting them
11653
12171
    # here allows them to be overridden if necessary.
11654
12172
    runpath_var=LD_RUN_PATH
11655
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
12173
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11656
12174
    export_dynamic_flag_spec='${wl}--export-dynamic'
11657
12175
    # ancient GNU ld didn't support --whole-archive et. al.
11658
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
11659
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11660
 
      else
11661
 
        whole_archive_flag_spec=
 
12176
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
12177
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12178
    else
 
12179
      whole_archive_flag_spec=
11662
12180
    fi
11663
12181
    supports_anon_versioning=no
11664
 
    case `$LD -v 2>/dev/null` in
 
12182
    case `$LD -v 2>&1` in
11665
12183
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11666
12184
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11667
12185
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11675
12193
      # On AIX/PPC, the GNU linker is very broken
11676
12194
      if test "$host_cpu" != ia64; then
11677
12195
        ld_shlibs=no
11678
 
        cat <<EOF 1>&2
 
12196
        cat <<_LT_EOF 1>&2
11679
12197
 
11680
12198
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11681
12199
*** to be unable to reliably create shared libraries on AIX.
11683
12201
*** really care for shared libraries, you may want to modify your PATH
11684
12202
*** so that a non-GNU linker is found, and then restart.
11685
12203
 
11686
 
EOF
 
12204
_LT_EOF
11687
12205
      fi
11688
12206
      ;;
11689
12207
 
11690
12208
    amigaos*)
11691
 
      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)'
11692
 
      hardcode_libdir_flag_spec='-L$libdir'
11693
 
      hardcode_minus_L=yes
11694
 
 
11695
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11696
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
11697
 
      # to version 4, is to share data among multiple programs linked
11698
 
      # with the same dynamic library.  Since this doesn't match the
11699
 
      # behavior of shared libraries on other platforms, we can't use
11700
 
      # them.
11701
 
      ld_shlibs=no
 
12209
      case $host_cpu in
 
12210
      powerpc)
 
12211
            # see comment about AmigaOS4 .so support
 
12212
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12213
            archive_expsym_cmds=''
 
12214
        ;;
 
12215
      m68k)
 
12216
            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)'
 
12217
            hardcode_libdir_flag_spec='-L$libdir'
 
12218
            hardcode_minus_L=yes
 
12219
        ;;
 
12220
      esac
11702
12221
      ;;
11703
12222
 
11704
12223
    beos*)
11705
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12224
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11706
12225
        allow_undefined_flag=unsupported
11707
12226
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11708
12227
        # support --undefined.  This deserves some investigation.  FIXME
11712
12231
      fi
11713
12232
      ;;
11714
12233
 
11715
 
    cygwin* | mingw* | pw32*)
11716
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
12234
    cygwin* | mingw* | pw32* | cegcc*)
 
12235
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11717
12236
      # as there is no search path for DLLs.
11718
12237
      hardcode_libdir_flag_spec='-L$libdir'
11719
12238
      allow_undefined_flag=unsupported
11720
12239
      always_export_symbols=no
11721
12240
      enable_shared_with_static_runtimes=yes
11722
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
12241
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11723
12242
 
11724
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
12243
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11725
12244
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11726
12245
        # If the export-symbols file already is a .def file (1st line
11727
12246
        # is EXPORTS), use it as is; otherwise, prepend...
11752
12271
      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'
11753
12272
      ;;
11754
12273
 
11755
 
    gnu* | linux* | k*bsd*-gnu)
11756
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12274
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
12275
      tmp_diet=no
 
12276
      if test "$host_os" = linux-dietlibc; then
 
12277
        case $cc_basename in
 
12278
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
12279
        esac
 
12280
      fi
 
12281
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
12282
         && test "$tmp_diet" = no
 
12283
      then
11757
12284
        tmp_addflag=
 
12285
        tmp_sharedflag='-shared'
11758
12286
        case $cc_basename,$host_cpu in
11759
 
        pgcc*)                          # Portland Group C compiler
11760
 
          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'
 
12287
        pgcc*)                          # Portland Group C compiler
 
12288
          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'
11761
12289
          tmp_addflag=' $pic_flag'
11762
12290
          ;;
11763
12291
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
11764
 
          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'
 
12292
          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'
11765
12293
          tmp_addflag=' $pic_flag -Mnomain' ;;
11766
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
12294
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11767
12295
          tmp_addflag=' -i_dynamic' ;;
11768
12296
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11769
12297
          tmp_addflag=' -i_dynamic -nofor_main' ;;
11770
12298
        ifc* | ifort*)                  # Intel Fortran compiler
11771
12299
          tmp_addflag=' -nofor_main' ;;
 
12300
        lf95*)                          # Lahey Fortran 8.1
 
12301
          whole_archive_flag_spec=
 
12302
          tmp_sharedflag='--shared' ;;
 
12303
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
12304
          tmp_sharedflag='-qmkshrobj'
 
12305
          tmp_addflag= ;;
11772
12306
        esac
11773
12307
        case `$CC -V 2>&1 | sed 5q` in
11774
12308
        *Sun\ C*)                       # Sun C 5.9
11775
 
          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'
 
12309
          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'
 
12310
          compiler_needs_object=yes
11776
12311
          tmp_sharedflag='-G' ;;
11777
12312
        *Sun\ F*)                       # Sun Fortran 8.3
11778
12313
          tmp_sharedflag='-G' ;;
11779
 
        *)
11780
 
          tmp_sharedflag='-shared' ;;
11781
12314
        esac
11782
12315
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11783
12316
 
11784
 
        if test $supports_anon_versioning = yes; then
11785
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
11786
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11787
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
11788
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11789
 
        fi
11790
 
        link_all_deplibs=no
 
12317
        if test "x$supports_anon_versioning" = xyes; then
 
12318
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
12319
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
12320
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
12321
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
12322
        fi
 
12323
 
 
12324
        case $cc_basename in
 
12325
        xlf*)
 
12326
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
12327
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
12328
          hardcode_libdir_flag_spec=
 
12329
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
12330
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
12331
          if test "x$supports_anon_versioning" = xyes; then
 
12332
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
12333
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
12334
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
12335
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
12336
          fi
 
12337
          ;;
 
12338
        esac
11791
12339
      else
11792
 
        ld_shlibs=no
 
12340
        ld_shlibs=no
11793
12341
      fi
11794
12342
      ;;
11795
12343
 
11796
 
    netbsd* | netbsdelf*-gnu)
11797
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
12344
    netbsd*)
 
12345
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11798
12346
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11799
12347
        wlarc=
11800
12348
      else
11804
12352
      ;;
11805
12353
 
11806
12354
    solaris*)
11807
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
12355
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11808
12356
        ld_shlibs=no
11809
 
        cat <<EOF 1>&2
 
12357
        cat <<_LT_EOF 1>&2
11810
12358
 
11811
12359
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11812
12360
*** create shared libraries on Solaris systems.  Therefore, libtool
11815
12363
*** your PATH or compiler configuration so that the native linker is
11816
12364
*** used, and then restart.
11817
12365
 
11818
 
EOF
11819
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12366
_LT_EOF
 
12367
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11820
12368
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11821
12369
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11822
12370
      else
11840
12388
_LT_EOF
11841
12389
        ;;
11842
12390
        *)
11843
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11844
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
11845
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
11846
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
12391
          # For security reasons, it is highly recommended that you always
 
12392
          # use absolute paths for naming shared libraries, and exclude the
 
12393
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
12394
          # requires that you compile everything twice, which is a pain.
 
12395
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12396
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12397
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12398
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11847
12399
          else
11848
12400
            ld_shlibs=no
11849
12401
          fi
11859
12411
      ;;
11860
12412
 
11861
12413
    *)
11862
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12414
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11863
12415
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11864
12416
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11865
12417
      else
11901
12453
      else
11902
12454
        # If we're using GNU nm, then we don't want the "-C" option.
11903
12455
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
11904
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11905
 
          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'
 
12456
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
12457
          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'
11906
12458
        else
11907
 
          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'
 
12459
          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'
11908
12460
        fi
11909
12461
        aix_use_runtimelinking=no
11910
12462
 
11913
12465
        # need to do runtime linking.
11914
12466
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11915
12467
          for ld_flag in $LDFLAGS; do
11916
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11917
 
            aix_use_runtimelinking=yes
11918
 
            break
11919
 
          fi
 
12468
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
12469
            aix_use_runtimelinking=yes
 
12470
            break
 
12471
          fi
11920
12472
          done
11921
12473
          ;;
11922
12474
        esac
11933
12485
 
11934
12486
      archive_cmds=''
11935
12487
      hardcode_direct=yes
 
12488
      hardcode_direct_absolute=yes
11936
12489
      hardcode_libdir_separator=':'
11937
12490
      link_all_deplibs=yes
 
12491
      file_list_spec='${wl}-f,'
11938
12492
 
11939
12493
      if test "$GCC" = yes; then
11940
12494
        case $host_os in aix4.[012]|aix4.[012].*)
11941
12495
        # We only want to do this on AIX 4.2 and lower, the check
11942
12496
        # below for broken collect2 doesn't work under 4.3+
11943
12497
          collect2name=`${CC} -print-prog-name=collect2`
11944
 
          if test -f "$collect2name" && \
11945
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
12498
          if test -f "$collect2name" &&
 
12499
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11946
12500
          then
11947
 
          # We have reworked collect2
11948
 
          :
 
12501
          # We have reworked collect2
 
12502
          :
11949
12503
          else
11950
 
          # We have old collect2
11951
 
          hardcode_direct=unsupported
11952
 
          # It fails to find uninstalled libraries when the uninstalled
11953
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11954
 
          # to unsupported forces relinking
11955
 
          hardcode_minus_L=yes
11956
 
          hardcode_libdir_flag_spec='-L$libdir'
11957
 
          hardcode_libdir_separator=
 
12504
          # We have old collect2
 
12505
          hardcode_direct=unsupported
 
12506
          # It fails to find uninstalled libraries when the uninstalled
 
12507
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
12508
          # to unsupported forces relinking
 
12509
          hardcode_minus_L=yes
 
12510
          hardcode_libdir_flag_spec='-L$libdir'
 
12511
          hardcode_libdir_separator=
11958
12512
          fi
11959
12513
          ;;
11960
12514
        esac
11965
12519
      else
11966
12520
        # not using gcc
11967
12521
        if test "$host_cpu" = ia64; then
11968
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11969
 
        # chokes on -Wl,-G. The following line is correct:
 
12522
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12523
        # chokes on -Wl,-G. The following line is correct:
11970
12524
          shared_flag='-G'
11971
12525
        else
11972
12526
          if test "$aix_use_runtimelinking" = yes; then
11977
12531
        fi
11978
12532
      fi
11979
12533
 
 
12534
      export_dynamic_flag_spec='${wl}-bexpall'
11980
12535
      # It seems that -bexpall does not export symbols beginning with
11981
12536
      # underscore (_), so it is better to generate a list of symbols to export.
11982
12537
      always_export_symbols=yes
11984
12539
        # Warning - without using the other runtime loading flags (-brtl),
11985
12540
        # -berok will link without error, but may produce a broken library.
11986
12541
        allow_undefined_flag='-berok'
11987
 
       # Determine the default libpath from the value encoded in an empty executable.
11988
 
       cat >conftest.$ac_ext <<_ACEOF
 
12542
        # Determine the default libpath from the value encoded in an
 
12543
        # empty executable.
 
12544
        cat >conftest.$ac_ext <<_ACEOF
11989
12545
/* confdefs.h.  */
11990
12546
_ACEOF
11991
12547
cat confdefs.h >>conftest.$ac_ext
12006
12562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12007
12563
  *) ac_try_echo=$ac_try;;
12008
12564
esac
12009
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12566
$as_echo "$ac_try_echo") >&5
12010
12567
  (eval "$ac_link") 2>conftest.er1
12011
12568
  ac_status=$?
12012
12569
  grep -v '^ *+' conftest.er1 >conftest.err
12013
12570
  rm -f conftest.er1
12014
12571
  cat conftest.err >&5
12015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016
12573
  (exit $ac_status); } && {
12017
12574
         test -z "$ac_c_werror_flag" ||
12018
12575
         test ! -s conftest.err
12019
 
       } && test -s conftest$ac_exeext &&
12020
 
       $as_test_x conftest$ac_exeext; then
 
12576
       } && test -s conftest$ac_exeext && {
 
12577
         test "$cross_compiling" = yes ||
 
12578
         $as_test_x conftest$ac_exeext
 
12579
       }; then
12021
12580
 
12022
12581
lt_aix_libpath_sed='
12023
12582
    /Import File Strings/,/^$/ {
12032
12591
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12033
12592
fi
12034
12593
else
12035
 
  echo "$as_me: failed program was:" >&5
 
12594
  $as_echo "$as_me: failed program was:" >&5
12036
12595
sed 's/^/| /' conftest.$ac_ext >&5
12037
12596
 
12038
12597
 
12039
12598
fi
12040
12599
 
 
12600
rm -rf conftest.dSYM
12041
12601
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12042
12602
      conftest$ac_exeext conftest.$ac_ext
12043
12603
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12044
12604
 
12045
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12046
 
        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"
12047
 
       else
 
12605
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12606
        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"
 
12607
      else
12048
12608
        if test "$host_cpu" = ia64; then
12049
12609
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12050
12610
          allow_undefined_flag="-z nodefs"
12051
12611
          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"
12052
12612
        else
12053
 
         # Determine the default libpath from the value encoded in an empty executable.
 
12613
         # Determine the default libpath from the value encoded in an
 
12614
         # empty executable.
12054
12615
         cat >conftest.$ac_ext <<_ACEOF
12055
12616
/* confdefs.h.  */
12056
12617
_ACEOF
12072
12633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12073
12634
  *) ac_try_echo=$ac_try;;
12074
12635
esac
12075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12636
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12637
$as_echo "$ac_try_echo") >&5
12076
12638
  (eval "$ac_link") 2>conftest.er1
12077
12639
  ac_status=$?
12078
12640
  grep -v '^ *+' conftest.er1 >conftest.err
12079
12641
  rm -f conftest.er1
12080
12642
  cat conftest.err >&5
12081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12643
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082
12644
  (exit $ac_status); } && {
12083
12645
         test -z "$ac_c_werror_flag" ||
12084
12646
         test ! -s conftest.err
12085
 
       } && test -s conftest$ac_exeext &&
12086
 
       $as_test_x conftest$ac_exeext; then
 
12647
       } && test -s conftest$ac_exeext && {
 
12648
         test "$cross_compiling" = yes ||
 
12649
         $as_test_x conftest$ac_exeext
 
12650
       }; then
12087
12651
 
12088
12652
lt_aix_libpath_sed='
12089
12653
    /Import File Strings/,/^$/ {
12098
12662
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12099
12663
fi
12100
12664
else
12101
 
  echo "$as_me: failed program was:" >&5
 
12665
  $as_echo "$as_me: failed program was:" >&5
12102
12666
sed 's/^/| /' conftest.$ac_ext >&5
12103
12667
 
12104
12668
 
12105
12669
fi
12106
12670
 
 
12671
rm -rf conftest.dSYM
12107
12672
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12108
12673
      conftest$ac_exeext conftest.$ac_ext
12109
12674
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12123
12688
      ;;
12124
12689
 
12125
12690
    amigaos*)
12126
 
      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)'
12127
 
      hardcode_libdir_flag_spec='-L$libdir'
12128
 
      hardcode_minus_L=yes
12129
 
      # see comment about different semantics on the GNU ld section
12130
 
      ld_shlibs=no
 
12691
      case $host_cpu in
 
12692
      powerpc)
 
12693
            # see comment about AmigaOS4 .so support
 
12694
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12695
            archive_expsym_cmds=''
 
12696
        ;;
 
12697
      m68k)
 
12698
            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)'
 
12699
            hardcode_libdir_flag_spec='-L$libdir'
 
12700
            hardcode_minus_L=yes
 
12701
        ;;
 
12702
      esac
12131
12703
      ;;
12132
12704
 
12133
12705
    bsdi[45]*)
12134
12706
      export_dynamic_flag_spec=-rdynamic
12135
12707
      ;;
12136
12708
 
12137
 
    cygwin* | mingw* | pw32*)
 
12709
    cygwin* | mingw* | pw32* | cegcc*)
12138
12710
      # When not using gcc, we currently assume that we are using
12139
12711
      # Microsoft Visual C++.
12140
12712
      # hardcode_libdir_flag_spec is actually meaningless, as there is
12146
12718
      # Tell ltmain to make .dll files, not .so files.
12147
12719
      shrext_cmds=".dll"
12148
12720
      # FIXME: Setting linknames here is a bad hack.
12149
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
12721
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12150
12722
      # The linker will automatically build a .lib file if we build a DLL.
12151
 
      old_archive_From_new_cmds='true'
 
12723
      old_archive_from_new_cmds='true'
12152
12724
      # FIXME: Should let the user specify the lib program.
12153
12725
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12154
12726
      fix_srcfile_path='`cygpath -w "$srcfile"`'
12156
12728
      ;;
12157
12729
 
12158
12730
    darwin* | rhapsody*)
12159
 
      case $host_os in
12160
 
        rhapsody* | darwin1.[012])
12161
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
12162
 
         ;;
12163
 
       *) # Darwin 1.3 on
12164
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12165
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12166
 
         else
12167
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12168
 
             10.[012])
12169
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12170
 
               ;;
12171
 
             10.*)
12172
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
12173
 
               ;;
12174
 
           esac
12175
 
         fi
12176
 
         ;;
12177
 
      esac
12178
 
      archive_cmds_need_lc=no
12179
 
      hardcode_direct=no
12180
 
      hardcode_automatic=yes
12181
 
      hardcode_shlibpath_var=unsupported
12182
 
      whole_archive_flag_spec=''
12183
 
      link_all_deplibs=yes
12184
 
    if test "$GCC" = yes ; then
12185
 
        output_verbose_link_cmd='echo'
12186
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12187
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12188
 
        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}"
12189
 
        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}"
12190
 
    else
12191
 
      case $cc_basename in
12192
 
        xlc*)
12193
 
         output_verbose_link_cmd='echo'
12194
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12195
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12196
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12197
 
         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}'
12198
 
          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}'
12199
 
          ;;
12200
 
       *)
12201
 
         ld_shlibs=no
12202
 
          ;;
12203
 
      esac
12204
 
    fi
 
12731
 
 
12732
 
 
12733
  archive_cmds_need_lc=no
 
12734
  hardcode_direct=no
 
12735
  hardcode_automatic=yes
 
12736
  hardcode_shlibpath_var=unsupported
 
12737
  whole_archive_flag_spec=''
 
12738
  link_all_deplibs=yes
 
12739
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
12740
  case $cc_basename in
 
12741
     ifort*) _lt_dar_can_shared=yes ;;
 
12742
     *) _lt_dar_can_shared=$GCC ;;
 
12743
  esac
 
12744
  if test "$_lt_dar_can_shared" = "yes"; then
 
12745
    output_verbose_link_cmd=echo
 
12746
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12747
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12748
    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}"
 
12749
    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}"
 
12750
 
 
12751
  else
 
12752
  ld_shlibs=no
 
12753
  fi
 
12754
 
12205
12755
      ;;
12206
12756
 
12207
12757
    dgux*)
12243
12793
 
12244
12794
    hpux9*)
12245
12795
      if test "$GCC" = yes; then
12246
 
        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'
 
12796
        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'
12247
12797
      else
12248
 
        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'
 
12798
        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'
12249
12799
      fi
12250
12800
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12251
12801
      hardcode_libdir_separator=:
12265
12815
      fi
12266
12816
      if test "$with_gnu_ld" = no; then
12267
12817
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
12818
        hardcode_libdir_flag_spec_ld='+b $libdir'
12268
12819
        hardcode_libdir_separator=:
12269
 
 
12270
12820
        hardcode_direct=yes
 
12821
        hardcode_direct_absolute=yes
12271
12822
        export_dynamic_flag_spec='${wl}-E'
12272
 
 
12273
12823
        # hardcode_minus_L: Not really in the search PATH,
12274
12824
        # but as the default location of the library.
12275
12825
        hardcode_minus_L=yes
12283
12833
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12284
12834
          ;;
12285
12835
        ia64*)
12286
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
12836
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12287
12837
          ;;
12288
12838
        *)
12289
12839
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12308
12858
 
12309
12859
        case $host_cpu in
12310
12860
        hppa*64*|ia64*)
12311
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
12312
12861
          hardcode_direct=no
12313
12862
          hardcode_shlibpath_var=no
12314
12863
          ;;
12315
12864
        *)
12316
12865
          hardcode_direct=yes
 
12866
          hardcode_direct_absolute=yes
12317
12867
          export_dynamic_flag_spec='${wl}-E'
12318
12868
 
12319
12869
          # hardcode_minus_L: Not really in the search PATH,
12326
12876
 
12327
12877
    irix5* | irix6* | nonstopux*)
12328
12878
      if test "$GCC" = yes; then
12329
 
        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'
 
12879
        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'
 
12880
        # Try to use the -exported_symbol ld option, if it does not
 
12881
        # work, assume that -exports_file does not work either and
 
12882
        # implicitly export all symbols.
 
12883
        save_LDFLAGS="$LDFLAGS"
 
12884
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
12885
        cat >conftest.$ac_ext <<_ACEOF
 
12886
int foo(void) {}
 
12887
_ACEOF
 
12888
rm -f conftest.$ac_objext conftest$ac_exeext
 
12889
if { (ac_try="$ac_link"
 
12890
case "(($ac_try" in
 
12891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12892
  *) ac_try_echo=$ac_try;;
 
12893
esac
 
12894
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12895
$as_echo "$ac_try_echo") >&5
 
12896
  (eval "$ac_link") 2>conftest.er1
 
12897
  ac_status=$?
 
12898
  grep -v '^ *+' conftest.er1 >conftest.err
 
12899
  rm -f conftest.er1
 
12900
  cat conftest.err >&5
 
12901
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12902
  (exit $ac_status); } && {
 
12903
         test -z "$ac_c_werror_flag" ||
 
12904
         test ! -s conftest.err
 
12905
       } && test -s conftest$ac_exeext && {
 
12906
         test "$cross_compiling" = yes ||
 
12907
         $as_test_x conftest$ac_exeext
 
12908
       }; then
 
12909
  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'
 
12910
 
 
12911
else
 
12912
  $as_echo "$as_me: failed program was:" >&5
 
12913
sed 's/^/| /' conftest.$ac_ext >&5
 
12914
 
 
12915
 
 
12916
fi
 
12917
 
 
12918
rm -rf conftest.dSYM
 
12919
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12920
      conftest$ac_exeext conftest.$ac_ext
 
12921
        LDFLAGS="$save_LDFLAGS"
12330
12922
      else
12331
 
        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'
12332
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
12923
        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'
 
12924
        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'
12333
12925
      fi
 
12926
      archive_cmds_need_lc='no'
12334
12927
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12335
12928
      hardcode_libdir_separator=:
 
12929
      inherit_rpath=yes
12336
12930
      link_all_deplibs=yes
12337
12931
      ;;
12338
12932
 
12339
 
    netbsd* | netbsdelf*-gnu)
12340
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
12933
    netbsd*)
 
12934
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12341
12935
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12342
12936
      else
12343
12937
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12355
12949
      hardcode_shlibpath_var=no
12356
12950
      ;;
12357
12951
 
 
12952
    *nto* | *qnx*)
 
12953
      ;;
 
12954
 
12358
12955
    openbsd*)
12359
12956
      if test -f /usr/libexec/ld.so; then
12360
12957
        hardcode_direct=yes
12361
12958
        hardcode_shlibpath_var=no
12362
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12959
        hardcode_direct_absolute=yes
 
12960
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12363
12961
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12364
12962
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12365
12963
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12375
12973
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12376
12974
             ;;
12377
12975
          esac
12378
 
        fi
 
12976
        fi
12379
12977
      else
12380
12978
        ld_shlibs=no
12381
12979
      fi
12385
12983
      hardcode_libdir_flag_spec='-L$libdir'
12386
12984
      hardcode_minus_L=yes
12387
12985
      allow_undefined_flag=unsupported
12388
 
      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'
12389
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12986
      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'
 
12987
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12390
12988
      ;;
12391
12989
 
12392
12990
    osf3*)
12393
12991
      if test "$GCC" = yes; then
12394
12992
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12395
 
        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'
 
12993
        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'
12396
12994
      else
12397
12995
        allow_undefined_flag=' -expect_unresolved \*'
12398
 
        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'
 
12996
        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'
12399
12997
      fi
 
12998
      archive_cmds_need_lc='no'
12400
12999
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12401
13000
      hardcode_libdir_separator=:
12402
13001
      ;;
12404
13003
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
12405
13004
      if test "$GCC" = yes; then
12406
13005
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12407
 
        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'
 
13006
        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'
12408
13007
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12409
13008
      else
12410
13009
        allow_undefined_flag=' -expect_unresolved \*'
12411
 
        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'
12412
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12413
 
        $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'
 
13010
        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'
 
13011
        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~
 
13012
        $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'
12414
13013
 
12415
13014
        # Both c and cxx compiler support -rpath directly
12416
13015
        hardcode_libdir_flag_spec='-rpath $libdir'
12417
13016
      fi
 
13017
      archive_cmds_need_lc='no'
12418
13018
      hardcode_libdir_separator=:
12419
13019
      ;;
12420
13020
 
12421
13021
    solaris*)
12422
 
      no_undefined_flag=' -z text'
 
13022
      no_undefined_flag=' -z defs'
12423
13023
      if test "$GCC" = yes; then
12424
13024
        wlarc='${wl}'
12425
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12426
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12427
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
13025
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13026
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13027
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12428
13028
      else
12429
 
        wlarc=''
12430
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12431
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12432
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
13029
        case `$CC -V 2>&1` in
 
13030
        *"Compilers 5.0"*)
 
13031
          wlarc=''
 
13032
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13033
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13034
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
13035
          ;;
 
13036
        *)
 
13037
          wlarc='${wl}'
 
13038
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
13039
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13040
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
13041
          ;;
 
13042
        esac
12433
13043
      fi
12434
13044
      hardcode_libdir_flag_spec='-R$libdir'
12435
13045
      hardcode_shlibpath_var=no
12439
13049
        # The compiler driver will combine and reorder linker options,
12440
13050
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
12441
13051
        # but is careful enough not to reorder.
12442
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13052
        # Supported since Solaris 2.6 (maybe 2.5.1?)
12443
13053
        if test "$GCC" = yes; then
12444
13054
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12445
13055
        else
12528
13138
      allow_undefined_flag='${wl}-z,nodefs'
12529
13139
      archive_cmds_need_lc=no
12530
13140
      hardcode_shlibpath_var=no
12531
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
13141
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
12532
13142
      hardcode_libdir_separator=':'
12533
13143
      link_all_deplibs=yes
12534
13144
      export_dynamic_flag_spec='${wl}-Bexport'
12535
13145
      runpath_var='LD_RUN_PATH'
12536
13146
 
12537
13147
      if test "$GCC" = yes; then
12538
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12539
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13148
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13149
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12540
13150
      else
12541
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12542
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13151
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13152
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12543
13153
      fi
12544
13154
      ;;
12545
13155
 
12553
13163
      ld_shlibs=no
12554
13164
      ;;
12555
13165
    esac
 
13166
 
 
13167
    if test x$host_vendor = xsni; then
 
13168
      case $host in
 
13169
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13170
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
13171
        ;;
 
13172
      esac
 
13173
    fi
12556
13174
  fi
12557
13175
 
12558
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12559
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
13176
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
13177
$as_echo "$ld_shlibs" >&6; }
12560
13178
test "$ld_shlibs" = no && can_build_shared=no
12561
13179
 
 
13180
with_gnu_ld=$with_gnu_ld
 
13181
 
 
13182
 
 
13183
 
 
13184
 
 
13185
 
 
13186
 
 
13187
 
 
13188
 
 
13189
 
 
13190
 
 
13191
 
 
13192
 
 
13193
 
 
13194
 
 
13195
 
12562
13196
#
12563
13197
# Do we need to explicitly link libc?
12564
13198
#
12576
13210
      # Test whether the compiler implicitly links with -lc since on some
12577
13211
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12578
13212
      # to ld, don't add -lc before -lgcc.
12579
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12580
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12581
 
      $rm conftest*
 
13213
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13214
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
13215
      $RM conftest*
12582
13216
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12583
13217
 
12584
13218
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12585
13219
  (eval $ac_compile) 2>&5
12586
13220
  ac_status=$?
12587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13221
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588
13222
  (exit $ac_status); } 2>conftest.err; then
12589
13223
        soname=conftest
12590
13224
        lib=conftest
12599
13233
        libname=conftest
12600
13234
        lt_save_allow_undefined_flag=$allow_undefined_flag
12601
13235
        allow_undefined_flag=
12602
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12603
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
13236
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
13237
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12604
13238
  ac_status=$?
12605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13239
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606
13240
  (exit $ac_status); }
12607
13241
        then
12608
13242
          archive_cmds_need_lc=no
12613
13247
      else
12614
13248
        cat conftest.err 1>&5
12615
13249
      fi
12616
 
      $rm conftest*
12617
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12618
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
13250
      $RM conftest*
 
13251
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
13252
$as_echo "$archive_cmds_need_lc" >&6; }
12619
13253
      ;;
12620
13254
    esac
12621
13255
  fi
12622
13256
  ;;
12623
13257
esac
12624
13258
 
12625
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12626
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12627
 
library_names_spec=
12628
 
libname_spec='lib$name'
12629
 
soname_spec=
12630
 
shrext_cmds=".so"
12631
 
postinstall_cmds=
12632
 
postuninstall_cmds=
12633
 
finish_cmds=
12634
 
finish_eval=
12635
 
shlibpath_var=
12636
 
shlibpath_overrides_runpath=unknown
12637
 
version_type=none
12638
 
dynamic_linker="$host_os ld.so"
12639
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
13259
 
 
13260
 
 
13261
 
 
13262
 
 
13263
 
 
13264
 
 
13265
 
 
13266
 
 
13267
 
 
13268
 
 
13269
 
 
13270
 
 
13271
 
 
13272
 
 
13273
 
 
13274
 
 
13275
 
 
13276
 
 
13277
 
 
13278
 
 
13279
 
 
13280
 
 
13281
 
 
13282
 
 
13283
 
 
13284
 
 
13285
 
 
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
 
 
13291
 
 
13292
 
 
13293
 
 
13294
 
 
13295
 
 
13296
 
 
13297
 
 
13298
 
 
13299
 
 
13300
 
 
13301
 
 
13302
 
 
13303
 
 
13304
 
 
13305
 
 
13306
 
 
13307
 
 
13308
 
 
13309
 
 
13310
 
 
13311
 
 
13312
 
 
13313
 
 
13314
 
 
13315
 
 
13316
 
 
13317
 
 
13318
 
 
13319
 
 
13320
 
 
13321
 
 
13322
 
 
13323
 
 
13324
 
 
13325
 
 
13326
 
 
13327
 
 
13328
 
 
13329
 
 
13330
 
 
13331
 
 
13332
 
 
13333
 
 
13334
 
 
13335
 
 
13336
 
 
13337
 
 
13338
 
 
13339
 
 
13340
 
 
13341
 
 
13342
 
 
13343
 
 
13344
 
 
13345
 
 
13346
 
 
13347
 
 
13348
 
 
13349
 
 
13350
 
 
13351
 
 
13352
 
 
13353
 
 
13354
 
 
13355
 
 
13356
 
 
13357
 
 
13358
 
 
13359
 
 
13360
 
 
13361
 
 
13362
 
 
13363
 
 
13364
 
 
13365
 
 
13366
 
 
13367
 
 
13368
 
 
13369
 
 
13370
 
 
13371
 
 
13372
 
 
13373
 
 
13374
 
 
13375
 
 
13376
 
 
13377
 
 
13378
 
 
13379
 
 
13380
 
 
13381
 
 
13382
 
 
13383
 
 
13384
 
 
13385
 
 
13386
 
 
13387
 
 
13388
 
 
13389
 
 
13390
 
 
13391
 
 
13392
 
 
13393
 
 
13394
 
 
13395
 
 
13396
 
 
13397
 
 
13398
 
 
13399
 
 
13400
 
 
13401
 
 
13402
 
 
13403
 
 
13404
 
 
13405
 
 
13406
 
 
13407
 
 
13408
 
 
13409
 
 
13410
 
 
13411
 
 
13412
 
 
13413
 
 
13414
 
 
13415
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13416
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12640
13417
 
12641
13418
if test "$GCC" = yes; then
12642
13419
  case $host_os in
12644
13421
    *) lt_awk_arg="/^libraries:/" ;;
12645
13422
  esac
12646
13423
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12647
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
13424
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
12648
13425
    # if the path contains ";" then we assume it to be the separator
12649
13426
    # otherwise default to the standard path separator (i.e. ":") - it is
12650
13427
    # assumed that no part of a normal pathname contains ";" but that should
12651
13428
    # okay in the real world where ";" in dirpaths is itself problematic.
12652
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
13429
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12653
13430
  else
12654
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13431
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12655
13432
  fi
12656
13433
  # Ok, now we have the path, separated by spaces, we can step through it
12657
13434
  # and add multilib dir if necessary.
12665
13442
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12666
13443
    fi
12667
13444
  done
12668
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
13445
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12669
13446
BEGIN {RS=" "; FS="/|\n";} {
12670
13447
  lt_foo="";
12671
13448
  lt_count=0;
12685
13462
  if (lt_foo != "") { lt_freq[lt_foo]++; }
12686
13463
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12687
13464
}'`
12688
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
13465
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12689
13466
else
12690
13467
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12691
13468
fi
 
13469
library_names_spec=
 
13470
libname_spec='lib$name'
 
13471
soname_spec=
 
13472
shrext_cmds=".so"
 
13473
postinstall_cmds=
 
13474
postuninstall_cmds=
 
13475
finish_cmds=
 
13476
finish_eval=
 
13477
shlibpath_var=
 
13478
shlibpath_overrides_runpath=unknown
 
13479
version_type=none
 
13480
dynamic_linker="$host_os ld.so"
 
13481
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12692
13482
need_lib_prefix=unknown
12693
13483
hardcode_into_libs=no
12694
13484
 
12725
13515
      aix4 | aix4.[01] | aix4.[01].*)
12726
13516
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12727
13517
           echo ' yes '
12728
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
13518
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12729
13519
        :
12730
13520
      else
12731
13521
        can_build_shared=no
12751
13541
  ;;
12752
13542
 
12753
13543
amigaos*)
12754
 
  library_names_spec='$libname.ixlibrary $libname.a'
12755
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12756
 
  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'
 
13544
  case $host_cpu in
 
13545
  powerpc)
 
13546
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
13547
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
13548
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13549
    ;;
 
13550
  m68k)
 
13551
    library_names_spec='$libname.ixlibrary $libname.a'
 
13552
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
13553
    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'
 
13554
    ;;
 
13555
  esac
12757
13556
  ;;
12758
13557
 
12759
13558
beos*)
12776
13575
  # libtool to hard-code these into programs
12777
13576
  ;;
12778
13577
 
12779
 
cygwin* | mingw* | pw32*)
 
13578
cygwin* | mingw* | pw32* | cegcc*)
12780
13579
  version_type=windows
12781
13580
  shrext_cmds=".dll"
12782
13581
  need_version=no
12783
13582
  need_lib_prefix=no
12784
13583
 
12785
13584
  case $GCC,$host_os in
12786
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
13585
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12787
13586
    library_names_spec='$libname.dll.a'
12788
13587
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12789
13588
    postinstall_cmds='base_file=`basename \${file}`~
12790
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
13589
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12791
13590
      dldir=$destdir/`dirname \$dlpath`~
12792
13591
      test -d \$dldir || mkdir -p \$dldir~
12793
13592
      $install_prog $dir/$dlname \$dldir/$dlname~
12794
 
      chmod a+x \$dldir/$dlname'
 
13593
      chmod a+x \$dldir/$dlname~
 
13594
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
13595
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
13596
      fi'
12795
13597
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12796
13598
      dlpath=$dir/\$dldll~
12797
 
       $rm \$dlpath'
 
13599
       $RM \$dlpath'
12798
13600
    shlibpath_overrides_runpath=yes
12799
13601
 
12800
13602
    case $host_os in
12803
13605
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12804
13606
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12805
13607
      ;;
12806
 
    mingw*)
 
13608
    mingw* | cegcc*)
12807
13609
      # MinGW DLLs use traditional 'lib' prefix
12808
13610
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12809
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12810
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
13611
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
13612
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12811
13613
        # It is most probably a Windows format PATH printed by
12812
13614
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12813
13615
        # path with ; separators, and with drive letters. We can handle the
12814
13616
        # drive letters (cygwin fileutils understands them), so leave them,
12815
13617
        # especially as we might pass files found there to a mingw objdump,
12816
13618
        # which wouldn't understand a cygwinified path. Ahh.
12817
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13619
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12818
13620
      else
12819
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13621
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12820
13622
      fi
12821
13623
      ;;
12822
13624
    pw32*)
12840
13642
  version_type=darwin
12841
13643
  need_lib_prefix=no
12842
13644
  need_version=no
12843
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
13645
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12844
13646
  soname_spec='${libname}${release}${major}$shared_ext'
12845
13647
  shlibpath_overrides_runpath=yes
12846
13648
  shlibpath_var=DYLD_LIBRARY_PATH
12939
13741
    fi
12940
13742
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12941
13743
    ;;
12942
 
   hppa*64*)
12943
 
     shrext_cmds='.sl'
12944
 
     hardcode_into_libs=yes
12945
 
     dynamic_linker="$host_os dld.sl"
12946
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12947
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12948
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12949
 
     soname_spec='${libname}${release}${shared_ext}$major'
12950
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12951
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12952
 
     ;;
12953
 
   *)
 
13744
  hppa*64*)
 
13745
    shrext_cmds='.sl'
 
13746
    hardcode_into_libs=yes
 
13747
    dynamic_linker="$host_os dld.sl"
 
13748
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
13749
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13750
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13751
    soname_spec='${libname}${release}${shared_ext}$major'
 
13752
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
13753
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13754
    ;;
 
13755
  *)
12954
13756
    shrext_cmds='.sl'
12955
13757
    dynamic_linker="$host_os dld.sl"
12956
13758
    shlibpath_var=SHLIB_PATH
13027
13829
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13028
13830
  shlibpath_var=LD_LIBRARY_PATH
13029
13831
  shlibpath_overrides_runpath=no
 
13832
  # Some binutils ld are patched to set DT_RUNPATH
 
13833
  save_LDFLAGS=$LDFLAGS
 
13834
  save_libdir=$libdir
 
13835
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
13836
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
13837
  cat >conftest.$ac_ext <<_ACEOF
 
13838
/* confdefs.h.  */
 
13839
_ACEOF
 
13840
cat confdefs.h >>conftest.$ac_ext
 
13841
cat >>conftest.$ac_ext <<_ACEOF
 
13842
/* end confdefs.h.  */
 
13843
 
 
13844
int
 
13845
main ()
 
13846
{
 
13847
 
 
13848
  ;
 
13849
  return 0;
 
13850
}
 
13851
_ACEOF
 
13852
rm -f conftest.$ac_objext conftest$ac_exeext
 
13853
if { (ac_try="$ac_link"
 
13854
case "(($ac_try" in
 
13855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13856
  *) ac_try_echo=$ac_try;;
 
13857
esac
 
13858
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13859
$as_echo "$ac_try_echo") >&5
 
13860
  (eval "$ac_link") 2>conftest.er1
 
13861
  ac_status=$?
 
13862
  grep -v '^ *+' conftest.er1 >conftest.err
 
13863
  rm -f conftest.er1
 
13864
  cat conftest.err >&5
 
13865
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13866
  (exit $ac_status); } && {
 
13867
         test -z "$ac_c_werror_flag" ||
 
13868
         test ! -s conftest.err
 
13869
       } && test -s conftest$ac_exeext && {
 
13870
         test "$cross_compiling" = yes ||
 
13871
         $as_test_x conftest$ac_exeext
 
13872
       }; then
 
13873
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
13874
  shlibpath_overrides_runpath=yes
 
13875
fi
 
13876
 
 
13877
else
 
13878
  $as_echo "$as_me: failed program was:" >&5
 
13879
sed 's/^/| /' conftest.$ac_ext >&5
 
13880
 
 
13881
 
 
13882
fi
 
13883
 
 
13884
rm -rf conftest.dSYM
 
13885
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13886
      conftest$ac_exeext conftest.$ac_ext
 
13887
  LDFLAGS=$save_LDFLAGS
 
13888
  libdir=$save_libdir
 
13889
 
13030
13890
  # This implies no fast_install, which is unacceptable.
13031
13891
  # Some rework will be needed to allow for fast_install
13032
13892
  # before this can be enabled.
13034
13894
 
13035
13895
  # Append ld.so.conf contents to the search path
13036
13896
  if test -f /etc/ld.so.conf; then
13037
 
    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' ' '`
 
13897
    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' ' '`
13038
13898
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13039
13899
  fi
13040
13900
 
13047
13907
  dynamic_linker='GNU/Linux ld.so'
13048
13908
  ;;
13049
13909
 
13050
 
netbsdelf*-gnu)
13051
 
  version_type=linux
13052
 
  need_lib_prefix=no
13053
 
  need_version=no
13054
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13055
 
  soname_spec='${libname}${release}${shared_ext}$major'
13056
 
  shlibpath_var=LD_LIBRARY_PATH
13057
 
  shlibpath_overrides_runpath=no
13058
 
  hardcode_into_libs=yes
13059
 
  dynamic_linker='NetBSD ld.elf_so'
13060
 
  ;;
13061
 
 
13062
13910
netbsd*)
13063
13911
  version_type=sunos
13064
13912
  need_lib_prefix=no
13065
13913
  need_version=no
13066
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
13914
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13067
13915
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13068
13916
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13069
13917
    dynamic_linker='NetBSD (a.out) ld.so'
13084
13932
  shlibpath_overrides_runpath=yes
13085
13933
  ;;
13086
13934
 
13087
 
nto-qnx*)
13088
 
  version_type=linux
 
13935
*nto* | *qnx*)
 
13936
  version_type=qnx
13089
13937
  need_lib_prefix=no
13090
13938
  need_version=no
13091
13939
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13092
13940
  soname_spec='${libname}${release}${shared_ext}$major'
13093
13941
  shlibpath_var=LD_LIBRARY_PATH
13094
 
  shlibpath_overrides_runpath=yes
 
13942
  shlibpath_overrides_runpath=no
 
13943
  hardcode_into_libs=yes
 
13944
  dynamic_linker='ldqnx.so'
13095
13945
  ;;
13096
13946
 
13097
13947
openbsd*)
13100
13950
  need_lib_prefix=no
13101
13951
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13102
13952
  case $host_os in
13103
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13104
 
    *)                         need_version=no  ;;
 
13953
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
13954
    *)                          need_version=no  ;;
13105
13955
  esac
13106
13956
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13107
13957
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13108
13958
  shlibpath_var=LD_LIBRARY_PATH
13109
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13959
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13110
13960
    case $host_os in
13111
13961
      openbsd2.[89] | openbsd2.[89].*)
13112
13962
        shlibpath_overrides_runpath=no
13178
14028
    sni)
13179
14029
      shlibpath_overrides_runpath=no
13180
14030
      need_lib_prefix=no
13181
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13182
14031
      runpath_var=LD_RUN_PATH
13183
14032
      ;;
13184
14033
    siemens)
13209
14058
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210
14059
  soname_spec='${libname}${release}${shared_ext}$major'
13211
14060
  shlibpath_var=LD_LIBRARY_PATH
 
14061
  shlibpath_overrides_runpath=yes
13212
14062
  hardcode_into_libs=yes
13213
14063
  if test "$with_gnu_ld" = yes; then
13214
14064
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13215
 
    shlibpath_overrides_runpath=no
13216
14065
  else
13217
14066
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13218
 
    shlibpath_overrides_runpath=yes
13219
14067
    case $host_os in
13220
14068
      sco3.2v5*)
13221
14069
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13225
14073
  sys_lib_dlsearch_path_spec='/usr/lib'
13226
14074
  ;;
13227
14075
 
 
14076
tpf*)
 
14077
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
14078
  version_type=linux
 
14079
  need_lib_prefix=no
 
14080
  need_version=no
 
14081
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14082
  shlibpath_var=LD_LIBRARY_PATH
 
14083
  shlibpath_overrides_runpath=no
 
14084
  hardcode_into_libs=yes
 
14085
  ;;
 
14086
 
13228
14087
uts4*)
13229
14088
  version_type=linux
13230
14089
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236
14095
  dynamic_linker=no
13237
14096
  ;;
13238
14097
esac
13239
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13240
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
14098
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14099
$as_echo "$dynamic_linker" >&6; }
13241
14100
test "$dynamic_linker" = no && can_build_shared=no
13242
14101
 
13243
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13244
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13245
 
else
13246
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13247
 
fi
13248
 
 
13249
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13250
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13251
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13252
 
else
13253
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13254
 
fi
13255
 
 
13256
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13257
 
 
13258
14102
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13259
14103
if test "$GCC" = yes; then
13260
14104
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13261
14105
fi
13262
14106
 
13263
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13264
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
14107
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14108
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14109
fi
 
14110
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14111
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14112
fi
 
14113
 
 
14114
 
 
14115
 
 
14116
 
 
14117
 
 
14118
 
 
14119
 
 
14120
 
 
14121
 
 
14122
 
 
14123
 
 
14124
 
 
14125
 
 
14126
 
 
14127
 
 
14128
 
 
14129
 
 
14130
 
 
14131
 
 
14132
 
 
14133
 
 
14134
 
 
14135
 
 
14136
 
 
14137
 
 
14138
 
 
14139
 
 
14140
 
 
14141
 
 
14142
 
 
14143
 
 
14144
 
 
14145
 
 
14146
 
 
14147
 
 
14148
 
 
14149
 
 
14150
 
 
14151
 
 
14152
 
 
14153
 
 
14154
 
 
14155
 
 
14156
 
 
14157
 
 
14158
 
 
14159
 
 
14160
 
 
14161
 
 
14162
 
 
14163
 
 
14164
 
 
14165
 
 
14166
 
 
14167
 
 
14168
 
 
14169
 
 
14170
 
 
14171
 
 
14172
 
 
14173
 
 
14174
 
 
14175
 
 
14176
 
 
14177
 
 
14178
 
 
14179
 
 
14180
 
 
14181
 
 
14182
 
 
14183
 
 
14184
 
 
14185
 
 
14186
 
 
14187
 
 
14188
 
 
14189
 
 
14190
 
 
14191
 
 
14192
 
 
14193
 
 
14194
 
 
14195
 
 
14196
 
 
14197
 
 
14198
 
 
14199
 
 
14200
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14201
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13265
14202
hardcode_action=
13266
 
if test -n "$hardcode_libdir_flag_spec" || \
13267
 
   test -n "$runpath_var" || \
 
14203
if test -n "$hardcode_libdir_flag_spec" ||
 
14204
   test -n "$runpath_var" ||
13268
14205
   test "X$hardcode_automatic" = "Xyes" ; then
13269
14206
 
13270
 
  # We can hardcode non-existant directories.
 
14207
  # We can hardcode non-existent directories.
13271
14208
  if test "$hardcode_direct" != no &&
13272
14209
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13273
14210
     # have to relink, otherwise we might link with an installed library
13274
14211
     # when we should be linking with a yet-to-be-installed one
13275
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
14212
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13276
14213
     test "$hardcode_minus_L" != no; then
13277
14214
    # Linking always hardcodes the temporary library directory.
13278
14215
    hardcode_action=relink
13285
14222
  # directories.
13286
14223
  hardcode_action=unsupported
13287
14224
fi
13288
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
13289
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
14225
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
14226
$as_echo "$hardcode_action" >&6; }
13290
14227
 
13291
 
if test "$hardcode_action" = relink; then
 
14228
if test "$hardcode_action" = relink ||
 
14229
   test "$inherit_rpath" = yes; then
13292
14230
  # Fast installation is not supported
13293
14231
  enable_fast_install=no
13294
14232
elif test "$shlibpath_overrides_runpath" = yes ||
13297
14235
  enable_fast_install=needless
13298
14236
fi
13299
14237
 
13300
 
striplib=
13301
 
old_striplib=
13302
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13303
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
13304
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13305
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13306
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13307
 
  { echo "$as_me:$LINENO: result: yes" >&5
13308
 
echo "${ECHO_T}yes" >&6; }
13309
 
else
13310
 
# FIXME - insert some real tests, host_os isn't really good enough
13311
 
  case $host_os in
13312
 
   darwin*)
13313
 
       if test -n "$STRIP" ; then
13314
 
         striplib="$STRIP -x"
13315
 
         old_striplib="$STRIP -S"
13316
 
         { echo "$as_me:$LINENO: result: yes" >&5
13317
 
echo "${ECHO_T}yes" >&6; }
13318
 
       else
13319
 
  { echo "$as_me:$LINENO: result: no" >&5
13320
 
echo "${ECHO_T}no" >&6; }
13321
 
fi
13322
 
       ;;
13323
 
   *)
13324
 
  { echo "$as_me:$LINENO: result: no" >&5
13325
 
echo "${ECHO_T}no" >&6; }
13326
 
    ;;
13327
 
  esac
13328
 
fi
13329
 
 
13330
 
if test "x$enable_dlopen" != xyes; then
 
14238
 
 
14239
 
 
14240
 
 
14241
 
 
14242
 
 
14243
  if test "x$enable_dlopen" != xyes; then
13331
14244
  enable_dlopen=unknown
13332
14245
  enable_dlopen_self=unknown
13333
14246
  enable_dlopen_self_static=unknown
13342
14255
    lt_cv_dlopen_self=yes
13343
14256
    ;;
13344
14257
 
13345
 
  mingw* | pw32*)
 
14258
  mingw* | pw32* | cegcc*)
13346
14259
    lt_cv_dlopen="LoadLibrary"
13347
14260
    lt_cv_dlopen_libs=
13348
 
   ;;
 
14261
    ;;
13349
14262
 
13350
14263
  cygwin*)
13351
14264
    lt_cv_dlopen="dlopen"
13352
14265
    lt_cv_dlopen_libs=
13353
 
   ;;
 
14266
    ;;
13354
14267
 
13355
14268
  darwin*)
13356
14269
  # if libdl is installed we need to link against it
13357
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13358
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
14270
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
14271
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13359
14272
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13360
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14273
  $as_echo_n "(cached) " >&6
13361
14274
else
13362
14275
  ac_check_lib_save_LIBS=$LIBS
13363
14276
LIBS="-ldl  $LIBS"
13389
14302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13390
14303
  *) ac_try_echo=$ac_try;;
13391
14304
esac
13392
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14305
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14306
$as_echo "$ac_try_echo") >&5
13393
14307
  (eval "$ac_link") 2>conftest.er1
13394
14308
  ac_status=$?
13395
14309
  grep -v '^ *+' conftest.er1 >conftest.err
13396
14310
  rm -f conftest.er1
13397
14311
  cat conftest.err >&5
13398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14312
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399
14313
  (exit $ac_status); } && {
13400
14314
         test -z "$ac_c_werror_flag" ||
13401
14315
         test ! -s conftest.err
13402
 
       } && test -s conftest$ac_exeext &&
13403
 
       $as_test_x conftest$ac_exeext; then
 
14316
       } && test -s conftest$ac_exeext && {
 
14317
         test "$cross_compiling" = yes ||
 
14318
         $as_test_x conftest$ac_exeext
 
14319
       }; then
13404
14320
  ac_cv_lib_dl_dlopen=yes
13405
14321
else
13406
 
  echo "$as_me: failed program was:" >&5
 
14322
  $as_echo "$as_me: failed program was:" >&5
13407
14323
sed 's/^/| /' conftest.$ac_ext >&5
13408
14324
 
13409
14325
        ac_cv_lib_dl_dlopen=no
13410
14326
fi
13411
14327
 
 
14328
rm -rf conftest.dSYM
13412
14329
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13413
14330
      conftest$ac_exeext conftest.$ac_ext
13414
14331
LIBS=$ac_check_lib_save_LIBS
13415
14332
fi
13416
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13417
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13418
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
14333
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
14334
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
14335
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
13419
14336
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13420
14337
else
13421
14338
 
13425
14342
 
13426
14343
fi
13427
14344
 
13428
 
   ;;
 
14345
    ;;
13429
14346
 
13430
14347
  *)
13431
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
13432
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
14348
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
14349
$as_echo_n "checking for shl_load... " >&6; }
13433
14350
if test "${ac_cv_func_shl_load+set}" = set; then
13434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14351
  $as_echo_n "(cached) " >&6
13435
14352
else
13436
14353
  cat >conftest.$ac_ext <<_ACEOF
13437
14354
/* confdefs.h.  */
13484
14401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13485
14402
  *) ac_try_echo=$ac_try;;
13486
14403
esac
13487
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14404
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14405
$as_echo "$ac_try_echo") >&5
13488
14406
  (eval "$ac_link") 2>conftest.er1
13489
14407
  ac_status=$?
13490
14408
  grep -v '^ *+' conftest.er1 >conftest.err
13491
14409
  rm -f conftest.er1
13492
14410
  cat conftest.err >&5
13493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14411
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494
14412
  (exit $ac_status); } && {
13495
14413
         test -z "$ac_c_werror_flag" ||
13496
14414
         test ! -s conftest.err
13497
 
       } && test -s conftest$ac_exeext &&
13498
 
       $as_test_x conftest$ac_exeext; then
 
14415
       } && test -s conftest$ac_exeext && {
 
14416
         test "$cross_compiling" = yes ||
 
14417
         $as_test_x conftest$ac_exeext
 
14418
       }; then
13499
14419
  ac_cv_func_shl_load=yes
13500
14420
else
13501
 
  echo "$as_me: failed program was:" >&5
 
14421
  $as_echo "$as_me: failed program was:" >&5
13502
14422
sed 's/^/| /' conftest.$ac_ext >&5
13503
14423
 
13504
14424
        ac_cv_func_shl_load=no
13505
14425
fi
13506
14426
 
 
14427
rm -rf conftest.dSYM
13507
14428
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13508
14429
      conftest$ac_exeext conftest.$ac_ext
13509
14430
fi
13510
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13511
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
13512
 
if test $ac_cv_func_shl_load = yes; then
 
14431
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
14432
$as_echo "$ac_cv_func_shl_load" >&6; }
 
14433
if test "x$ac_cv_func_shl_load" = x""yes; then
13513
14434
  lt_cv_dlopen="shl_load"
13514
14435
else
13515
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13516
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
14436
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
14437
$as_echo_n "checking for shl_load in -ldld... " >&6; }
13517
14438
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13518
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14439
  $as_echo_n "(cached) " >&6
13519
14440
else
13520
14441
  ac_check_lib_save_LIBS=$LIBS
13521
14442
LIBS="-ldld  $LIBS"
13547
14468
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13548
14469
  *) ac_try_echo=$ac_try;;
13549
14470
esac
13550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14471
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14472
$as_echo "$ac_try_echo") >&5
13551
14473
  (eval "$ac_link") 2>conftest.er1
13552
14474
  ac_status=$?
13553
14475
  grep -v '^ *+' conftest.er1 >conftest.err
13554
14476
  rm -f conftest.er1
13555
14477
  cat conftest.err >&5
13556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14478
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557
14479
  (exit $ac_status); } && {
13558
14480
         test -z "$ac_c_werror_flag" ||
13559
14481
         test ! -s conftest.err
13560
 
       } && test -s conftest$ac_exeext &&
13561
 
       $as_test_x conftest$ac_exeext; then
 
14482
       } && test -s conftest$ac_exeext && {
 
14483
         test "$cross_compiling" = yes ||
 
14484
         $as_test_x conftest$ac_exeext
 
14485
       }; then
13562
14486
  ac_cv_lib_dld_shl_load=yes
13563
14487
else
13564
 
  echo "$as_me: failed program was:" >&5
 
14488
  $as_echo "$as_me: failed program was:" >&5
13565
14489
sed 's/^/| /' conftest.$ac_ext >&5
13566
14490
 
13567
14491
        ac_cv_lib_dld_shl_load=no
13568
14492
fi
13569
14493
 
 
14494
rm -rf conftest.dSYM
13570
14495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13571
14496
      conftest$ac_exeext conftest.$ac_ext
13572
14497
LIBS=$ac_check_lib_save_LIBS
13573
14498
fi
13574
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13575
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
13576
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
14499
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
14500
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
14501
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
13577
14502
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13578
14503
else
13579
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
13580
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
14504
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
14505
$as_echo_n "checking for dlopen... " >&6; }
13581
14506
if test "${ac_cv_func_dlopen+set}" = set; then
13582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14507
  $as_echo_n "(cached) " >&6
13583
14508
else
13584
14509
  cat >conftest.$ac_ext <<_ACEOF
13585
14510
/* confdefs.h.  */
13632
14557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13633
14558
  *) ac_try_echo=$ac_try;;
13634
14559
esac
13635
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14560
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14561
$as_echo "$ac_try_echo") >&5
13636
14562
  (eval "$ac_link") 2>conftest.er1
13637
14563
  ac_status=$?
13638
14564
  grep -v '^ *+' conftest.er1 >conftest.err
13639
14565
  rm -f conftest.er1
13640
14566
  cat conftest.err >&5
13641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14567
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642
14568
  (exit $ac_status); } && {
13643
14569
         test -z "$ac_c_werror_flag" ||
13644
14570
         test ! -s conftest.err
13645
 
       } && test -s conftest$ac_exeext &&
13646
 
       $as_test_x conftest$ac_exeext; then
 
14571
       } && test -s conftest$ac_exeext && {
 
14572
         test "$cross_compiling" = yes ||
 
14573
         $as_test_x conftest$ac_exeext
 
14574
       }; then
13647
14575
  ac_cv_func_dlopen=yes
13648
14576
else
13649
 
  echo "$as_me: failed program was:" >&5
 
14577
  $as_echo "$as_me: failed program was:" >&5
13650
14578
sed 's/^/| /' conftest.$ac_ext >&5
13651
14579
 
13652
14580
        ac_cv_func_dlopen=no
13653
14581
fi
13654
14582
 
 
14583
rm -rf conftest.dSYM
13655
14584
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13656
14585
      conftest$ac_exeext conftest.$ac_ext
13657
14586
fi
13658
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13659
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
13660
 
if test $ac_cv_func_dlopen = yes; then
 
14587
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
14588
$as_echo "$ac_cv_func_dlopen" >&6; }
 
14589
if test "x$ac_cv_func_dlopen" = x""yes; then
13661
14590
  lt_cv_dlopen="dlopen"
13662
14591
else
13663
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13664
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
14592
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
14593
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13665
14594
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13666
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14595
  $as_echo_n "(cached) " >&6
13667
14596
else
13668
14597
  ac_check_lib_save_LIBS=$LIBS
13669
14598
LIBS="-ldl  $LIBS"
13695
14624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13696
14625
  *) ac_try_echo=$ac_try;;
13697
14626
esac
13698
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14627
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14628
$as_echo "$ac_try_echo") >&5
13699
14629
  (eval "$ac_link") 2>conftest.er1
13700
14630
  ac_status=$?
13701
14631
  grep -v '^ *+' conftest.er1 >conftest.err
13702
14632
  rm -f conftest.er1
13703
14633
  cat conftest.err >&5
13704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14634
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705
14635
  (exit $ac_status); } && {
13706
14636
         test -z "$ac_c_werror_flag" ||
13707
14637
         test ! -s conftest.err
13708
 
       } && test -s conftest$ac_exeext &&
13709
 
       $as_test_x conftest$ac_exeext; then
 
14638
       } && test -s conftest$ac_exeext && {
 
14639
         test "$cross_compiling" = yes ||
 
14640
         $as_test_x conftest$ac_exeext
 
14641
       }; then
13710
14642
  ac_cv_lib_dl_dlopen=yes
13711
14643
else
13712
 
  echo "$as_me: failed program was:" >&5
 
14644
  $as_echo "$as_me: failed program was:" >&5
13713
14645
sed 's/^/| /' conftest.$ac_ext >&5
13714
14646
 
13715
14647
        ac_cv_lib_dl_dlopen=no
13716
14648
fi
13717
14649
 
 
14650
rm -rf conftest.dSYM
13718
14651
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13719
14652
      conftest$ac_exeext conftest.$ac_ext
13720
14653
LIBS=$ac_check_lib_save_LIBS
13721
14654
fi
13722
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13723
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13724
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
14655
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
14656
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
14657
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
13725
14658
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13726
14659
else
13727
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13728
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
14660
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
14661
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13729
14662
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14663
  $as_echo_n "(cached) " >&6
13731
14664
else
13732
14665
  ac_check_lib_save_LIBS=$LIBS
13733
14666
LIBS="-lsvld  $LIBS"
13759
14692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13760
14693
  *) ac_try_echo=$ac_try;;
13761
14694
esac
13762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14695
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14696
$as_echo "$ac_try_echo") >&5
13763
14697
  (eval "$ac_link") 2>conftest.er1
13764
14698
  ac_status=$?
13765
14699
  grep -v '^ *+' conftest.er1 >conftest.err
13766
14700
  rm -f conftest.er1
13767
14701
  cat conftest.err >&5
13768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14702
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769
14703
  (exit $ac_status); } && {
13770
14704
         test -z "$ac_c_werror_flag" ||
13771
14705
         test ! -s conftest.err
13772
 
       } && test -s conftest$ac_exeext &&
13773
 
       $as_test_x conftest$ac_exeext; then
 
14706
       } && test -s conftest$ac_exeext && {
 
14707
         test "$cross_compiling" = yes ||
 
14708
         $as_test_x conftest$ac_exeext
 
14709
       }; then
13774
14710
  ac_cv_lib_svld_dlopen=yes
13775
14711
else
13776
 
  echo "$as_me: failed program was:" >&5
 
14712
  $as_echo "$as_me: failed program was:" >&5
13777
14713
sed 's/^/| /' conftest.$ac_ext >&5
13778
14714
 
13779
14715
        ac_cv_lib_svld_dlopen=no
13780
14716
fi
13781
14717
 
 
14718
rm -rf conftest.dSYM
13782
14719
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13783
14720
      conftest$ac_exeext conftest.$ac_ext
13784
14721
LIBS=$ac_check_lib_save_LIBS
13785
14722
fi
13786
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13787
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13788
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
14723
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
14724
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
14725
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
13789
14726
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13790
14727
else
13791
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13792
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
14728
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
14729
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13793
14730
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13794
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14731
  $as_echo_n "(cached) " >&6
13795
14732
else
13796
14733
  ac_check_lib_save_LIBS=$LIBS
13797
14734
LIBS="-ldld  $LIBS"
13823
14760
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13824
14761
  *) ac_try_echo=$ac_try;;
13825
14762
esac
13826
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14763
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14764
$as_echo "$ac_try_echo") >&5
13827
14765
  (eval "$ac_link") 2>conftest.er1
13828
14766
  ac_status=$?
13829
14767
  grep -v '^ *+' conftest.er1 >conftest.err
13830
14768
  rm -f conftest.er1
13831
14769
  cat conftest.err >&5
13832
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14770
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833
14771
  (exit $ac_status); } && {
13834
14772
         test -z "$ac_c_werror_flag" ||
13835
14773
         test ! -s conftest.err
13836
 
       } && test -s conftest$ac_exeext &&
13837
 
       $as_test_x conftest$ac_exeext; then
 
14774
       } && test -s conftest$ac_exeext && {
 
14775
         test "$cross_compiling" = yes ||
 
14776
         $as_test_x conftest$ac_exeext
 
14777
       }; then
13838
14778
  ac_cv_lib_dld_dld_link=yes
13839
14779
else
13840
 
  echo "$as_me: failed program was:" >&5
 
14780
  $as_echo "$as_me: failed program was:" >&5
13841
14781
sed 's/^/| /' conftest.$ac_ext >&5
13842
14782
 
13843
14783
        ac_cv_lib_dld_dld_link=no
13844
14784
fi
13845
14785
 
 
14786
rm -rf conftest.dSYM
13846
14787
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13847
14788
      conftest$ac_exeext conftest.$ac_ext
13848
14789
LIBS=$ac_check_lib_save_LIBS
13849
14790
fi
13850
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13851
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13852
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
14791
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
14792
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
14793
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
13853
14794
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13854
14795
fi
13855
14796
 
13888
14829
    save_LIBS="$LIBS"
13889
14830
    LIBS="$lt_cv_dlopen_libs $LIBS"
13890
14831
 
13891
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13892
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
14832
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
14833
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13893
14834
if test "${lt_cv_dlopen_self+set}" = set; then
13894
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14835
  $as_echo_n "(cached) " >&6
13895
14836
else
13896
14837
          if test "$cross_compiling" = yes; then :
13897
14838
  lt_cv_dlopen_self=cross
13898
14839
else
13899
14840
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13900
14841
  lt_status=$lt_dlunknown
13901
 
  cat > conftest.$ac_ext <<EOF
13902
 
#line 13902 "configure"
 
14842
  cat > conftest.$ac_ext <<_LT_EOF
 
14843
#line 14843 "configure"
13903
14844
#include "confdefs.h"
13904
14845
 
13905
14846
#if HAVE_DLFCN_H
13940
14881
#  endif
13941
14882
#endif
13942
14883
 
13943
 
#ifdef __cplusplus
13944
 
extern "C" void exit (int);
13945
 
#endif
13946
 
 
13947
14884
void fnord() { int i=42;}
13948
14885
int main ()
13949
14886
{
13959
14896
  else
13960
14897
    puts (dlerror ());
13961
14898
 
13962
 
    exit (status);
 
14899
  return status;
13963
14900
}
13964
 
EOF
 
14901
_LT_EOF
13965
14902
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13966
14903
  (eval $ac_link) 2>&5
13967
14904
  ac_status=$?
13968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14905
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969
14906
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13970
14907
    (./conftest; exit; ) >&5 2>/dev/null
13971
14908
    lt_status=$?
13983
14920
 
13984
14921
 
13985
14922
fi
13986
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13987
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
14923
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
14924
$as_echo "$lt_cv_dlopen_self" >&6; }
13988
14925
 
13989
14926
    if test "x$lt_cv_dlopen_self" = xyes; then
13990
14927
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13991
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13992
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
14928
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
14929
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13993
14930
if test "${lt_cv_dlopen_self_static+set}" = set; then
13994
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14931
  $as_echo_n "(cached) " >&6
13995
14932
else
13996
14933
          if test "$cross_compiling" = yes; then :
13997
14934
  lt_cv_dlopen_self_static=cross
13998
14935
else
13999
14936
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14000
14937
  lt_status=$lt_dlunknown
14001
 
  cat > conftest.$ac_ext <<EOF
14002
 
#line 14002 "configure"
 
14938
  cat > conftest.$ac_ext <<_LT_EOF
 
14939
#line 14939 "configure"
14003
14940
#include "confdefs.h"
14004
14941
 
14005
14942
#if HAVE_DLFCN_H
14040
14977
#  endif
14041
14978
#endif
14042
14979
 
14043
 
#ifdef __cplusplus
14044
 
extern "C" void exit (int);
14045
 
#endif
14046
 
 
14047
14980
void fnord() { int i=42;}
14048
14981
int main ()
14049
14982
{
14059
14992
  else
14060
14993
    puts (dlerror ());
14061
14994
 
14062
 
    exit (status);
 
14995
  return status;
14063
14996
}
14064
 
EOF
 
14997
_LT_EOF
14065
14998
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14066
14999
  (eval $ac_link) 2>&5
14067
15000
  ac_status=$?
14068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15001
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069
15002
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14070
15003
    (./conftest; exit; ) >&5 2>/dev/null
14071
15004
    lt_status=$?
14083
15016
 
14084
15017
 
14085
15018
fi
14086
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14087
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
15019
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
15020
$as_echo "$lt_cv_dlopen_self_static" >&6; }
14088
15021
    fi
14089
15022
 
14090
15023
    CPPFLAGS="$save_CPPFLAGS"
14105
15038
fi
14106
15039
 
14107
15040
 
14108
 
# Report which library types will actually be built
14109
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14110
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14111
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14112
 
echo "${ECHO_T}$can_build_shared" >&6; }
14113
 
 
14114
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14115
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14116
 
test "$can_build_shared" = "no" && enable_shared=no
14117
 
 
14118
 
# On AIX, shared libraries and static libraries use the same namespace, and
14119
 
# are all built from PIC.
14120
 
case $host_os in
14121
 
aix3*)
14122
 
  test "$enable_shared" = yes && enable_static=no
14123
 
  if test -n "$RANLIB"; then
14124
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14125
 
    postinstall_cmds='$RANLIB $lib'
14126
 
  fi
14127
 
  ;;
14128
 
 
14129
 
aix[4-9]*)
14130
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14131
 
    test "$enable_shared" = yes && enable_static=no
14132
 
  fi
14133
 
    ;;
14134
 
esac
14135
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14136
 
echo "${ECHO_T}$enable_shared" >&6; }
14137
 
 
14138
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14139
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14140
 
# Make sure either enable_shared or enable_static is yes.
14141
 
test "$enable_shared" = yes || enable_static=yes
14142
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14143
 
echo "${ECHO_T}$enable_static" >&6; }
14144
 
 
14145
 
# The else clause should only fire when bootstrapping the
14146
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14147
 
# with your package, and you will get complaints that there are
14148
 
# no rules to generate ltmain.sh.
14149
 
if test -f "$ltmain"; then
14150
 
  # See if we are running on zsh, and set the options which allow our commands through
14151
 
  # without removal of \ escapes.
14152
 
  if test -n "${ZSH_VERSION+set}" ; then
14153
 
    setopt NO_GLOB_SUBST
14154
 
  fi
14155
 
  # Now quote all the things that may contain metacharacters while being
14156
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14157
 
  # variables and quote the copies for generation of the libtool script.
14158
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14159
 
    SED SHELL STRIP \
14160
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14161
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14162
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14163
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14164
 
    lt_cv_sys_global_symbol_to_c_name_address \
14165
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14166
 
    old_postinstall_cmds old_postuninstall_cmds \
14167
 
    compiler \
14168
 
    CC \
14169
 
    LD \
14170
 
    lt_prog_compiler_wl \
14171
 
    lt_prog_compiler_pic \
14172
 
    lt_prog_compiler_static \
14173
 
    lt_prog_compiler_no_builtin_flag \
14174
 
    export_dynamic_flag_spec \
14175
 
    thread_safe_flag_spec \
14176
 
    whole_archive_flag_spec \
14177
 
    enable_shared_with_static_runtimes \
14178
 
    old_archive_cmds \
14179
 
    old_archive_from_new_cmds \
14180
 
    predep_objects \
14181
 
    postdep_objects \
14182
 
    predeps \
14183
 
    postdeps \
14184
 
    compiler_lib_search_path \
14185
 
    compiler_lib_search_dirs \
14186
 
    archive_cmds \
14187
 
    archive_expsym_cmds \
14188
 
    postinstall_cmds \
14189
 
    postuninstall_cmds \
14190
 
    old_archive_from_expsyms_cmds \
14191
 
    allow_undefined_flag \
14192
 
    no_undefined_flag \
14193
 
    export_symbols_cmds \
14194
 
    hardcode_libdir_flag_spec \
14195
 
    hardcode_libdir_flag_spec_ld \
14196
 
    hardcode_libdir_separator \
14197
 
    hardcode_automatic \
14198
 
    module_cmds \
14199
 
    module_expsym_cmds \
14200
 
    lt_cv_prog_compiler_c_o \
14201
 
    fix_srcfile_path \
14202
 
    exclude_expsyms \
14203
 
    include_expsyms; do
14204
 
 
14205
 
    case $var in
14206
 
    old_archive_cmds | \
14207
 
    old_archive_from_new_cmds | \
14208
 
    archive_cmds | \
14209
 
    archive_expsym_cmds | \
14210
 
    module_cmds | \
14211
 
    module_expsym_cmds | \
14212
 
    old_archive_from_expsyms_cmds | \
14213
 
    export_symbols_cmds | \
14214
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14215
 
    postinstall_cmds | postuninstall_cmds | \
14216
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14217
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14218
 
      # Double-quote double-evaled strings.
14219
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14220
 
      ;;
14221
 
    *)
14222
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14223
 
      ;;
14224
 
    esac
14225
 
  done
14226
 
 
14227
 
  case $lt_echo in
14228
 
  *'\$0 --fallback-echo"')
14229
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14230
 
    ;;
14231
 
  esac
14232
 
 
14233
 
cfgfile="${ofile}T"
14234
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
14235
 
  $rm -f "$cfgfile"
14236
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
14237
 
echo "$as_me: creating $ofile" >&6;}
14238
 
 
14239
 
  cat <<__EOF__ >> "$cfgfile"
14240
 
#! $SHELL
14241
 
 
14242
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14243
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
14244
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14245
 
#
14246
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
14247
 
# Free Software Foundation, Inc.
14248
 
#
14249
 
# This file is part of GNU Libtool:
14250
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14251
 
#
14252
 
# This program is free software; you can redistribute it and/or modify
14253
 
# it under the terms of the GNU General Public License as published by
14254
 
# the Free Software Foundation; either version 2 of the License, or
14255
 
# (at your option) any later version.
14256
 
#
14257
 
# This program is distributed in the hope that it will be useful, but
14258
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
14259
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14260
 
# General Public License for more details.
14261
 
#
14262
 
# You should have received a copy of the GNU General Public License
14263
 
# along with this program; if not, write to the Free Software
14264
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14265
 
#
14266
 
# As a special exception to the GNU General Public License, if you
14267
 
# distribute this file as part of a program that contains a
14268
 
# configuration script generated by Autoconf, you may include it under
14269
 
# the same distribution terms that you use for the rest of that program.
14270
 
 
14271
 
# A sed program that does not truncate output.
14272
 
SED=$lt_SED
14273
 
 
14274
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14275
 
Xsed="$SED -e 1s/^X//"
14276
 
 
14277
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
14278
 
# if CDPATH is set.
14279
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14280
 
 
14281
 
# The names of the tagged configurations supported by this script.
14282
 
available_tags=
14283
 
 
14284
 
# ### BEGIN LIBTOOL CONFIG
14285
 
 
14286
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14287
 
 
14288
 
# Shell to use when invoking shell scripts.
14289
 
SHELL=$lt_SHELL
14290
 
 
14291
 
# Whether or not to build shared libraries.
14292
 
build_libtool_libs=$enable_shared
14293
 
 
14294
 
# Whether or not to build static libraries.
14295
 
build_old_libs=$enable_static
14296
 
 
14297
 
# Whether or not to add -lc for building shared libraries.
14298
 
build_libtool_need_lc=$archive_cmds_need_lc
14299
 
 
14300
 
# Whether or not to disallow shared libs when runtime libs are static
14301
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14302
 
 
14303
 
# Whether or not to optimize for fast installation.
14304
 
fast_install=$enable_fast_install
14305
 
 
14306
 
# The host system.
14307
 
host_alias=$host_alias
14308
 
host=$host
14309
 
host_os=$host_os
14310
 
 
14311
 
# The build system.
14312
 
build_alias=$build_alias
14313
 
build=$build
14314
 
build_os=$build_os
14315
 
 
14316
 
# An echo program that does not interpret backslashes.
14317
 
echo=$lt_echo
14318
 
 
14319
 
# The archiver.
14320
 
AR=$lt_AR
14321
 
AR_FLAGS=$lt_AR_FLAGS
14322
 
 
14323
 
# A C compiler.
14324
 
LTCC=$lt_LTCC
14325
 
 
14326
 
# LTCC compiler flags.
14327
 
LTCFLAGS=$lt_LTCFLAGS
14328
 
 
14329
 
# A language-specific compiler.
14330
 
CC=$lt_compiler
14331
 
 
14332
 
# Is the compiler the GNU C compiler?
14333
 
with_gcc=$GCC
14334
 
 
14335
 
# An ERE matcher.
14336
 
EGREP=$lt_EGREP
14337
 
 
14338
 
# The linker used to build libraries.
14339
 
LD=$lt_LD
14340
 
 
14341
 
# Whether we need hard or soft links.
14342
 
LN_S=$lt_LN_S
14343
 
 
14344
 
# A BSD-compatible nm program.
14345
 
NM=$lt_NM
14346
 
 
14347
 
# A symbol stripping program
14348
 
STRIP=$lt_STRIP
14349
 
 
14350
 
# Used to examine libraries when file_magic_cmd begins "file"
14351
 
MAGIC_CMD=$MAGIC_CMD
14352
 
 
14353
 
# Used on cygwin: DLL creation program.
14354
 
DLLTOOL="$DLLTOOL"
14355
 
 
14356
 
# Used on cygwin: object dumper.
14357
 
OBJDUMP="$OBJDUMP"
14358
 
 
14359
 
# Used on cygwin: assembler.
14360
 
AS="$AS"
14361
 
 
14362
 
# The name of the directory that contains temporary libtool files.
14363
 
objdir=$objdir
14364
 
 
14365
 
# How to create reloadable object files.
14366
 
reload_flag=$lt_reload_flag
14367
 
reload_cmds=$lt_reload_cmds
14368
 
 
14369
 
# How to pass a linker flag through the compiler.
14370
 
wl=$lt_lt_prog_compiler_wl
14371
 
 
14372
 
# Object file suffix (normally "o").
14373
 
objext="$ac_objext"
14374
 
 
14375
 
# Old archive suffix (normally "a").
14376
 
libext="$libext"
14377
 
 
14378
 
# Shared library suffix (normally ".so").
14379
 
shrext_cmds='$shrext_cmds'
14380
 
 
14381
 
# Executable file suffix (normally "").
14382
 
exeext="$exeext"
14383
 
 
14384
 
# Additional compiler flags for building library objects.
14385
 
pic_flag=$lt_lt_prog_compiler_pic
14386
 
pic_mode=$pic_mode
14387
 
 
14388
 
# What is the maximum length of a command?
14389
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14390
 
 
14391
 
# Does compiler simultaneously support -c and -o options?
14392
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14393
 
 
14394
 
# Must we lock files when doing compilation?
14395
 
need_locks=$lt_need_locks
14396
 
 
14397
 
# Do we need the lib prefix for modules?
14398
 
need_lib_prefix=$need_lib_prefix
14399
 
 
14400
 
# Do we need a version for libraries?
14401
 
need_version=$need_version
14402
 
 
14403
 
# Whether dlopen is supported.
14404
 
dlopen_support=$enable_dlopen
14405
 
 
14406
 
# Whether dlopen of programs is supported.
14407
 
dlopen_self=$enable_dlopen_self
14408
 
 
14409
 
# Whether dlopen of statically linked programs is supported.
14410
 
dlopen_self_static=$enable_dlopen_self_static
14411
 
 
14412
 
# Compiler flag to prevent dynamic linking.
14413
 
link_static_flag=$lt_lt_prog_compiler_static
14414
 
 
14415
 
# Compiler flag to turn off builtin functions.
14416
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14417
 
 
14418
 
# Compiler flag to allow reflexive dlopens.
14419
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14420
 
 
14421
 
# Compiler flag to generate shared objects directly from archives.
14422
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14423
 
 
14424
 
# Compiler flag to generate thread-safe objects.
14425
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
14426
 
 
14427
 
# Library versioning type.
14428
 
version_type=$version_type
14429
 
 
14430
 
# Format of library name prefix.
14431
 
libname_spec=$lt_libname_spec
14432
 
 
14433
 
# List of archive names.  First name is the real one, the rest are links.
14434
 
# The last name is the one that the linker finds with -lNAME.
14435
 
library_names_spec=$lt_library_names_spec
14436
 
 
14437
 
# The coded name of the library, if different from the real name.
14438
 
soname_spec=$lt_soname_spec
14439
 
 
14440
 
# Commands used to build and install an old-style archive.
14441
 
RANLIB=$lt_RANLIB
14442
 
old_archive_cmds=$lt_old_archive_cmds
14443
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14444
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14445
 
 
14446
 
# Create an old-style archive from a shared archive.
14447
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14448
 
 
14449
 
# Create a temporary old-style archive to link instead of a shared archive.
14450
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14451
 
 
14452
 
# Commands used to build and install a shared archive.
14453
 
archive_cmds=$lt_archive_cmds
14454
 
archive_expsym_cmds=$lt_archive_expsym_cmds
14455
 
postinstall_cmds=$lt_postinstall_cmds
14456
 
postuninstall_cmds=$lt_postuninstall_cmds
14457
 
 
14458
 
# Commands used to build a loadable module (assumed same as above if empty)
14459
 
module_cmds=$lt_module_cmds
14460
 
module_expsym_cmds=$lt_module_expsym_cmds
14461
 
 
14462
 
# Commands to strip libraries.
14463
 
old_striplib=$lt_old_striplib
14464
 
striplib=$lt_striplib
14465
 
 
14466
 
# Dependencies to place before the objects being linked to create a
14467
 
# shared library.
14468
 
predep_objects=$lt_predep_objects
14469
 
 
14470
 
# Dependencies to place after the objects being linked to create a
14471
 
# shared library.
14472
 
postdep_objects=$lt_postdep_objects
14473
 
 
14474
 
# Dependencies to place before the objects being linked to create a
14475
 
# shared library.
14476
 
predeps=$lt_predeps
14477
 
 
14478
 
# Dependencies to place after the objects being linked to create a
14479
 
# shared library.
14480
 
postdeps=$lt_postdeps
14481
 
 
14482
 
# The directories searched by this compiler when creating a shared
14483
 
# library
14484
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
14485
 
 
14486
 
# The library search path used internally by the compiler when linking
14487
 
# a shared library.
14488
 
compiler_lib_search_path=$lt_compiler_lib_search_path
14489
 
 
14490
 
# Method to check whether dependent libraries are shared objects.
14491
 
deplibs_check_method=$lt_deplibs_check_method
14492
 
 
14493
 
# Command to use when deplibs_check_method == file_magic.
14494
 
file_magic_cmd=$lt_file_magic_cmd
14495
 
 
14496
 
# Flag that allows shared libraries with undefined symbols to be built.
14497
 
allow_undefined_flag=$lt_allow_undefined_flag
14498
 
 
14499
 
# Flag that forces no undefined symbols.
14500
 
no_undefined_flag=$lt_no_undefined_flag
14501
 
 
14502
 
# Commands used to finish a libtool library installation in a directory.
14503
 
finish_cmds=$lt_finish_cmds
14504
 
 
14505
 
# Same as above, but a single script fragment to be evaled but not shown.
14506
 
finish_eval=$lt_finish_eval
14507
 
 
14508
 
# Take the output of nm and produce a listing of raw symbols and C names.
14509
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14510
 
 
14511
 
# Transform the output of nm in a proper C declaration
14512
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14513
 
 
14514
 
# Transform the output of nm in a C name address pair
14515
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14516
 
 
14517
 
# This is the shared library runtime path variable.
14518
 
runpath_var=$runpath_var
14519
 
 
14520
 
# This is the shared library path variable.
14521
 
shlibpath_var=$shlibpath_var
14522
 
 
14523
 
# Is shlibpath searched before the hard-coded library search path?
14524
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14525
 
 
14526
 
# How to hardcode a shared library path into an executable.
14527
 
hardcode_action=$hardcode_action
14528
 
 
14529
 
# Whether we should hardcode library paths into libraries.
14530
 
hardcode_into_libs=$hardcode_into_libs
14531
 
 
14532
 
# Flag to hardcode \$libdir into a binary during linking.
14533
 
# This must work even if \$libdir does not exist.
14534
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14535
 
 
14536
 
# If ld is used when linking, flag to hardcode \$libdir into
14537
 
# a binary during linking. This must work even if \$libdir does
14538
 
# not exist.
14539
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14540
 
 
14541
 
# Whether we need a single -rpath flag with a separated argument.
14542
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14543
 
 
14544
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14545
 
# resulting binary.
14546
 
hardcode_direct=$hardcode_direct
14547
 
 
14548
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14549
 
# resulting binary.
14550
 
hardcode_minus_L=$hardcode_minus_L
14551
 
 
14552
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14553
 
# the resulting binary.
14554
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
14555
 
 
14556
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14557
 
# and all subsequent libraries and executables linked against it.
14558
 
hardcode_automatic=$hardcode_automatic
14559
 
 
14560
 
# Variables whose values should be saved in libtool wrapper scripts and
14561
 
# restored at relink time.
14562
 
variables_saved_for_relink="$variables_saved_for_relink"
14563
 
 
14564
 
# Whether libtool must link a program against all its dependency libraries.
14565
 
link_all_deplibs=$link_all_deplibs
14566
 
 
14567
 
# Compile-time system search path for libraries
14568
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14569
 
 
14570
 
# Run-time system search path for libraries
14571
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14572
 
 
14573
 
# Fix the shell variable \$srcfile for the compiler.
14574
 
fix_srcfile_path=$lt_fix_srcfile_path
14575
 
 
14576
 
# Set to yes if exported symbols are required.
14577
 
always_export_symbols=$always_export_symbols
14578
 
 
14579
 
# The commands to list exported symbols.
14580
 
export_symbols_cmds=$lt_export_symbols_cmds
14581
 
 
14582
 
# The commands to extract the exported symbol list from a shared archive.
14583
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14584
 
 
14585
 
# Symbols that should not be listed in the preloaded symbols.
14586
 
exclude_expsyms=$lt_exclude_expsyms
14587
 
 
14588
 
# Symbols that must always be exported.
14589
 
include_expsyms=$lt_include_expsyms
14590
 
 
14591
 
# ### END LIBTOOL CONFIG
14592
 
 
14593
 
__EOF__
14594
 
 
14595
 
 
14596
 
  case $host_os in
14597
 
  aix3*)
14598
 
    cat <<\EOF >> "$cfgfile"
14599
 
 
14600
 
# AIX sometimes has problems with the GCC collect2 program.  For some
14601
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
14602
 
# vanish in a puff of smoke.
14603
 
if test "X${COLLECT_NAMES+set}" != Xset; then
14604
 
  COLLECT_NAMES=
14605
 
  export COLLECT_NAMES
14606
 
fi
14607
 
EOF
14608
 
    ;;
14609
 
  esac
14610
 
 
14611
 
  # We use sed instead of cat because bash on DJGPP gets confused if
14612
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14613
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
14614
 
  # is reportedly fixed, but why not run on old versions too?
14615
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
14616
 
 
14617
 
  mv -f "$cfgfile" "$ofile" || \
14618
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14619
 
  chmod +x "$ofile"
14620
 
 
14621
 
else
14622
 
  # If there is no Makefile yet, we rely on a make rule to execute
14623
 
  # `config.status --recheck' to rerun these tests and create the
14624
 
  # libtool script then.
14625
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14626
 
  if test -f "$ltmain_in"; then
14627
 
    test -f Makefile && make "$ltmain"
14628
 
  fi
14629
 
fi
14630
 
 
14631
 
 
14632
 
ac_ext=c
14633
 
ac_cpp='$CPP $CPPFLAGS'
14634
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14635
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14636
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14637
 
 
14638
 
CC="$lt_save_CC"
14639
 
 
14640
 
 
14641
 
# Check whether --with-tags was given.
14642
 
if test "${with_tags+set}" = set; then
14643
 
  withval=$with_tags; tagnames="$withval"
14644
 
fi
14645
 
 
14646
 
 
14647
 
if test -f "$ltmain" && test -n "$tagnames"; then
14648
 
  if test ! -f "${ofile}"; then
14649
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
14650
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
14651
 
  fi
14652
 
 
14653
 
  if test -z "$LTCC"; then
14654
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
14655
 
    if test -z "$LTCC"; then
14656
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
14657
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
14658
 
    else
14659
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
14660
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
14661
 
    fi
14662
 
  fi
14663
 
  if test -z "$LTCFLAGS"; then
14664
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
14665
 
  fi
14666
 
 
14667
 
  # Extract list of available tagged configurations in $ofile.
14668
 
  # Note that this assumes the entire list is on one line.
14669
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
14670
 
 
14671
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14672
 
  for tagname in $tagnames; do
14673
 
    IFS="$lt_save_ifs"
14674
 
    # Check whether tagname contains only valid characters
14675
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
14676
 
    "") ;;
14677
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
14678
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
14679
 
   { (exit 1); exit 1; }; }
14680
 
        ;;
14681
 
    esac
14682
 
 
14683
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
14684
 
    then
14685
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
14686
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
14687
 
   { (exit 1); exit 1; }; }
14688
 
    fi
14689
 
 
14690
 
    # Update the list of available tags.
14691
 
    if test -n "$tagname"; then
14692
 
      echo appending configuration tag \"$tagname\" to $ofile
14693
 
 
14694
 
      case $tagname in
14695
 
      CXX)
14696
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14697
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14698
 
            (test "X$CXX" != "Xg++"))) ; then
14699
 
          ac_ext=cpp
14700
 
ac_cpp='$CXXCPP $CPPFLAGS'
14701
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14702
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14703
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14704
 
 
14705
 
 
14706
 
 
14707
 
 
14708
 
archive_cmds_need_lc_CXX=no
14709
 
allow_undefined_flag_CXX=
14710
 
always_export_symbols_CXX=no
14711
 
archive_expsym_cmds_CXX=
14712
 
export_dynamic_flag_spec_CXX=
14713
 
hardcode_direct_CXX=no
14714
 
hardcode_libdir_flag_spec_CXX=
14715
 
hardcode_libdir_flag_spec_ld_CXX=
14716
 
hardcode_libdir_separator_CXX=
14717
 
hardcode_minus_L_CXX=no
14718
 
hardcode_shlibpath_var_CXX=unsupported
14719
 
hardcode_automatic_CXX=no
14720
 
module_cmds_CXX=
14721
 
module_expsym_cmds_CXX=
14722
 
link_all_deplibs_CXX=unknown
14723
 
old_archive_cmds_CXX=$old_archive_cmds
14724
 
no_undefined_flag_CXX=
14725
 
whole_archive_flag_spec_CXX=
14726
 
enable_shared_with_static_runtimes_CXX=no
14727
 
 
14728
 
# Dependencies to place before and after the object being linked:
14729
 
predep_objects_CXX=
14730
 
postdep_objects_CXX=
14731
 
predeps_CXX=
14732
 
postdeps_CXX=
14733
 
compiler_lib_search_path_CXX=
14734
 
compiler_lib_search_dirs_CXX=
14735
 
 
14736
 
# Source file extension for C++ test sources.
14737
 
ac_ext=cpp
14738
 
 
14739
 
# Object file extension for compiled C++ test sources.
14740
 
objext=o
14741
 
objext_CXX=$objext
14742
 
 
14743
 
# Code to be used in simple compile tests
14744
 
lt_simple_compile_test_code="int some_variable = 0;"
14745
 
 
14746
 
# Code to be used in simple link tests
14747
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14748
 
 
14749
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14750
 
 
14751
 
# If no C compiler was specified, use CC.
14752
 
LTCC=${LTCC-"$CC"}
14753
 
 
14754
 
# If no C compiler flags were specified, use CFLAGS.
14755
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14756
 
 
14757
 
# Allow CC to be a program name with arguments.
14758
 
compiler=$CC
14759
 
 
14760
 
 
14761
 
# save warnings/boilerplate of simple test code
14762
 
ac_outfile=conftest.$ac_objext
14763
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14764
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14765
 
_lt_compiler_boilerplate=`cat conftest.err`
14766
 
$rm conftest*
14767
 
 
14768
 
ac_outfile=conftest.$ac_objext
14769
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14770
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14771
 
_lt_linker_boilerplate=`cat conftest.err`
14772
 
$rm -r conftest*
14773
 
 
14774
 
 
14775
 
# Allow CC to be a program name with arguments.
14776
 
lt_save_CC=$CC
14777
 
lt_save_LD=$LD
14778
 
lt_save_GCC=$GCC
14779
 
GCC=$GXX
14780
 
lt_save_with_gnu_ld=$with_gnu_ld
14781
 
lt_save_path_LD=$lt_cv_path_LD
14782
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14783
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14784
 
else
14785
 
  $as_unset lt_cv_prog_gnu_ld
14786
 
fi
14787
 
if test -n "${lt_cv_path_LDCXX+set}"; then
14788
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
14789
 
else
14790
 
  $as_unset lt_cv_path_LD
14791
 
fi
14792
 
test -z "${LDCXX+set}" || LD=$LDCXX
14793
 
CC=${CXX-"c++"}
14794
 
compiler=$CC
14795
 
compiler_CXX=$CC
14796
 
for cc_temp in $compiler""; do
14797
 
  case $cc_temp in
14798
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14799
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14800
 
    \-*) ;;
14801
 
    *) break;;
14802
 
  esac
14803
 
done
14804
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14805
 
 
14806
 
 
14807
 
# We don't want -fno-exception wen compiling C++ code, so set the
14808
 
# no_builtin_flag separately
14809
 
if test "$GXX" = yes; then
14810
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14811
 
else
14812
 
  lt_prog_compiler_no_builtin_flag_CXX=
14813
 
fi
14814
 
 
14815
 
if test "$GXX" = yes; then
14816
 
  # Set up default GNU C++ configuration
14817
 
 
14818
 
 
14819
 
# Check whether --with-gnu-ld was given.
14820
 
if test "${with_gnu_ld+set}" = set; then
14821
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14822
 
else
14823
 
  with_gnu_ld=no
14824
 
fi
14825
 
 
14826
 
ac_prog=ld
14827
 
if test "$GCC" = yes; then
14828
 
  # Check if gcc -print-prog-name=ld gives a path.
14829
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14830
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
14831
 
  case $host in
14832
 
  *-*-mingw*)
14833
 
    # gcc leaves a trailing carriage return which upsets mingw
14834
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14835
 
  *)
14836
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14837
 
  esac
14838
 
  case $ac_prog in
14839
 
    # Accept absolute paths.
14840
 
    [\\/]* | ?:[\\/]*)
14841
 
      re_direlt='/[^/][^/]*/\.\./'
14842
 
      # Canonicalize the pathname of ld
14843
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
14844
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14845
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
14846
 
      done
14847
 
      test -z "$LD" && LD="$ac_prog"
14848
 
      ;;
14849
 
  "")
14850
 
    # If it fails, then pretend we aren't using GCC.
14851
 
    ac_prog=ld
14852
 
    ;;
14853
 
  *)
14854
 
    # If it is relative, then search for the first ld in PATH.
14855
 
    with_gnu_ld=unknown
14856
 
    ;;
14857
 
  esac
14858
 
elif test "$with_gnu_ld" = yes; then
14859
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
14860
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
14861
 
else
14862
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14863
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
14864
 
fi
14865
 
if test "${lt_cv_path_LD+set}" = set; then
14866
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14867
 
else
14868
 
  if test -z "$LD"; then
14869
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14870
 
  for ac_dir in $PATH; do
14871
 
    IFS="$lt_save_ifs"
14872
 
    test -z "$ac_dir" && ac_dir=.
14873
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14874
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
14875
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
14876
 
      # but apparently some variants of GNU ld only accept -v.
14877
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
14878
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14879
 
      *GNU* | *'with BFD'*)
14880
 
        test "$with_gnu_ld" != no && break
14881
 
        ;;
14882
 
      *)
14883
 
        test "$with_gnu_ld" != yes && break
14884
 
        ;;
14885
 
      esac
14886
 
    fi
14887
 
  done
14888
 
  IFS="$lt_save_ifs"
14889
 
else
14890
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
14891
 
fi
14892
 
fi
14893
 
 
14894
 
LD="$lt_cv_path_LD"
14895
 
if test -n "$LD"; then
14896
 
  { echo "$as_me:$LINENO: result: $LD" >&5
14897
 
echo "${ECHO_T}$LD" >&6; }
14898
 
else
14899
 
  { echo "$as_me:$LINENO: result: no" >&5
14900
 
echo "${ECHO_T}no" >&6; }
14901
 
fi
14902
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14903
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14904
 
   { (exit 1); exit 1; }; }
14905
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14906
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
14907
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
14908
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14909
 
else
14910
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14911
 
case `$LD -v 2>&1 </dev/null` in
14912
 
*GNU* | *'with BFD'*)
14913
 
  lt_cv_prog_gnu_ld=yes
14914
 
  ;;
14915
 
*)
14916
 
  lt_cv_prog_gnu_ld=no
14917
 
  ;;
14918
 
esac
14919
 
fi
14920
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14921
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
14922
 
with_gnu_ld=$lt_cv_prog_gnu_ld
14923
 
 
14924
 
 
14925
 
 
14926
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
14927
 
  # archiving commands below assume that GNU ld is being used.
14928
 
  if test "$with_gnu_ld" = yes; then
14929
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14930
 
    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'
14931
 
 
14932
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14933
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14934
 
 
14935
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14936
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14937
 
    #     investigate it a little bit more. (MM)
14938
 
    wlarc='${wl}'
14939
 
 
14940
 
    # ancient GNU ld didn't support --whole-archive et. al.
14941
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
14942
 
        grep 'no-whole-archive' > /dev/null; then
14943
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14944
 
    else
14945
 
      whole_archive_flag_spec_CXX=
14946
 
    fi
14947
 
  else
14948
 
    with_gnu_ld=no
14949
 
    wlarc=
14950
 
 
14951
 
    # A generic and very simple default shared library creation
14952
 
    # command for GNU C++ for the case where it uses the native
14953
 
    # linker, instead of GNU ld.  If possible, this setting should
14954
 
    # overridden to take advantage of the native linker features on
14955
 
    # the platform it is being used on.
14956
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14957
 
  fi
14958
 
 
14959
 
  # Commands to make compiler produce verbose output that lists
14960
 
  # what "hidden" libraries, object files and flags are used when
14961
 
  # linking a shared library.
14962
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14963
 
 
14964
 
else
14965
 
  GXX=no
14966
 
  with_gnu_ld=no
14967
 
  wlarc=
14968
 
fi
14969
 
 
14970
 
# PORTME: fill in a description of your system's C++ link characteristics
14971
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14972
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14973
 
ld_shlibs_CXX=yes
14974
 
case $host_os in
14975
 
  aix3*)
14976
 
    # FIXME: insert proper C++ library support
14977
 
    ld_shlibs_CXX=no
14978
 
    ;;
14979
 
  aix[4-9]*)
14980
 
    if test "$host_cpu" = ia64; then
14981
 
      # On IA64, the linker does run time linking by default, so we don't
14982
 
      # have to do anything special.
14983
 
      aix_use_runtimelinking=no
14984
 
      exp_sym_flag='-Bexport'
14985
 
      no_entry_flag=""
14986
 
    else
14987
 
      aix_use_runtimelinking=no
14988
 
 
14989
 
      # Test if we are trying to use run time linking or normal
14990
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14991
 
      # need to do runtime linking.
14992
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14993
 
        for ld_flag in $LDFLAGS; do
14994
 
          case $ld_flag in
14995
 
          *-brtl*)
14996
 
            aix_use_runtimelinking=yes
14997
 
            break
14998
 
            ;;
14999
 
          esac
15000
 
        done
15001
 
        ;;
15002
 
      esac
15003
 
 
15004
 
      exp_sym_flag='-bexport'
15005
 
      no_entry_flag='-bnoentry'
15006
 
    fi
15007
 
 
15008
 
    # When large executables or shared objects are built, AIX ld can
15009
 
    # have problems creating the table of contents.  If linking a library
15010
 
    # or program results in "error TOC overflow" add -mminimal-toc to
15011
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15012
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15013
 
 
15014
 
    archive_cmds_CXX=''
15015
 
    hardcode_direct_CXX=yes
15016
 
    hardcode_libdir_separator_CXX=':'
15017
 
    link_all_deplibs_CXX=yes
15018
 
 
15019
 
    if test "$GXX" = yes; then
15020
 
      case $host_os in aix4.[012]|aix4.[012].*)
15021
 
      # We only want to do this on AIX 4.2 and lower, the check
15022
 
      # below for broken collect2 doesn't work under 4.3+
15023
 
        collect2name=`${CC} -print-prog-name=collect2`
15024
 
        if test -f "$collect2name" && \
15025
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15026
 
        then
15027
 
          # We have reworked collect2
15028
 
          :
15029
 
        else
15030
 
          # We have old collect2
15031
 
          hardcode_direct_CXX=unsupported
15032
 
          # It fails to find uninstalled libraries when the uninstalled
15033
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15034
 
          # to unsupported forces relinking
15035
 
          hardcode_minus_L_CXX=yes
15036
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
15037
 
          hardcode_libdir_separator_CXX=
15038
 
        fi
15039
 
        ;;
15040
 
      esac
15041
 
      shared_flag='-shared'
15042
 
      if test "$aix_use_runtimelinking" = yes; then
15043
 
        shared_flag="$shared_flag "'${wl}-G'
15044
 
      fi
15045
 
    else
15046
 
      # not using gcc
15047
 
      if test "$host_cpu" = ia64; then
15048
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15049
 
        # chokes on -Wl,-G. The following line is correct:
15050
 
        shared_flag='-G'
15051
 
      else
15052
 
        if test "$aix_use_runtimelinking" = yes; then
15053
 
          shared_flag='${wl}-G'
15054
 
        else
15055
 
          shared_flag='${wl}-bM:SRE'
15056
 
        fi
15057
 
      fi
15058
 
    fi
15059
 
 
15060
 
    # It seems that -bexpall does not export symbols beginning with
15061
 
    # underscore (_), so it is better to generate a list of symbols to export.
15062
 
    always_export_symbols_CXX=yes
15063
 
    if test "$aix_use_runtimelinking" = yes; then
15064
 
      # Warning - without using the other runtime loading flags (-brtl),
15065
 
      # -berok will link without error, but may produce a broken library.
15066
 
      allow_undefined_flag_CXX='-berok'
15067
 
      # Determine the default libpath from the value encoded in an empty executable.
15068
 
      cat >conftest.$ac_ext <<_ACEOF
15069
 
/* confdefs.h.  */
15070
 
_ACEOF
15071
 
cat confdefs.h >>conftest.$ac_ext
15072
 
cat >>conftest.$ac_ext <<_ACEOF
15073
 
/* end confdefs.h.  */
15074
 
 
15075
 
int
15076
 
main ()
15077
 
{
15078
 
 
15079
 
  ;
15080
 
  return 0;
15081
 
}
15082
 
_ACEOF
15083
 
rm -f conftest.$ac_objext conftest$ac_exeext
15084
 
if { (ac_try="$ac_link"
15085
 
case "(($ac_try" in
15086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15087
 
  *) ac_try_echo=$ac_try;;
15088
 
esac
15089
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15090
 
  (eval "$ac_link") 2>conftest.er1
15091
 
  ac_status=$?
15092
 
  grep -v '^ *+' conftest.er1 >conftest.err
15093
 
  rm -f conftest.er1
15094
 
  cat conftest.err >&5
15095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096
 
  (exit $ac_status); } && {
15097
 
         test -z "$ac_cxx_werror_flag" ||
15098
 
         test ! -s conftest.err
15099
 
       } && test -s conftest$ac_exeext &&
15100
 
       $as_test_x conftest$ac_exeext; then
15101
 
 
15102
 
lt_aix_libpath_sed='
15103
 
    /Import File Strings/,/^$/ {
15104
 
        /^0/ {
15105
 
            s/^0  *\(.*\)$/\1/
15106
 
            p
15107
 
        }
15108
 
    }'
15109
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15110
 
# Check for a 64-bit object if we didn't find anything.
15111
 
if test -z "$aix_libpath"; then
15112
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15113
 
fi
15114
 
else
15115
 
  echo "$as_me: failed program was:" >&5
15116
 
sed 's/^/| /' conftest.$ac_ext >&5
15117
 
 
15118
 
 
15119
 
fi
15120
 
 
15121
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15122
 
      conftest$ac_exeext conftest.$ac_ext
15123
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15124
 
 
15125
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15126
 
 
15127
 
      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"
15128
 
     else
15129
 
      if test "$host_cpu" = ia64; then
15130
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15131
 
        allow_undefined_flag_CXX="-z nodefs"
15132
 
        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"
15133
 
      else
15134
 
        # Determine the default libpath from the value encoded in an empty executable.
15135
 
        cat >conftest.$ac_ext <<_ACEOF
15136
 
/* confdefs.h.  */
15137
 
_ACEOF
15138
 
cat confdefs.h >>conftest.$ac_ext
15139
 
cat >>conftest.$ac_ext <<_ACEOF
15140
 
/* end confdefs.h.  */
15141
 
 
15142
 
int
15143
 
main ()
15144
 
{
15145
 
 
15146
 
  ;
15147
 
  return 0;
15148
 
}
15149
 
_ACEOF
15150
 
rm -f conftest.$ac_objext conftest$ac_exeext
15151
 
if { (ac_try="$ac_link"
15152
 
case "(($ac_try" in
15153
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15154
 
  *) ac_try_echo=$ac_try;;
15155
 
esac
15156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15157
 
  (eval "$ac_link") 2>conftest.er1
15158
 
  ac_status=$?
15159
 
  grep -v '^ *+' conftest.er1 >conftest.err
15160
 
  rm -f conftest.er1
15161
 
  cat conftest.err >&5
15162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163
 
  (exit $ac_status); } && {
15164
 
         test -z "$ac_cxx_werror_flag" ||
15165
 
         test ! -s conftest.err
15166
 
       } && test -s conftest$ac_exeext &&
15167
 
       $as_test_x conftest$ac_exeext; then
15168
 
 
15169
 
lt_aix_libpath_sed='
15170
 
    /Import File Strings/,/^$/ {
15171
 
        /^0/ {
15172
 
            s/^0  *\(.*\)$/\1/
15173
 
            p
15174
 
        }
15175
 
    }'
15176
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15177
 
# Check for a 64-bit object if we didn't find anything.
15178
 
if test -z "$aix_libpath"; then
15179
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15180
 
fi
15181
 
else
15182
 
  echo "$as_me: failed program was:" >&5
15183
 
sed 's/^/| /' conftest.$ac_ext >&5
15184
 
 
15185
 
 
15186
 
fi
15187
 
 
15188
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15189
 
      conftest$ac_exeext conftest.$ac_ext
15190
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15191
 
 
15192
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15193
 
        # Warning - without using the other run time loading flags,
15194
 
        # -berok will link without error, but may produce a broken library.
15195
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
15196
 
        allow_undefined_flag_CXX=' ${wl}-berok'
15197
 
        # Exported symbols can be pulled into shared objects from archives
15198
 
        whole_archive_flag_spec_CXX='$convenience'
15199
 
        archive_cmds_need_lc_CXX=yes
15200
 
        # This is similar to how AIX traditionally builds its shared libraries.
15201
 
        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'
15202
 
      fi
15203
 
    fi
15204
 
    ;;
15205
 
 
15206
 
  beos*)
15207
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15208
 
      allow_undefined_flag_CXX=unsupported
15209
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15210
 
      # support --undefined.  This deserves some investigation.  FIXME
15211
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15212
 
    else
15213
 
      ld_shlibs_CXX=no
15214
 
    fi
15215
 
    ;;
15216
 
 
15217
 
  chorus*)
15218
 
    case $cc_basename in
15219
 
      *)
15220
 
        # FIXME: insert proper C++ library support
15221
 
        ld_shlibs_CXX=no
15222
 
        ;;
15223
 
    esac
15224
 
    ;;
15225
 
 
15226
 
  cygwin* | mingw* | pw32*)
15227
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15228
 
    # as there is no search path for DLLs.
15229
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
15230
 
    allow_undefined_flag_CXX=unsupported
15231
 
    always_export_symbols_CXX=no
15232
 
    enable_shared_with_static_runtimes_CXX=yes
15233
 
 
15234
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15235
 
      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'
15236
 
      # If the export-symbols file already is a .def file (1st line
15237
 
      # is EXPORTS), use it as is; otherwise, prepend...
15238
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15239
 
        cp $export_symbols $output_objdir/$soname.def;
15240
 
      else
15241
 
        echo EXPORTS > $output_objdir/$soname.def;
15242
 
        cat $export_symbols >> $output_objdir/$soname.def;
15243
 
      fi~
15244
 
      $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'
15245
 
    else
15246
 
      ld_shlibs_CXX=no
15247
 
    fi
15248
 
  ;;
15249
 
      darwin* | rhapsody*)
15250
 
      archive_cmds_need_lc_CXX=no
15251
 
      hardcode_direct_CXX=no
15252
 
      hardcode_automatic_CXX=yes
15253
 
      hardcode_shlibpath_var_CXX=unsupported
15254
 
      whole_archive_flag_spec_CXX=''
15255
 
      link_all_deplibs_CXX=yes
15256
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15257
 
      if test "$GXX" = yes ; then
15258
 
      output_verbose_link_cmd='echo'
15259
 
      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}"
15260
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15261
 
      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}"
15262
 
      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}"
15263
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15264
 
        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}"
15265
 
        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}"
15266
 
      fi
15267
 
      else
15268
 
      case $cc_basename in
15269
 
        xlc*)
15270
 
         output_verbose_link_cmd='echo'
15271
 
          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'
15272
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15273
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15274
 
          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}'
15275
 
          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}'
15276
 
          ;;
15277
 
       *)
15278
 
         ld_shlibs_CXX=no
15279
 
          ;;
15280
 
      esac
15281
 
      fi
15282
 
        ;;
15283
 
 
15284
 
  dgux*)
15285
 
    case $cc_basename in
15286
 
      ec++*)
15287
 
        # FIXME: insert proper C++ library support
15288
 
        ld_shlibs_CXX=no
15289
 
        ;;
15290
 
      ghcx*)
15291
 
        # Green Hills C++ Compiler
15292
 
        # FIXME: insert proper C++ library support
15293
 
        ld_shlibs_CXX=no
15294
 
        ;;
15295
 
      *)
15296
 
        # FIXME: insert proper C++ library support
15297
 
        ld_shlibs_CXX=no
15298
 
        ;;
15299
 
    esac
15300
 
    ;;
15301
 
  freebsd[12]*)
15302
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
15303
 
    ld_shlibs_CXX=no
15304
 
    ;;
15305
 
  freebsd-elf*)
15306
 
    archive_cmds_need_lc_CXX=no
15307
 
    ;;
15308
 
  freebsd* | dragonfly*)
15309
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15310
 
    # conventions
15311
 
    ld_shlibs_CXX=yes
15312
 
    ;;
15313
 
  gnu*)
15314
 
    ;;
15315
 
  hpux9*)
15316
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15317
 
    hardcode_libdir_separator_CXX=:
15318
 
    export_dynamic_flag_spec_CXX='${wl}-E'
15319
 
    hardcode_direct_CXX=yes
15320
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
15321
 
                                # but as the default
15322
 
                                # location of the library.
15323
 
 
15324
 
    case $cc_basename in
15325
 
    CC*)
15326
 
      # FIXME: insert proper C++ library support
15327
 
      ld_shlibs_CXX=no
15328
 
      ;;
15329
 
    aCC*)
15330
 
      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'
15331
 
      # Commands to make compiler produce verbose output that lists
15332
 
      # what "hidden" libraries, object files and flags are used when
15333
 
      # linking a shared library.
15334
 
      #
15335
 
      # There doesn't appear to be a way to prevent this compiler from
15336
 
      # explicitly linking system object files so we need to strip them
15337
 
      # from the output so that they don't get included in the library
15338
 
      # dependencies.
15339
 
      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'
15340
 
      ;;
15341
 
    *)
15342
 
      if test "$GXX" = yes; then
15343
 
        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'
15344
 
      else
15345
 
        # FIXME: insert proper C++ library support
15346
 
        ld_shlibs_CXX=no
15347
 
      fi
15348
 
      ;;
15349
 
    esac
15350
 
    ;;
15351
 
  hpux10*|hpux11*)
15352
 
    if test $with_gnu_ld = no; then
15353
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15354
 
      hardcode_libdir_separator_CXX=:
15355
 
 
15356
 
      case $host_cpu in
15357
 
      hppa*64*|ia64*) ;;
15358
 
      *)
15359
 
        export_dynamic_flag_spec_CXX='${wl}-E'
15360
 
        ;;
15361
 
      esac
15362
 
    fi
15363
 
    case $host_cpu in
15364
 
    hppa*64*|ia64*)
15365
 
      hardcode_direct_CXX=no
15366
 
      hardcode_shlibpath_var_CXX=no
15367
 
      ;;
15368
 
    *)
15369
 
      hardcode_direct_CXX=yes
15370
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
15371
 
                                              # but as the default
15372
 
                                              # location of the library.
15373
 
      ;;
15374
 
    esac
15375
 
 
15376
 
    case $cc_basename in
15377
 
      CC*)
15378
 
        # FIXME: insert proper C++ library support
15379
 
        ld_shlibs_CXX=no
15380
 
        ;;
15381
 
      aCC*)
15382
 
        case $host_cpu in
15383
 
        hppa*64*)
15384
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15385
 
          ;;
15386
 
        ia64*)
15387
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15388
 
          ;;
15389
 
        *)
15390
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15391
 
          ;;
15392
 
        esac
15393
 
        # Commands to make compiler produce verbose output that lists
15394
 
        # what "hidden" libraries, object files and flags are used when
15395
 
        # linking a shared library.
15396
 
        #
15397
 
        # There doesn't appear to be a way to prevent this compiler from
15398
 
        # explicitly linking system object files so we need to strip them
15399
 
        # from the output so that they don't get included in the library
15400
 
        # dependencies.
15401
 
        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'
15402
 
        ;;
15403
 
      *)
15404
 
        if test "$GXX" = yes; then
15405
 
          if test $with_gnu_ld = no; then
15406
 
            case $host_cpu in
15407
 
            hppa*64*)
15408
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15409
 
              ;;
15410
 
            ia64*)
15411
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15412
 
              ;;
15413
 
            *)
15414
 
              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'
15415
 
              ;;
15416
 
            esac
15417
 
          fi
15418
 
        else
15419
 
          # FIXME: insert proper C++ library support
15420
 
          ld_shlibs_CXX=no
15421
 
        fi
15422
 
        ;;
15423
 
    esac
15424
 
    ;;
15425
 
  interix[3-9]*)
15426
 
    hardcode_direct_CXX=no
15427
 
    hardcode_shlibpath_var_CXX=no
15428
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15429
 
    export_dynamic_flag_spec_CXX='${wl}-E'
15430
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15431
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
15432
 
    # default) and relocated if they conflict, which is a slow very memory
15433
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
15434
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15435
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15436
 
    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'
15437
 
    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'
15438
 
    ;;
15439
 
  irix5* | irix6*)
15440
 
    case $cc_basename in
15441
 
      CC*)
15442
 
        # SGI C++
15443
 
        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'
15444
 
 
15445
 
        # Archives containing C++ object files must be created using
15446
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15447
 
        # necessary to make sure instantiated templates are included
15448
 
        # in the archive.
15449
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15450
 
        ;;
15451
 
      *)
15452
 
        if test "$GXX" = yes; then
15453
 
          if test "$with_gnu_ld" = no; then
15454
 
            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'
15455
 
          else
15456
 
            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'
15457
 
          fi
15458
 
        fi
15459
 
        link_all_deplibs_CXX=yes
15460
 
        ;;
15461
 
    esac
15462
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15463
 
    hardcode_libdir_separator_CXX=:
15464
 
    ;;
15465
 
  linux* | k*bsd*-gnu)
15466
 
    case $cc_basename in
15467
 
      KCC*)
15468
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
15469
 
 
15470
 
        # KCC will only create a shared library if the output file
15471
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
15472
 
        # to its proper name (with version) after linking.
15473
 
        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'
15474
 
        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'
15475
 
        # Commands to make compiler produce verbose output that lists
15476
 
        # what "hidden" libraries, object files and flags are used when
15477
 
        # linking a shared library.
15478
 
        #
15479
 
        # There doesn't appear to be a way to prevent this compiler from
15480
 
        # explicitly linking system object files so we need to strip them
15481
 
        # from the output so that they don't get included in the library
15482
 
        # dependencies.
15483
 
        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'
15484
 
 
15485
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
15486
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15487
 
 
15488
 
        # Archives containing C++ object files must be created using
15489
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15490
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15491
 
        ;;
15492
 
      icpc*)
15493
 
        # Intel C++
15494
 
        with_gnu_ld=yes
15495
 
        # version 8.0 and above of icpc choke on multiply defined symbols
15496
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
15497
 
        # earlier do not add the objects themselves.
15498
 
        case `$CC -V 2>&1` in
15499
 
        *"Version 7."*)
15500
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15501
 
          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'
15502
 
          ;;
15503
 
        *)  # Version 8.0 or newer
15504
 
          tmp_idyn=
15505
 
          case $host_cpu in
15506
 
            ia64*) tmp_idyn=' -i_dynamic';;
15507
 
          esac
15508
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15509
 
          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'
15510
 
          ;;
15511
 
        esac
15512
 
        archive_cmds_need_lc_CXX=no
15513
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15514
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15515
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15516
 
        ;;
15517
 
      pgCC* | pgcpp*)
15518
 
        # Portland Group C++ compiler
15519
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15520
 
        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'
15521
 
 
15522
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15523
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15524
 
        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'
15525
 
        ;;
15526
 
      cxx*)
15527
 
        # Compaq C++
15528
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15529
 
        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'
15530
 
 
15531
 
        runpath_var=LD_RUN_PATH
15532
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15533
 
        hardcode_libdir_separator_CXX=:
15534
 
 
15535
 
        # Commands to make compiler produce verbose output that lists
15536
 
        # what "hidden" libraries, object files and flags are used when
15537
 
        # linking a shared library.
15538
 
        #
15539
 
        # There doesn't appear to be a way to prevent this compiler from
15540
 
        # explicitly linking system object files so we need to strip them
15541
 
        # from the output so that they don't get included in the library
15542
 
        # dependencies.
15543
 
        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'
15544
 
        ;;
15545
 
      *)
15546
 
        case `$CC -V 2>&1 | sed 5q` in
15547
 
        *Sun\ C*)
15548
 
          # Sun C++ 5.9
15549
 
          no_undefined_flag_CXX=' -zdefs'
15550
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15551
 
          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'
15552
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
15553
 
          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'
15554
 
 
15555
 
          # Not sure whether something based on
15556
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15557
 
          # would be better.
15558
 
          output_verbose_link_cmd='echo'
15559
 
 
15560
 
          # Archives containing C++ object files must be created using
15561
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15562
 
          # necessary to make sure instantiated templates are included
15563
 
          # in the archive.
15564
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15565
 
          ;;
15566
 
        esac
15567
 
        ;;
15568
 
    esac
15569
 
    ;;
15570
 
  lynxos*)
15571
 
    # FIXME: insert proper C++ library support
15572
 
    ld_shlibs_CXX=no
15573
 
    ;;
15574
 
  m88k*)
15575
 
    # FIXME: insert proper C++ library support
15576
 
    ld_shlibs_CXX=no
15577
 
    ;;
15578
 
  mvs*)
15579
 
    case $cc_basename in
15580
 
      cxx*)
15581
 
        # FIXME: insert proper C++ library support
15582
 
        ld_shlibs_CXX=no
15583
 
        ;;
15584
 
      *)
15585
 
        # FIXME: insert proper C++ library support
15586
 
        ld_shlibs_CXX=no
15587
 
        ;;
15588
 
    esac
15589
 
    ;;
15590
 
  netbsd* | netbsdelf*-gnu)
15591
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15592
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15593
 
      wlarc=
15594
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
15595
 
      hardcode_direct_CXX=yes
15596
 
      hardcode_shlibpath_var_CXX=no
15597
 
    fi
15598
 
    # Workaround some broken pre-1.5 toolchains
15599
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15600
 
    ;;
15601
 
  openbsd2*)
15602
 
    # C++ shared libraries are fairly broken
15603
 
    ld_shlibs_CXX=no
15604
 
    ;;
15605
 
  openbsd*)
15606
 
    if test -f /usr/libexec/ld.so; then
15607
 
      hardcode_direct_CXX=yes
15608
 
      hardcode_shlibpath_var_CXX=no
15609
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15610
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15611
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15612
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15613
 
        export_dynamic_flag_spec_CXX='${wl}-E'
15614
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15615
 
      fi
15616
 
      output_verbose_link_cmd='echo'
15617
 
    else
15618
 
      ld_shlibs_CXX=no
15619
 
    fi
15620
 
    ;;
15621
 
  osf3*)
15622
 
    case $cc_basename in
15623
 
      KCC*)
15624
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
15625
 
 
15626
 
        # KCC will only create a shared library if the output file
15627
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
15628
 
        # to its proper name (with version) after linking.
15629
 
        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'
15630
 
 
15631
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15632
 
        hardcode_libdir_separator_CXX=:
15633
 
 
15634
 
        # Archives containing C++ object files must be created using
15635
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15636
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15637
 
 
15638
 
        ;;
15639
 
      RCC*)
15640
 
        # Rational C++ 2.4.1
15641
 
        # FIXME: insert proper C++ library support
15642
 
        ld_shlibs_CXX=no
15643
 
        ;;
15644
 
      cxx*)
15645
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15646
 
        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'
15647
 
 
15648
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15649
 
        hardcode_libdir_separator_CXX=:
15650
 
 
15651
 
        # Commands to make compiler produce verbose output that lists
15652
 
        # what "hidden" libraries, object files and flags are used when
15653
 
        # linking a shared library.
15654
 
        #
15655
 
        # There doesn't appear to be a way to prevent this compiler from
15656
 
        # explicitly linking system object files so we need to strip them
15657
 
        # from the output so that they don't get included in the library
15658
 
        # dependencies.
15659
 
        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'
15660
 
        ;;
15661
 
      *)
15662
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15663
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15664
 
          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'
15665
 
 
15666
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15667
 
          hardcode_libdir_separator_CXX=:
15668
 
 
15669
 
          # Commands to make compiler produce verbose output that lists
15670
 
          # what "hidden" libraries, object files and flags are used when
15671
 
          # linking a shared library.
15672
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15673
 
 
15674
 
        else
15675
 
          # FIXME: insert proper C++ library support
15676
 
          ld_shlibs_CXX=no
15677
 
        fi
15678
 
        ;;
15679
 
    esac
15680
 
    ;;
15681
 
  osf4* | osf5*)
15682
 
    case $cc_basename in
15683
 
      KCC*)
15684
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
15685
 
 
15686
 
        # KCC will only create a shared library if the output file
15687
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
15688
 
        # to its proper name (with version) after linking.
15689
 
        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'
15690
 
 
15691
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15692
 
        hardcode_libdir_separator_CXX=:
15693
 
 
15694
 
        # Archives containing C++ object files must be created using
15695
 
        # the KAI C++ compiler.
15696
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
15697
 
        ;;
15698
 
      RCC*)
15699
 
        # Rational C++ 2.4.1
15700
 
        # FIXME: insert proper C++ library support
15701
 
        ld_shlibs_CXX=no
15702
 
        ;;
15703
 
      cxx*)
15704
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
15705
 
        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'
15706
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15707
 
          echo "-hidden">> $lib.exp~
15708
 
          $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~
15709
 
          $rm $lib.exp'
15710
 
 
15711
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15712
 
        hardcode_libdir_separator_CXX=:
15713
 
 
15714
 
        # Commands to make compiler produce verbose output that lists
15715
 
        # what "hidden" libraries, object files and flags are used when
15716
 
        # linking a shared library.
15717
 
        #
15718
 
        # There doesn't appear to be a way to prevent this compiler from
15719
 
        # explicitly linking system object files so we need to strip them
15720
 
        # from the output so that they don't get included in the library
15721
 
        # dependencies.
15722
 
        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'
15723
 
        ;;
15724
 
      *)
15725
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15726
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15727
 
         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'
15728
 
 
15729
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15730
 
          hardcode_libdir_separator_CXX=:
15731
 
 
15732
 
          # Commands to make compiler produce verbose output that lists
15733
 
          # what "hidden" libraries, object files and flags are used when
15734
 
          # linking a shared library.
15735
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15736
 
 
15737
 
        else
15738
 
          # FIXME: insert proper C++ library support
15739
 
          ld_shlibs_CXX=no
15740
 
        fi
15741
 
        ;;
15742
 
    esac
15743
 
    ;;
15744
 
  psos*)
15745
 
    # FIXME: insert proper C++ library support
15746
 
    ld_shlibs_CXX=no
15747
 
    ;;
15748
 
  sunos4*)
15749
 
    case $cc_basename in
15750
 
      CC*)
15751
 
        # Sun C++ 4.x
15752
 
        # FIXME: insert proper C++ library support
15753
 
        ld_shlibs_CXX=no
15754
 
        ;;
15755
 
      lcc*)
15756
 
        # Lucid
15757
 
        # FIXME: insert proper C++ library support
15758
 
        ld_shlibs_CXX=no
15759
 
        ;;
15760
 
      *)
15761
 
        # FIXME: insert proper C++ library support
15762
 
        ld_shlibs_CXX=no
15763
 
        ;;
15764
 
    esac
15765
 
    ;;
15766
 
  solaris*)
15767
 
    case $cc_basename in
15768
 
      CC*)
15769
 
        # Sun C++ 4.2, 5.x and Centerline C++
15770
 
        archive_cmds_need_lc_CXX=yes
15771
 
        no_undefined_flag_CXX=' -zdefs'
15772
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15773
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15774
 
        $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'
15775
 
 
15776
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
15777
 
        hardcode_shlibpath_var_CXX=no
15778
 
        case $host_os in
15779
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
15780
 
          *)
15781
 
            # The compiler driver will combine and reorder linker options,
15782
 
            # but understands `-z linker_flag'.
15783
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
15784
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15785
 
            ;;
15786
 
        esac
15787
 
        link_all_deplibs_CXX=yes
15788
 
 
15789
 
        output_verbose_link_cmd='echo'
15790
 
 
15791
 
        # Archives containing C++ object files must be created using
15792
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15793
 
        # necessary to make sure instantiated templates are included
15794
 
        # in the archive.
15795
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15796
 
        ;;
15797
 
      gcx*)
15798
 
        # Green Hills C++ Compiler
15799
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15800
 
 
15801
 
        # The C++ compiler must be used to create the archive.
15802
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15803
 
        ;;
15804
 
      *)
15805
 
        # GNU C++ compiler with Solaris linker
15806
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15807
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15808
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
15809
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15810
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15811
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15812
 
 
15813
 
            # Commands to make compiler produce verbose output that lists
15814
 
            # what "hidden" libraries, object files and flags are used when
15815
 
            # linking a shared library.
15816
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15817
 
          else
15818
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
15819
 
            # platform.
15820
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15821
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15822
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15823
 
 
15824
 
            # Commands to make compiler produce verbose output that lists
15825
 
            # what "hidden" libraries, object files and flags are used when
15826
 
            # linking a shared library.
15827
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15828
 
          fi
15829
 
 
15830
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15831
 
          case $host_os in
15832
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
15833
 
          *)
15834
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15835
 
            ;;
15836
 
          esac
15837
 
        fi
15838
 
        ;;
15839
 
    esac
15840
 
    ;;
15841
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15842
 
    no_undefined_flag_CXX='${wl}-z,text'
15843
 
    archive_cmds_need_lc_CXX=no
15844
 
    hardcode_shlibpath_var_CXX=no
15845
 
    runpath_var='LD_RUN_PATH'
15846
 
 
15847
 
    case $cc_basename in
15848
 
      CC*)
15849
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15850
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15851
 
        ;;
15852
 
      *)
15853
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15854
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15855
 
        ;;
15856
 
    esac
15857
 
    ;;
15858
 
  sysv5* | sco3.2v5* | sco5v6*)
15859
 
    # Note: We can NOT use -z defs as we might desire, because we do not
15860
 
    # link with -lc, and that would cause any symbols used from libc to
15861
 
    # always be unresolved, which means just about no library would
15862
 
    # ever link correctly.  If we're not using GNU ld we use -z text
15863
 
    # though, which does catch some bad symbols but isn't as heavy-handed
15864
 
    # as -z defs.
15865
 
    # For security reasons, it is highly recommended that you always
15866
 
    # use absolute paths for naming shared libraries, and exclude the
15867
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
15868
 
    # requires that you compile everything twice, which is a pain.
15869
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
15870
 
    # non-empty value in the environment.  Most likely only useful for
15871
 
    # creating official distributions of packages.
15872
 
    # This is a hack until libtool officially supports absolute path
15873
 
    # names for shared libraries.
15874
 
    no_undefined_flag_CXX='${wl}-z,text'
15875
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
15876
 
    archive_cmds_need_lc_CXX=no
15877
 
    hardcode_shlibpath_var_CXX=no
15878
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15879
 
    hardcode_libdir_separator_CXX=':'
15880
 
    link_all_deplibs_CXX=yes
15881
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
15882
 
    runpath_var='LD_RUN_PATH'
15883
 
 
15884
 
    case $cc_basename in
15885
 
      CC*)
15886
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15887
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15888
 
        ;;
15889
 
      *)
15890
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15891
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15892
 
        ;;
15893
 
    esac
15894
 
    ;;
15895
 
  tandem*)
15896
 
    case $cc_basename in
15897
 
      NCC*)
15898
 
        # NonStop-UX NCC 3.20
15899
 
        # FIXME: insert proper C++ library support
15900
 
        ld_shlibs_CXX=no
15901
 
        ;;
15902
 
      *)
15903
 
        # FIXME: insert proper C++ library support
15904
 
        ld_shlibs_CXX=no
15905
 
        ;;
15906
 
    esac
15907
 
    ;;
15908
 
  vxworks*)
15909
 
    # FIXME: insert proper C++ library support
15910
 
    ld_shlibs_CXX=no
15911
 
    ;;
15912
 
  *)
15913
 
    # FIXME: insert proper C++ library support
15914
 
    ld_shlibs_CXX=no
15915
 
    ;;
15916
 
esac
15917
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15918
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15919
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
15920
 
 
15921
 
GCC_CXX="$GXX"
15922
 
LD_CXX="$LD"
15923
 
 
15924
 
cat > conftest.$ac_ext <<EOF
15925
 
class Foo
15926
 
{
15927
 
public:
15928
 
  Foo (void) { a = 0; }
15929
 
private:
15930
 
  int a;
15931
 
};
15932
 
EOF
15933
 
 
15934
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935
 
  (eval $ac_compile) 2>&5
15936
 
  ac_status=$?
15937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938
 
  (exit $ac_status); }; then
15939
 
  # Parse the compiler output and extract the necessary
15940
 
  # objects, libraries and library flags.
15941
 
 
15942
 
  # Sentinel used to keep track of whether or not we are before
15943
 
  # the conftest object file.
15944
 
  pre_test_object_deps_done=no
15945
 
 
15946
 
  # The `*' in the case matches for architectures that use `case' in
15947
 
  # $output_verbose_cmd can trigger glob expansion during the loop
15948
 
  # eval without this substitution.
15949
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
15950
 
 
15951
 
  for p in `eval $output_verbose_link_cmd`; do
15952
 
    case $p in
15953
 
 
15954
 
    -L* | -R* | -l*)
15955
 
       # Some compilers place space between "-{L,R}" and the path.
15956
 
       # Remove the space.
15957
 
       if test $p = "-L" \
15958
 
          || test $p = "-R"; then
15959
 
         prev=$p
15960
 
         continue
15961
 
       else
15962
 
         prev=
15963
 
       fi
15964
 
 
15965
 
       if test "$pre_test_object_deps_done" = no; then
15966
 
         case $p in
15967
 
         -L* | -R*)
15968
 
           # Internal compiler library paths should come after those
15969
 
           # provided the user.  The postdeps already come after the
15970
 
           # user supplied libs so there is no need to process them.
15971
 
           if test -z "$compiler_lib_search_path_CXX"; then
15972
 
             compiler_lib_search_path_CXX="${prev}${p}"
15973
 
           else
15974
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15975
 
           fi
15976
 
           ;;
15977
 
         # The "-l" case would never come before the object being
15978
 
         # linked, so don't bother handling this case.
15979
 
         esac
15980
 
       else
15981
 
         if test -z "$postdeps_CXX"; then
15982
 
           postdeps_CXX="${prev}${p}"
15983
 
         else
15984
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15985
 
         fi
15986
 
       fi
15987
 
       ;;
15988
 
 
15989
 
    *.$objext)
15990
 
       # This assumes that the test object file only shows up
15991
 
       # once in the compiler output.
15992
 
       if test "$p" = "conftest.$objext"; then
15993
 
         pre_test_object_deps_done=yes
15994
 
         continue
15995
 
       fi
15996
 
 
15997
 
       if test "$pre_test_object_deps_done" = no; then
15998
 
         if test -z "$predep_objects_CXX"; then
15999
 
           predep_objects_CXX="$p"
16000
 
         else
16001
 
           predep_objects_CXX="$predep_objects_CXX $p"
16002
 
         fi
16003
 
       else
16004
 
         if test -z "$postdep_objects_CXX"; then
16005
 
           postdep_objects_CXX="$p"
16006
 
         else
16007
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
16008
 
         fi
16009
 
       fi
16010
 
       ;;
16011
 
 
16012
 
    *) ;; # Ignore the rest.
16013
 
 
16014
 
    esac
16015
 
  done
16016
 
 
16017
 
  # Clean up.
16018
 
  rm -f a.out a.exe
16019
 
else
16020
 
  echo "libtool.m4: error: problem compiling CXX test program"
16021
 
fi
16022
 
 
16023
 
$rm -f confest.$objext
16024
 
 
16025
 
compiler_lib_search_dirs_CXX=
16026
 
if test -n "$compiler_lib_search_path_CXX"; then
16027
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16028
 
fi
16029
 
 
16030
 
# PORTME: override above test on systems where it is broken
16031
 
case $host_os in
16032
 
interix[3-9]*)
16033
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
16034
 
  # hack all around it, let's just trust "g++" to DTRT.
16035
 
  predep_objects_CXX=
16036
 
  postdep_objects_CXX=
16037
 
  postdeps_CXX=
16038
 
  ;;
16039
 
 
16040
 
linux*)
16041
 
  case `$CC -V 2>&1 | sed 5q` in
16042
 
  *Sun\ C*)
16043
 
    # Sun C++ 5.9
16044
 
    #
16045
 
    # The more standards-conforming stlport4 library is
16046
 
    # incompatible with the Cstd library. Avoid specifying
16047
 
    # it if it's in CXXFLAGS. Ignore libCrun as
16048
 
    # -library=stlport4 depends on it.
16049
 
    case " $CXX $CXXFLAGS " in
16050
 
    *" -library=stlport4 "*)
16051
 
      solaris_use_stlport4=yes
16052
 
      ;;
16053
 
    esac
16054
 
    if test "$solaris_use_stlport4" != yes; then
16055
 
      postdeps_CXX='-library=Cstd -library=Crun'
16056
 
    fi
16057
 
    ;;
16058
 
  esac
16059
 
  ;;
16060
 
 
16061
 
solaris*)
16062
 
  case $cc_basename in
16063
 
  CC*)
16064
 
    # The more standards-conforming stlport4 library is
16065
 
    # incompatible with the Cstd library. Avoid specifying
16066
 
    # it if it's in CXXFLAGS. Ignore libCrun as
16067
 
    # -library=stlport4 depends on it.
16068
 
    case " $CXX $CXXFLAGS " in
16069
 
    *" -library=stlport4 "*)
16070
 
      solaris_use_stlport4=yes
16071
 
      ;;
16072
 
    esac
16073
 
 
16074
 
    # Adding this requires a known-good setup of shared libraries for
16075
 
    # Sun compiler versions before 5.6, else PIC objects from an old
16076
 
    # archive will be linked into the output, leading to subtle bugs.
16077
 
    if test "$solaris_use_stlport4" != yes; then
16078
 
      postdeps_CXX='-library=Cstd -library=Crun'
16079
 
    fi
16080
 
    ;;
16081
 
  esac
16082
 
  ;;
16083
 
esac
16084
 
 
16085
 
case " $postdeps_CXX " in
16086
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
16087
 
esac
16088
 
 
16089
 
lt_prog_compiler_wl_CXX=
16090
 
lt_prog_compiler_pic_CXX=
16091
 
lt_prog_compiler_static_CXX=
16092
 
 
16093
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16094
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16095
 
 
16096
 
  # C++ specific cases for pic, static, wl, etc.
16097
 
  if test "$GXX" = yes; then
16098
 
    lt_prog_compiler_wl_CXX='-Wl,'
16099
 
    lt_prog_compiler_static_CXX='-static'
16100
 
 
16101
 
    case $host_os in
16102
 
    aix*)
16103
 
      # All AIX code is PIC.
16104
 
      if test "$host_cpu" = ia64; then
16105
 
        # AIX 5 now supports IA64 processor
16106
 
        lt_prog_compiler_static_CXX='-Bstatic'
16107
 
      fi
16108
 
      ;;
16109
 
    amigaos*)
16110
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16111
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16112
 
      # like `-m68040'.
16113
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16114
 
      ;;
16115
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16116
 
      # PIC is the default for these OSes.
16117
 
      ;;
16118
 
    mingw* | cygwin* | os2* | pw32*)
16119
 
      # This hack is so that the source file can tell whether it is being
16120
 
      # built for inclusion in a dll (and should export symbols for example).
16121
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16122
 
      # (--disable-auto-import) libraries
16123
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16124
 
      ;;
16125
 
    darwin* | rhapsody*)
16126
 
      # PIC is the default on this platform
16127
 
      # Common symbols not allowed in MH_DYLIB files
16128
 
      lt_prog_compiler_pic_CXX='-fno-common'
16129
 
      ;;
16130
 
    *djgpp*)
16131
 
      # DJGPP does not support shared libraries at all
16132
 
      lt_prog_compiler_pic_CXX=
16133
 
      ;;
16134
 
    interix[3-9]*)
16135
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16136
 
      # Instead, we relocate shared libraries at runtime.
16137
 
      ;;
16138
 
    sysv4*MP*)
16139
 
      if test -d /usr/nec; then
16140
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
16141
 
      fi
16142
 
      ;;
16143
 
    hpux*)
16144
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16145
 
      # not for PA HP-UX.
16146
 
      case $host_cpu in
16147
 
      hppa*64*|ia64*)
16148
 
        ;;
16149
 
      *)
16150
 
        lt_prog_compiler_pic_CXX='-fPIC'
16151
 
        ;;
16152
 
      esac
16153
 
      ;;
16154
 
    *)
16155
 
      lt_prog_compiler_pic_CXX='-fPIC'
16156
 
      ;;
16157
 
    esac
16158
 
  else
16159
 
    case $host_os in
16160
 
      aix[4-9]*)
16161
 
        # All AIX code is PIC.
16162
 
        if test "$host_cpu" = ia64; then
16163
 
          # AIX 5 now supports IA64 processor
16164
 
          lt_prog_compiler_static_CXX='-Bstatic'
16165
 
        else
16166
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16167
 
        fi
16168
 
        ;;
16169
 
      chorus*)
16170
 
        case $cc_basename in
16171
 
        cxch68*)
16172
 
          # Green Hills C++ Compiler
16173
 
          # _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"
16174
 
          ;;
16175
 
        esac
16176
 
        ;;
16177
 
       darwin*)
16178
 
         # PIC is the default on this platform
16179
 
         # Common symbols not allowed in MH_DYLIB files
16180
 
         case $cc_basename in
16181
 
           xlc*)
16182
 
           lt_prog_compiler_pic_CXX='-qnocommon'
16183
 
           lt_prog_compiler_wl_CXX='-Wl,'
16184
 
           ;;
16185
 
         esac
16186
 
       ;;
16187
 
      dgux*)
16188
 
        case $cc_basename in
16189
 
          ec++*)
16190
 
            lt_prog_compiler_pic_CXX='-KPIC'
16191
 
            ;;
16192
 
          ghcx*)
16193
 
            # Green Hills C++ Compiler
16194
 
            lt_prog_compiler_pic_CXX='-pic'
16195
 
            ;;
16196
 
          *)
16197
 
            ;;
16198
 
        esac
16199
 
        ;;
16200
 
      freebsd* | dragonfly*)
16201
 
        # FreeBSD uses GNU C++
16202
 
        ;;
16203
 
      hpux9* | hpux10* | hpux11*)
16204
 
        case $cc_basename in
16205
 
          CC*)
16206
 
            lt_prog_compiler_wl_CXX='-Wl,'
16207
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16208
 
            if test "$host_cpu" != ia64; then
16209
 
              lt_prog_compiler_pic_CXX='+Z'
16210
 
            fi
16211
 
            ;;
16212
 
          aCC*)
16213
 
            lt_prog_compiler_wl_CXX='-Wl,'
16214
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16215
 
            case $host_cpu in
16216
 
            hppa*64*|ia64*)
16217
 
              # +Z the default
16218
 
              ;;
16219
 
            *)
16220
 
              lt_prog_compiler_pic_CXX='+Z'
16221
 
              ;;
16222
 
            esac
16223
 
            ;;
16224
 
          *)
16225
 
            ;;
16226
 
        esac
16227
 
        ;;
16228
 
      interix*)
16229
 
        # This is c89, which is MS Visual C++ (no shared libs)
16230
 
        # Anyone wants to do a port?
16231
 
        ;;
16232
 
      irix5* | irix6* | nonstopux*)
16233
 
        case $cc_basename in
16234
 
          CC*)
16235
 
            lt_prog_compiler_wl_CXX='-Wl,'
16236
 
            lt_prog_compiler_static_CXX='-non_shared'
16237
 
            # CC pic flag -KPIC is the default.
16238
 
            ;;
16239
 
          *)
16240
 
            ;;
16241
 
        esac
16242
 
        ;;
16243
 
      linux* | k*bsd*-gnu)
16244
 
        case $cc_basename in
16245
 
          KCC*)
16246
 
            # KAI C++ Compiler
16247
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
16248
 
            lt_prog_compiler_pic_CXX='-fPIC'
16249
 
            ;;
16250
 
          icpc* | ecpc*)
16251
 
            # Intel C++
16252
 
            lt_prog_compiler_wl_CXX='-Wl,'
16253
 
            lt_prog_compiler_pic_CXX='-KPIC'
16254
 
            lt_prog_compiler_static_CXX='-static'
16255
 
            ;;
16256
 
          pgCC* | pgcpp*)
16257
 
            # Portland Group C++ compiler.
16258
 
            lt_prog_compiler_wl_CXX='-Wl,'
16259
 
            lt_prog_compiler_pic_CXX='-fpic'
16260
 
            lt_prog_compiler_static_CXX='-Bstatic'
16261
 
            ;;
16262
 
          cxx*)
16263
 
            # Compaq C++
16264
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
16265
 
            # Linux and Compaq Tru64 Unix objects are PIC.
16266
 
            lt_prog_compiler_pic_CXX=
16267
 
            lt_prog_compiler_static_CXX='-non_shared'
16268
 
            ;;
16269
 
          *)
16270
 
            case `$CC -V 2>&1 | sed 5q` in
16271
 
            *Sun\ C*)
16272
 
              # Sun C++ 5.9
16273
 
              lt_prog_compiler_pic_CXX='-KPIC'
16274
 
              lt_prog_compiler_static_CXX='-Bstatic'
16275
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
16276
 
              ;;
16277
 
            esac
16278
 
            ;;
16279
 
        esac
16280
 
        ;;
16281
 
      lynxos*)
16282
 
        ;;
16283
 
      m88k*)
16284
 
        ;;
16285
 
      mvs*)
16286
 
        case $cc_basename in
16287
 
          cxx*)
16288
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
16289
 
            ;;
16290
 
          *)
16291
 
            ;;
16292
 
        esac
16293
 
        ;;
16294
 
      netbsd* | netbsdelf*-gnu)
16295
 
        ;;
16296
 
      osf3* | osf4* | osf5*)
16297
 
        case $cc_basename in
16298
 
          KCC*)
16299
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
16300
 
            ;;
16301
 
          RCC*)
16302
 
            # Rational C++ 2.4.1
16303
 
            lt_prog_compiler_pic_CXX='-pic'
16304
 
            ;;
16305
 
          cxx*)
16306
 
            # Digital/Compaq C++
16307
 
            lt_prog_compiler_wl_CXX='-Wl,'
16308
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
16309
 
            # Linux and Compaq Tru64 Unix objects are PIC.
16310
 
            lt_prog_compiler_pic_CXX=
16311
 
            lt_prog_compiler_static_CXX='-non_shared'
16312
 
            ;;
16313
 
          *)
16314
 
            ;;
16315
 
        esac
16316
 
        ;;
16317
 
      psos*)
16318
 
        ;;
16319
 
      solaris*)
16320
 
        case $cc_basename in
16321
 
          CC*)
16322
 
            # Sun C++ 4.2, 5.x and Centerline C++
16323
 
            lt_prog_compiler_pic_CXX='-KPIC'
16324
 
            lt_prog_compiler_static_CXX='-Bstatic'
16325
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
16326
 
            ;;
16327
 
          gcx*)
16328
 
            # Green Hills C++ Compiler
16329
 
            lt_prog_compiler_pic_CXX='-PIC'
16330
 
            ;;
16331
 
          *)
16332
 
            ;;
16333
 
        esac
16334
 
        ;;
16335
 
      sunos4*)
16336
 
        case $cc_basename in
16337
 
          CC*)
16338
 
            # Sun C++ 4.x
16339
 
            lt_prog_compiler_pic_CXX='-pic'
16340
 
            lt_prog_compiler_static_CXX='-Bstatic'
16341
 
            ;;
16342
 
          lcc*)
16343
 
            # Lucid
16344
 
            lt_prog_compiler_pic_CXX='-pic'
16345
 
            ;;
16346
 
          *)
16347
 
            ;;
16348
 
        esac
16349
 
        ;;
16350
 
      tandem*)
16351
 
        case $cc_basename in
16352
 
          NCC*)
16353
 
            # NonStop-UX NCC 3.20
16354
 
            lt_prog_compiler_pic_CXX='-KPIC'
16355
 
            ;;
16356
 
          *)
16357
 
            ;;
16358
 
        esac
16359
 
        ;;
16360
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16361
 
        case $cc_basename in
16362
 
          CC*)
16363
 
            lt_prog_compiler_wl_CXX='-Wl,'
16364
 
            lt_prog_compiler_pic_CXX='-KPIC'
16365
 
            lt_prog_compiler_static_CXX='-Bstatic'
16366
 
            ;;
16367
 
        esac
16368
 
        ;;
16369
 
      vxworks*)
16370
 
        ;;
16371
 
      *)
16372
 
        lt_prog_compiler_can_build_shared_CXX=no
16373
 
        ;;
16374
 
    esac
16375
 
  fi
16376
 
 
16377
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16378
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
16379
 
 
16380
 
#
16381
 
# Check to make sure the PIC flag actually works.
16382
 
#
16383
 
if test -n "$lt_prog_compiler_pic_CXX"; then
16384
 
 
16385
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16386
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
16387
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
16388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16389
 
else
16390
 
  lt_cv_prog_compiler_pic_works_CXX=no
16391
 
  ac_outfile=conftest.$ac_objext
16392
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16393
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16394
 
   # Insert the option either (1) after the last *FLAGS variable, or
16395
 
   # (2) before a word containing "conftest.", or (3) at the end.
16396
 
   # Note that $ac_compile itself does not contain backslashes and begins
16397
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16398
 
   # The option is referenced via a variable to avoid confusing sed.
16399
 
   lt_compile=`echo "$ac_compile" | $SED \
16400
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16401
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16402
 
   -e 's:$: $lt_compiler_flag:'`
16403
 
   (eval echo "\"\$as_me:16403: $lt_compile\"" >&5)
16404
 
   (eval "$lt_compile" 2>conftest.err)
16405
 
   ac_status=$?
16406
 
   cat conftest.err >&5
16407
 
   echo "$as_me:16407: \$? = $ac_status" >&5
16408
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16409
 
     # The compiler can only warn and ignore the option if not recognized
16410
 
     # So say no if there are warnings other than the usual output.
16411
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16412
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16413
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16414
 
       lt_cv_prog_compiler_pic_works_CXX=yes
16415
 
     fi
16416
 
   fi
16417
 
   $rm conftest*
16418
 
 
16419
 
fi
16420
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16421
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16422
 
 
16423
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16424
 
    case $lt_prog_compiler_pic_CXX in
16425
 
     "" | " "*) ;;
16426
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16427
 
     esac
16428
 
else
16429
 
    lt_prog_compiler_pic_CXX=
16430
 
     lt_prog_compiler_can_build_shared_CXX=no
16431
 
fi
16432
 
 
16433
 
fi
16434
 
case $host_os in
16435
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16436
 
  *djgpp*)
16437
 
    lt_prog_compiler_pic_CXX=
16438
 
    ;;
16439
 
  *)
16440
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16441
 
    ;;
16442
 
esac
16443
 
 
16444
 
#
16445
 
# Check to make sure the static flag actually works.
16446
 
#
16447
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16448
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16449
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16450
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
16451
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16452
 
else
16453
 
  lt_cv_prog_compiler_static_works_CXX=no
16454
 
   save_LDFLAGS="$LDFLAGS"
16455
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16456
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16457
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16458
 
     # The linker can only warn and ignore the option if not recognized
16459
 
     # So say no if there are warnings
16460
 
     if test -s conftest.err; then
16461
 
       # Append any errors to the config.log.
16462
 
       cat conftest.err 1>&5
16463
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16464
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16465
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16466
 
         lt_cv_prog_compiler_static_works_CXX=yes
16467
 
       fi
16468
 
     else
16469
 
       lt_cv_prog_compiler_static_works_CXX=yes
16470
 
     fi
16471
 
   fi
16472
 
   $rm -r conftest*
16473
 
   LDFLAGS="$save_LDFLAGS"
16474
 
 
16475
 
fi
16476
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16477
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
16478
 
 
16479
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16480
 
    :
16481
 
else
16482
 
    lt_prog_compiler_static_CXX=
16483
 
fi
16484
 
 
16485
 
 
16486
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16487
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16488
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16489
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16490
 
else
16491
 
  lt_cv_prog_compiler_c_o_CXX=no
16492
 
   $rm -r conftest 2>/dev/null
16493
 
   mkdir conftest
16494
 
   cd conftest
16495
 
   mkdir out
16496
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16497
 
 
16498
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16499
 
   # Insert the option either (1) after the last *FLAGS variable, or
16500
 
   # (2) before a word containing "conftest.", or (3) at the end.
16501
 
   # Note that $ac_compile itself does not contain backslashes and begins
16502
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16503
 
   lt_compile=`echo "$ac_compile" | $SED \
16504
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16505
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16506
 
   -e 's:$: $lt_compiler_flag:'`
16507
 
   (eval echo "\"\$as_me:16507: $lt_compile\"" >&5)
16508
 
   (eval "$lt_compile" 2>out/conftest.err)
16509
 
   ac_status=$?
16510
 
   cat out/conftest.err >&5
16511
 
   echo "$as_me:16511: \$? = $ac_status" >&5
16512
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16513
 
   then
16514
 
     # The compiler can only warn and ignore the option if not recognized
16515
 
     # So say no if there are warnings
16516
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16517
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16518
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16519
 
       lt_cv_prog_compiler_c_o_CXX=yes
16520
 
     fi
16521
 
   fi
16522
 
   chmod u+w . 2>&5
16523
 
   $rm conftest*
16524
 
   # SGI C++ compiler will create directory out/ii_files/ for
16525
 
   # template instantiation
16526
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16527
 
   $rm out/* && rmdir out
16528
 
   cd ..
16529
 
   rmdir conftest
16530
 
   $rm conftest*
16531
 
 
16532
 
fi
16533
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16534
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
16535
 
 
16536
 
 
16537
 
hard_links="nottested"
16538
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16539
 
  # do not overwrite the value of need_locks provided by the user
16540
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16541
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16542
 
  hard_links=yes
16543
 
  $rm conftest*
16544
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16545
 
  touch conftest.a
16546
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16547
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16548
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16549
 
echo "${ECHO_T}$hard_links" >&6; }
16550
 
  if test "$hard_links" = no; then
16551
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16552
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16553
 
    need_locks=warn
16554
 
  fi
16555
 
else
16556
 
  need_locks=no
16557
 
fi
16558
 
 
16559
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16560
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16561
 
 
16562
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16563
 
  case $host_os in
16564
 
  aix[4-9]*)
16565
 
    # If we're using GNU nm, then we don't want the "-C" option.
16566
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
16567
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16568
 
      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'
16569
 
    else
16570
 
      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'
16571
 
    fi
16572
 
    ;;
16573
 
  pw32*)
16574
 
    export_symbols_cmds_CXX="$ltdll_cmds"
16575
 
  ;;
16576
 
  cygwin* | mingw*)
16577
 
    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'
16578
 
  ;;
16579
 
  linux* | k*bsd*-gnu)
16580
 
    link_all_deplibs_CXX=no
16581
 
  ;;
16582
 
  *)
16583
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16584
 
  ;;
16585
 
  esac
16586
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16587
 
 
16588
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16589
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
16590
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
16591
 
 
16592
 
#
16593
 
# Do we need to explicitly link libc?
16594
 
#
16595
 
case "x$archive_cmds_need_lc_CXX" in
16596
 
x|xyes)
16597
 
  # Assume -lc should be added
16598
 
  archive_cmds_need_lc_CXX=yes
16599
 
 
16600
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16601
 
    case $archive_cmds_CXX in
16602
 
    *'~'*)
16603
 
      # FIXME: we may have to deal with multi-command sequences.
16604
 
      ;;
16605
 
    '$CC '*)
16606
 
      # Test whether the compiler implicitly links with -lc since on some
16607
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16608
 
      # to ld, don't add -lc before -lgcc.
16609
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16610
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16611
 
      $rm conftest*
16612
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16613
 
 
16614
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615
 
  (eval $ac_compile) 2>&5
16616
 
  ac_status=$?
16617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618
 
  (exit $ac_status); } 2>conftest.err; then
16619
 
        soname=conftest
16620
 
        lib=conftest
16621
 
        libobjs=conftest.$ac_objext
16622
 
        deplibs=
16623
 
        wl=$lt_prog_compiler_wl_CXX
16624
 
        pic_flag=$lt_prog_compiler_pic_CXX
16625
 
        compiler_flags=-v
16626
 
        linker_flags=-v
16627
 
        verstring=
16628
 
        output_objdir=.
16629
 
        libname=conftest
16630
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16631
 
        allow_undefined_flag_CXX=
16632
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16633
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16634
 
  ac_status=$?
16635
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636
 
  (exit $ac_status); }
16637
 
        then
16638
 
          archive_cmds_need_lc_CXX=no
16639
 
        else
16640
 
          archive_cmds_need_lc_CXX=yes
16641
 
        fi
16642
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16643
 
      else
16644
 
        cat conftest.err 1>&5
16645
 
      fi
16646
 
      $rm conftest*
16647
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
16648
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
16649
 
      ;;
16650
 
    esac
16651
 
  fi
16652
 
  ;;
16653
 
esac
16654
 
 
16655
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16656
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16657
 
library_names_spec=
16658
 
libname_spec='lib$name'
16659
 
soname_spec=
16660
 
shrext_cmds=".so"
16661
 
postinstall_cmds=
16662
 
postuninstall_cmds=
16663
 
finish_cmds=
16664
 
finish_eval=
16665
 
shlibpath_var=
16666
 
shlibpath_overrides_runpath=unknown
16667
 
version_type=none
16668
 
dynamic_linker="$host_os ld.so"
16669
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16670
 
 
16671
 
need_lib_prefix=unknown
16672
 
hardcode_into_libs=no
16673
 
 
16674
 
# when you set need_version to no, make sure it does not cause -set_version
16675
 
# flags to be left without arguments
16676
 
need_version=unknown
16677
 
 
16678
 
case $host_os in
16679
 
aix3*)
16680
 
  version_type=linux
16681
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16682
 
  shlibpath_var=LIBPATH
16683
 
 
16684
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16685
 
  soname_spec='${libname}${release}${shared_ext}$major'
16686
 
  ;;
16687
 
 
16688
 
aix[4-9]*)
16689
 
  version_type=linux
16690
 
  need_lib_prefix=no
16691
 
  need_version=no
16692
 
  hardcode_into_libs=yes
16693
 
  if test "$host_cpu" = ia64; then
16694
 
    # AIX 5 supports IA64
16695
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16696
 
    shlibpath_var=LD_LIBRARY_PATH
16697
 
  else
16698
 
    # With GCC up to 2.95.x, collect2 would create an import file
16699
 
    # for dependence libraries.  The import file would start with
16700
 
    # the line `#! .'.  This would cause the generated library to
16701
 
    # depend on `.', always an invalid library.  This was fixed in
16702
 
    # development snapshots of GCC prior to 3.0.
16703
 
    case $host_os in
16704
 
      aix4 | aix4.[01] | aix4.[01].*)
16705
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16706
 
           echo ' yes '
16707
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16708
 
        :
16709
 
      else
16710
 
        can_build_shared=no
16711
 
      fi
16712
 
      ;;
16713
 
    esac
16714
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16715
 
    # soname into executable. Probably we can add versioning support to
16716
 
    # collect2, so additional links can be useful in future.
16717
 
    if test "$aix_use_runtimelinking" = yes; then
16718
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16719
 
      # instead of lib<name>.a to let people know that these are not
16720
 
      # typical AIX shared libraries.
16721
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16722
 
    else
16723
 
      # We preserve .a as extension for shared libraries through AIX4.2
16724
 
      # and later when we are not doing run time linking.
16725
 
      library_names_spec='${libname}${release}.a $libname.a'
16726
 
      soname_spec='${libname}${release}${shared_ext}$major'
16727
 
    fi
16728
 
    shlibpath_var=LIBPATH
16729
 
  fi
16730
 
  ;;
16731
 
 
16732
 
amigaos*)
16733
 
  library_names_spec='$libname.ixlibrary $libname.a'
16734
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16735
 
  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'
16736
 
  ;;
16737
 
 
16738
 
beos*)
16739
 
  library_names_spec='${libname}${shared_ext}'
16740
 
  dynamic_linker="$host_os ld.so"
16741
 
  shlibpath_var=LIBRARY_PATH
16742
 
  ;;
16743
 
 
16744
 
bsdi[45]*)
16745
 
  version_type=linux
16746
 
  need_version=no
16747
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16748
 
  soname_spec='${libname}${release}${shared_ext}$major'
16749
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16750
 
  shlibpath_var=LD_LIBRARY_PATH
16751
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16752
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16753
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16754
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16755
 
  # libtool to hard-code these into programs
16756
 
  ;;
16757
 
 
16758
 
cygwin* | mingw* | pw32*)
16759
 
  version_type=windows
16760
 
  shrext_cmds=".dll"
16761
 
  need_version=no
16762
 
  need_lib_prefix=no
16763
 
 
16764
 
  case $GCC,$host_os in
16765
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16766
 
    library_names_spec='$libname.dll.a'
16767
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16768
 
    postinstall_cmds='base_file=`basename \${file}`~
16769
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16770
 
      dldir=$destdir/`dirname \$dlpath`~
16771
 
      test -d \$dldir || mkdir -p \$dldir~
16772
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16773
 
      chmod a+x \$dldir/$dlname'
16774
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16775
 
      dlpath=$dir/\$dldll~
16776
 
       $rm \$dlpath'
16777
 
    shlibpath_overrides_runpath=yes
16778
 
 
16779
 
    case $host_os in
16780
 
    cygwin*)
16781
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16782
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16783
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16784
 
      ;;
16785
 
    mingw*)
16786
 
      # MinGW DLLs use traditional 'lib' prefix
16787
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16788
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16789
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16790
 
        # It is most probably a Windows format PATH printed by
16791
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16792
 
        # path with ; separators, and with drive letters. We can handle the
16793
 
        # drive letters (cygwin fileutils understands them), so leave them,
16794
 
        # especially as we might pass files found there to a mingw objdump,
16795
 
        # which wouldn't understand a cygwinified path. Ahh.
16796
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16797
 
      else
16798
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16799
 
      fi
16800
 
      ;;
16801
 
    pw32*)
16802
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16803
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16804
 
      ;;
16805
 
    esac
16806
 
    ;;
16807
 
 
16808
 
  *)
16809
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16810
 
    ;;
16811
 
  esac
16812
 
  dynamic_linker='Win32 ld.exe'
16813
 
  # FIXME: first we should search . and the directory the executable is in
16814
 
  shlibpath_var=PATH
16815
 
  ;;
16816
 
 
16817
 
darwin* | rhapsody*)
16818
 
  dynamic_linker="$host_os dyld"
16819
 
  version_type=darwin
16820
 
  need_lib_prefix=no
16821
 
  need_version=no
16822
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16823
 
  soname_spec='${libname}${release}${major}$shared_ext'
16824
 
  shlibpath_overrides_runpath=yes
16825
 
  shlibpath_var=DYLD_LIBRARY_PATH
16826
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16827
 
 
16828
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16829
 
  ;;
16830
 
 
16831
 
dgux*)
16832
 
  version_type=linux
16833
 
  need_lib_prefix=no
16834
 
  need_version=no
16835
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16836
 
  soname_spec='${libname}${release}${shared_ext}$major'
16837
 
  shlibpath_var=LD_LIBRARY_PATH
16838
 
  ;;
16839
 
 
16840
 
freebsd1*)
16841
 
  dynamic_linker=no
16842
 
  ;;
16843
 
 
16844
 
freebsd* | dragonfly*)
16845
 
  # DragonFly does not have aout.  When/if they implement a new
16846
 
  # versioning mechanism, adjust this.
16847
 
  if test -x /usr/bin/objformat; then
16848
 
    objformat=`/usr/bin/objformat`
16849
 
  else
16850
 
    case $host_os in
16851
 
    freebsd[123]*) objformat=aout ;;
16852
 
    *) objformat=elf ;;
16853
 
    esac
16854
 
  fi
16855
 
  version_type=freebsd-$objformat
16856
 
  case $version_type in
16857
 
    freebsd-elf*)
16858
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16859
 
      need_version=no
16860
 
      need_lib_prefix=no
16861
 
      ;;
16862
 
    freebsd-*)
16863
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16864
 
      need_version=yes
16865
 
      ;;
16866
 
  esac
16867
 
  shlibpath_var=LD_LIBRARY_PATH
16868
 
  case $host_os in
16869
 
  freebsd2*)
16870
 
    shlibpath_overrides_runpath=yes
16871
 
    ;;
16872
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16873
 
    shlibpath_overrides_runpath=yes
16874
 
    hardcode_into_libs=yes
16875
 
    ;;
16876
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16877
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16878
 
    shlibpath_overrides_runpath=no
16879
 
    hardcode_into_libs=yes
16880
 
    ;;
16881
 
  *) # from 4.6 on, and DragonFly
16882
 
    shlibpath_overrides_runpath=yes
16883
 
    hardcode_into_libs=yes
16884
 
    ;;
16885
 
  esac
16886
 
  ;;
16887
 
 
16888
 
gnu*)
16889
 
  version_type=linux
16890
 
  need_lib_prefix=no
16891
 
  need_version=no
16892
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16893
 
  soname_spec='${libname}${release}${shared_ext}$major'
16894
 
  shlibpath_var=LD_LIBRARY_PATH
16895
 
  hardcode_into_libs=yes
16896
 
  ;;
16897
 
 
16898
 
hpux9* | hpux10* | hpux11*)
16899
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16900
 
  # link against other versions.
16901
 
  version_type=sunos
16902
 
  need_lib_prefix=no
16903
 
  need_version=no
16904
 
  case $host_cpu in
16905
 
  ia64*)
16906
 
    shrext_cmds='.so'
16907
 
    hardcode_into_libs=yes
16908
 
    dynamic_linker="$host_os dld.so"
16909
 
    shlibpath_var=LD_LIBRARY_PATH
16910
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16911
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16912
 
    soname_spec='${libname}${release}${shared_ext}$major'
16913
 
    if test "X$HPUX_IA64_MODE" = X32; then
16914
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16915
 
    else
16916
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16917
 
    fi
16918
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16919
 
    ;;
16920
 
   hppa*64*)
16921
 
     shrext_cmds='.sl'
16922
 
     hardcode_into_libs=yes
16923
 
     dynamic_linker="$host_os dld.sl"
16924
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16925
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16926
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16927
 
     soname_spec='${libname}${release}${shared_ext}$major'
16928
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16929
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16930
 
     ;;
16931
 
   *)
16932
 
    shrext_cmds='.sl'
16933
 
    dynamic_linker="$host_os dld.sl"
16934
 
    shlibpath_var=SHLIB_PATH
16935
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16936
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16937
 
    soname_spec='${libname}${release}${shared_ext}$major'
16938
 
    ;;
16939
 
  esac
16940
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16941
 
  postinstall_cmds='chmod 555 $lib'
16942
 
  ;;
16943
 
 
16944
 
interix[3-9]*)
16945
 
  version_type=linux
16946
 
  need_lib_prefix=no
16947
 
  need_version=no
16948
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16949
 
  soname_spec='${libname}${release}${shared_ext}$major'
16950
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16951
 
  shlibpath_var=LD_LIBRARY_PATH
16952
 
  shlibpath_overrides_runpath=no
16953
 
  hardcode_into_libs=yes
16954
 
  ;;
16955
 
 
16956
 
irix5* | irix6* | nonstopux*)
16957
 
  case $host_os in
16958
 
    nonstopux*) version_type=nonstopux ;;
16959
 
    *)
16960
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16961
 
                version_type=linux
16962
 
        else
16963
 
                version_type=irix
16964
 
        fi ;;
16965
 
  esac
16966
 
  need_lib_prefix=no
16967
 
  need_version=no
16968
 
  soname_spec='${libname}${release}${shared_ext}$major'
16969
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16970
 
  case $host_os in
16971
 
  irix5* | nonstopux*)
16972
 
    libsuff= shlibsuff=
16973
 
    ;;
16974
 
  *)
16975
 
    case $LD in # libtool.m4 will add one of these switches to LD
16976
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16977
 
      libsuff= shlibsuff= libmagic=32-bit;;
16978
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16979
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16980
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16981
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16982
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16983
 
    esac
16984
 
    ;;
16985
 
  esac
16986
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16987
 
  shlibpath_overrides_runpath=no
16988
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16989
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16990
 
  hardcode_into_libs=yes
16991
 
  ;;
16992
 
 
16993
 
# No shared lib support for Linux oldld, aout, or coff.
16994
 
linux*oldld* | linux*aout* | linux*coff*)
16995
 
  dynamic_linker=no
16996
 
  ;;
16997
 
 
16998
 
# This must be Linux ELF.
16999
 
linux* | k*bsd*-gnu)
17000
 
  version_type=linux
17001
 
  need_lib_prefix=no
17002
 
  need_version=no
17003
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17004
 
  soname_spec='${libname}${release}${shared_ext}$major'
17005
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17006
 
  shlibpath_var=LD_LIBRARY_PATH
17007
 
  shlibpath_overrides_runpath=no
17008
 
  # This implies no fast_install, which is unacceptable.
17009
 
  # Some rework will be needed to allow for fast_install
17010
 
  # before this can be enabled.
17011
 
  hardcode_into_libs=yes
17012
 
 
17013
 
  # Append ld.so.conf contents to the search path
17014
 
  if test -f /etc/ld.so.conf; then
17015
 
    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' ' '`
17016
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17017
 
  fi
17018
 
 
17019
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17020
 
  # powerpc, because MkLinux only supported shared libraries with the
17021
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17022
 
  # most powerpc-linux boxes support dynamic linking these days and
17023
 
  # people can always --disable-shared, the test was removed, and we
17024
 
  # assume the GNU/Linux dynamic linker is in use.
17025
 
  dynamic_linker='GNU/Linux ld.so'
17026
 
  ;;
17027
 
 
17028
 
netbsdelf*-gnu)
17029
 
  version_type=linux
17030
 
  need_lib_prefix=no
17031
 
  need_version=no
17032
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17033
 
  soname_spec='${libname}${release}${shared_ext}$major'
17034
 
  shlibpath_var=LD_LIBRARY_PATH
17035
 
  shlibpath_overrides_runpath=no
17036
 
  hardcode_into_libs=yes
17037
 
  dynamic_linker='NetBSD ld.elf_so'
17038
 
  ;;
17039
 
 
17040
 
netbsd*)
17041
 
  version_type=sunos
17042
 
  need_lib_prefix=no
17043
 
  need_version=no
17044
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17045
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17046
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17047
 
    dynamic_linker='NetBSD (a.out) ld.so'
17048
 
  else
17049
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17050
 
    soname_spec='${libname}${release}${shared_ext}$major'
17051
 
    dynamic_linker='NetBSD ld.elf_so'
17052
 
  fi
17053
 
  shlibpath_var=LD_LIBRARY_PATH
17054
 
  shlibpath_overrides_runpath=yes
17055
 
  hardcode_into_libs=yes
17056
 
  ;;
17057
 
 
17058
 
newsos6)
17059
 
  version_type=linux
17060
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17061
 
  shlibpath_var=LD_LIBRARY_PATH
17062
 
  shlibpath_overrides_runpath=yes
17063
 
  ;;
17064
 
 
17065
 
nto-qnx*)
17066
 
  version_type=linux
17067
 
  need_lib_prefix=no
17068
 
  need_version=no
17069
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17070
 
  soname_spec='${libname}${release}${shared_ext}$major'
17071
 
  shlibpath_var=LD_LIBRARY_PATH
17072
 
  shlibpath_overrides_runpath=yes
17073
 
  ;;
17074
 
 
17075
 
openbsd*)
17076
 
  version_type=sunos
17077
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17078
 
  need_lib_prefix=no
17079
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17080
 
  case $host_os in
17081
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17082
 
    *)                         need_version=no  ;;
17083
 
  esac
17084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17085
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17086
 
  shlibpath_var=LD_LIBRARY_PATH
17087
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17088
 
    case $host_os in
17089
 
      openbsd2.[89] | openbsd2.[89].*)
17090
 
        shlibpath_overrides_runpath=no
17091
 
        ;;
17092
 
      *)
17093
 
        shlibpath_overrides_runpath=yes
17094
 
        ;;
17095
 
      esac
17096
 
  else
17097
 
    shlibpath_overrides_runpath=yes
17098
 
  fi
17099
 
  ;;
17100
 
 
17101
 
os2*)
17102
 
  libname_spec='$name'
17103
 
  shrext_cmds=".dll"
17104
 
  need_lib_prefix=no
17105
 
  library_names_spec='$libname${shared_ext} $libname.a'
17106
 
  dynamic_linker='OS/2 ld.exe'
17107
 
  shlibpath_var=LIBPATH
17108
 
  ;;
17109
 
 
17110
 
osf3* | osf4* | osf5*)
17111
 
  version_type=osf
17112
 
  need_lib_prefix=no
17113
 
  need_version=no
17114
 
  soname_spec='${libname}${release}${shared_ext}$major'
17115
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17116
 
  shlibpath_var=LD_LIBRARY_PATH
17117
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17118
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17119
 
  ;;
17120
 
 
17121
 
rdos*)
17122
 
  dynamic_linker=no
17123
 
  ;;
17124
 
 
17125
 
solaris*)
17126
 
  version_type=linux
17127
 
  need_lib_prefix=no
17128
 
  need_version=no
17129
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17130
 
  soname_spec='${libname}${release}${shared_ext}$major'
17131
 
  shlibpath_var=LD_LIBRARY_PATH
17132
 
  shlibpath_overrides_runpath=yes
17133
 
  hardcode_into_libs=yes
17134
 
  # ldd complains unless libraries are executable
17135
 
  postinstall_cmds='chmod +x $lib'
17136
 
  ;;
17137
 
 
17138
 
sunos4*)
17139
 
  version_type=sunos
17140
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17141
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17142
 
  shlibpath_var=LD_LIBRARY_PATH
17143
 
  shlibpath_overrides_runpath=yes
17144
 
  if test "$with_gnu_ld" = yes; then
17145
 
    need_lib_prefix=no
17146
 
  fi
17147
 
  need_version=yes
17148
 
  ;;
17149
 
 
17150
 
sysv4 | sysv4.3*)
17151
 
  version_type=linux
17152
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17153
 
  soname_spec='${libname}${release}${shared_ext}$major'
17154
 
  shlibpath_var=LD_LIBRARY_PATH
17155
 
  case $host_vendor in
17156
 
    sni)
17157
 
      shlibpath_overrides_runpath=no
17158
 
      need_lib_prefix=no
17159
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17160
 
      runpath_var=LD_RUN_PATH
17161
 
      ;;
17162
 
    siemens)
17163
 
      need_lib_prefix=no
17164
 
      ;;
17165
 
    motorola)
17166
 
      need_lib_prefix=no
17167
 
      need_version=no
17168
 
      shlibpath_overrides_runpath=no
17169
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17170
 
      ;;
17171
 
  esac
17172
 
  ;;
17173
 
 
17174
 
sysv4*MP*)
17175
 
  if test -d /usr/nec ;then
17176
 
    version_type=linux
17177
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17178
 
    soname_spec='$libname${shared_ext}.$major'
17179
 
    shlibpath_var=LD_LIBRARY_PATH
17180
 
  fi
17181
 
  ;;
17182
 
 
17183
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17184
 
  version_type=freebsd-elf
17185
 
  need_lib_prefix=no
17186
 
  need_version=no
17187
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17188
 
  soname_spec='${libname}${release}${shared_ext}$major'
17189
 
  shlibpath_var=LD_LIBRARY_PATH
17190
 
  hardcode_into_libs=yes
17191
 
  if test "$with_gnu_ld" = yes; then
17192
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17193
 
    shlibpath_overrides_runpath=no
17194
 
  else
17195
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17196
 
    shlibpath_overrides_runpath=yes
17197
 
    case $host_os in
17198
 
      sco3.2v5*)
17199
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17200
 
        ;;
17201
 
    esac
17202
 
  fi
17203
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17204
 
  ;;
17205
 
 
17206
 
uts4*)
17207
 
  version_type=linux
17208
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17209
 
  soname_spec='${libname}${release}${shared_ext}$major'
17210
 
  shlibpath_var=LD_LIBRARY_PATH
17211
 
  ;;
17212
 
 
17213
 
*)
17214
 
  dynamic_linker=no
17215
 
  ;;
17216
 
esac
17217
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17218
 
echo "${ECHO_T}$dynamic_linker" >&6; }
17219
 
test "$dynamic_linker" = no && can_build_shared=no
17220
 
 
17221
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17222
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17223
 
else
17224
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
17225
 
fi
17226
 
 
17227
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17228
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17230
 
else
17231
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
17232
 
fi
17233
 
 
17234
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17235
 
 
17236
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17237
 
if test "$GCC" = yes; then
17238
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17239
 
fi
17240
 
 
17241
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17242
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17243
 
hardcode_action_CXX=
17244
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
17245
 
   test -n "$runpath_var_CXX" || \
17246
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
17247
 
 
17248
 
  # We can hardcode non-existant directories.
17249
 
  if test "$hardcode_direct_CXX" != no &&
17250
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17251
 
     # have to relink, otherwise we might link with an installed library
17252
 
     # when we should be linking with a yet-to-be-installed one
17253
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17254
 
     test "$hardcode_minus_L_CXX" != no; then
17255
 
    # Linking always hardcodes the temporary library directory.
17256
 
    hardcode_action_CXX=relink
17257
 
  else
17258
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17259
 
    hardcode_action_CXX=immediate
17260
 
  fi
17261
 
else
17262
 
  # We cannot hardcode anything, or else we can only hardcode existing
17263
 
  # directories.
17264
 
  hardcode_action_CXX=unsupported
17265
 
fi
17266
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17267
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
17268
 
 
17269
 
if test "$hardcode_action_CXX" = relink; then
17270
 
  # Fast installation is not supported
17271
 
  enable_fast_install=no
17272
 
elif test "$shlibpath_overrides_runpath" = yes ||
17273
 
     test "$enable_shared" = no; then
17274
 
  # Fast installation is not necessary
17275
 
  enable_fast_install=needless
17276
 
fi
17277
 
 
17278
 
 
17279
 
# The else clause should only fire when bootstrapping the
17280
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17281
 
# with your package, and you will get complaints that there are
17282
 
# no rules to generate ltmain.sh.
17283
 
if test -f "$ltmain"; then
17284
 
  # See if we are running on zsh, and set the options which allow our commands through
17285
 
  # without removal of \ escapes.
17286
 
  if test -n "${ZSH_VERSION+set}" ; then
17287
 
    setopt NO_GLOB_SUBST
17288
 
  fi
17289
 
  # Now quote all the things that may contain metacharacters while being
17290
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17291
 
  # variables and quote the copies for generation of the libtool script.
17292
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17293
 
    SED SHELL STRIP \
17294
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17295
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17296
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17297
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17298
 
    lt_cv_sys_global_symbol_to_c_name_address \
17299
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17300
 
    old_postinstall_cmds old_postuninstall_cmds \
17301
 
    compiler_CXX \
17302
 
    CC_CXX \
17303
 
    LD_CXX \
17304
 
    lt_prog_compiler_wl_CXX \
17305
 
    lt_prog_compiler_pic_CXX \
17306
 
    lt_prog_compiler_static_CXX \
17307
 
    lt_prog_compiler_no_builtin_flag_CXX \
17308
 
    export_dynamic_flag_spec_CXX \
17309
 
    thread_safe_flag_spec_CXX \
17310
 
    whole_archive_flag_spec_CXX \
17311
 
    enable_shared_with_static_runtimes_CXX \
17312
 
    old_archive_cmds_CXX \
17313
 
    old_archive_from_new_cmds_CXX \
17314
 
    predep_objects_CXX \
17315
 
    postdep_objects_CXX \
17316
 
    predeps_CXX \
17317
 
    postdeps_CXX \
17318
 
    compiler_lib_search_path_CXX \
17319
 
    compiler_lib_search_dirs_CXX \
17320
 
    archive_cmds_CXX \
17321
 
    archive_expsym_cmds_CXX \
17322
 
    postinstall_cmds_CXX \
17323
 
    postuninstall_cmds_CXX \
17324
 
    old_archive_from_expsyms_cmds_CXX \
17325
 
    allow_undefined_flag_CXX \
17326
 
    no_undefined_flag_CXX \
17327
 
    export_symbols_cmds_CXX \
17328
 
    hardcode_libdir_flag_spec_CXX \
17329
 
    hardcode_libdir_flag_spec_ld_CXX \
17330
 
    hardcode_libdir_separator_CXX \
17331
 
    hardcode_automatic_CXX \
17332
 
    module_cmds_CXX \
17333
 
    module_expsym_cmds_CXX \
17334
 
    lt_cv_prog_compiler_c_o_CXX \
17335
 
    fix_srcfile_path_CXX \
17336
 
    exclude_expsyms_CXX \
17337
 
    include_expsyms_CXX; do
17338
 
 
17339
 
    case $var in
17340
 
    old_archive_cmds_CXX | \
17341
 
    old_archive_from_new_cmds_CXX | \
17342
 
    archive_cmds_CXX | \
17343
 
    archive_expsym_cmds_CXX | \
17344
 
    module_cmds_CXX | \
17345
 
    module_expsym_cmds_CXX | \
17346
 
    old_archive_from_expsyms_cmds_CXX | \
17347
 
    export_symbols_cmds_CXX | \
17348
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17349
 
    postinstall_cmds | postuninstall_cmds | \
17350
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17351
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17352
 
      # Double-quote double-evaled strings.
17353
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17354
 
      ;;
17355
 
    *)
17356
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17357
 
      ;;
17358
 
    esac
17359
 
  done
17360
 
 
17361
 
  case $lt_echo in
17362
 
  *'\$0 --fallback-echo"')
17363
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17364
 
    ;;
17365
 
  esac
17366
 
 
17367
 
cfgfile="$ofile"
17368
 
 
17369
 
  cat <<__EOF__ >> "$cfgfile"
17370
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17371
 
 
17372
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17373
 
 
17374
 
# Shell to use when invoking shell scripts.
17375
 
SHELL=$lt_SHELL
17376
 
 
17377
 
# Whether or not to build shared libraries.
17378
 
build_libtool_libs=$enable_shared
17379
 
 
17380
 
# Whether or not to build static libraries.
17381
 
build_old_libs=$enable_static
17382
 
 
17383
 
# Whether or not to add -lc for building shared libraries.
17384
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
17385
 
 
17386
 
# Whether or not to disallow shared libs when runtime libs are static
17387
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17388
 
 
17389
 
# Whether or not to optimize for fast installation.
17390
 
fast_install=$enable_fast_install
17391
 
 
17392
 
# The host system.
17393
 
host_alias=$host_alias
17394
 
host=$host
17395
 
host_os=$host_os
17396
 
 
17397
 
# The build system.
17398
 
build_alias=$build_alias
17399
 
build=$build
17400
 
build_os=$build_os
17401
 
 
17402
 
# An echo program that does not interpret backslashes.
17403
 
echo=$lt_echo
17404
 
 
17405
 
# The archiver.
17406
 
AR=$lt_AR
17407
 
AR_FLAGS=$lt_AR_FLAGS
17408
 
 
17409
 
# A C compiler.
17410
 
LTCC=$lt_LTCC
17411
 
 
17412
 
# LTCC compiler flags.
17413
 
LTCFLAGS=$lt_LTCFLAGS
17414
 
 
17415
 
# A language-specific compiler.
17416
 
CC=$lt_compiler_CXX
17417
 
 
17418
 
# Is the compiler the GNU C compiler?
17419
 
with_gcc=$GCC_CXX
17420
 
 
17421
 
# An ERE matcher.
17422
 
EGREP=$lt_EGREP
17423
 
 
17424
 
# The linker used to build libraries.
17425
 
LD=$lt_LD_CXX
17426
 
 
17427
 
# Whether we need hard or soft links.
17428
 
LN_S=$lt_LN_S
17429
 
 
17430
 
# A BSD-compatible nm program.
17431
 
NM=$lt_NM
17432
 
 
17433
 
# A symbol stripping program
17434
 
STRIP=$lt_STRIP
17435
 
 
17436
 
# Used to examine libraries when file_magic_cmd begins "file"
17437
 
MAGIC_CMD=$MAGIC_CMD
17438
 
 
17439
 
# Used on cygwin: DLL creation program.
17440
 
DLLTOOL="$DLLTOOL"
17441
 
 
17442
 
# Used on cygwin: object dumper.
17443
 
OBJDUMP="$OBJDUMP"
17444
 
 
17445
 
# Used on cygwin: assembler.
17446
 
AS="$AS"
17447
 
 
17448
 
# The name of the directory that contains temporary libtool files.
17449
 
objdir=$objdir
17450
 
 
17451
 
# How to create reloadable object files.
17452
 
reload_flag=$lt_reload_flag
17453
 
reload_cmds=$lt_reload_cmds
17454
 
 
17455
 
# How to pass a linker flag through the compiler.
17456
 
wl=$lt_lt_prog_compiler_wl_CXX
17457
 
 
17458
 
# Object file suffix (normally "o").
17459
 
objext="$ac_objext"
17460
 
 
17461
 
# Old archive suffix (normally "a").
17462
 
libext="$libext"
17463
 
 
17464
 
# Shared library suffix (normally ".so").
17465
 
shrext_cmds='$shrext_cmds'
17466
 
 
17467
 
# Executable file suffix (normally "").
17468
 
exeext="$exeext"
17469
 
 
17470
 
# Additional compiler flags for building library objects.
17471
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
17472
 
pic_mode=$pic_mode
17473
 
 
17474
 
# What is the maximum length of a command?
17475
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17476
 
 
17477
 
# Does compiler simultaneously support -c and -o options?
17478
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17479
 
 
17480
 
# Must we lock files when doing compilation?
17481
 
need_locks=$lt_need_locks
17482
 
 
17483
 
# Do we need the lib prefix for modules?
17484
 
need_lib_prefix=$need_lib_prefix
17485
 
 
17486
 
# Do we need a version for libraries?
17487
 
need_version=$need_version
17488
 
 
17489
 
# Whether dlopen is supported.
17490
 
dlopen_support=$enable_dlopen
17491
 
 
17492
 
# Whether dlopen of programs is supported.
17493
 
dlopen_self=$enable_dlopen_self
17494
 
 
17495
 
# Whether dlopen of statically linked programs is supported.
17496
 
dlopen_self_static=$enable_dlopen_self_static
17497
 
 
17498
 
# Compiler flag to prevent dynamic linking.
17499
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
17500
 
 
17501
 
# Compiler flag to turn off builtin functions.
17502
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17503
 
 
17504
 
# Compiler flag to allow reflexive dlopens.
17505
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17506
 
 
17507
 
# Compiler flag to generate shared objects directly from archives.
17508
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17509
 
 
17510
 
# Compiler flag to generate thread-safe objects.
17511
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
17512
 
 
17513
 
# Library versioning type.
17514
 
version_type=$version_type
17515
 
 
17516
 
# Format of library name prefix.
17517
 
libname_spec=$lt_libname_spec
17518
 
 
17519
 
# List of archive names.  First name is the real one, the rest are links.
17520
 
# The last name is the one that the linker finds with -lNAME.
17521
 
library_names_spec=$lt_library_names_spec
17522
 
 
17523
 
# The coded name of the library, if different from the real name.
17524
 
soname_spec=$lt_soname_spec
17525
 
 
17526
 
# Commands used to build and install an old-style archive.
17527
 
RANLIB=$lt_RANLIB
17528
 
old_archive_cmds=$lt_old_archive_cmds_CXX
17529
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17530
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17531
 
 
17532
 
# Create an old-style archive from a shared archive.
17533
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17534
 
 
17535
 
# Create a temporary old-style archive to link instead of a shared archive.
17536
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17537
 
 
17538
 
# Commands used to build and install a shared archive.
17539
 
archive_cmds=$lt_archive_cmds_CXX
17540
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17541
 
postinstall_cmds=$lt_postinstall_cmds
17542
 
postuninstall_cmds=$lt_postuninstall_cmds
17543
 
 
17544
 
# Commands used to build a loadable module (assumed same as above if empty)
17545
 
module_cmds=$lt_module_cmds_CXX
17546
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
17547
 
 
17548
 
# Commands to strip libraries.
17549
 
old_striplib=$lt_old_striplib
17550
 
striplib=$lt_striplib
17551
 
 
17552
 
# Dependencies to place before the objects being linked to create a
17553
 
# shared library.
17554
 
predep_objects=$lt_predep_objects_CXX
17555
 
 
17556
 
# Dependencies to place after the objects being linked to create a
17557
 
# shared library.
17558
 
postdep_objects=$lt_postdep_objects_CXX
17559
 
 
17560
 
# Dependencies to place before the objects being linked to create a
17561
 
# shared library.
17562
 
predeps=$lt_predeps_CXX
17563
 
 
17564
 
# Dependencies to place after the objects being linked to create a
17565
 
# shared library.
17566
 
postdeps=$lt_postdeps_CXX
17567
 
 
17568
 
# The directories searched by this compiler when creating a shared
17569
 
# library
17570
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17571
 
 
17572
 
# The library search path used internally by the compiler when linking
17573
 
# a shared library.
17574
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17575
 
 
17576
 
# Method to check whether dependent libraries are shared objects.
17577
 
deplibs_check_method=$lt_deplibs_check_method
17578
 
 
17579
 
# Command to use when deplibs_check_method == file_magic.
17580
 
file_magic_cmd=$lt_file_magic_cmd
17581
 
 
17582
 
# Flag that allows shared libraries with undefined symbols to be built.
17583
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
17584
 
 
17585
 
# Flag that forces no undefined symbols.
17586
 
no_undefined_flag=$lt_no_undefined_flag_CXX
17587
 
 
17588
 
# Commands used to finish a libtool library installation in a directory.
17589
 
finish_cmds=$lt_finish_cmds
17590
 
 
17591
 
# Same as above, but a single script fragment to be evaled but not shown.
17592
 
finish_eval=$lt_finish_eval
17593
 
 
17594
 
# Take the output of nm and produce a listing of raw symbols and C names.
17595
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17596
 
 
17597
 
# Transform the output of nm in a proper C declaration
17598
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17599
 
 
17600
 
# Transform the output of nm in a C name address pair
17601
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17602
 
 
17603
 
# This is the shared library runtime path variable.
17604
 
runpath_var=$runpath_var
17605
 
 
17606
 
# This is the shared library path variable.
17607
 
shlibpath_var=$shlibpath_var
17608
 
 
17609
 
# Is shlibpath searched before the hard-coded library search path?
17610
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17611
 
 
17612
 
# How to hardcode a shared library path into an executable.
17613
 
hardcode_action=$hardcode_action_CXX
17614
 
 
17615
 
# Whether we should hardcode library paths into libraries.
17616
 
hardcode_into_libs=$hardcode_into_libs
17617
 
 
17618
 
# Flag to hardcode \$libdir into a binary during linking.
17619
 
# This must work even if \$libdir does not exist.
17620
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17621
 
 
17622
 
# If ld is used when linking, flag to hardcode \$libdir into
17623
 
# a binary during linking. This must work even if \$libdir does
17624
 
# not exist.
17625
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17626
 
 
17627
 
# Whether we need a single -rpath flag with a separated argument.
17628
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17629
 
 
17630
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17631
 
# resulting binary.
17632
 
hardcode_direct=$hardcode_direct_CXX
17633
 
 
17634
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17635
 
# resulting binary.
17636
 
hardcode_minus_L=$hardcode_minus_L_CXX
17637
 
 
17638
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17639
 
# the resulting binary.
17640
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17641
 
 
17642
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17643
 
# and all subsequent libraries and executables linked against it.
17644
 
hardcode_automatic=$hardcode_automatic_CXX
17645
 
 
17646
 
# Variables whose values should be saved in libtool wrapper scripts and
17647
 
# restored at relink time.
17648
 
variables_saved_for_relink="$variables_saved_for_relink"
17649
 
 
17650
 
# Whether libtool must link a program against all its dependency libraries.
17651
 
link_all_deplibs=$link_all_deplibs_CXX
17652
 
 
17653
 
# Compile-time system search path for libraries
17654
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17655
 
 
17656
 
# Run-time system search path for libraries
17657
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17658
 
 
17659
 
# Fix the shell variable \$srcfile for the compiler.
17660
 
fix_srcfile_path=$lt_fix_srcfile_path
17661
 
 
17662
 
# Set to yes if exported symbols are required.
17663
 
always_export_symbols=$always_export_symbols_CXX
17664
 
 
17665
 
# The commands to list exported symbols.
17666
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
17667
 
 
17668
 
# The commands to extract the exported symbol list from a shared archive.
17669
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17670
 
 
17671
 
# Symbols that should not be listed in the preloaded symbols.
17672
 
exclude_expsyms=$lt_exclude_expsyms_CXX
17673
 
 
17674
 
# Symbols that must always be exported.
17675
 
include_expsyms=$lt_include_expsyms_CXX
17676
 
 
17677
 
# ### END LIBTOOL TAG CONFIG: $tagname
17678
 
 
17679
 
__EOF__
17680
 
 
17681
 
 
17682
 
else
17683
 
  # If there is no Makefile yet, we rely on a make rule to execute
17684
 
  # `config.status --recheck' to rerun these tests and create the
17685
 
  # libtool script then.
17686
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17687
 
  if test -f "$ltmain_in"; then
17688
 
    test -f Makefile && make "$ltmain"
17689
 
  fi
17690
 
fi
17691
 
 
17692
 
 
17693
 
ac_ext=c
17694
 
ac_cpp='$CPP $CPPFLAGS'
17695
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17698
 
 
17699
 
CC=$lt_save_CC
17700
 
LDCXX=$LD
17701
 
LD=$lt_save_LD
17702
 
GCC=$lt_save_GCC
17703
 
with_gnu_ldcxx=$with_gnu_ld
17704
 
with_gnu_ld=$lt_save_with_gnu_ld
17705
 
lt_cv_path_LDCXX=$lt_cv_path_LD
17706
 
lt_cv_path_LD=$lt_save_path_LD
17707
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17708
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17709
 
 
17710
 
        else
17711
 
          tagname=""
17712
 
        fi
17713
 
        ;;
17714
 
 
17715
 
      F77)
17716
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
17717
 
 
17718
 
ac_ext=f
17719
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17720
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17722
 
 
17723
 
 
17724
 
archive_cmds_need_lc_F77=no
17725
 
allow_undefined_flag_F77=
17726
 
always_export_symbols_F77=no
17727
 
archive_expsym_cmds_F77=
17728
 
export_dynamic_flag_spec_F77=
17729
 
hardcode_direct_F77=no
17730
 
hardcode_libdir_flag_spec_F77=
17731
 
hardcode_libdir_flag_spec_ld_F77=
17732
 
hardcode_libdir_separator_F77=
17733
 
hardcode_minus_L_F77=no
17734
 
hardcode_automatic_F77=no
17735
 
module_cmds_F77=
17736
 
module_expsym_cmds_F77=
17737
 
link_all_deplibs_F77=unknown
17738
 
old_archive_cmds_F77=$old_archive_cmds
17739
 
no_undefined_flag_F77=
17740
 
whole_archive_flag_spec_F77=
17741
 
enable_shared_with_static_runtimes_F77=no
17742
 
 
17743
 
# Source file extension for f77 test sources.
17744
 
ac_ext=f
17745
 
 
17746
 
# Object file extension for compiled f77 test sources.
17747
 
objext=o
17748
 
objext_F77=$objext
17749
 
 
17750
 
# Code to be used in simple compile tests
17751
 
lt_simple_compile_test_code="\
17752
 
      subroutine t
17753
 
      return
17754
 
      end
17755
 
"
17756
 
 
17757
 
# Code to be used in simple link tests
17758
 
lt_simple_link_test_code="\
17759
 
      program t
17760
 
      end
17761
 
"
17762
 
 
17763
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17764
 
 
17765
 
# If no C compiler was specified, use CC.
17766
 
LTCC=${LTCC-"$CC"}
17767
 
 
17768
 
# If no C compiler flags were specified, use CFLAGS.
17769
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17770
 
 
17771
 
# Allow CC to be a program name with arguments.
17772
 
compiler=$CC
17773
 
 
17774
 
 
17775
 
# save warnings/boilerplate of simple test code
17776
 
ac_outfile=conftest.$ac_objext
17777
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17778
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17779
 
_lt_compiler_boilerplate=`cat conftest.err`
17780
 
$rm conftest*
17781
 
 
17782
 
ac_outfile=conftest.$ac_objext
17783
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17784
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17785
 
_lt_linker_boilerplate=`cat conftest.err`
17786
 
$rm -r conftest*
17787
 
 
17788
 
 
17789
 
# Allow CC to be a program name with arguments.
17790
 
lt_save_CC="$CC"
17791
 
CC=${F77-"f77"}
17792
 
compiler=$CC
17793
 
compiler_F77=$CC
17794
 
for cc_temp in $compiler""; do
17795
 
  case $cc_temp in
17796
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17797
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17798
 
    \-*) ;;
17799
 
    *) break;;
17800
 
  esac
17801
 
done
17802
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17803
 
 
17804
 
 
17805
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17806
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17807
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
17808
 
echo "${ECHO_T}$can_build_shared" >&6; }
17809
 
 
17810
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17811
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17812
 
test "$can_build_shared" = "no" && enable_shared=no
17813
 
 
17814
 
# On AIX, shared libraries and static libraries use the same namespace, and
17815
 
# are all built from PIC.
17816
 
case $host_os in
17817
 
aix3*)
17818
 
  test "$enable_shared" = yes && enable_static=no
17819
 
  if test -n "$RANLIB"; then
17820
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
17821
 
    postinstall_cmds='$RANLIB $lib'
17822
 
  fi
17823
 
  ;;
17824
 
aix[4-9]*)
17825
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17826
 
    test "$enable_shared" = yes && enable_static=no
17827
 
  fi
17828
 
  ;;
17829
 
esac
17830
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
17831
 
echo "${ECHO_T}$enable_shared" >&6; }
17832
 
 
17833
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17834
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17835
 
# Make sure either enable_shared or enable_static is yes.
17836
 
test "$enable_shared" = yes || enable_static=yes
17837
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
17838
 
echo "${ECHO_T}$enable_static" >&6; }
17839
 
 
17840
 
GCC_F77="$G77"
17841
 
LD_F77="$LD"
17842
 
 
17843
 
lt_prog_compiler_wl_F77=
17844
 
lt_prog_compiler_pic_F77=
17845
 
lt_prog_compiler_static_F77=
17846
 
 
17847
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17848
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17849
 
 
17850
 
  if test "$GCC" = yes; then
17851
 
    lt_prog_compiler_wl_F77='-Wl,'
17852
 
    lt_prog_compiler_static_F77='-static'
17853
 
 
17854
 
    case $host_os in
17855
 
      aix*)
17856
 
      # All AIX code is PIC.
17857
 
      if test "$host_cpu" = ia64; then
17858
 
        # AIX 5 now supports IA64 processor
17859
 
        lt_prog_compiler_static_F77='-Bstatic'
17860
 
      fi
17861
 
      ;;
17862
 
 
17863
 
    amigaos*)
17864
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17865
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17866
 
      # like `-m68040'.
17867
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
17868
 
      ;;
17869
 
 
17870
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17871
 
      # PIC is the default for these OSes.
17872
 
      ;;
17873
 
 
17874
 
    mingw* | cygwin* | pw32* | os2*)
17875
 
      # This hack is so that the source file can tell whether it is being
17876
 
      # built for inclusion in a dll (and should export symbols for example).
17877
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17878
 
      # (--disable-auto-import) libraries
17879
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17880
 
      ;;
17881
 
 
17882
 
    darwin* | rhapsody*)
17883
 
      # PIC is the default on this platform
17884
 
      # Common symbols not allowed in MH_DYLIB files
17885
 
      lt_prog_compiler_pic_F77='-fno-common'
17886
 
      ;;
17887
 
 
17888
 
    interix[3-9]*)
17889
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17890
 
      # Instead, we relocate shared libraries at runtime.
17891
 
      ;;
17892
 
 
17893
 
    msdosdjgpp*)
17894
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17895
 
      # on systems that don't support them.
17896
 
      lt_prog_compiler_can_build_shared_F77=no
17897
 
      enable_shared=no
17898
 
      ;;
17899
 
 
17900
 
    sysv4*MP*)
17901
 
      if test -d /usr/nec; then
17902
 
        lt_prog_compiler_pic_F77=-Kconform_pic
17903
 
      fi
17904
 
      ;;
17905
 
 
17906
 
    hpux*)
17907
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17908
 
      # not for PA HP-UX.
17909
 
      case $host_cpu in
17910
 
      hppa*64*|ia64*)
17911
 
        # +Z the default
17912
 
        ;;
17913
 
      *)
17914
 
        lt_prog_compiler_pic_F77='-fPIC'
17915
 
        ;;
17916
 
      esac
17917
 
      ;;
17918
 
 
17919
 
    *)
17920
 
      lt_prog_compiler_pic_F77='-fPIC'
17921
 
      ;;
17922
 
    esac
17923
 
  else
17924
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17925
 
    case $host_os in
17926
 
    aix*)
17927
 
      lt_prog_compiler_wl_F77='-Wl,'
17928
 
      if test "$host_cpu" = ia64; then
17929
 
        # AIX 5 now supports IA64 processor
17930
 
        lt_prog_compiler_static_F77='-Bstatic'
17931
 
      else
17932
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
17933
 
      fi
17934
 
      ;;
17935
 
      darwin*)
17936
 
        # PIC is the default on this platform
17937
 
        # Common symbols not allowed in MH_DYLIB files
17938
 
       case $cc_basename in
17939
 
         xlc*)
17940
 
         lt_prog_compiler_pic_F77='-qnocommon'
17941
 
         lt_prog_compiler_wl_F77='-Wl,'
17942
 
         ;;
17943
 
       esac
17944
 
       ;;
17945
 
 
17946
 
    mingw* | cygwin* | pw32* | os2*)
17947
 
      # This hack is so that the source file can tell whether it is being
17948
 
      # built for inclusion in a dll (and should export symbols for example).
17949
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17950
 
      ;;
17951
 
 
17952
 
    hpux9* | hpux10* | hpux11*)
17953
 
      lt_prog_compiler_wl_F77='-Wl,'
17954
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17955
 
      # not for PA HP-UX.
17956
 
      case $host_cpu in
17957
 
      hppa*64*|ia64*)
17958
 
        # +Z the default
17959
 
        ;;
17960
 
      *)
17961
 
        lt_prog_compiler_pic_F77='+Z'
17962
 
        ;;
17963
 
      esac
17964
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17965
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
17966
 
      ;;
17967
 
 
17968
 
    irix5* | irix6* | nonstopux*)
17969
 
      lt_prog_compiler_wl_F77='-Wl,'
17970
 
      # PIC (with -KPIC) is the default.
17971
 
      lt_prog_compiler_static_F77='-non_shared'
17972
 
      ;;
17973
 
 
17974
 
    newsos6)
17975
 
      lt_prog_compiler_pic_F77='-KPIC'
17976
 
      lt_prog_compiler_static_F77='-Bstatic'
17977
 
      ;;
17978
 
 
17979
 
    linux* | k*bsd*-gnu)
17980
 
      case $cc_basename in
17981
 
      icc* | ecc*)
17982
 
        lt_prog_compiler_wl_F77='-Wl,'
17983
 
        lt_prog_compiler_pic_F77='-KPIC'
17984
 
        lt_prog_compiler_static_F77='-static'
17985
 
        ;;
17986
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17987
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17988
 
        # which looks to be a dead project)
17989
 
        lt_prog_compiler_wl_F77='-Wl,'
17990
 
        lt_prog_compiler_pic_F77='-fpic'
17991
 
        lt_prog_compiler_static_F77='-Bstatic'
17992
 
        ;;
17993
 
      ccc*)
17994
 
        lt_prog_compiler_wl_F77='-Wl,'
17995
 
        # All Alpha code is PIC.
17996
 
        lt_prog_compiler_static_F77='-non_shared'
17997
 
        ;;
17998
 
      *)
17999
 
        case `$CC -V 2>&1 | sed 5q` in
18000
 
        *Sun\ C*)
18001
 
          # Sun C 5.9
18002
 
          lt_prog_compiler_pic_F77='-KPIC'
18003
 
          lt_prog_compiler_static_F77='-Bstatic'
18004
 
          lt_prog_compiler_wl_F77='-Wl,'
18005
 
          ;;
18006
 
        *Sun\ F*)
18007
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
18008
 
          lt_prog_compiler_pic_F77='-KPIC'
18009
 
          lt_prog_compiler_static_F77='-Bstatic'
18010
 
          lt_prog_compiler_wl_F77=''
18011
 
          ;;
18012
 
        esac
18013
 
        ;;
18014
 
      esac
18015
 
      ;;
18016
 
 
18017
 
    osf3* | osf4* | osf5*)
18018
 
      lt_prog_compiler_wl_F77='-Wl,'
18019
 
      # All OSF/1 code is PIC.
18020
 
      lt_prog_compiler_static_F77='-non_shared'
18021
 
      ;;
18022
 
 
18023
 
    rdos*)
18024
 
      lt_prog_compiler_static_F77='-non_shared'
18025
 
      ;;
18026
 
 
18027
 
    solaris*)
18028
 
      lt_prog_compiler_pic_F77='-KPIC'
18029
 
      lt_prog_compiler_static_F77='-Bstatic'
18030
 
      case $cc_basename in
18031
 
      f77* | f90* | f95*)
18032
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
18033
 
      *)
18034
 
        lt_prog_compiler_wl_F77='-Wl,';;
18035
 
      esac
18036
 
      ;;
18037
 
 
18038
 
    sunos4*)
18039
 
      lt_prog_compiler_wl_F77='-Qoption ld '
18040
 
      lt_prog_compiler_pic_F77='-PIC'
18041
 
      lt_prog_compiler_static_F77='-Bstatic'
18042
 
      ;;
18043
 
 
18044
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
18045
 
      lt_prog_compiler_wl_F77='-Wl,'
18046
 
      lt_prog_compiler_pic_F77='-KPIC'
18047
 
      lt_prog_compiler_static_F77='-Bstatic'
18048
 
      ;;
18049
 
 
18050
 
    sysv4*MP*)
18051
 
      if test -d /usr/nec ;then
18052
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
18053
 
        lt_prog_compiler_static_F77='-Bstatic'
18054
 
      fi
18055
 
      ;;
18056
 
 
18057
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18058
 
      lt_prog_compiler_wl_F77='-Wl,'
18059
 
      lt_prog_compiler_pic_F77='-KPIC'
18060
 
      lt_prog_compiler_static_F77='-Bstatic'
18061
 
      ;;
18062
 
 
18063
 
    unicos*)
18064
 
      lt_prog_compiler_wl_F77='-Wl,'
18065
 
      lt_prog_compiler_can_build_shared_F77=no
18066
 
      ;;
18067
 
 
18068
 
    uts4*)
18069
 
      lt_prog_compiler_pic_F77='-pic'
18070
 
      lt_prog_compiler_static_F77='-Bstatic'
18071
 
      ;;
18072
 
 
18073
 
    *)
18074
 
      lt_prog_compiler_can_build_shared_F77=no
18075
 
      ;;
18076
 
    esac
18077
 
  fi
18078
 
 
18079
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
18080
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
18081
 
 
18082
 
#
18083
 
# Check to make sure the PIC flag actually works.
18084
 
#
18085
 
if test -n "$lt_prog_compiler_pic_F77"; then
18086
 
 
18087
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18088
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
18089
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
18090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18091
 
else
18092
 
  lt_cv_prog_compiler_pic_works_F77=no
18093
 
  ac_outfile=conftest.$ac_objext
18094
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18095
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
18096
 
   # Insert the option either (1) after the last *FLAGS variable, or
18097
 
   # (2) before a word containing "conftest.", or (3) at the end.
18098
 
   # Note that $ac_compile itself does not contain backslashes and begins
18099
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18100
 
   # The option is referenced via a variable to avoid confusing sed.
18101
 
   lt_compile=`echo "$ac_compile" | $SED \
18102
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18103
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18104
 
   -e 's:$: $lt_compiler_flag:'`
18105
 
   (eval echo "\"\$as_me:18105: $lt_compile\"" >&5)
18106
 
   (eval "$lt_compile" 2>conftest.err)
18107
 
   ac_status=$?
18108
 
   cat conftest.err >&5
18109
 
   echo "$as_me:18109: \$? = $ac_status" >&5
18110
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18111
 
     # The compiler can only warn and ignore the option if not recognized
18112
 
     # So say no if there are warnings other than the usual output.
18113
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18114
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18115
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18116
 
       lt_cv_prog_compiler_pic_works_F77=yes
18117
 
     fi
18118
 
   fi
18119
 
   $rm conftest*
18120
 
 
18121
 
fi
18122
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
18123
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
18124
 
 
18125
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
18126
 
    case $lt_prog_compiler_pic_F77 in
18127
 
     "" | " "*) ;;
18128
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
18129
 
     esac
18130
 
else
18131
 
    lt_prog_compiler_pic_F77=
18132
 
     lt_prog_compiler_can_build_shared_F77=no
18133
 
fi
18134
 
 
18135
 
fi
18136
 
case $host_os in
18137
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18138
 
  *djgpp*)
18139
 
    lt_prog_compiler_pic_F77=
18140
 
    ;;
18141
 
  *)
18142
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
18143
 
    ;;
18144
 
esac
18145
 
 
18146
 
#
18147
 
# Check to make sure the static flag actually works.
18148
 
#
18149
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
18150
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18151
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18152
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
18153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18154
 
else
18155
 
  lt_cv_prog_compiler_static_works_F77=no
18156
 
   save_LDFLAGS="$LDFLAGS"
18157
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18158
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18159
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18160
 
     # The linker can only warn and ignore the option if not recognized
18161
 
     # So say no if there are warnings
18162
 
     if test -s conftest.err; then
18163
 
       # Append any errors to the config.log.
18164
 
       cat conftest.err 1>&5
18165
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18166
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18167
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18168
 
         lt_cv_prog_compiler_static_works_F77=yes
18169
 
       fi
18170
 
     else
18171
 
       lt_cv_prog_compiler_static_works_F77=yes
18172
 
     fi
18173
 
   fi
18174
 
   $rm -r conftest*
18175
 
   LDFLAGS="$save_LDFLAGS"
18176
 
 
18177
 
fi
18178
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
18179
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
18180
 
 
18181
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
18182
 
    :
18183
 
else
18184
 
    lt_prog_compiler_static_F77=
18185
 
fi
18186
 
 
18187
 
 
18188
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18189
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18190
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
18191
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18192
 
else
18193
 
  lt_cv_prog_compiler_c_o_F77=no
18194
 
   $rm -r conftest 2>/dev/null
18195
 
   mkdir conftest
18196
 
   cd conftest
18197
 
   mkdir out
18198
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18199
 
 
18200
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18201
 
   # Insert the option either (1) after the last *FLAGS variable, or
18202
 
   # (2) before a word containing "conftest.", or (3) at the end.
18203
 
   # Note that $ac_compile itself does not contain backslashes and begins
18204
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18205
 
   lt_compile=`echo "$ac_compile" | $SED \
18206
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18207
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18208
 
   -e 's:$: $lt_compiler_flag:'`
18209
 
   (eval echo "\"\$as_me:18209: $lt_compile\"" >&5)
18210
 
   (eval "$lt_compile" 2>out/conftest.err)
18211
 
   ac_status=$?
18212
 
   cat out/conftest.err >&5
18213
 
   echo "$as_me:18213: \$? = $ac_status" >&5
18214
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18215
 
   then
18216
 
     # The compiler can only warn and ignore the option if not recognized
18217
 
     # So say no if there are warnings
18218
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18219
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18220
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18221
 
       lt_cv_prog_compiler_c_o_F77=yes
18222
 
     fi
18223
 
   fi
18224
 
   chmod u+w . 2>&5
18225
 
   $rm conftest*
18226
 
   # SGI C++ compiler will create directory out/ii_files/ for
18227
 
   # template instantiation
18228
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18229
 
   $rm out/* && rmdir out
18230
 
   cd ..
18231
 
   rmdir conftest
18232
 
   $rm conftest*
18233
 
 
18234
 
fi
18235
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
18236
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
18237
 
 
18238
 
 
18239
 
hard_links="nottested"
18240
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
18241
 
  # do not overwrite the value of need_locks provided by the user
18242
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18243
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18244
 
  hard_links=yes
18245
 
  $rm conftest*
18246
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18247
 
  touch conftest.a
18248
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18249
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18250
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18251
 
echo "${ECHO_T}$hard_links" >&6; }
18252
 
  if test "$hard_links" = no; then
18253
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18254
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18255
 
    need_locks=warn
18256
 
  fi
18257
 
else
18258
 
  need_locks=no
18259
 
fi
18260
 
 
18261
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18262
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18263
 
 
18264
 
  runpath_var=
18265
 
  allow_undefined_flag_F77=
18266
 
  enable_shared_with_static_runtimes_F77=no
18267
 
  archive_cmds_F77=
18268
 
  archive_expsym_cmds_F77=
18269
 
  old_archive_From_new_cmds_F77=
18270
 
  old_archive_from_expsyms_cmds_F77=
18271
 
  export_dynamic_flag_spec_F77=
18272
 
  whole_archive_flag_spec_F77=
18273
 
  thread_safe_flag_spec_F77=
18274
 
  hardcode_libdir_flag_spec_F77=
18275
 
  hardcode_libdir_flag_spec_ld_F77=
18276
 
  hardcode_libdir_separator_F77=
18277
 
  hardcode_direct_F77=no
18278
 
  hardcode_minus_L_F77=no
18279
 
  hardcode_shlibpath_var_F77=unsupported
18280
 
  link_all_deplibs_F77=unknown
18281
 
  hardcode_automatic_F77=no
18282
 
  module_cmds_F77=
18283
 
  module_expsym_cmds_F77=
18284
 
  always_export_symbols_F77=no
18285
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18286
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18287
 
  # included in the symbol list
18288
 
  include_expsyms_F77=
18289
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18290
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18291
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18292
 
  # as well as any symbol that contains `d'.
18293
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18294
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18295
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18296
 
  # the symbol is explicitly referenced.  Since portable code cannot
18297
 
  # rely on this symbol name, it's probably fine to never include it in
18298
 
  # preloaded symbol tables.
18299
 
  # Exclude shared library initialization/finalization symbols.
18300
 
  extract_expsyms_cmds=
18301
 
  # Just being paranoid about ensuring that cc_basename is set.
18302
 
  for cc_temp in $compiler""; do
18303
 
  case $cc_temp in
18304
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18305
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18306
 
    \-*) ;;
18307
 
    *) break;;
18308
 
  esac
18309
 
done
18310
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18311
 
 
18312
 
  case $host_os in
18313
 
  cygwin* | mingw* | pw32*)
18314
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18315
 
    # When not using gcc, we currently assume that we are using
18316
 
    # Microsoft Visual C++.
18317
 
    if test "$GCC" != yes; then
18318
 
      with_gnu_ld=no
18319
 
    fi
18320
 
    ;;
18321
 
  interix*)
18322
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18323
 
    with_gnu_ld=yes
18324
 
    ;;
18325
 
  openbsd*)
18326
 
    with_gnu_ld=no
18327
 
    ;;
18328
 
  esac
18329
 
 
18330
 
  ld_shlibs_F77=yes
18331
 
  if test "$with_gnu_ld" = yes; then
18332
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18333
 
    wlarc='${wl}'
18334
 
 
18335
 
    # Set some defaults for GNU ld with shared library support. These
18336
 
    # are reset later if shared libraries are not supported. Putting them
18337
 
    # here allows them to be overridden if necessary.
18338
 
    runpath_var=LD_RUN_PATH
18339
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
18340
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
18341
 
    # ancient GNU ld didn't support --whole-archive et. al.
18342
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18343
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18344
 
      else
18345
 
        whole_archive_flag_spec_F77=
18346
 
    fi
18347
 
    supports_anon_versioning=no
18348
 
    case `$LD -v 2>/dev/null` in
18349
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18350
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18351
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18352
 
      *\ 2.11.*) ;; # other 2.11 versions
18353
 
      *) supports_anon_versioning=yes ;;
18354
 
    esac
18355
 
 
18356
 
    # See if GNU ld supports shared libraries.
18357
 
    case $host_os in
18358
 
    aix[3-9]*)
18359
 
      # On AIX/PPC, the GNU linker is very broken
18360
 
      if test "$host_cpu" != ia64; then
18361
 
        ld_shlibs_F77=no
18362
 
        cat <<EOF 1>&2
18363
 
 
18364
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18365
 
*** to be unable to reliably create shared libraries on AIX.
18366
 
*** Therefore, libtool is disabling shared libraries support.  If you
18367
 
*** really care for shared libraries, you may want to modify your PATH
18368
 
*** so that a non-GNU linker is found, and then restart.
18369
 
 
18370
 
EOF
18371
 
      fi
18372
 
      ;;
18373
 
 
18374
 
    amigaos*)
18375
 
      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)'
18376
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18377
 
      hardcode_minus_L_F77=yes
18378
 
 
18379
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18380
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18381
 
      # to version 4, is to share data among multiple programs linked
18382
 
      # with the same dynamic library.  Since this doesn't match the
18383
 
      # behavior of shared libraries on other platforms, we can't use
18384
 
      # them.
18385
 
      ld_shlibs_F77=no
18386
 
      ;;
18387
 
 
18388
 
    beos*)
18389
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18390
 
        allow_undefined_flag_F77=unsupported
18391
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18392
 
        # support --undefined.  This deserves some investigation.  FIXME
18393
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18394
 
      else
18395
 
        ld_shlibs_F77=no
18396
 
      fi
18397
 
      ;;
18398
 
 
18399
 
    cygwin* | mingw* | pw32*)
18400
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
18401
 
      # as there is no search path for DLLs.
18402
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18403
 
      allow_undefined_flag_F77=unsupported
18404
 
      always_export_symbols_F77=no
18405
 
      enable_shared_with_static_runtimes_F77=yes
18406
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18407
 
 
18408
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18409
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18410
 
        # If the export-symbols file already is a .def file (1st line
18411
 
        # is EXPORTS), use it as is; otherwise, prepend...
18412
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18413
 
          cp $export_symbols $output_objdir/$soname.def;
18414
 
        else
18415
 
          echo EXPORTS > $output_objdir/$soname.def;
18416
 
          cat $export_symbols >> $output_objdir/$soname.def;
18417
 
        fi~
18418
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18419
 
      else
18420
 
        ld_shlibs_F77=no
18421
 
      fi
18422
 
      ;;
18423
 
 
18424
 
    interix[3-9]*)
18425
 
      hardcode_direct_F77=no
18426
 
      hardcode_shlibpath_var_F77=no
18427
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18428
 
      export_dynamic_flag_spec_F77='${wl}-E'
18429
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18430
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18431
 
      # default) and relocated if they conflict, which is a slow very memory
18432
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18433
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18434
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18435
 
      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'
18436
 
      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'
18437
 
      ;;
18438
 
 
18439
 
    gnu* | linux* | k*bsd*-gnu)
18440
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18441
 
        tmp_addflag=
18442
 
        case $cc_basename,$host_cpu in
18443
 
        pgcc*)                          # Portland Group C compiler
18444
 
          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'
18445
 
          tmp_addflag=' $pic_flag'
18446
 
          ;;
18447
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18448
 
          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'
18449
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18450
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18451
 
          tmp_addflag=' -i_dynamic' ;;
18452
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18453
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18454
 
        ifc* | ifort*)                  # Intel Fortran compiler
18455
 
          tmp_addflag=' -nofor_main' ;;
18456
 
        esac
18457
 
        case `$CC -V 2>&1 | sed 5q` in
18458
 
        *Sun\ C*)                       # Sun C 5.9
18459
 
          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'
18460
 
          tmp_sharedflag='-G' ;;
18461
 
        *Sun\ F*)                       # Sun Fortran 8.3
18462
 
          tmp_sharedflag='-G' ;;
18463
 
        *)
18464
 
          tmp_sharedflag='-shared' ;;
18465
 
        esac
18466
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18467
 
 
18468
 
        if test $supports_anon_versioning = yes; then
18469
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
18470
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18471
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18472
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18473
 
        fi
18474
 
        link_all_deplibs_F77=no
18475
 
      else
18476
 
        ld_shlibs_F77=no
18477
 
      fi
18478
 
      ;;
18479
 
 
18480
 
    netbsd* | netbsdelf*-gnu)
18481
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18482
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18483
 
        wlarc=
18484
 
      else
18485
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18486
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18487
 
      fi
18488
 
      ;;
18489
 
 
18490
 
    solaris*)
18491
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18492
 
        ld_shlibs_F77=no
18493
 
        cat <<EOF 1>&2
18494
 
 
18495
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18496
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18497
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18498
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18499
 
*** your PATH or compiler configuration so that the native linker is
18500
 
*** used, and then restart.
18501
 
 
18502
 
EOF
18503
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18504
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18505
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18506
 
      else
18507
 
        ld_shlibs_F77=no
18508
 
      fi
18509
 
      ;;
18510
 
 
18511
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18512
 
      case `$LD -v 2>&1` in
18513
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18514
 
        ld_shlibs_F77=no
18515
 
        cat <<_LT_EOF 1>&2
18516
 
 
18517
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18518
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18519
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18520
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18521
 
*** your PATH or compiler configuration so that the native linker is
18522
 
*** used, and then restart.
18523
 
 
18524
 
_LT_EOF
18525
 
        ;;
18526
 
        *)
18527
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18528
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18529
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18530
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18531
 
          else
18532
 
            ld_shlibs_F77=no
18533
 
          fi
18534
 
        ;;
18535
 
      esac
18536
 
      ;;
18537
 
 
18538
 
    sunos4*)
18539
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18540
 
      wlarc=
18541
 
      hardcode_direct_F77=yes
18542
 
      hardcode_shlibpath_var_F77=no
18543
 
      ;;
18544
 
 
18545
 
    *)
18546
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18547
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18548
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18549
 
      else
18550
 
        ld_shlibs_F77=no
18551
 
      fi
18552
 
      ;;
18553
 
    esac
18554
 
 
18555
 
    if test "$ld_shlibs_F77" = no; then
18556
 
      runpath_var=
18557
 
      hardcode_libdir_flag_spec_F77=
18558
 
      export_dynamic_flag_spec_F77=
18559
 
      whole_archive_flag_spec_F77=
18560
 
    fi
18561
 
  else
18562
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18563
 
    case $host_os in
18564
 
    aix3*)
18565
 
      allow_undefined_flag_F77=unsupported
18566
 
      always_export_symbols_F77=yes
18567
 
      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'
18568
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18569
 
      # are no directories specified by -L.
18570
 
      hardcode_minus_L_F77=yes
18571
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18572
 
        # Neither direct hardcoding nor static linking is supported with a
18573
 
        # broken collect2.
18574
 
        hardcode_direct_F77=unsupported
18575
 
      fi
18576
 
      ;;
18577
 
 
18578
 
    aix[4-9]*)
18579
 
      if test "$host_cpu" = ia64; then
18580
 
        # On IA64, the linker does run time linking by default, so we don't
18581
 
        # have to do anything special.
18582
 
        aix_use_runtimelinking=no
18583
 
        exp_sym_flag='-Bexport'
18584
 
        no_entry_flag=""
18585
 
      else
18586
 
        # If we're using GNU nm, then we don't want the "-C" option.
18587
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18588
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18589
 
          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'
18590
 
        else
18591
 
          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'
18592
 
        fi
18593
 
        aix_use_runtimelinking=no
18594
 
 
18595
 
        # Test if we are trying to use run time linking or normal
18596
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18597
 
        # need to do runtime linking.
18598
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18599
 
          for ld_flag in $LDFLAGS; do
18600
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18601
 
            aix_use_runtimelinking=yes
18602
 
            break
18603
 
          fi
18604
 
          done
18605
 
          ;;
18606
 
        esac
18607
 
 
18608
 
        exp_sym_flag='-bexport'
18609
 
        no_entry_flag='-bnoentry'
18610
 
      fi
18611
 
 
18612
 
      # When large executables or shared objects are built, AIX ld can
18613
 
      # have problems creating the table of contents.  If linking a library
18614
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18615
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18616
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18617
 
 
18618
 
      archive_cmds_F77=''
18619
 
      hardcode_direct_F77=yes
18620
 
      hardcode_libdir_separator_F77=':'
18621
 
      link_all_deplibs_F77=yes
18622
 
 
18623
 
      if test "$GCC" = yes; then
18624
 
        case $host_os in aix4.[012]|aix4.[012].*)
18625
 
        # We only want to do this on AIX 4.2 and lower, the check
18626
 
        # below for broken collect2 doesn't work under 4.3+
18627
 
          collect2name=`${CC} -print-prog-name=collect2`
18628
 
          if test -f "$collect2name" && \
18629
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18630
 
          then
18631
 
          # We have reworked collect2
18632
 
          :
18633
 
          else
18634
 
          # We have old collect2
18635
 
          hardcode_direct_F77=unsupported
18636
 
          # It fails to find uninstalled libraries when the uninstalled
18637
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18638
 
          # to unsupported forces relinking
18639
 
          hardcode_minus_L_F77=yes
18640
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
18641
 
          hardcode_libdir_separator_F77=
18642
 
          fi
18643
 
          ;;
18644
 
        esac
18645
 
        shared_flag='-shared'
18646
 
        if test "$aix_use_runtimelinking" = yes; then
18647
 
          shared_flag="$shared_flag "'${wl}-G'
18648
 
        fi
18649
 
      else
18650
 
        # not using gcc
18651
 
        if test "$host_cpu" = ia64; then
18652
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18653
 
        # chokes on -Wl,-G. The following line is correct:
18654
 
          shared_flag='-G'
18655
 
        else
18656
 
          if test "$aix_use_runtimelinking" = yes; then
18657
 
            shared_flag='${wl}-G'
18658
 
          else
18659
 
            shared_flag='${wl}-bM:SRE'
18660
 
          fi
18661
 
        fi
18662
 
      fi
18663
 
 
18664
 
      # It seems that -bexpall does not export symbols beginning with
18665
 
      # underscore (_), so it is better to generate a list of symbols to export.
18666
 
      always_export_symbols_F77=yes
18667
 
      if test "$aix_use_runtimelinking" = yes; then
18668
 
        # Warning - without using the other runtime loading flags (-brtl),
18669
 
        # -berok will link without error, but may produce a broken library.
18670
 
        allow_undefined_flag_F77='-berok'
18671
 
       # Determine the default libpath from the value encoded in an empty executable.
18672
 
       cat >conftest.$ac_ext <<_ACEOF
18673
 
      program main
18674
 
 
18675
 
      end
18676
 
_ACEOF
18677
 
rm -f conftest.$ac_objext conftest$ac_exeext
18678
 
if { (ac_try="$ac_link"
18679
 
case "(($ac_try" in
18680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18681
 
  *) ac_try_echo=$ac_try;;
18682
 
esac
18683
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684
 
  (eval "$ac_link") 2>conftest.er1
18685
 
  ac_status=$?
18686
 
  grep -v '^ *+' conftest.er1 >conftest.err
18687
 
  rm -f conftest.er1
18688
 
  cat conftest.err >&5
18689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690
 
  (exit $ac_status); } && {
18691
 
         test -z "$ac_f77_werror_flag" ||
18692
 
         test ! -s conftest.err
18693
 
       } && test -s conftest$ac_exeext &&
18694
 
       $as_test_x conftest$ac_exeext; then
18695
 
 
18696
 
lt_aix_libpath_sed='
18697
 
    /Import File Strings/,/^$/ {
18698
 
        /^0/ {
18699
 
            s/^0  *\(.*\)$/\1/
18700
 
            p
18701
 
        }
18702
 
    }'
18703
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18704
 
# Check for a 64-bit object if we didn't find anything.
18705
 
if test -z "$aix_libpath"; then
18706
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18707
 
fi
18708
 
else
18709
 
  echo "$as_me: failed program was:" >&5
18710
 
sed 's/^/| /' conftest.$ac_ext >&5
18711
 
 
18712
 
 
18713
 
fi
18714
 
 
18715
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18716
 
      conftest$ac_exeext conftest.$ac_ext
18717
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18718
 
 
18719
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
18720
 
        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"
18721
 
       else
18722
 
        if test "$host_cpu" = ia64; then
18723
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
18724
 
          allow_undefined_flag_F77="-z nodefs"
18725
 
          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"
18726
 
        else
18727
 
         # Determine the default libpath from the value encoded in an empty executable.
18728
 
         cat >conftest.$ac_ext <<_ACEOF
18729
 
      program main
18730
 
 
18731
 
      end
18732
 
_ACEOF
18733
 
rm -f conftest.$ac_objext conftest$ac_exeext
18734
 
if { (ac_try="$ac_link"
18735
 
case "(($ac_try" in
18736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737
 
  *) ac_try_echo=$ac_try;;
18738
 
esac
18739
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740
 
  (eval "$ac_link") 2>conftest.er1
18741
 
  ac_status=$?
18742
 
  grep -v '^ *+' conftest.er1 >conftest.err
18743
 
  rm -f conftest.er1
18744
 
  cat conftest.err >&5
18745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746
 
  (exit $ac_status); } && {
18747
 
         test -z "$ac_f77_werror_flag" ||
18748
 
         test ! -s conftest.err
18749
 
       } && test -s conftest$ac_exeext &&
18750
 
       $as_test_x conftest$ac_exeext; then
18751
 
 
18752
 
lt_aix_libpath_sed='
18753
 
    /Import File Strings/,/^$/ {
18754
 
        /^0/ {
18755
 
            s/^0  *\(.*\)$/\1/
18756
 
            p
18757
 
        }
18758
 
    }'
18759
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18760
 
# Check for a 64-bit object if we didn't find anything.
18761
 
if test -z "$aix_libpath"; then
18762
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18763
 
fi
18764
 
else
18765
 
  echo "$as_me: failed program was:" >&5
18766
 
sed 's/^/| /' conftest.$ac_ext >&5
18767
 
 
18768
 
 
18769
 
fi
18770
 
 
18771
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18772
 
      conftest$ac_exeext conftest.$ac_ext
18773
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18774
 
 
18775
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
18776
 
          # Warning - without using the other run time loading flags,
18777
 
          # -berok will link without error, but may produce a broken library.
18778
 
          no_undefined_flag_F77=' ${wl}-bernotok'
18779
 
          allow_undefined_flag_F77=' ${wl}-berok'
18780
 
          # Exported symbols can be pulled into shared objects from archives
18781
 
          whole_archive_flag_spec_F77='$convenience'
18782
 
          archive_cmds_need_lc_F77=yes
18783
 
          # This is similar to how AIX traditionally builds its shared libraries.
18784
 
          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'
18785
 
        fi
18786
 
      fi
18787
 
      ;;
18788
 
 
18789
 
    amigaos*)
18790
 
      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)'
18791
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18792
 
      hardcode_minus_L_F77=yes
18793
 
      # see comment about different semantics on the GNU ld section
18794
 
      ld_shlibs_F77=no
18795
 
      ;;
18796
 
 
18797
 
    bsdi[45]*)
18798
 
      export_dynamic_flag_spec_F77=-rdynamic
18799
 
      ;;
18800
 
 
18801
 
    cygwin* | mingw* | pw32*)
18802
 
      # When not using gcc, we currently assume that we are using
18803
 
      # Microsoft Visual C++.
18804
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18805
 
      # no search path for DLLs.
18806
 
      hardcode_libdir_flag_spec_F77=' '
18807
 
      allow_undefined_flag_F77=unsupported
18808
 
      # Tell ltmain to make .lib files, not .a files.
18809
 
      libext=lib
18810
 
      # Tell ltmain to make .dll files, not .so files.
18811
 
      shrext_cmds=".dll"
18812
 
      # FIXME: Setting linknames here is a bad hack.
18813
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18814
 
      # The linker will automatically build a .lib file if we build a DLL.
18815
 
      old_archive_From_new_cmds_F77='true'
18816
 
      # FIXME: Should let the user specify the lib program.
18817
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
18818
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
18819
 
      enable_shared_with_static_runtimes_F77=yes
18820
 
      ;;
18821
 
 
18822
 
    darwin* | rhapsody*)
18823
 
      case $host_os in
18824
 
        rhapsody* | darwin1.[012])
18825
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
18826
 
         ;;
18827
 
       *) # Darwin 1.3 on
18828
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18829
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18830
 
         else
18831
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18832
 
             10.[012])
18833
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18834
 
               ;;
18835
 
             10.*)
18836
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
18837
 
               ;;
18838
 
           esac
18839
 
         fi
18840
 
         ;;
18841
 
      esac
18842
 
      archive_cmds_need_lc_F77=no
18843
 
      hardcode_direct_F77=no
18844
 
      hardcode_automatic_F77=yes
18845
 
      hardcode_shlibpath_var_F77=unsupported
18846
 
      whole_archive_flag_spec_F77=''
18847
 
      link_all_deplibs_F77=yes
18848
 
    if test "$GCC" = yes ; then
18849
 
        output_verbose_link_cmd='echo'
18850
 
        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}"
18851
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18852
 
        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}"
18853
 
        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}"
18854
 
    else
18855
 
      case $cc_basename in
18856
 
        xlc*)
18857
 
         output_verbose_link_cmd='echo'
18858
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18859
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18860
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18861
 
         archive_expsym_cmds_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}'
18862
 
          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}'
18863
 
          ;;
18864
 
       *)
18865
 
         ld_shlibs_F77=no
18866
 
          ;;
18867
 
      esac
18868
 
    fi
18869
 
      ;;
18870
 
 
18871
 
    dgux*)
18872
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18873
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18874
 
      hardcode_shlibpath_var_F77=no
18875
 
      ;;
18876
 
 
18877
 
    freebsd1*)
18878
 
      ld_shlibs_F77=no
18879
 
      ;;
18880
 
 
18881
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18882
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18883
 
    # does not break anything, and helps significantly (at the cost of a little
18884
 
    # extra space).
18885
 
    freebsd2.2*)
18886
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18887
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
18888
 
      hardcode_direct_F77=yes
18889
 
      hardcode_shlibpath_var_F77=no
18890
 
      ;;
18891
 
 
18892
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18893
 
    freebsd2*)
18894
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18895
 
      hardcode_direct_F77=yes
18896
 
      hardcode_minus_L_F77=yes
18897
 
      hardcode_shlibpath_var_F77=no
18898
 
      ;;
18899
 
 
18900
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18901
 
    freebsd* | dragonfly*)
18902
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18903
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
18904
 
      hardcode_direct_F77=yes
18905
 
      hardcode_shlibpath_var_F77=no
18906
 
      ;;
18907
 
 
18908
 
    hpux9*)
18909
 
      if test "$GCC" = yes; then
18910
 
        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'
18911
 
      else
18912
 
        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'
18913
 
      fi
18914
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18915
 
      hardcode_libdir_separator_F77=:
18916
 
      hardcode_direct_F77=yes
18917
 
 
18918
 
      # hardcode_minus_L: Not really in the search PATH,
18919
 
      # but as the default location of the library.
18920
 
      hardcode_minus_L_F77=yes
18921
 
      export_dynamic_flag_spec_F77='${wl}-E'
18922
 
      ;;
18923
 
 
18924
 
    hpux10*)
18925
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18926
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18927
 
      else
18928
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18929
 
      fi
18930
 
      if test "$with_gnu_ld" = no; then
18931
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18932
 
        hardcode_libdir_separator_F77=:
18933
 
 
18934
 
        hardcode_direct_F77=yes
18935
 
        export_dynamic_flag_spec_F77='${wl}-E'
18936
 
 
18937
 
        # hardcode_minus_L: Not really in the search PATH,
18938
 
        # but as the default location of the library.
18939
 
        hardcode_minus_L_F77=yes
18940
 
      fi
18941
 
      ;;
18942
 
 
18943
 
    hpux11*)
18944
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18945
 
        case $host_cpu in
18946
 
        hppa*64*)
18947
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18948
 
          ;;
18949
 
        ia64*)
18950
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18951
 
          ;;
18952
 
        *)
18953
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18954
 
          ;;
18955
 
        esac
18956
 
      else
18957
 
        case $host_cpu in
18958
 
        hppa*64*)
18959
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18960
 
          ;;
18961
 
        ia64*)
18962
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18963
 
          ;;
18964
 
        *)
18965
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18966
 
          ;;
18967
 
        esac
18968
 
      fi
18969
 
      if test "$with_gnu_ld" = no; then
18970
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18971
 
        hardcode_libdir_separator_F77=:
18972
 
 
18973
 
        case $host_cpu in
18974
 
        hppa*64*|ia64*)
18975
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
18976
 
          hardcode_direct_F77=no
18977
 
          hardcode_shlibpath_var_F77=no
18978
 
          ;;
18979
 
        *)
18980
 
          hardcode_direct_F77=yes
18981
 
          export_dynamic_flag_spec_F77='${wl}-E'
18982
 
 
18983
 
          # hardcode_minus_L: Not really in the search PATH,
18984
 
          # but as the default location of the library.
18985
 
          hardcode_minus_L_F77=yes
18986
 
          ;;
18987
 
        esac
18988
 
      fi
18989
 
      ;;
18990
 
 
18991
 
    irix5* | irix6* | nonstopux*)
18992
 
      if test "$GCC" = yes; then
18993
 
        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'
18994
 
      else
18995
 
        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'
18996
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
18997
 
      fi
18998
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18999
 
      hardcode_libdir_separator_F77=:
19000
 
      link_all_deplibs_F77=yes
19001
 
      ;;
19002
 
 
19003
 
    netbsd* | netbsdelf*-gnu)
19004
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19005
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19006
 
      else
19007
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19008
 
      fi
19009
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
19010
 
      hardcode_direct_F77=yes
19011
 
      hardcode_shlibpath_var_F77=no
19012
 
      ;;
19013
 
 
19014
 
    newsos6)
19015
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19016
 
      hardcode_direct_F77=yes
19017
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19018
 
      hardcode_libdir_separator_F77=:
19019
 
      hardcode_shlibpath_var_F77=no
19020
 
      ;;
19021
 
 
19022
 
    openbsd*)
19023
 
      if test -f /usr/libexec/ld.so; then
19024
 
        hardcode_direct_F77=yes
19025
 
        hardcode_shlibpath_var_F77=no
19026
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19027
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19028
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19029
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
19030
 
          export_dynamic_flag_spec_F77='${wl}-E'
19031
 
        else
19032
 
          case $host_os in
19033
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19034
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19035
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
19036
 
             ;;
19037
 
           *)
19038
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19039
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
19040
 
             ;;
19041
 
          esac
19042
 
        fi
19043
 
      else
19044
 
        ld_shlibs_F77=no
19045
 
      fi
19046
 
      ;;
19047
 
 
19048
 
    os2*)
19049
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19050
 
      hardcode_minus_L_F77=yes
19051
 
      allow_undefined_flag_F77=unsupported
19052
 
      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'
19053
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19054
 
      ;;
19055
 
 
19056
 
    osf3*)
19057
 
      if test "$GCC" = yes; then
19058
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
19059
 
        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'
19060
 
      else
19061
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
19062
 
        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'
19063
 
      fi
19064
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19065
 
      hardcode_libdir_separator_F77=:
19066
 
      ;;
19067
 
 
19068
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19069
 
      if test "$GCC" = yes; then
19070
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
19071
 
        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'
19072
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19073
 
      else
19074
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
19075
 
        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'
19076
 
        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~
19077
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19078
 
 
19079
 
        # Both c and cxx compiler support -rpath directly
19080
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
19081
 
      fi
19082
 
      hardcode_libdir_separator_F77=:
19083
 
      ;;
19084
 
 
19085
 
    solaris*)
19086
 
      no_undefined_flag_F77=' -z text'
19087
 
      if test "$GCC" = yes; then
19088
 
        wlarc='${wl}'
19089
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19090
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19091
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19092
 
      else
19093
 
        wlarc=''
19094
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19095
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19096
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19097
 
      fi
19098
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
19099
 
      hardcode_shlibpath_var_F77=no
19100
 
      case $host_os in
19101
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19102
 
      *)
19103
 
        # The compiler driver will combine and reorder linker options,
19104
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19105
 
        # but is careful enough not to reorder.
19106
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19107
 
        if test "$GCC" = yes; then
19108
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19109
 
        else
19110
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
19111
 
        fi
19112
 
        ;;
19113
 
      esac
19114
 
      link_all_deplibs_F77=yes
19115
 
      ;;
19116
 
 
19117
 
    sunos4*)
19118
 
      if test "x$host_vendor" = xsequent; then
19119
 
        # Use $CC to link under sequent, because it throws in some extra .o
19120
 
        # files that make .init and .fini sections work.
19121
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19122
 
      else
19123
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19124
 
      fi
19125
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19126
 
      hardcode_direct_F77=yes
19127
 
      hardcode_minus_L_F77=yes
19128
 
      hardcode_shlibpath_var_F77=no
19129
 
      ;;
19130
 
 
19131
 
    sysv4)
19132
 
      case $host_vendor in
19133
 
        sni)
19134
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19135
 
          hardcode_direct_F77=yes # is this really true???
19136
 
        ;;
19137
 
        siemens)
19138
 
          ## LD is ld it makes a PLAMLIB
19139
 
          ## CC just makes a GrossModule.
19140
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19141
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
19142
 
          hardcode_direct_F77=no
19143
 
        ;;
19144
 
        motorola)
19145
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19146
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
19147
 
        ;;
19148
 
      esac
19149
 
      runpath_var='LD_RUN_PATH'
19150
 
      hardcode_shlibpath_var_F77=no
19151
 
      ;;
19152
 
 
19153
 
    sysv4.3*)
19154
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19155
 
      hardcode_shlibpath_var_F77=no
19156
 
      export_dynamic_flag_spec_F77='-Bexport'
19157
 
      ;;
19158
 
 
19159
 
    sysv4*MP*)
19160
 
      if test -d /usr/nec; then
19161
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19162
 
        hardcode_shlibpath_var_F77=no
19163
 
        runpath_var=LD_RUN_PATH
19164
 
        hardcode_runpath_var=yes
19165
 
        ld_shlibs_F77=yes
19166
 
      fi
19167
 
      ;;
19168
 
 
19169
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19170
 
      no_undefined_flag_F77='${wl}-z,text'
19171
 
      archive_cmds_need_lc_F77=no
19172
 
      hardcode_shlibpath_var_F77=no
19173
 
      runpath_var='LD_RUN_PATH'
19174
 
 
19175
 
      if test "$GCC" = yes; then
19176
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19177
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19178
 
      else
19179
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19180
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19181
 
      fi
19182
 
      ;;
19183
 
 
19184
 
    sysv5* | sco3.2v5* | sco5v6*)
19185
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19186
 
      # link with -lc, and that would cause any symbols used from libc to
19187
 
      # always be unresolved, which means just about no library would
19188
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19189
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19190
 
      # as -z defs.
19191
 
      no_undefined_flag_F77='${wl}-z,text'
19192
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
19193
 
      archive_cmds_need_lc_F77=no
19194
 
      hardcode_shlibpath_var_F77=no
19195
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19196
 
      hardcode_libdir_separator_F77=':'
19197
 
      link_all_deplibs_F77=yes
19198
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
19199
 
      runpath_var='LD_RUN_PATH'
19200
 
 
19201
 
      if test "$GCC" = yes; then
19202
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19203
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19204
 
      else
19205
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19206
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19207
 
      fi
19208
 
      ;;
19209
 
 
19210
 
    uts4*)
19211
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19212
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19213
 
      hardcode_shlibpath_var_F77=no
19214
 
      ;;
19215
 
 
19216
 
    *)
19217
 
      ld_shlibs_F77=no
19218
 
      ;;
19219
 
    esac
19220
 
  fi
19221
 
 
19222
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
19223
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
19224
 
test "$ld_shlibs_F77" = no && can_build_shared=no
19225
 
 
19226
 
#
19227
 
# Do we need to explicitly link libc?
19228
 
#
19229
 
case "x$archive_cmds_need_lc_F77" in
19230
 
x|xyes)
19231
 
  # Assume -lc should be added
19232
 
  archive_cmds_need_lc_F77=yes
19233
 
 
19234
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19235
 
    case $archive_cmds_F77 in
19236
 
    *'~'*)
19237
 
      # FIXME: we may have to deal with multi-command sequences.
19238
 
      ;;
19239
 
    '$CC '*)
19240
 
      # Test whether the compiler implicitly links with -lc since on some
19241
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19242
 
      # to ld, don't add -lc before -lgcc.
19243
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19244
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19245
 
      $rm conftest*
19246
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19247
 
 
19248
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249
 
  (eval $ac_compile) 2>&5
19250
 
  ac_status=$?
19251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252
 
  (exit $ac_status); } 2>conftest.err; then
19253
 
        soname=conftest
19254
 
        lib=conftest
19255
 
        libobjs=conftest.$ac_objext
19256
 
        deplibs=
19257
 
        wl=$lt_prog_compiler_wl_F77
19258
 
        pic_flag=$lt_prog_compiler_pic_F77
19259
 
        compiler_flags=-v
19260
 
        linker_flags=-v
19261
 
        verstring=
19262
 
        output_objdir=.
19263
 
        libname=conftest
19264
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
19265
 
        allow_undefined_flag_F77=
19266
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19267
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19268
 
  ac_status=$?
19269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270
 
  (exit $ac_status); }
19271
 
        then
19272
 
          archive_cmds_need_lc_F77=no
19273
 
        else
19274
 
          archive_cmds_need_lc_F77=yes
19275
 
        fi
19276
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
19277
 
      else
19278
 
        cat conftest.err 1>&5
19279
 
      fi
19280
 
      $rm conftest*
19281
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
19282
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
19283
 
      ;;
19284
 
    esac
19285
 
  fi
19286
 
  ;;
19287
 
esac
19288
 
 
19289
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19290
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19291
 
library_names_spec=
19292
 
libname_spec='lib$name'
19293
 
soname_spec=
19294
 
shrext_cmds=".so"
19295
 
postinstall_cmds=
19296
 
postuninstall_cmds=
19297
 
finish_cmds=
19298
 
finish_eval=
19299
 
shlibpath_var=
19300
 
shlibpath_overrides_runpath=unknown
19301
 
version_type=none
19302
 
dynamic_linker="$host_os ld.so"
19303
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19304
 
 
19305
 
need_lib_prefix=unknown
19306
 
hardcode_into_libs=no
19307
 
 
19308
 
# when you set need_version to no, make sure it does not cause -set_version
19309
 
# flags to be left without arguments
19310
 
need_version=unknown
19311
 
 
19312
 
case $host_os in
19313
 
aix3*)
19314
 
  version_type=linux
19315
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19316
 
  shlibpath_var=LIBPATH
19317
 
 
19318
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19319
 
  soname_spec='${libname}${release}${shared_ext}$major'
19320
 
  ;;
19321
 
 
19322
 
aix[4-9]*)
19323
 
  version_type=linux
19324
 
  need_lib_prefix=no
19325
 
  need_version=no
19326
 
  hardcode_into_libs=yes
19327
 
  if test "$host_cpu" = ia64; then
19328
 
    # AIX 5 supports IA64
19329
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19330
 
    shlibpath_var=LD_LIBRARY_PATH
19331
 
  else
19332
 
    # With GCC up to 2.95.x, collect2 would create an import file
19333
 
    # for dependence libraries.  The import file would start with
19334
 
    # the line `#! .'.  This would cause the generated library to
19335
 
    # depend on `.', always an invalid library.  This was fixed in
19336
 
    # development snapshots of GCC prior to 3.0.
19337
 
    case $host_os in
19338
 
      aix4 | aix4.[01] | aix4.[01].*)
19339
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19340
 
           echo ' yes '
19341
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19342
 
        :
19343
 
      else
19344
 
        can_build_shared=no
19345
 
      fi
19346
 
      ;;
19347
 
    esac
19348
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19349
 
    # soname into executable. Probably we can add versioning support to
19350
 
    # collect2, so additional links can be useful in future.
19351
 
    if test "$aix_use_runtimelinking" = yes; then
19352
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19353
 
      # instead of lib<name>.a to let people know that these are not
19354
 
      # typical AIX shared libraries.
19355
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19356
 
    else
19357
 
      # We preserve .a as extension for shared libraries through AIX4.2
19358
 
      # and later when we are not doing run time linking.
19359
 
      library_names_spec='${libname}${release}.a $libname.a'
19360
 
      soname_spec='${libname}${release}${shared_ext}$major'
19361
 
    fi
19362
 
    shlibpath_var=LIBPATH
19363
 
  fi
19364
 
  ;;
19365
 
 
19366
 
amigaos*)
19367
 
  library_names_spec='$libname.ixlibrary $libname.a'
19368
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19369
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19370
 
  ;;
19371
 
 
19372
 
beos*)
19373
 
  library_names_spec='${libname}${shared_ext}'
19374
 
  dynamic_linker="$host_os ld.so"
19375
 
  shlibpath_var=LIBRARY_PATH
19376
 
  ;;
19377
 
 
19378
 
bsdi[45]*)
19379
 
  version_type=linux
19380
 
  need_version=no
19381
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19382
 
  soname_spec='${libname}${release}${shared_ext}$major'
19383
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19384
 
  shlibpath_var=LD_LIBRARY_PATH
19385
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19386
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19387
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19388
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19389
 
  # libtool to hard-code these into programs
19390
 
  ;;
19391
 
 
19392
 
cygwin* | mingw* | pw32*)
19393
 
  version_type=windows
19394
 
  shrext_cmds=".dll"
19395
 
  need_version=no
19396
 
  need_lib_prefix=no
19397
 
 
19398
 
  case $GCC,$host_os in
19399
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19400
 
    library_names_spec='$libname.dll.a'
19401
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19402
 
    postinstall_cmds='base_file=`basename \${file}`~
19403
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19404
 
      dldir=$destdir/`dirname \$dlpath`~
19405
 
      test -d \$dldir || mkdir -p \$dldir~
19406
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19407
 
      chmod a+x \$dldir/$dlname'
19408
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19409
 
      dlpath=$dir/\$dldll~
19410
 
       $rm \$dlpath'
19411
 
    shlibpath_overrides_runpath=yes
19412
 
 
19413
 
    case $host_os in
19414
 
    cygwin*)
19415
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19416
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19417
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19418
 
      ;;
19419
 
    mingw*)
19420
 
      # MinGW DLLs use traditional 'lib' prefix
19421
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19422
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19423
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19424
 
        # It is most probably a Windows format PATH printed by
19425
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19426
 
        # path with ; separators, and with drive letters. We can handle the
19427
 
        # drive letters (cygwin fileutils understands them), so leave them,
19428
 
        # especially as we might pass files found there to a mingw objdump,
19429
 
        # which wouldn't understand a cygwinified path. Ahh.
19430
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19431
 
      else
19432
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19433
 
      fi
19434
 
      ;;
19435
 
    pw32*)
19436
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19437
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19438
 
      ;;
19439
 
    esac
19440
 
    ;;
19441
 
 
19442
 
  *)
19443
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19444
 
    ;;
19445
 
  esac
19446
 
  dynamic_linker='Win32 ld.exe'
19447
 
  # FIXME: first we should search . and the directory the executable is in
19448
 
  shlibpath_var=PATH
19449
 
  ;;
19450
 
 
19451
 
darwin* | rhapsody*)
19452
 
  dynamic_linker="$host_os dyld"
19453
 
  version_type=darwin
19454
 
  need_lib_prefix=no
19455
 
  need_version=no
19456
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19457
 
  soname_spec='${libname}${release}${major}$shared_ext'
19458
 
  shlibpath_overrides_runpath=yes
19459
 
  shlibpath_var=DYLD_LIBRARY_PATH
19460
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19461
 
 
19462
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19463
 
  ;;
19464
 
 
19465
 
dgux*)
19466
 
  version_type=linux
19467
 
  need_lib_prefix=no
19468
 
  need_version=no
19469
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19470
 
  soname_spec='${libname}${release}${shared_ext}$major'
19471
 
  shlibpath_var=LD_LIBRARY_PATH
19472
 
  ;;
19473
 
 
19474
 
freebsd1*)
19475
 
  dynamic_linker=no
19476
 
  ;;
19477
 
 
19478
 
freebsd* | dragonfly*)
19479
 
  # DragonFly does not have aout.  When/if they implement a new
19480
 
  # versioning mechanism, adjust this.
19481
 
  if test -x /usr/bin/objformat; then
19482
 
    objformat=`/usr/bin/objformat`
19483
 
  else
19484
 
    case $host_os in
19485
 
    freebsd[123]*) objformat=aout ;;
19486
 
    *) objformat=elf ;;
19487
 
    esac
19488
 
  fi
19489
 
  version_type=freebsd-$objformat
19490
 
  case $version_type in
19491
 
    freebsd-elf*)
19492
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19493
 
      need_version=no
19494
 
      need_lib_prefix=no
19495
 
      ;;
19496
 
    freebsd-*)
19497
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19498
 
      need_version=yes
19499
 
      ;;
19500
 
  esac
19501
 
  shlibpath_var=LD_LIBRARY_PATH
19502
 
  case $host_os in
19503
 
  freebsd2*)
19504
 
    shlibpath_overrides_runpath=yes
19505
 
    ;;
19506
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19507
 
    shlibpath_overrides_runpath=yes
19508
 
    hardcode_into_libs=yes
19509
 
    ;;
19510
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19511
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19512
 
    shlibpath_overrides_runpath=no
19513
 
    hardcode_into_libs=yes
19514
 
    ;;
19515
 
  *) # from 4.6 on, and DragonFly
19516
 
    shlibpath_overrides_runpath=yes
19517
 
    hardcode_into_libs=yes
19518
 
    ;;
19519
 
  esac
19520
 
  ;;
19521
 
 
19522
 
gnu*)
19523
 
  version_type=linux
19524
 
  need_lib_prefix=no
19525
 
  need_version=no
19526
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19527
 
  soname_spec='${libname}${release}${shared_ext}$major'
19528
 
  shlibpath_var=LD_LIBRARY_PATH
19529
 
  hardcode_into_libs=yes
19530
 
  ;;
19531
 
 
19532
 
hpux9* | hpux10* | hpux11*)
19533
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19534
 
  # link against other versions.
19535
 
  version_type=sunos
19536
 
  need_lib_prefix=no
19537
 
  need_version=no
19538
 
  case $host_cpu in
19539
 
  ia64*)
19540
 
    shrext_cmds='.so'
19541
 
    hardcode_into_libs=yes
19542
 
    dynamic_linker="$host_os dld.so"
19543
 
    shlibpath_var=LD_LIBRARY_PATH
19544
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19545
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19546
 
    soname_spec='${libname}${release}${shared_ext}$major'
19547
 
    if test "X$HPUX_IA64_MODE" = X32; then
19548
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19549
 
    else
19550
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19551
 
    fi
19552
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19553
 
    ;;
19554
 
   hppa*64*)
19555
 
     shrext_cmds='.sl'
19556
 
     hardcode_into_libs=yes
19557
 
     dynamic_linker="$host_os dld.sl"
19558
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19559
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19560
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19561
 
     soname_spec='${libname}${release}${shared_ext}$major'
19562
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19563
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19564
 
     ;;
19565
 
   *)
19566
 
    shrext_cmds='.sl'
19567
 
    dynamic_linker="$host_os dld.sl"
19568
 
    shlibpath_var=SHLIB_PATH
19569
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19570
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19571
 
    soname_spec='${libname}${release}${shared_ext}$major'
19572
 
    ;;
19573
 
  esac
19574
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19575
 
  postinstall_cmds='chmod 555 $lib'
19576
 
  ;;
19577
 
 
19578
 
interix[3-9]*)
19579
 
  version_type=linux
19580
 
  need_lib_prefix=no
19581
 
  need_version=no
19582
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19583
 
  soname_spec='${libname}${release}${shared_ext}$major'
19584
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19585
 
  shlibpath_var=LD_LIBRARY_PATH
19586
 
  shlibpath_overrides_runpath=no
19587
 
  hardcode_into_libs=yes
19588
 
  ;;
19589
 
 
19590
 
irix5* | irix6* | nonstopux*)
19591
 
  case $host_os in
19592
 
    nonstopux*) version_type=nonstopux ;;
19593
 
    *)
19594
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19595
 
                version_type=linux
19596
 
        else
19597
 
                version_type=irix
19598
 
        fi ;;
19599
 
  esac
19600
 
  need_lib_prefix=no
19601
 
  need_version=no
19602
 
  soname_spec='${libname}${release}${shared_ext}$major'
19603
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19604
 
  case $host_os in
19605
 
  irix5* | nonstopux*)
19606
 
    libsuff= shlibsuff=
19607
 
    ;;
19608
 
  *)
19609
 
    case $LD in # libtool.m4 will add one of these switches to LD
19610
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19611
 
      libsuff= shlibsuff= libmagic=32-bit;;
19612
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19613
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19614
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19615
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19616
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19617
 
    esac
19618
 
    ;;
19619
 
  esac
19620
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19621
 
  shlibpath_overrides_runpath=no
19622
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19623
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19624
 
  hardcode_into_libs=yes
19625
 
  ;;
19626
 
 
19627
 
# No shared lib support for Linux oldld, aout, or coff.
19628
 
linux*oldld* | linux*aout* | linux*coff*)
19629
 
  dynamic_linker=no
19630
 
  ;;
19631
 
 
19632
 
# This must be Linux ELF.
19633
 
linux* | k*bsd*-gnu)
19634
 
  version_type=linux
19635
 
  need_lib_prefix=no
19636
 
  need_version=no
19637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19638
 
  soname_spec='${libname}${release}${shared_ext}$major'
19639
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19640
 
  shlibpath_var=LD_LIBRARY_PATH
19641
 
  shlibpath_overrides_runpath=no
19642
 
  # This implies no fast_install, which is unacceptable.
19643
 
  # Some rework will be needed to allow for fast_install
19644
 
  # before this can be enabled.
19645
 
  hardcode_into_libs=yes
19646
 
 
19647
 
  # Append ld.so.conf contents to the search path
19648
 
  if test -f /etc/ld.so.conf; then
19649
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19650
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19651
 
  fi
19652
 
 
19653
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19654
 
  # powerpc, because MkLinux only supported shared libraries with the
19655
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19656
 
  # most powerpc-linux boxes support dynamic linking these days and
19657
 
  # people can always --disable-shared, the test was removed, and we
19658
 
  # assume the GNU/Linux dynamic linker is in use.
19659
 
  dynamic_linker='GNU/Linux ld.so'
19660
 
  ;;
19661
 
 
19662
 
netbsdelf*-gnu)
19663
 
  version_type=linux
19664
 
  need_lib_prefix=no
19665
 
  need_version=no
19666
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19667
 
  soname_spec='${libname}${release}${shared_ext}$major'
19668
 
  shlibpath_var=LD_LIBRARY_PATH
19669
 
  shlibpath_overrides_runpath=no
19670
 
  hardcode_into_libs=yes
19671
 
  dynamic_linker='NetBSD ld.elf_so'
19672
 
  ;;
19673
 
 
19674
 
netbsd*)
19675
 
  version_type=sunos
19676
 
  need_lib_prefix=no
19677
 
  need_version=no
19678
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19679
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19680
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19681
 
    dynamic_linker='NetBSD (a.out) ld.so'
19682
 
  else
19683
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19684
 
    soname_spec='${libname}${release}${shared_ext}$major'
19685
 
    dynamic_linker='NetBSD ld.elf_so'
19686
 
  fi
19687
 
  shlibpath_var=LD_LIBRARY_PATH
19688
 
  shlibpath_overrides_runpath=yes
19689
 
  hardcode_into_libs=yes
19690
 
  ;;
19691
 
 
19692
 
newsos6)
19693
 
  version_type=linux
19694
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19695
 
  shlibpath_var=LD_LIBRARY_PATH
19696
 
  shlibpath_overrides_runpath=yes
19697
 
  ;;
19698
 
 
19699
 
nto-qnx*)
19700
 
  version_type=linux
19701
 
  need_lib_prefix=no
19702
 
  need_version=no
19703
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19704
 
  soname_spec='${libname}${release}${shared_ext}$major'
19705
 
  shlibpath_var=LD_LIBRARY_PATH
19706
 
  shlibpath_overrides_runpath=yes
19707
 
  ;;
19708
 
 
19709
 
openbsd*)
19710
 
  version_type=sunos
19711
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19712
 
  need_lib_prefix=no
19713
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19714
 
  case $host_os in
19715
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19716
 
    *)                         need_version=no  ;;
19717
 
  esac
19718
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19719
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19720
 
  shlibpath_var=LD_LIBRARY_PATH
19721
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19722
 
    case $host_os in
19723
 
      openbsd2.[89] | openbsd2.[89].*)
19724
 
        shlibpath_overrides_runpath=no
19725
 
        ;;
19726
 
      *)
19727
 
        shlibpath_overrides_runpath=yes
19728
 
        ;;
19729
 
      esac
19730
 
  else
19731
 
    shlibpath_overrides_runpath=yes
19732
 
  fi
19733
 
  ;;
19734
 
 
19735
 
os2*)
19736
 
  libname_spec='$name'
19737
 
  shrext_cmds=".dll"
19738
 
  need_lib_prefix=no
19739
 
  library_names_spec='$libname${shared_ext} $libname.a'
19740
 
  dynamic_linker='OS/2 ld.exe'
19741
 
  shlibpath_var=LIBPATH
19742
 
  ;;
19743
 
 
19744
 
osf3* | osf4* | osf5*)
19745
 
  version_type=osf
19746
 
  need_lib_prefix=no
19747
 
  need_version=no
19748
 
  soname_spec='${libname}${release}${shared_ext}$major'
19749
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19750
 
  shlibpath_var=LD_LIBRARY_PATH
19751
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19752
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19753
 
  ;;
19754
 
 
19755
 
rdos*)
19756
 
  dynamic_linker=no
19757
 
  ;;
19758
 
 
19759
 
solaris*)
19760
 
  version_type=linux
19761
 
  need_lib_prefix=no
19762
 
  need_version=no
19763
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19764
 
  soname_spec='${libname}${release}${shared_ext}$major'
19765
 
  shlibpath_var=LD_LIBRARY_PATH
19766
 
  shlibpath_overrides_runpath=yes
19767
 
  hardcode_into_libs=yes
19768
 
  # ldd complains unless libraries are executable
19769
 
  postinstall_cmds='chmod +x $lib'
19770
 
  ;;
19771
 
 
19772
 
sunos4*)
19773
 
  version_type=sunos
19774
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19775
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19776
 
  shlibpath_var=LD_LIBRARY_PATH
19777
 
  shlibpath_overrides_runpath=yes
19778
 
  if test "$with_gnu_ld" = yes; then
19779
 
    need_lib_prefix=no
19780
 
  fi
19781
 
  need_version=yes
19782
 
  ;;
19783
 
 
19784
 
sysv4 | sysv4.3*)
19785
 
  version_type=linux
19786
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19787
 
  soname_spec='${libname}${release}${shared_ext}$major'
19788
 
  shlibpath_var=LD_LIBRARY_PATH
19789
 
  case $host_vendor in
19790
 
    sni)
19791
 
      shlibpath_overrides_runpath=no
19792
 
      need_lib_prefix=no
19793
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19794
 
      runpath_var=LD_RUN_PATH
19795
 
      ;;
19796
 
    siemens)
19797
 
      need_lib_prefix=no
19798
 
      ;;
19799
 
    motorola)
19800
 
      need_lib_prefix=no
19801
 
      need_version=no
19802
 
      shlibpath_overrides_runpath=no
19803
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19804
 
      ;;
19805
 
  esac
19806
 
  ;;
19807
 
 
19808
 
sysv4*MP*)
19809
 
  if test -d /usr/nec ;then
19810
 
    version_type=linux
19811
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19812
 
    soname_spec='$libname${shared_ext}.$major'
19813
 
    shlibpath_var=LD_LIBRARY_PATH
19814
 
  fi
19815
 
  ;;
19816
 
 
19817
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19818
 
  version_type=freebsd-elf
19819
 
  need_lib_prefix=no
19820
 
  need_version=no
19821
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19822
 
  soname_spec='${libname}${release}${shared_ext}$major'
19823
 
  shlibpath_var=LD_LIBRARY_PATH
19824
 
  hardcode_into_libs=yes
19825
 
  if test "$with_gnu_ld" = yes; then
19826
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19827
 
    shlibpath_overrides_runpath=no
19828
 
  else
19829
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19830
 
    shlibpath_overrides_runpath=yes
19831
 
    case $host_os in
19832
 
      sco3.2v5*)
19833
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19834
 
        ;;
19835
 
    esac
19836
 
  fi
19837
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19838
 
  ;;
19839
 
 
19840
 
uts4*)
19841
 
  version_type=linux
19842
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19843
 
  soname_spec='${libname}${release}${shared_ext}$major'
19844
 
  shlibpath_var=LD_LIBRARY_PATH
19845
 
  ;;
19846
 
 
19847
 
*)
19848
 
  dynamic_linker=no
19849
 
  ;;
19850
 
esac
19851
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19852
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19853
 
test "$dynamic_linker" = no && can_build_shared=no
19854
 
 
19855
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19856
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19857
 
else
19858
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19859
 
fi
19860
 
 
19861
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19862
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19863
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19864
 
else
19865
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19866
 
fi
19867
 
 
19868
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19869
 
 
19870
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19871
 
if test "$GCC" = yes; then
19872
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19873
 
fi
19874
 
 
19875
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19876
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19877
 
hardcode_action_F77=
19878
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
19879
 
   test -n "$runpath_var_F77" || \
19880
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
19881
 
 
19882
 
  # We can hardcode non-existant directories.
19883
 
  if test "$hardcode_direct_F77" != no &&
19884
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19885
 
     # have to relink, otherwise we might link with an installed library
19886
 
     # when we should be linking with a yet-to-be-installed one
19887
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
19888
 
     test "$hardcode_minus_L_F77" != no; then
19889
 
    # Linking always hardcodes the temporary library directory.
19890
 
    hardcode_action_F77=relink
19891
 
  else
19892
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19893
 
    hardcode_action_F77=immediate
19894
 
  fi
19895
 
else
19896
 
  # We cannot hardcode anything, or else we can only hardcode existing
19897
 
  # directories.
19898
 
  hardcode_action_F77=unsupported
19899
 
fi
19900
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
19901
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
19902
 
 
19903
 
if test "$hardcode_action_F77" = relink; then
19904
 
  # Fast installation is not supported
19905
 
  enable_fast_install=no
19906
 
elif test "$shlibpath_overrides_runpath" = yes ||
19907
 
     test "$enable_shared" = no; then
19908
 
  # Fast installation is not necessary
19909
 
  enable_fast_install=needless
19910
 
fi
19911
 
 
19912
 
 
19913
 
# The else clause should only fire when bootstrapping the
19914
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19915
 
# with your package, and you will get complaints that there are
19916
 
# no rules to generate ltmain.sh.
19917
 
if test -f "$ltmain"; then
19918
 
  # See if we are running on zsh, and set the options which allow our commands through
19919
 
  # without removal of \ escapes.
19920
 
  if test -n "${ZSH_VERSION+set}" ; then
19921
 
    setopt NO_GLOB_SUBST
19922
 
  fi
19923
 
  # Now quote all the things that may contain metacharacters while being
19924
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19925
 
  # variables and quote the copies for generation of the libtool script.
19926
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19927
 
    SED SHELL STRIP \
19928
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19929
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19930
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19931
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19932
 
    lt_cv_sys_global_symbol_to_c_name_address \
19933
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19934
 
    old_postinstall_cmds old_postuninstall_cmds \
19935
 
    compiler_F77 \
19936
 
    CC_F77 \
19937
 
    LD_F77 \
19938
 
    lt_prog_compiler_wl_F77 \
19939
 
    lt_prog_compiler_pic_F77 \
19940
 
    lt_prog_compiler_static_F77 \
19941
 
    lt_prog_compiler_no_builtin_flag_F77 \
19942
 
    export_dynamic_flag_spec_F77 \
19943
 
    thread_safe_flag_spec_F77 \
19944
 
    whole_archive_flag_spec_F77 \
19945
 
    enable_shared_with_static_runtimes_F77 \
19946
 
    old_archive_cmds_F77 \
19947
 
    old_archive_from_new_cmds_F77 \
19948
 
    predep_objects_F77 \
19949
 
    postdep_objects_F77 \
19950
 
    predeps_F77 \
19951
 
    postdeps_F77 \
19952
 
    compiler_lib_search_path_F77 \
19953
 
    compiler_lib_search_dirs_F77 \
19954
 
    archive_cmds_F77 \
19955
 
    archive_expsym_cmds_F77 \
19956
 
    postinstall_cmds_F77 \
19957
 
    postuninstall_cmds_F77 \
19958
 
    old_archive_from_expsyms_cmds_F77 \
19959
 
    allow_undefined_flag_F77 \
19960
 
    no_undefined_flag_F77 \
19961
 
    export_symbols_cmds_F77 \
19962
 
    hardcode_libdir_flag_spec_F77 \
19963
 
    hardcode_libdir_flag_spec_ld_F77 \
19964
 
    hardcode_libdir_separator_F77 \
19965
 
    hardcode_automatic_F77 \
19966
 
    module_cmds_F77 \
19967
 
    module_expsym_cmds_F77 \
19968
 
    lt_cv_prog_compiler_c_o_F77 \
19969
 
    fix_srcfile_path_F77 \
19970
 
    exclude_expsyms_F77 \
19971
 
    include_expsyms_F77; do
19972
 
 
19973
 
    case $var in
19974
 
    old_archive_cmds_F77 | \
19975
 
    old_archive_from_new_cmds_F77 | \
19976
 
    archive_cmds_F77 | \
19977
 
    archive_expsym_cmds_F77 | \
19978
 
    module_cmds_F77 | \
19979
 
    module_expsym_cmds_F77 | \
19980
 
    old_archive_from_expsyms_cmds_F77 | \
19981
 
    export_symbols_cmds_F77 | \
19982
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19983
 
    postinstall_cmds | postuninstall_cmds | \
19984
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19985
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19986
 
      # Double-quote double-evaled strings.
19987
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19988
 
      ;;
19989
 
    *)
19990
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19991
 
      ;;
19992
 
    esac
19993
 
  done
19994
 
 
19995
 
  case $lt_echo in
19996
 
  *'\$0 --fallback-echo"')
19997
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19998
 
    ;;
19999
 
  esac
20000
 
 
20001
 
cfgfile="$ofile"
20002
 
 
20003
 
  cat <<__EOF__ >> "$cfgfile"
20004
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20005
 
 
20006
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20007
 
 
20008
 
# Shell to use when invoking shell scripts.
20009
 
SHELL=$lt_SHELL
20010
 
 
20011
 
# Whether or not to build shared libraries.
20012
 
build_libtool_libs=$enable_shared
20013
 
 
20014
 
# Whether or not to build static libraries.
20015
 
build_old_libs=$enable_static
20016
 
 
20017
 
# Whether or not to add -lc for building shared libraries.
20018
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
20019
 
 
20020
 
# Whether or not to disallow shared libs when runtime libs are static
20021
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
20022
 
 
20023
 
# Whether or not to optimize for fast installation.
20024
 
fast_install=$enable_fast_install
20025
 
 
20026
 
# The host system.
20027
 
host_alias=$host_alias
20028
 
host=$host
20029
 
host_os=$host_os
20030
 
 
20031
 
# The build system.
20032
 
build_alias=$build_alias
20033
 
build=$build
20034
 
build_os=$build_os
20035
 
 
20036
 
# An echo program that does not interpret backslashes.
20037
 
echo=$lt_echo
20038
 
 
20039
 
# The archiver.
20040
 
AR=$lt_AR
20041
 
AR_FLAGS=$lt_AR_FLAGS
20042
 
 
20043
 
# A C compiler.
20044
 
LTCC=$lt_LTCC
20045
 
 
20046
 
# LTCC compiler flags.
20047
 
LTCFLAGS=$lt_LTCFLAGS
20048
 
 
20049
 
# A language-specific compiler.
20050
 
CC=$lt_compiler_F77
20051
 
 
20052
 
# Is the compiler the GNU C compiler?
20053
 
with_gcc=$GCC_F77
20054
 
 
20055
 
# An ERE matcher.
20056
 
EGREP=$lt_EGREP
20057
 
 
20058
 
# The linker used to build libraries.
20059
 
LD=$lt_LD_F77
20060
 
 
20061
 
# Whether we need hard or soft links.
20062
 
LN_S=$lt_LN_S
20063
 
 
20064
 
# A BSD-compatible nm program.
20065
 
NM=$lt_NM
20066
 
 
20067
 
# A symbol stripping program
20068
 
STRIP=$lt_STRIP
20069
 
 
20070
 
# Used to examine libraries when file_magic_cmd begins "file"
20071
 
MAGIC_CMD=$MAGIC_CMD
20072
 
 
20073
 
# Used on cygwin: DLL creation program.
20074
 
DLLTOOL="$DLLTOOL"
20075
 
 
20076
 
# Used on cygwin: object dumper.
20077
 
OBJDUMP="$OBJDUMP"
20078
 
 
20079
 
# Used on cygwin: assembler.
20080
 
AS="$AS"
20081
 
 
20082
 
# The name of the directory that contains temporary libtool files.
20083
 
objdir=$objdir
20084
 
 
20085
 
# How to create reloadable object files.
20086
 
reload_flag=$lt_reload_flag
20087
 
reload_cmds=$lt_reload_cmds
20088
 
 
20089
 
# How to pass a linker flag through the compiler.
20090
 
wl=$lt_lt_prog_compiler_wl_F77
20091
 
 
20092
 
# Object file suffix (normally "o").
20093
 
objext="$ac_objext"
20094
 
 
20095
 
# Old archive suffix (normally "a").
20096
 
libext="$libext"
20097
 
 
20098
 
# Shared library suffix (normally ".so").
20099
 
shrext_cmds='$shrext_cmds'
20100
 
 
20101
 
# Executable file suffix (normally "").
20102
 
exeext="$exeext"
20103
 
 
20104
 
# Additional compiler flags for building library objects.
20105
 
pic_flag=$lt_lt_prog_compiler_pic_F77
20106
 
pic_mode=$pic_mode
20107
 
 
20108
 
# What is the maximum length of a command?
20109
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20110
 
 
20111
 
# Does compiler simultaneously support -c and -o options?
20112
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
20113
 
 
20114
 
# Must we lock files when doing compilation?
20115
 
need_locks=$lt_need_locks
20116
 
 
20117
 
# Do we need the lib prefix for modules?
20118
 
need_lib_prefix=$need_lib_prefix
20119
 
 
20120
 
# Do we need a version for libraries?
20121
 
need_version=$need_version
20122
 
 
20123
 
# Whether dlopen is supported.
20124
 
dlopen_support=$enable_dlopen
20125
 
 
20126
 
# Whether dlopen of programs is supported.
20127
 
dlopen_self=$enable_dlopen_self
20128
 
 
20129
 
# Whether dlopen of statically linked programs is supported.
20130
 
dlopen_self_static=$enable_dlopen_self_static
20131
 
 
20132
 
# Compiler flag to prevent dynamic linking.
20133
 
link_static_flag=$lt_lt_prog_compiler_static_F77
20134
 
 
20135
 
# Compiler flag to turn off builtin functions.
20136
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
20137
 
 
20138
 
# Compiler flag to allow reflexive dlopens.
20139
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
20140
 
 
20141
 
# Compiler flag to generate shared objects directly from archives.
20142
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
20143
 
 
20144
 
# Compiler flag to generate thread-safe objects.
20145
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
20146
 
 
20147
 
# Library versioning type.
20148
 
version_type=$version_type
20149
 
 
20150
 
# Format of library name prefix.
20151
 
libname_spec=$lt_libname_spec
20152
 
 
20153
 
# List of archive names.  First name is the real one, the rest are links.
20154
 
# The last name is the one that the linker finds with -lNAME.
20155
 
library_names_spec=$lt_library_names_spec
20156
 
 
20157
 
# The coded name of the library, if different from the real name.
20158
 
soname_spec=$lt_soname_spec
20159
 
 
20160
 
# Commands used to build and install an old-style archive.
20161
 
RANLIB=$lt_RANLIB
20162
 
old_archive_cmds=$lt_old_archive_cmds_F77
20163
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20164
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20165
 
 
20166
 
# Create an old-style archive from a shared archive.
20167
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
20168
 
 
20169
 
# Create a temporary old-style archive to link instead of a shared archive.
20170
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
20171
 
 
20172
 
# Commands used to build and install a shared archive.
20173
 
archive_cmds=$lt_archive_cmds_F77
20174
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
20175
 
postinstall_cmds=$lt_postinstall_cmds
20176
 
postuninstall_cmds=$lt_postuninstall_cmds
20177
 
 
20178
 
# Commands used to build a loadable module (assumed same as above if empty)
20179
 
module_cmds=$lt_module_cmds_F77
20180
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
20181
 
 
20182
 
# Commands to strip libraries.
20183
 
old_striplib=$lt_old_striplib
20184
 
striplib=$lt_striplib
20185
 
 
20186
 
# Dependencies to place before the objects being linked to create a
20187
 
# shared library.
20188
 
predep_objects=$lt_predep_objects_F77
20189
 
 
20190
 
# Dependencies to place after the objects being linked to create a
20191
 
# shared library.
20192
 
postdep_objects=$lt_postdep_objects_F77
20193
 
 
20194
 
# Dependencies to place before the objects being linked to create a
20195
 
# shared library.
20196
 
predeps=$lt_predeps_F77
20197
 
 
20198
 
# Dependencies to place after the objects being linked to create a
20199
 
# shared library.
20200
 
postdeps=$lt_postdeps_F77
20201
 
 
20202
 
# The directories searched by this compiler when creating a shared
20203
 
# library
20204
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
20205
 
 
20206
 
# The library search path used internally by the compiler when linking
20207
 
# a shared library.
20208
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
20209
 
 
20210
 
# Method to check whether dependent libraries are shared objects.
20211
 
deplibs_check_method=$lt_deplibs_check_method
20212
 
 
20213
 
# Command to use when deplibs_check_method == file_magic.
20214
 
file_magic_cmd=$lt_file_magic_cmd
20215
 
 
20216
 
# Flag that allows shared libraries with undefined symbols to be built.
20217
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
20218
 
 
20219
 
# Flag that forces no undefined symbols.
20220
 
no_undefined_flag=$lt_no_undefined_flag_F77
20221
 
 
20222
 
# Commands used to finish a libtool library installation in a directory.
20223
 
finish_cmds=$lt_finish_cmds
20224
 
 
20225
 
# Same as above, but a single script fragment to be evaled but not shown.
20226
 
finish_eval=$lt_finish_eval
20227
 
 
20228
 
# Take the output of nm and produce a listing of raw symbols and C names.
20229
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20230
 
 
20231
 
# Transform the output of nm in a proper C declaration
20232
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20233
 
 
20234
 
# Transform the output of nm in a C name address pair
20235
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20236
 
 
20237
 
# This is the shared library runtime path variable.
20238
 
runpath_var=$runpath_var
20239
 
 
20240
 
# This is the shared library path variable.
20241
 
shlibpath_var=$shlibpath_var
20242
 
 
20243
 
# Is shlibpath searched before the hard-coded library search path?
20244
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20245
 
 
20246
 
# How to hardcode a shared library path into an executable.
20247
 
hardcode_action=$hardcode_action_F77
20248
 
 
20249
 
# Whether we should hardcode library paths into libraries.
20250
 
hardcode_into_libs=$hardcode_into_libs
20251
 
 
20252
 
# Flag to hardcode \$libdir into a binary during linking.
20253
 
# This must work even if \$libdir does not exist.
20254
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
20255
 
 
20256
 
# If ld is used when linking, flag to hardcode \$libdir into
20257
 
# a binary during linking. This must work even if \$libdir does
20258
 
# not exist.
20259
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
20260
 
 
20261
 
# Whether we need a single -rpath flag with a separated argument.
20262
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
20263
 
 
20264
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20265
 
# resulting binary.
20266
 
hardcode_direct=$hardcode_direct_F77
20267
 
 
20268
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20269
 
# resulting binary.
20270
 
hardcode_minus_L=$hardcode_minus_L_F77
20271
 
 
20272
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20273
 
# the resulting binary.
20274
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
20275
 
 
20276
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20277
 
# and all subsequent libraries and executables linked against it.
20278
 
hardcode_automatic=$hardcode_automatic_F77
20279
 
 
20280
 
# Variables whose values should be saved in libtool wrapper scripts and
20281
 
# restored at relink time.
20282
 
variables_saved_for_relink="$variables_saved_for_relink"
20283
 
 
20284
 
# Whether libtool must link a program against all its dependency libraries.
20285
 
link_all_deplibs=$link_all_deplibs_F77
20286
 
 
20287
 
# Compile-time system search path for libraries
20288
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20289
 
 
20290
 
# Run-time system search path for libraries
20291
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20292
 
 
20293
 
# Fix the shell variable \$srcfile for the compiler.
20294
 
fix_srcfile_path=$lt_fix_srcfile_path
20295
 
 
20296
 
# Set to yes if exported symbols are required.
20297
 
always_export_symbols=$always_export_symbols_F77
20298
 
 
20299
 
# The commands to list exported symbols.
20300
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
20301
 
 
20302
 
# The commands to extract the exported symbol list from a shared archive.
20303
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20304
 
 
20305
 
# Symbols that should not be listed in the preloaded symbols.
20306
 
exclude_expsyms=$lt_exclude_expsyms_F77
20307
 
 
20308
 
# Symbols that must always be exported.
20309
 
include_expsyms=$lt_include_expsyms_F77
20310
 
 
20311
 
# ### END LIBTOOL TAG CONFIG: $tagname
20312
 
 
20313
 
__EOF__
20314
 
 
20315
 
 
20316
 
else
20317
 
  # If there is no Makefile yet, we rely on a make rule to execute
20318
 
  # `config.status --recheck' to rerun these tests and create the
20319
 
  # libtool script then.
20320
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20321
 
  if test -f "$ltmain_in"; then
20322
 
    test -f Makefile && make "$ltmain"
20323
 
  fi
20324
 
fi
20325
 
 
20326
 
 
20327
 
ac_ext=c
20328
 
ac_cpp='$CPP $CPPFLAGS'
20329
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20330
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20331
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20332
 
 
20333
 
CC="$lt_save_CC"
20334
 
 
20335
 
        else
20336
 
          tagname=""
20337
 
        fi
20338
 
        ;;
20339
 
 
20340
 
      GCJ)
20341
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
20342
 
 
20343
 
 
20344
 
# Source file extension for Java test sources.
20345
 
ac_ext=java
20346
 
 
20347
 
# Object file extension for compiled Java test sources.
20348
 
objext=o
20349
 
objext_GCJ=$objext
20350
 
 
20351
 
# Code to be used in simple compile tests
20352
 
lt_simple_compile_test_code="class foo {}"
20353
 
 
20354
 
# Code to be used in simple link tests
20355
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
20356
 
 
20357
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20358
 
 
20359
 
# If no C compiler was specified, use CC.
20360
 
LTCC=${LTCC-"$CC"}
20361
 
 
20362
 
# If no C compiler flags were specified, use CFLAGS.
20363
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20364
 
 
20365
 
# Allow CC to be a program name with arguments.
20366
 
compiler=$CC
20367
 
 
20368
 
 
20369
 
# save warnings/boilerplate of simple test code
20370
 
ac_outfile=conftest.$ac_objext
20371
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20372
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20373
 
_lt_compiler_boilerplate=`cat conftest.err`
20374
 
$rm conftest*
20375
 
 
20376
 
ac_outfile=conftest.$ac_objext
20377
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20378
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20379
 
_lt_linker_boilerplate=`cat conftest.err`
20380
 
$rm -r conftest*
20381
 
 
20382
 
 
20383
 
# Allow CC to be a program name with arguments.
20384
 
lt_save_CC="$CC"
20385
 
CC=${GCJ-"gcj"}
20386
 
compiler=$CC
20387
 
compiler_GCJ=$CC
20388
 
for cc_temp in $compiler""; do
20389
 
  case $cc_temp in
20390
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20391
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20392
 
    \-*) ;;
20393
 
    *) break;;
20394
 
  esac
20395
 
done
20396
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20397
 
 
20398
 
 
20399
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
20400
 
archive_cmds_need_lc_GCJ=no
20401
 
 
20402
 
old_archive_cmds_GCJ=$old_archive_cmds
20403
 
 
20404
 
 
20405
 
lt_prog_compiler_no_builtin_flag_GCJ=
20406
 
 
20407
 
if test "$GCC" = yes; then
20408
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
20409
 
 
20410
 
 
20411
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20412
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
20413
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
20414
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20415
 
else
20416
 
  lt_cv_prog_compiler_rtti_exceptions=no
20417
 
  ac_outfile=conftest.$ac_objext
20418
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20419
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
20420
 
   # Insert the option either (1) after the last *FLAGS variable, or
20421
 
   # (2) before a word containing "conftest.", or (3) at the end.
20422
 
   # Note that $ac_compile itself does not contain backslashes and begins
20423
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
20424
 
   # The option is referenced via a variable to avoid confusing sed.
20425
 
   lt_compile=`echo "$ac_compile" | $SED \
20426
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20427
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20428
 
   -e 's:$: $lt_compiler_flag:'`
20429
 
   (eval echo "\"\$as_me:20429: $lt_compile\"" >&5)
20430
 
   (eval "$lt_compile" 2>conftest.err)
20431
 
   ac_status=$?
20432
 
   cat conftest.err >&5
20433
 
   echo "$as_me:20433: \$? = $ac_status" >&5
20434
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
20435
 
     # The compiler can only warn and ignore the option if not recognized
20436
 
     # So say no if there are warnings other than the usual output.
20437
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20438
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20439
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20440
 
       lt_cv_prog_compiler_rtti_exceptions=yes
20441
 
     fi
20442
 
   fi
20443
 
   $rm conftest*
20444
 
 
20445
 
fi
20446
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
20447
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
20448
 
 
20449
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
20450
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
20451
 
else
20452
 
    :
20453
 
fi
20454
 
 
20455
 
fi
20456
 
 
20457
 
lt_prog_compiler_wl_GCJ=
20458
 
lt_prog_compiler_pic_GCJ=
20459
 
lt_prog_compiler_static_GCJ=
20460
 
 
20461
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20462
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20463
 
 
20464
 
  if test "$GCC" = yes; then
20465
 
    lt_prog_compiler_wl_GCJ='-Wl,'
20466
 
    lt_prog_compiler_static_GCJ='-static'
20467
 
 
20468
 
    case $host_os in
20469
 
      aix*)
20470
 
      # All AIX code is PIC.
20471
 
      if test "$host_cpu" = ia64; then
20472
 
        # AIX 5 now supports IA64 processor
20473
 
        lt_prog_compiler_static_GCJ='-Bstatic'
20474
 
      fi
20475
 
      ;;
20476
 
 
20477
 
    amigaos*)
20478
 
      # FIXME: we need at least 68020 code to build shared libraries, but
20479
 
      # adding the `-m68020' flag to GCC prevents building anything better,
20480
 
      # like `-m68040'.
20481
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
20482
 
      ;;
20483
 
 
20484
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20485
 
      # PIC is the default for these OSes.
20486
 
      ;;
20487
 
 
20488
 
    mingw* | cygwin* | pw32* | os2*)
20489
 
      # This hack is so that the source file can tell whether it is being
20490
 
      # built for inclusion in a dll (and should export symbols for example).
20491
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
20492
 
      # (--disable-auto-import) libraries
20493
 
 
20494
 
      ;;
20495
 
 
20496
 
    darwin* | rhapsody*)
20497
 
      # PIC is the default on this platform
20498
 
      # Common symbols not allowed in MH_DYLIB files
20499
 
      lt_prog_compiler_pic_GCJ='-fno-common'
20500
 
      ;;
20501
 
 
20502
 
    interix[3-9]*)
20503
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20504
 
      # Instead, we relocate shared libraries at runtime.
20505
 
      ;;
20506
 
 
20507
 
    msdosdjgpp*)
20508
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
20509
 
      # on systems that don't support them.
20510
 
      lt_prog_compiler_can_build_shared_GCJ=no
20511
 
      enable_shared=no
20512
 
      ;;
20513
 
 
20514
 
    sysv4*MP*)
20515
 
      if test -d /usr/nec; then
20516
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
20517
 
      fi
20518
 
      ;;
20519
 
 
20520
 
    hpux*)
20521
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20522
 
      # not for PA HP-UX.
20523
 
      case $host_cpu in
20524
 
      hppa*64*|ia64*)
20525
 
        # +Z the default
20526
 
        ;;
20527
 
      *)
20528
 
        lt_prog_compiler_pic_GCJ='-fPIC'
20529
 
        ;;
20530
 
      esac
20531
 
      ;;
20532
 
 
20533
 
    *)
20534
 
      lt_prog_compiler_pic_GCJ='-fPIC'
20535
 
      ;;
20536
 
    esac
20537
 
  else
20538
 
    # PORTME Check for flag to pass linker flags through the system compiler.
20539
 
    case $host_os in
20540
 
    aix*)
20541
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20542
 
      if test "$host_cpu" = ia64; then
20543
 
        # AIX 5 now supports IA64 processor
20544
 
        lt_prog_compiler_static_GCJ='-Bstatic'
20545
 
      else
20546
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
20547
 
      fi
20548
 
      ;;
20549
 
      darwin*)
20550
 
        # PIC is the default on this platform
20551
 
        # Common symbols not allowed in MH_DYLIB files
20552
 
       case $cc_basename in
20553
 
         xlc*)
20554
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
20555
 
         lt_prog_compiler_wl_GCJ='-Wl,'
20556
 
         ;;
20557
 
       esac
20558
 
       ;;
20559
 
 
20560
 
    mingw* | cygwin* | pw32* | os2*)
20561
 
      # This hack is so that the source file can tell whether it is being
20562
 
      # built for inclusion in a dll (and should export symbols for example).
20563
 
 
20564
 
      ;;
20565
 
 
20566
 
    hpux9* | hpux10* | hpux11*)
20567
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20568
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20569
 
      # not for PA HP-UX.
20570
 
      case $host_cpu in
20571
 
      hppa*64*|ia64*)
20572
 
        # +Z the default
20573
 
        ;;
20574
 
      *)
20575
 
        lt_prog_compiler_pic_GCJ='+Z'
20576
 
        ;;
20577
 
      esac
20578
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
20579
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
20580
 
      ;;
20581
 
 
20582
 
    irix5* | irix6* | nonstopux*)
20583
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20584
 
      # PIC (with -KPIC) is the default.
20585
 
      lt_prog_compiler_static_GCJ='-non_shared'
20586
 
      ;;
20587
 
 
20588
 
    newsos6)
20589
 
      lt_prog_compiler_pic_GCJ='-KPIC'
20590
 
      lt_prog_compiler_static_GCJ='-Bstatic'
20591
 
      ;;
20592
 
 
20593
 
    linux* | k*bsd*-gnu)
20594
 
      case $cc_basename in
20595
 
      icc* | ecc*)
20596
 
        lt_prog_compiler_wl_GCJ='-Wl,'
20597
 
        lt_prog_compiler_pic_GCJ='-KPIC'
20598
 
        lt_prog_compiler_static_GCJ='-static'
20599
 
        ;;
20600
 
      pgcc* | pgf77* | pgf90* | pgf95*)
20601
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
20602
 
        # which looks to be a dead project)
20603
 
        lt_prog_compiler_wl_GCJ='-Wl,'
20604
 
        lt_prog_compiler_pic_GCJ='-fpic'
20605
 
        lt_prog_compiler_static_GCJ='-Bstatic'
20606
 
        ;;
20607
 
      ccc*)
20608
 
        lt_prog_compiler_wl_GCJ='-Wl,'
20609
 
        # All Alpha code is PIC.
20610
 
        lt_prog_compiler_static_GCJ='-non_shared'
20611
 
        ;;
20612
 
      *)
20613
 
        case `$CC -V 2>&1 | sed 5q` in
20614
 
        *Sun\ C*)
20615
 
          # Sun C 5.9
20616
 
          lt_prog_compiler_pic_GCJ='-KPIC'
20617
 
          lt_prog_compiler_static_GCJ='-Bstatic'
20618
 
          lt_prog_compiler_wl_GCJ='-Wl,'
20619
 
          ;;
20620
 
        *Sun\ F*)
20621
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
20622
 
          lt_prog_compiler_pic_GCJ='-KPIC'
20623
 
          lt_prog_compiler_static_GCJ='-Bstatic'
20624
 
          lt_prog_compiler_wl_GCJ=''
20625
 
          ;;
20626
 
        esac
20627
 
        ;;
20628
 
      esac
20629
 
      ;;
20630
 
 
20631
 
    osf3* | osf4* | osf5*)
20632
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20633
 
      # All OSF/1 code is PIC.
20634
 
      lt_prog_compiler_static_GCJ='-non_shared'
20635
 
      ;;
20636
 
 
20637
 
    rdos*)
20638
 
      lt_prog_compiler_static_GCJ='-non_shared'
20639
 
      ;;
20640
 
 
20641
 
    solaris*)
20642
 
      lt_prog_compiler_pic_GCJ='-KPIC'
20643
 
      lt_prog_compiler_static_GCJ='-Bstatic'
20644
 
      case $cc_basename in
20645
 
      f77* | f90* | f95*)
20646
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
20647
 
      *)
20648
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
20649
 
      esac
20650
 
      ;;
20651
 
 
20652
 
    sunos4*)
20653
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
20654
 
      lt_prog_compiler_pic_GCJ='-PIC'
20655
 
      lt_prog_compiler_static_GCJ='-Bstatic'
20656
 
      ;;
20657
 
 
20658
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
20659
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20660
 
      lt_prog_compiler_pic_GCJ='-KPIC'
20661
 
      lt_prog_compiler_static_GCJ='-Bstatic'
20662
 
      ;;
20663
 
 
20664
 
    sysv4*MP*)
20665
 
      if test -d /usr/nec ;then
20666
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
20667
 
        lt_prog_compiler_static_GCJ='-Bstatic'
20668
 
      fi
20669
 
      ;;
20670
 
 
20671
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20672
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20673
 
      lt_prog_compiler_pic_GCJ='-KPIC'
20674
 
      lt_prog_compiler_static_GCJ='-Bstatic'
20675
 
      ;;
20676
 
 
20677
 
    unicos*)
20678
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20679
 
      lt_prog_compiler_can_build_shared_GCJ=no
20680
 
      ;;
20681
 
 
20682
 
    uts4*)
20683
 
      lt_prog_compiler_pic_GCJ='-pic'
20684
 
      lt_prog_compiler_static_GCJ='-Bstatic'
20685
 
      ;;
20686
 
 
20687
 
    *)
20688
 
      lt_prog_compiler_can_build_shared_GCJ=no
20689
 
      ;;
20690
 
    esac
20691
 
  fi
20692
 
 
20693
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
20694
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
20695
 
 
20696
 
#
20697
 
# Check to make sure the PIC flag actually works.
20698
 
#
20699
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
20700
 
 
20701
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
20702
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
20703
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
20704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20705
 
else
20706
 
  lt_cv_prog_compiler_pic_works_GCJ=no
20707
 
  ac_outfile=conftest.$ac_objext
20708
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20709
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
20710
 
   # Insert the option either (1) after the last *FLAGS variable, or
20711
 
   # (2) before a word containing "conftest.", or (3) at the end.
20712
 
   # Note that $ac_compile itself does not contain backslashes and begins
20713
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
20714
 
   # The option is referenced via a variable to avoid confusing sed.
20715
 
   lt_compile=`echo "$ac_compile" | $SED \
20716
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20717
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20718
 
   -e 's:$: $lt_compiler_flag:'`
20719
 
   (eval echo "\"\$as_me:20719: $lt_compile\"" >&5)
20720
 
   (eval "$lt_compile" 2>conftest.err)
20721
 
   ac_status=$?
20722
 
   cat conftest.err >&5
20723
 
   echo "$as_me:20723: \$? = $ac_status" >&5
20724
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
20725
 
     # The compiler can only warn and ignore the option if not recognized
20726
 
     # So say no if there are warnings other than the usual output.
20727
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20728
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20729
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20730
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
20731
 
     fi
20732
 
   fi
20733
 
   $rm conftest*
20734
 
 
20735
 
fi
20736
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
20737
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
20738
 
 
20739
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
20740
 
    case $lt_prog_compiler_pic_GCJ in
20741
 
     "" | " "*) ;;
20742
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
20743
 
     esac
20744
 
else
20745
 
    lt_prog_compiler_pic_GCJ=
20746
 
     lt_prog_compiler_can_build_shared_GCJ=no
20747
 
fi
20748
 
 
20749
 
fi
20750
 
case $host_os in
20751
 
  # For platforms which do not support PIC, -DPIC is meaningless:
20752
 
  *djgpp*)
20753
 
    lt_prog_compiler_pic_GCJ=
20754
 
    ;;
20755
 
  *)
20756
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
20757
 
    ;;
20758
 
esac
20759
 
 
20760
 
#
20761
 
# Check to make sure the static flag actually works.
20762
 
#
20763
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
20764
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20765
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20766
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
20767
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20768
 
else
20769
 
  lt_cv_prog_compiler_static_works_GCJ=no
20770
 
   save_LDFLAGS="$LDFLAGS"
20771
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20772
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
20773
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20774
 
     # The linker can only warn and ignore the option if not recognized
20775
 
     # So say no if there are warnings
20776
 
     if test -s conftest.err; then
20777
 
       # Append any errors to the config.log.
20778
 
       cat conftest.err 1>&5
20779
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20780
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20781
 
       if diff conftest.exp conftest.er2 >/dev/null; then
20782
 
         lt_cv_prog_compiler_static_works_GCJ=yes
20783
 
       fi
20784
 
     else
20785
 
       lt_cv_prog_compiler_static_works_GCJ=yes
20786
 
     fi
20787
 
   fi
20788
 
   $rm -r conftest*
20789
 
   LDFLAGS="$save_LDFLAGS"
20790
 
 
20791
 
fi
20792
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
20793
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
20794
 
 
20795
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
20796
 
    :
20797
 
else
20798
 
    lt_prog_compiler_static_GCJ=
20799
 
fi
20800
 
 
20801
 
 
20802
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20803
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20804
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
20805
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20806
 
else
20807
 
  lt_cv_prog_compiler_c_o_GCJ=no
20808
 
   $rm -r conftest 2>/dev/null
20809
 
   mkdir conftest
20810
 
   cd conftest
20811
 
   mkdir out
20812
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20813
 
 
20814
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
20815
 
   # Insert the option either (1) after the last *FLAGS variable, or
20816
 
   # (2) before a word containing "conftest.", or (3) at the end.
20817
 
   # Note that $ac_compile itself does not contain backslashes and begins
20818
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
20819
 
   lt_compile=`echo "$ac_compile" | $SED \
20820
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20821
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20822
 
   -e 's:$: $lt_compiler_flag:'`
20823
 
   (eval echo "\"\$as_me:20823: $lt_compile\"" >&5)
20824
 
   (eval "$lt_compile" 2>out/conftest.err)
20825
 
   ac_status=$?
20826
 
   cat out/conftest.err >&5
20827
 
   echo "$as_me:20827: \$? = $ac_status" >&5
20828
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
20829
 
   then
20830
 
     # The compiler can only warn and ignore the option if not recognized
20831
 
     # So say no if there are warnings
20832
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20833
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20834
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20835
 
       lt_cv_prog_compiler_c_o_GCJ=yes
20836
 
     fi
20837
 
   fi
20838
 
   chmod u+w . 2>&5
20839
 
   $rm conftest*
20840
 
   # SGI C++ compiler will create directory out/ii_files/ for
20841
 
   # template instantiation
20842
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20843
 
   $rm out/* && rmdir out
20844
 
   cd ..
20845
 
   rmdir conftest
20846
 
   $rm conftest*
20847
 
 
20848
 
fi
20849
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
20850
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
20851
 
 
20852
 
 
20853
 
hard_links="nottested"
20854
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
20855
 
  # do not overwrite the value of need_locks provided by the user
20856
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20857
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20858
 
  hard_links=yes
20859
 
  $rm conftest*
20860
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20861
 
  touch conftest.a
20862
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
20863
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20864
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
20865
 
echo "${ECHO_T}$hard_links" >&6; }
20866
 
  if test "$hard_links" = no; then
20867
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20868
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20869
 
    need_locks=warn
20870
 
  fi
20871
 
else
20872
 
  need_locks=no
20873
 
fi
20874
 
 
20875
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20876
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20877
 
 
20878
 
  runpath_var=
20879
 
  allow_undefined_flag_GCJ=
20880
 
  enable_shared_with_static_runtimes_GCJ=no
20881
 
  archive_cmds_GCJ=
20882
 
  archive_expsym_cmds_GCJ=
20883
 
  old_archive_From_new_cmds_GCJ=
20884
 
  old_archive_from_expsyms_cmds_GCJ=
20885
 
  export_dynamic_flag_spec_GCJ=
20886
 
  whole_archive_flag_spec_GCJ=
20887
 
  thread_safe_flag_spec_GCJ=
20888
 
  hardcode_libdir_flag_spec_GCJ=
20889
 
  hardcode_libdir_flag_spec_ld_GCJ=
20890
 
  hardcode_libdir_separator_GCJ=
20891
 
  hardcode_direct_GCJ=no
20892
 
  hardcode_minus_L_GCJ=no
20893
 
  hardcode_shlibpath_var_GCJ=unsupported
20894
 
  link_all_deplibs_GCJ=unknown
20895
 
  hardcode_automatic_GCJ=no
20896
 
  module_cmds_GCJ=
20897
 
  module_expsym_cmds_GCJ=
20898
 
  always_export_symbols_GCJ=no
20899
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20900
 
  # include_expsyms should be a list of space-separated symbols to be *always*
20901
 
  # included in the symbol list
20902
 
  include_expsyms_GCJ=
20903
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
20904
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
20905
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20906
 
  # as well as any symbol that contains `d'.
20907
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20908
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20909
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
20910
 
  # the symbol is explicitly referenced.  Since portable code cannot
20911
 
  # rely on this symbol name, it's probably fine to never include it in
20912
 
  # preloaded symbol tables.
20913
 
  # Exclude shared library initialization/finalization symbols.
20914
 
  extract_expsyms_cmds=
20915
 
  # Just being paranoid about ensuring that cc_basename is set.
20916
 
  for cc_temp in $compiler""; do
20917
 
  case $cc_temp in
20918
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20919
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20920
 
    \-*) ;;
20921
 
    *) break;;
20922
 
  esac
20923
 
done
20924
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20925
 
 
20926
 
  case $host_os in
20927
 
  cygwin* | mingw* | pw32*)
20928
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
20929
 
    # When not using gcc, we currently assume that we are using
20930
 
    # Microsoft Visual C++.
20931
 
    if test "$GCC" != yes; then
20932
 
      with_gnu_ld=no
20933
 
    fi
20934
 
    ;;
20935
 
  interix*)
20936
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
20937
 
    with_gnu_ld=yes
20938
 
    ;;
20939
 
  openbsd*)
20940
 
    with_gnu_ld=no
20941
 
    ;;
20942
 
  esac
20943
 
 
20944
 
  ld_shlibs_GCJ=yes
20945
 
  if test "$with_gnu_ld" = yes; then
20946
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
20947
 
    wlarc='${wl}'
20948
 
 
20949
 
    # Set some defaults for GNU ld with shared library support. These
20950
 
    # are reset later if shared libraries are not supported. Putting them
20951
 
    # here allows them to be overridden if necessary.
20952
 
    runpath_var=LD_RUN_PATH
20953
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
20954
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
20955
 
    # ancient GNU ld didn't support --whole-archive et. al.
20956
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20957
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20958
 
      else
20959
 
        whole_archive_flag_spec_GCJ=
20960
 
    fi
20961
 
    supports_anon_versioning=no
20962
 
    case `$LD -v 2>/dev/null` in
20963
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20964
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20965
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20966
 
      *\ 2.11.*) ;; # other 2.11 versions
20967
 
      *) supports_anon_versioning=yes ;;
20968
 
    esac
20969
 
 
20970
 
    # See if GNU ld supports shared libraries.
20971
 
    case $host_os in
20972
 
    aix[3-9]*)
20973
 
      # On AIX/PPC, the GNU linker is very broken
20974
 
      if test "$host_cpu" != ia64; then
20975
 
        ld_shlibs_GCJ=no
20976
 
        cat <<EOF 1>&2
20977
 
 
20978
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
20979
 
*** to be unable to reliably create shared libraries on AIX.
20980
 
*** Therefore, libtool is disabling shared libraries support.  If you
20981
 
*** really care for shared libraries, you may want to modify your PATH
20982
 
*** so that a non-GNU linker is found, and then restart.
20983
 
 
20984
 
EOF
20985
 
      fi
20986
 
      ;;
20987
 
 
20988
 
    amigaos*)
20989
 
      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)'
20990
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20991
 
      hardcode_minus_L_GCJ=yes
20992
 
 
20993
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20994
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
20995
 
      # to version 4, is to share data among multiple programs linked
20996
 
      # with the same dynamic library.  Since this doesn't match the
20997
 
      # behavior of shared libraries on other platforms, we can't use
20998
 
      # them.
20999
 
      ld_shlibs_GCJ=no
21000
 
      ;;
21001
 
 
21002
 
    beos*)
21003
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21004
 
        allow_undefined_flag_GCJ=unsupported
21005
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21006
 
        # support --undefined.  This deserves some investigation.  FIXME
21007
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21008
 
      else
21009
 
        ld_shlibs_GCJ=no
21010
 
      fi
21011
 
      ;;
21012
 
 
21013
 
    cygwin* | mingw* | pw32*)
21014
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
21015
 
      # as there is no search path for DLLs.
21016
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21017
 
      allow_undefined_flag_GCJ=unsupported
21018
 
      always_export_symbols_GCJ=no
21019
 
      enable_shared_with_static_runtimes_GCJ=yes
21020
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
21021
 
 
21022
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21023
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21024
 
        # If the export-symbols file already is a .def file (1st line
21025
 
        # is EXPORTS), use it as is; otherwise, prepend...
21026
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21027
 
          cp $export_symbols $output_objdir/$soname.def;
21028
 
        else
21029
 
          echo EXPORTS > $output_objdir/$soname.def;
21030
 
          cat $export_symbols >> $output_objdir/$soname.def;
21031
 
        fi~
21032
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21033
 
      else
21034
 
        ld_shlibs_GCJ=no
21035
 
      fi
21036
 
      ;;
21037
 
 
21038
 
    interix[3-9]*)
21039
 
      hardcode_direct_GCJ=no
21040
 
      hardcode_shlibpath_var_GCJ=no
21041
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
21042
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
21043
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21044
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
21045
 
      # default) and relocated if they conflict, which is a slow very memory
21046
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
21047
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21048
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
21049
 
      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'
21050
 
      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'
21051
 
      ;;
21052
 
 
21053
 
    gnu* | linux* | k*bsd*-gnu)
21054
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21055
 
        tmp_addflag=
21056
 
        case $cc_basename,$host_cpu in
21057
 
        pgcc*)                          # Portland Group C compiler
21058
 
          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'
21059
 
          tmp_addflag=' $pic_flag'
21060
 
          ;;
21061
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
21062
 
          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'
21063
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
21064
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
21065
 
          tmp_addflag=' -i_dynamic' ;;
21066
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
21067
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
21068
 
        ifc* | ifort*)                  # Intel Fortran compiler
21069
 
          tmp_addflag=' -nofor_main' ;;
21070
 
        esac
21071
 
        case `$CC -V 2>&1 | sed 5q` in
21072
 
        *Sun\ C*)                       # Sun C 5.9
21073
 
          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'
21074
 
          tmp_sharedflag='-G' ;;
21075
 
        *Sun\ F*)                       # Sun Fortran 8.3
21076
 
          tmp_sharedflag='-G' ;;
21077
 
        *)
21078
 
          tmp_sharedflag='-shared' ;;
21079
 
        esac
21080
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21081
 
 
21082
 
        if test $supports_anon_versioning = yes; then
21083
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
21084
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21085
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
21086
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21087
 
        fi
21088
 
        link_all_deplibs_GCJ=no
21089
 
      else
21090
 
        ld_shlibs_GCJ=no
21091
 
      fi
21092
 
      ;;
21093
 
 
21094
 
    netbsd* | netbsdelf*-gnu)
21095
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21096
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21097
 
        wlarc=
21098
 
      else
21099
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21100
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21101
 
      fi
21102
 
      ;;
21103
 
 
21104
 
    solaris*)
21105
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
21106
 
        ld_shlibs_GCJ=no
21107
 
        cat <<EOF 1>&2
21108
 
 
21109
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
21110
 
*** create shared libraries on Solaris systems.  Therefore, libtool
21111
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
21112
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
21113
 
*** your PATH or compiler configuration so that the native linker is
21114
 
*** used, and then restart.
21115
 
 
21116
 
EOF
21117
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21118
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21119
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21120
 
      else
21121
 
        ld_shlibs_GCJ=no
21122
 
      fi
21123
 
      ;;
21124
 
 
21125
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21126
 
      case `$LD -v 2>&1` in
21127
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21128
 
        ld_shlibs_GCJ=no
21129
 
        cat <<_LT_EOF 1>&2
21130
 
 
21131
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21132
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
21133
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
21134
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
21135
 
*** your PATH or compiler configuration so that the native linker is
21136
 
*** used, and then restart.
21137
 
 
21138
 
_LT_EOF
21139
 
        ;;
21140
 
        *)
21141
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21142
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21143
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21144
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21145
 
          else
21146
 
            ld_shlibs_GCJ=no
21147
 
          fi
21148
 
        ;;
21149
 
      esac
21150
 
      ;;
21151
 
 
21152
 
    sunos4*)
21153
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21154
 
      wlarc=
21155
 
      hardcode_direct_GCJ=yes
21156
 
      hardcode_shlibpath_var_GCJ=no
21157
 
      ;;
21158
 
 
21159
 
    *)
21160
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21161
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21162
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21163
 
      else
21164
 
        ld_shlibs_GCJ=no
21165
 
      fi
21166
 
      ;;
21167
 
    esac
21168
 
 
21169
 
    if test "$ld_shlibs_GCJ" = no; then
21170
 
      runpath_var=
21171
 
      hardcode_libdir_flag_spec_GCJ=
21172
 
      export_dynamic_flag_spec_GCJ=
21173
 
      whole_archive_flag_spec_GCJ=
21174
 
    fi
21175
 
  else
21176
 
    # PORTME fill in a description of your system's linker (not GNU ld)
21177
 
    case $host_os in
21178
 
    aix3*)
21179
 
      allow_undefined_flag_GCJ=unsupported
21180
 
      always_export_symbols_GCJ=yes
21181
 
      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'
21182
 
      # Note: this linker hardcodes the directories in LIBPATH if there
21183
 
      # are no directories specified by -L.
21184
 
      hardcode_minus_L_GCJ=yes
21185
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21186
 
        # Neither direct hardcoding nor static linking is supported with a
21187
 
        # broken collect2.
21188
 
        hardcode_direct_GCJ=unsupported
21189
 
      fi
21190
 
      ;;
21191
 
 
21192
 
    aix[4-9]*)
21193
 
      if test "$host_cpu" = ia64; then
21194
 
        # On IA64, the linker does run time linking by default, so we don't
21195
 
        # have to do anything special.
21196
 
        aix_use_runtimelinking=no
21197
 
        exp_sym_flag='-Bexport'
21198
 
        no_entry_flag=""
21199
 
      else
21200
 
        # If we're using GNU nm, then we don't want the "-C" option.
21201
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
21202
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21203
 
          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'
21204
 
        else
21205
 
          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'
21206
 
        fi
21207
 
        aix_use_runtimelinking=no
21208
 
 
21209
 
        # Test if we are trying to use run time linking or normal
21210
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21211
 
        # need to do runtime linking.
21212
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
21213
 
          for ld_flag in $LDFLAGS; do
21214
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21215
 
            aix_use_runtimelinking=yes
21216
 
            break
21217
 
          fi
21218
 
          done
21219
 
          ;;
21220
 
        esac
21221
 
 
21222
 
        exp_sym_flag='-bexport'
21223
 
        no_entry_flag='-bnoentry'
21224
 
      fi
21225
 
 
21226
 
      # When large executables or shared objects are built, AIX ld can
21227
 
      # have problems creating the table of contents.  If linking a library
21228
 
      # or program results in "error TOC overflow" add -mminimal-toc to
21229
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
21230
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21231
 
 
21232
 
      archive_cmds_GCJ=''
21233
 
      hardcode_direct_GCJ=yes
21234
 
      hardcode_libdir_separator_GCJ=':'
21235
 
      link_all_deplibs_GCJ=yes
21236
 
 
21237
 
      if test "$GCC" = yes; then
21238
 
        case $host_os in aix4.[012]|aix4.[012].*)
21239
 
        # We only want to do this on AIX 4.2 and lower, the check
21240
 
        # below for broken collect2 doesn't work under 4.3+
21241
 
          collect2name=`${CC} -print-prog-name=collect2`
21242
 
          if test -f "$collect2name" && \
21243
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
21244
 
          then
21245
 
          # We have reworked collect2
21246
 
          :
21247
 
          else
21248
 
          # We have old collect2
21249
 
          hardcode_direct_GCJ=unsupported
21250
 
          # It fails to find uninstalled libraries when the uninstalled
21251
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
21252
 
          # to unsupported forces relinking
21253
 
          hardcode_minus_L_GCJ=yes
21254
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
21255
 
          hardcode_libdir_separator_GCJ=
21256
 
          fi
21257
 
          ;;
21258
 
        esac
21259
 
        shared_flag='-shared'
21260
 
        if test "$aix_use_runtimelinking" = yes; then
21261
 
          shared_flag="$shared_flag "'${wl}-G'
21262
 
        fi
21263
 
      else
21264
 
        # not using gcc
21265
 
        if test "$host_cpu" = ia64; then
21266
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21267
 
        # chokes on -Wl,-G. The following line is correct:
21268
 
          shared_flag='-G'
21269
 
        else
21270
 
          if test "$aix_use_runtimelinking" = yes; then
21271
 
            shared_flag='${wl}-G'
21272
 
          else
21273
 
            shared_flag='${wl}-bM:SRE'
21274
 
          fi
21275
 
        fi
21276
 
      fi
21277
 
 
21278
 
      # It seems that -bexpall does not export symbols beginning with
21279
 
      # underscore (_), so it is better to generate a list of symbols to export.
21280
 
      always_export_symbols_GCJ=yes
21281
 
      if test "$aix_use_runtimelinking" = yes; then
21282
 
        # Warning - without using the other runtime loading flags (-brtl),
21283
 
        # -berok will link without error, but may produce a broken library.
21284
 
        allow_undefined_flag_GCJ='-berok'
21285
 
       # Determine the default libpath from the value encoded in an empty executable.
21286
 
       cat >conftest.$ac_ext <<_ACEOF
21287
 
/* confdefs.h.  */
21288
 
_ACEOF
21289
 
cat confdefs.h >>conftest.$ac_ext
21290
 
cat >>conftest.$ac_ext <<_ACEOF
21291
 
/* end confdefs.h.  */
21292
 
 
21293
 
int
21294
 
main ()
21295
 
{
21296
 
 
21297
 
  ;
21298
 
  return 0;
21299
 
}
21300
 
_ACEOF
21301
 
rm -f conftest.$ac_objext conftest$ac_exeext
21302
 
if { (ac_try="$ac_link"
21303
 
case "(($ac_try" in
21304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21305
 
  *) ac_try_echo=$ac_try;;
21306
 
esac
21307
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21308
 
  (eval "$ac_link") 2>conftest.er1
21309
 
  ac_status=$?
21310
 
  grep -v '^ *+' conftest.er1 >conftest.err
21311
 
  rm -f conftest.er1
21312
 
  cat conftest.err >&5
21313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314
 
  (exit $ac_status); } && {
21315
 
         test -z "$ac_c_werror_flag" ||
21316
 
         test ! -s conftest.err
21317
 
       } && test -s conftest$ac_exeext &&
21318
 
       $as_test_x conftest$ac_exeext; then
21319
 
 
21320
 
lt_aix_libpath_sed='
21321
 
    /Import File Strings/,/^$/ {
21322
 
        /^0/ {
21323
 
            s/^0  *\(.*\)$/\1/
21324
 
            p
21325
 
        }
21326
 
    }'
21327
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21328
 
# Check for a 64-bit object if we didn't find anything.
21329
 
if test -z "$aix_libpath"; then
21330
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21331
 
fi
21332
 
else
21333
 
  echo "$as_me: failed program was:" >&5
21334
 
sed 's/^/| /' conftest.$ac_ext >&5
21335
 
 
21336
 
 
21337
 
fi
21338
 
 
21339
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21340
 
      conftest$ac_exeext conftest.$ac_ext
21341
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21342
 
 
21343
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
21344
 
        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"
21345
 
       else
21346
 
        if test "$host_cpu" = ia64; then
21347
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
21348
 
          allow_undefined_flag_GCJ="-z nodefs"
21349
 
          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"
21350
 
        else
21351
 
         # Determine the default libpath from the value encoded in an empty executable.
21352
 
         cat >conftest.$ac_ext <<_ACEOF
21353
 
/* confdefs.h.  */
21354
 
_ACEOF
21355
 
cat confdefs.h >>conftest.$ac_ext
21356
 
cat >>conftest.$ac_ext <<_ACEOF
21357
 
/* end confdefs.h.  */
21358
 
 
21359
 
int
21360
 
main ()
21361
 
{
21362
 
 
21363
 
  ;
21364
 
  return 0;
21365
 
}
21366
 
_ACEOF
21367
 
rm -f conftest.$ac_objext conftest$ac_exeext
21368
 
if { (ac_try="$ac_link"
21369
 
case "(($ac_try" in
21370
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21371
 
  *) ac_try_echo=$ac_try;;
21372
 
esac
21373
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374
 
  (eval "$ac_link") 2>conftest.er1
21375
 
  ac_status=$?
21376
 
  grep -v '^ *+' conftest.er1 >conftest.err
21377
 
  rm -f conftest.er1
21378
 
  cat conftest.err >&5
21379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380
 
  (exit $ac_status); } && {
21381
 
         test -z "$ac_c_werror_flag" ||
21382
 
         test ! -s conftest.err
21383
 
       } && test -s conftest$ac_exeext &&
21384
 
       $as_test_x conftest$ac_exeext; then
21385
 
 
21386
 
lt_aix_libpath_sed='
21387
 
    /Import File Strings/,/^$/ {
21388
 
        /^0/ {
21389
 
            s/^0  *\(.*\)$/\1/
21390
 
            p
21391
 
        }
21392
 
    }'
21393
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21394
 
# Check for a 64-bit object if we didn't find anything.
21395
 
if test -z "$aix_libpath"; then
21396
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21397
 
fi
21398
 
else
21399
 
  echo "$as_me: failed program was:" >&5
21400
 
sed 's/^/| /' conftest.$ac_ext >&5
21401
 
 
21402
 
 
21403
 
fi
21404
 
 
21405
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21406
 
      conftest$ac_exeext conftest.$ac_ext
21407
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21408
 
 
21409
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
21410
 
          # Warning - without using the other run time loading flags,
21411
 
          # -berok will link without error, but may produce a broken library.
21412
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
21413
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
21414
 
          # Exported symbols can be pulled into shared objects from archives
21415
 
          whole_archive_flag_spec_GCJ='$convenience'
21416
 
          archive_cmds_need_lc_GCJ=yes
21417
 
          # This is similar to how AIX traditionally builds its shared libraries.
21418
 
          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'
21419
 
        fi
21420
 
      fi
21421
 
      ;;
21422
 
 
21423
 
    amigaos*)
21424
 
      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)'
21425
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21426
 
      hardcode_minus_L_GCJ=yes
21427
 
      # see comment about different semantics on the GNU ld section
21428
 
      ld_shlibs_GCJ=no
21429
 
      ;;
21430
 
 
21431
 
    bsdi[45]*)
21432
 
      export_dynamic_flag_spec_GCJ=-rdynamic
21433
 
      ;;
21434
 
 
21435
 
    cygwin* | mingw* | pw32*)
21436
 
      # When not using gcc, we currently assume that we are using
21437
 
      # Microsoft Visual C++.
21438
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
21439
 
      # no search path for DLLs.
21440
 
      hardcode_libdir_flag_spec_GCJ=' '
21441
 
      allow_undefined_flag_GCJ=unsupported
21442
 
      # Tell ltmain to make .lib files, not .a files.
21443
 
      libext=lib
21444
 
      # Tell ltmain to make .dll files, not .so files.
21445
 
      shrext_cmds=".dll"
21446
 
      # FIXME: Setting linknames here is a bad hack.
21447
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21448
 
      # The linker will automatically build a .lib file if we build a DLL.
21449
 
      old_archive_From_new_cmds_GCJ='true'
21450
 
      # FIXME: Should let the user specify the lib program.
21451
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
21452
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
21453
 
      enable_shared_with_static_runtimes_GCJ=yes
21454
 
      ;;
21455
 
 
21456
 
    darwin* | rhapsody*)
21457
 
      case $host_os in
21458
 
        rhapsody* | darwin1.[012])
21459
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
21460
 
         ;;
21461
 
       *) # Darwin 1.3 on
21462
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21463
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21464
 
         else
21465
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
21466
 
             10.[012])
21467
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21468
 
               ;;
21469
 
             10.*)
21470
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
21471
 
               ;;
21472
 
           esac
21473
 
         fi
21474
 
         ;;
21475
 
      esac
21476
 
      archive_cmds_need_lc_GCJ=no
21477
 
      hardcode_direct_GCJ=no
21478
 
      hardcode_automatic_GCJ=yes
21479
 
      hardcode_shlibpath_var_GCJ=unsupported
21480
 
      whole_archive_flag_spec_GCJ=''
21481
 
      link_all_deplibs_GCJ=yes
21482
 
    if test "$GCC" = yes ; then
21483
 
        output_verbose_link_cmd='echo'
21484
 
        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}"
21485
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
21486
 
        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}"
21487
 
        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}"
21488
 
    else
21489
 
      case $cc_basename in
21490
 
        xlc*)
21491
 
         output_verbose_link_cmd='echo'
21492
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
21493
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21494
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21495
 
         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}'
21496
 
          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}'
21497
 
          ;;
21498
 
       *)
21499
 
         ld_shlibs_GCJ=no
21500
 
          ;;
21501
 
      esac
21502
 
    fi
21503
 
      ;;
21504
 
 
21505
 
    dgux*)
21506
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21507
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21508
 
      hardcode_shlibpath_var_GCJ=no
21509
 
      ;;
21510
 
 
21511
 
    freebsd1*)
21512
 
      ld_shlibs_GCJ=no
21513
 
      ;;
21514
 
 
21515
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21516
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
21517
 
    # does not break anything, and helps significantly (at the cost of a little
21518
 
    # extra space).
21519
 
    freebsd2.2*)
21520
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21521
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
21522
 
      hardcode_direct_GCJ=yes
21523
 
      hardcode_shlibpath_var_GCJ=no
21524
 
      ;;
21525
 
 
21526
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21527
 
    freebsd2*)
21528
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21529
 
      hardcode_direct_GCJ=yes
21530
 
      hardcode_minus_L_GCJ=yes
21531
 
      hardcode_shlibpath_var_GCJ=no
21532
 
      ;;
21533
 
 
21534
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21535
 
    freebsd* | dragonfly*)
21536
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21537
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
21538
 
      hardcode_direct_GCJ=yes
21539
 
      hardcode_shlibpath_var_GCJ=no
21540
 
      ;;
21541
 
 
21542
 
    hpux9*)
21543
 
      if test "$GCC" = yes; then
21544
 
        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'
21545
 
      else
21546
 
        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'
21547
 
      fi
21548
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
21549
 
      hardcode_libdir_separator_GCJ=:
21550
 
      hardcode_direct_GCJ=yes
21551
 
 
21552
 
      # hardcode_minus_L: Not really in the search PATH,
21553
 
      # but as the default location of the library.
21554
 
      hardcode_minus_L_GCJ=yes
21555
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
21556
 
      ;;
21557
 
 
21558
 
    hpux10*)
21559
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21560
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21561
 
      else
21562
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21563
 
      fi
21564
 
      if test "$with_gnu_ld" = no; then
21565
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
21566
 
        hardcode_libdir_separator_GCJ=:
21567
 
 
21568
 
        hardcode_direct_GCJ=yes
21569
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
21570
 
 
21571
 
        # hardcode_minus_L: Not really in the search PATH,
21572
 
        # but as the default location of the library.
21573
 
        hardcode_minus_L_GCJ=yes
21574
 
      fi
21575
 
      ;;
21576
 
 
21577
 
    hpux11*)
21578
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21579
 
        case $host_cpu in
21580
 
        hppa*64*)
21581
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21582
 
          ;;
21583
 
        ia64*)
21584
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21585
 
          ;;
21586
 
        *)
21587
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21588
 
          ;;
21589
 
        esac
21590
 
      else
21591
 
        case $host_cpu in
21592
 
        hppa*64*)
21593
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21594
 
          ;;
21595
 
        ia64*)
21596
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21597
 
          ;;
21598
 
        *)
21599
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21600
 
          ;;
21601
 
        esac
21602
 
      fi
21603
 
      if test "$with_gnu_ld" = no; then
21604
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
21605
 
        hardcode_libdir_separator_GCJ=:
21606
 
 
21607
 
        case $host_cpu in
21608
 
        hppa*64*|ia64*)
21609
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
21610
 
          hardcode_direct_GCJ=no
21611
 
          hardcode_shlibpath_var_GCJ=no
21612
 
          ;;
21613
 
        *)
21614
 
          hardcode_direct_GCJ=yes
21615
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
21616
 
 
21617
 
          # hardcode_minus_L: Not really in the search PATH,
21618
 
          # but as the default location of the library.
21619
 
          hardcode_minus_L_GCJ=yes
21620
 
          ;;
21621
 
        esac
21622
 
      fi
21623
 
      ;;
21624
 
 
21625
 
    irix5* | irix6* | nonstopux*)
21626
 
      if test "$GCC" = yes; then
21627
 
        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'
21628
 
      else
21629
 
        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'
21630
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
21631
 
      fi
21632
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
21633
 
      hardcode_libdir_separator_GCJ=:
21634
 
      link_all_deplibs_GCJ=yes
21635
 
      ;;
21636
 
 
21637
 
    netbsd* | netbsdelf*-gnu)
21638
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21639
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
21640
 
      else
21641
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
21642
 
      fi
21643
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
21644
 
      hardcode_direct_GCJ=yes
21645
 
      hardcode_shlibpath_var_GCJ=no
21646
 
      ;;
21647
 
 
21648
 
    newsos6)
21649
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21650
 
      hardcode_direct_GCJ=yes
21651
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
21652
 
      hardcode_libdir_separator_GCJ=:
21653
 
      hardcode_shlibpath_var_GCJ=no
21654
 
      ;;
21655
 
 
21656
 
    openbsd*)
21657
 
      if test -f /usr/libexec/ld.so; then
21658
 
        hardcode_direct_GCJ=yes
21659
 
        hardcode_shlibpath_var_GCJ=no
21660
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21661
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21662
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
21663
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
21664
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
21665
 
        else
21666
 
          case $host_os in
21667
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
21668
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21669
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
21670
 
             ;;
21671
 
           *)
21672
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21673
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
21674
 
             ;;
21675
 
          esac
21676
 
        fi
21677
 
      else
21678
 
        ld_shlibs_GCJ=no
21679
 
      fi
21680
 
      ;;
21681
 
 
21682
 
    os2*)
21683
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21684
 
      hardcode_minus_L_GCJ=yes
21685
 
      allow_undefined_flag_GCJ=unsupported
21686
 
      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'
21687
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
21688
 
      ;;
21689
 
 
21690
 
    osf3*)
21691
 
      if test "$GCC" = yes; then
21692
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
21693
 
        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'
21694
 
      else
21695
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
21696
 
        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'
21697
 
      fi
21698
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
21699
 
      hardcode_libdir_separator_GCJ=:
21700
 
      ;;
21701
 
 
21702
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
21703
 
      if test "$GCC" = yes; then
21704
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
21705
 
        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'
21706
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
21707
 
      else
21708
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
21709
 
        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'
21710
 
        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~
21711
 
        $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'
21712
 
 
21713
 
        # Both c and cxx compiler support -rpath directly
21714
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
21715
 
      fi
21716
 
      hardcode_libdir_separator_GCJ=:
21717
 
      ;;
21718
 
 
21719
 
    solaris*)
21720
 
      no_undefined_flag_GCJ=' -z text'
21721
 
      if test "$GCC" = yes; then
21722
 
        wlarc='${wl}'
21723
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21724
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21725
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
21726
 
      else
21727
 
        wlarc=''
21728
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21729
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21730
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21731
 
      fi
21732
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
21733
 
      hardcode_shlibpath_var_GCJ=no
21734
 
      case $host_os in
21735
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
21736
 
      *)
21737
 
        # The compiler driver will combine and reorder linker options,
21738
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
21739
 
        # but is careful enough not to reorder.
21740
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
21741
 
        if test "$GCC" = yes; then
21742
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21743
 
        else
21744
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
21745
 
        fi
21746
 
        ;;
21747
 
      esac
21748
 
      link_all_deplibs_GCJ=yes
21749
 
      ;;
21750
 
 
21751
 
    sunos4*)
21752
 
      if test "x$host_vendor" = xsequent; then
21753
 
        # Use $CC to link under sequent, because it throws in some extra .o
21754
 
        # files that make .init and .fini sections work.
21755
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21756
 
      else
21757
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21758
 
      fi
21759
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21760
 
      hardcode_direct_GCJ=yes
21761
 
      hardcode_minus_L_GCJ=yes
21762
 
      hardcode_shlibpath_var_GCJ=no
21763
 
      ;;
21764
 
 
21765
 
    sysv4)
21766
 
      case $host_vendor in
21767
 
        sni)
21768
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21769
 
          hardcode_direct_GCJ=yes # is this really true???
21770
 
        ;;
21771
 
        siemens)
21772
 
          ## LD is ld it makes a PLAMLIB
21773
 
          ## CC just makes a GrossModule.
21774
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21775
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
21776
 
          hardcode_direct_GCJ=no
21777
 
        ;;
21778
 
        motorola)
21779
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21780
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
21781
 
        ;;
21782
 
      esac
21783
 
      runpath_var='LD_RUN_PATH'
21784
 
      hardcode_shlibpath_var_GCJ=no
21785
 
      ;;
21786
 
 
21787
 
    sysv4.3*)
21788
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21789
 
      hardcode_shlibpath_var_GCJ=no
21790
 
      export_dynamic_flag_spec_GCJ='-Bexport'
21791
 
      ;;
21792
 
 
21793
 
    sysv4*MP*)
21794
 
      if test -d /usr/nec; then
21795
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21796
 
        hardcode_shlibpath_var_GCJ=no
21797
 
        runpath_var=LD_RUN_PATH
21798
 
        hardcode_runpath_var=yes
21799
 
        ld_shlibs_GCJ=yes
21800
 
      fi
21801
 
      ;;
21802
 
 
21803
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21804
 
      no_undefined_flag_GCJ='${wl}-z,text'
21805
 
      archive_cmds_need_lc_GCJ=no
21806
 
      hardcode_shlibpath_var_GCJ=no
21807
 
      runpath_var='LD_RUN_PATH'
21808
 
 
21809
 
      if test "$GCC" = yes; then
21810
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21811
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21812
 
      else
21813
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21814
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21815
 
      fi
21816
 
      ;;
21817
 
 
21818
 
    sysv5* | sco3.2v5* | sco5v6*)
21819
 
      # Note: We can NOT use -z defs as we might desire, because we do not
21820
 
      # link with -lc, and that would cause any symbols used from libc to
21821
 
      # always be unresolved, which means just about no library would
21822
 
      # ever link correctly.  If we're not using GNU ld we use -z text
21823
 
      # though, which does catch some bad symbols but isn't as heavy-handed
21824
 
      # as -z defs.
21825
 
      no_undefined_flag_GCJ='${wl}-z,text'
21826
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
21827
 
      archive_cmds_need_lc_GCJ=no
21828
 
      hardcode_shlibpath_var_GCJ=no
21829
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21830
 
      hardcode_libdir_separator_GCJ=':'
21831
 
      link_all_deplibs_GCJ=yes
21832
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
21833
 
      runpath_var='LD_RUN_PATH'
21834
 
 
21835
 
      if test "$GCC" = yes; then
21836
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21837
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21838
 
      else
21839
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21840
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21841
 
      fi
21842
 
      ;;
21843
 
 
21844
 
    uts4*)
21845
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21846
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21847
 
      hardcode_shlibpath_var_GCJ=no
21848
 
      ;;
21849
 
 
21850
 
    *)
21851
 
      ld_shlibs_GCJ=no
21852
 
      ;;
21853
 
    esac
21854
 
  fi
21855
 
 
21856
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
21857
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
21858
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
21859
 
 
21860
 
#
21861
 
# Do we need to explicitly link libc?
21862
 
#
21863
 
case "x$archive_cmds_need_lc_GCJ" in
21864
 
x|xyes)
21865
 
  # Assume -lc should be added
21866
 
  archive_cmds_need_lc_GCJ=yes
21867
 
 
21868
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
21869
 
    case $archive_cmds_GCJ in
21870
 
    *'~'*)
21871
 
      # FIXME: we may have to deal with multi-command sequences.
21872
 
      ;;
21873
 
    '$CC '*)
21874
 
      # Test whether the compiler implicitly links with -lc since on some
21875
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
21876
 
      # to ld, don't add -lc before -lgcc.
21877
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21878
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
21879
 
      $rm conftest*
21880
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21881
 
 
21882
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21883
 
  (eval $ac_compile) 2>&5
21884
 
  ac_status=$?
21885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886
 
  (exit $ac_status); } 2>conftest.err; then
21887
 
        soname=conftest
21888
 
        lib=conftest
21889
 
        libobjs=conftest.$ac_objext
21890
 
        deplibs=
21891
 
        wl=$lt_prog_compiler_wl_GCJ
21892
 
        pic_flag=$lt_prog_compiler_pic_GCJ
21893
 
        compiler_flags=-v
21894
 
        linker_flags=-v
21895
 
        verstring=
21896
 
        output_objdir=.
21897
 
        libname=conftest
21898
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
21899
 
        allow_undefined_flag_GCJ=
21900
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21901
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21902
 
  ac_status=$?
21903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904
 
  (exit $ac_status); }
21905
 
        then
21906
 
          archive_cmds_need_lc_GCJ=no
21907
 
        else
21908
 
          archive_cmds_need_lc_GCJ=yes
21909
 
        fi
21910
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
21911
 
      else
21912
 
        cat conftest.err 1>&5
21913
 
      fi
21914
 
      $rm conftest*
21915
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
21916
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
21917
 
      ;;
21918
 
    esac
21919
 
  fi
21920
 
  ;;
21921
 
esac
21922
 
 
21923
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21924
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
21925
 
library_names_spec=
21926
 
libname_spec='lib$name'
21927
 
soname_spec=
21928
 
shrext_cmds=".so"
21929
 
postinstall_cmds=
21930
 
postuninstall_cmds=
21931
 
finish_cmds=
21932
 
finish_eval=
21933
 
shlibpath_var=
21934
 
shlibpath_overrides_runpath=unknown
21935
 
version_type=none
21936
 
dynamic_linker="$host_os ld.so"
21937
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
21938
 
 
21939
 
need_lib_prefix=unknown
21940
 
hardcode_into_libs=no
21941
 
 
21942
 
# when you set need_version to no, make sure it does not cause -set_version
21943
 
# flags to be left without arguments
21944
 
need_version=unknown
21945
 
 
21946
 
case $host_os in
21947
 
aix3*)
21948
 
  version_type=linux
21949
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21950
 
  shlibpath_var=LIBPATH
21951
 
 
21952
 
  # AIX 3 has no versioning support, so we append a major version to the name.
21953
 
  soname_spec='${libname}${release}${shared_ext}$major'
21954
 
  ;;
21955
 
 
21956
 
aix[4-9]*)
21957
 
  version_type=linux
21958
 
  need_lib_prefix=no
21959
 
  need_version=no
21960
 
  hardcode_into_libs=yes
21961
 
  if test "$host_cpu" = ia64; then
21962
 
    # AIX 5 supports IA64
21963
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21964
 
    shlibpath_var=LD_LIBRARY_PATH
21965
 
  else
21966
 
    # With GCC up to 2.95.x, collect2 would create an import file
21967
 
    # for dependence libraries.  The import file would start with
21968
 
    # the line `#! .'.  This would cause the generated library to
21969
 
    # depend on `.', always an invalid library.  This was fixed in
21970
 
    # development snapshots of GCC prior to 3.0.
21971
 
    case $host_os in
21972
 
      aix4 | aix4.[01] | aix4.[01].*)
21973
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21974
 
           echo ' yes '
21975
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
21976
 
        :
21977
 
      else
21978
 
        can_build_shared=no
21979
 
      fi
21980
 
      ;;
21981
 
    esac
21982
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21983
 
    # soname into executable. Probably we can add versioning support to
21984
 
    # collect2, so additional links can be useful in future.
21985
 
    if test "$aix_use_runtimelinking" = yes; then
21986
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21987
 
      # instead of lib<name>.a to let people know that these are not
21988
 
      # typical AIX shared libraries.
21989
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21990
 
    else
21991
 
      # We preserve .a as extension for shared libraries through AIX4.2
21992
 
      # and later when we are not doing run time linking.
21993
 
      library_names_spec='${libname}${release}.a $libname.a'
21994
 
      soname_spec='${libname}${release}${shared_ext}$major'
21995
 
    fi
21996
 
    shlibpath_var=LIBPATH
21997
 
  fi
21998
 
  ;;
21999
 
 
22000
 
amigaos*)
22001
 
  library_names_spec='$libname.ixlibrary $libname.a'
22002
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
22003
 
  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'
22004
 
  ;;
22005
 
 
22006
 
beos*)
22007
 
  library_names_spec='${libname}${shared_ext}'
22008
 
  dynamic_linker="$host_os ld.so"
22009
 
  shlibpath_var=LIBRARY_PATH
22010
 
  ;;
22011
 
 
22012
 
bsdi[45]*)
22013
 
  version_type=linux
22014
 
  need_version=no
22015
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22016
 
  soname_spec='${libname}${release}${shared_ext}$major'
22017
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22018
 
  shlibpath_var=LD_LIBRARY_PATH
22019
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22020
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22021
 
  # the default ld.so.conf also contains /usr/contrib/lib and
22022
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22023
 
  # libtool to hard-code these into programs
22024
 
  ;;
22025
 
 
22026
 
cygwin* | mingw* | pw32*)
22027
 
  version_type=windows
22028
 
  shrext_cmds=".dll"
22029
 
  need_version=no
22030
 
  need_lib_prefix=no
22031
 
 
22032
 
  case $GCC,$host_os in
22033
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
22034
 
    library_names_spec='$libname.dll.a'
22035
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
22036
 
    postinstall_cmds='base_file=`basename \${file}`~
22037
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22038
 
      dldir=$destdir/`dirname \$dlpath`~
22039
 
      test -d \$dldir || mkdir -p \$dldir~
22040
 
      $install_prog $dir/$dlname \$dldir/$dlname~
22041
 
      chmod a+x \$dldir/$dlname'
22042
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22043
 
      dlpath=$dir/\$dldll~
22044
 
       $rm \$dlpath'
22045
 
    shlibpath_overrides_runpath=yes
22046
 
 
22047
 
    case $host_os in
22048
 
    cygwin*)
22049
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22050
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22051
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22052
 
      ;;
22053
 
    mingw*)
22054
 
      # MinGW DLLs use traditional 'lib' prefix
22055
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22056
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22057
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22058
 
        # It is most probably a Windows format PATH printed by
22059
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
22060
 
        # path with ; separators, and with drive letters. We can handle the
22061
 
        # drive letters (cygwin fileutils understands them), so leave them,
22062
 
        # especially as we might pass files found there to a mingw objdump,
22063
 
        # which wouldn't understand a cygwinified path. Ahh.
22064
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22065
 
      else
22066
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
22067
 
      fi
22068
 
      ;;
22069
 
    pw32*)
22070
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
22071
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22072
 
      ;;
22073
 
    esac
22074
 
    ;;
22075
 
 
22076
 
  *)
22077
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22078
 
    ;;
22079
 
  esac
22080
 
  dynamic_linker='Win32 ld.exe'
22081
 
  # FIXME: first we should search . and the directory the executable is in
22082
 
  shlibpath_var=PATH
22083
 
  ;;
22084
 
 
22085
 
darwin* | rhapsody*)
22086
 
  dynamic_linker="$host_os dyld"
22087
 
  version_type=darwin
22088
 
  need_lib_prefix=no
22089
 
  need_version=no
22090
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22091
 
  soname_spec='${libname}${release}${major}$shared_ext'
22092
 
  shlibpath_overrides_runpath=yes
22093
 
  shlibpath_var=DYLD_LIBRARY_PATH
22094
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22095
 
 
22096
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22097
 
  ;;
22098
 
 
22099
 
dgux*)
22100
 
  version_type=linux
22101
 
  need_lib_prefix=no
22102
 
  need_version=no
22103
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22104
 
  soname_spec='${libname}${release}${shared_ext}$major'
22105
 
  shlibpath_var=LD_LIBRARY_PATH
22106
 
  ;;
22107
 
 
22108
 
freebsd1*)
22109
 
  dynamic_linker=no
22110
 
  ;;
22111
 
 
22112
 
freebsd* | dragonfly*)
22113
 
  # DragonFly does not have aout.  When/if they implement a new
22114
 
  # versioning mechanism, adjust this.
22115
 
  if test -x /usr/bin/objformat; then
22116
 
    objformat=`/usr/bin/objformat`
22117
 
  else
22118
 
    case $host_os in
22119
 
    freebsd[123]*) objformat=aout ;;
22120
 
    *) objformat=elf ;;
22121
 
    esac
22122
 
  fi
22123
 
  version_type=freebsd-$objformat
22124
 
  case $version_type in
22125
 
    freebsd-elf*)
22126
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22127
 
      need_version=no
22128
 
      need_lib_prefix=no
22129
 
      ;;
22130
 
    freebsd-*)
22131
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22132
 
      need_version=yes
22133
 
      ;;
22134
 
  esac
22135
 
  shlibpath_var=LD_LIBRARY_PATH
22136
 
  case $host_os in
22137
 
  freebsd2*)
22138
 
    shlibpath_overrides_runpath=yes
22139
 
    ;;
22140
 
  freebsd3.[01]* | freebsdelf3.[01]*)
22141
 
    shlibpath_overrides_runpath=yes
22142
 
    hardcode_into_libs=yes
22143
 
    ;;
22144
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22145
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22146
 
    shlibpath_overrides_runpath=no
22147
 
    hardcode_into_libs=yes
22148
 
    ;;
22149
 
  *) # from 4.6 on, and DragonFly
22150
 
    shlibpath_overrides_runpath=yes
22151
 
    hardcode_into_libs=yes
22152
 
    ;;
22153
 
  esac
22154
 
  ;;
22155
 
 
22156
 
gnu*)
22157
 
  version_type=linux
22158
 
  need_lib_prefix=no
22159
 
  need_version=no
22160
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22161
 
  soname_spec='${libname}${release}${shared_ext}$major'
22162
 
  shlibpath_var=LD_LIBRARY_PATH
22163
 
  hardcode_into_libs=yes
22164
 
  ;;
22165
 
 
22166
 
hpux9* | hpux10* | hpux11*)
22167
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
22168
 
  # link against other versions.
22169
 
  version_type=sunos
22170
 
  need_lib_prefix=no
22171
 
  need_version=no
22172
 
  case $host_cpu in
22173
 
  ia64*)
22174
 
    shrext_cmds='.so'
22175
 
    hardcode_into_libs=yes
22176
 
    dynamic_linker="$host_os dld.so"
22177
 
    shlibpath_var=LD_LIBRARY_PATH
22178
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22179
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22180
 
    soname_spec='${libname}${release}${shared_ext}$major'
22181
 
    if test "X$HPUX_IA64_MODE" = X32; then
22182
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22183
 
    else
22184
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22185
 
    fi
22186
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22187
 
    ;;
22188
 
   hppa*64*)
22189
 
     shrext_cmds='.sl'
22190
 
     hardcode_into_libs=yes
22191
 
     dynamic_linker="$host_os dld.sl"
22192
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22193
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22194
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22195
 
     soname_spec='${libname}${release}${shared_ext}$major'
22196
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22197
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22198
 
     ;;
22199
 
   *)
22200
 
    shrext_cmds='.sl'
22201
 
    dynamic_linker="$host_os dld.sl"
22202
 
    shlibpath_var=SHLIB_PATH
22203
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22204
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22205
 
    soname_spec='${libname}${release}${shared_ext}$major'
22206
 
    ;;
22207
 
  esac
22208
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
22209
 
  postinstall_cmds='chmod 555 $lib'
22210
 
  ;;
22211
 
 
22212
 
interix[3-9]*)
22213
 
  version_type=linux
22214
 
  need_lib_prefix=no
22215
 
  need_version=no
22216
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22217
 
  soname_spec='${libname}${release}${shared_ext}$major'
22218
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22219
 
  shlibpath_var=LD_LIBRARY_PATH
22220
 
  shlibpath_overrides_runpath=no
22221
 
  hardcode_into_libs=yes
22222
 
  ;;
22223
 
 
22224
 
irix5* | irix6* | nonstopux*)
22225
 
  case $host_os in
22226
 
    nonstopux*) version_type=nonstopux ;;
22227
 
    *)
22228
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
22229
 
                version_type=linux
22230
 
        else
22231
 
                version_type=irix
22232
 
        fi ;;
22233
 
  esac
22234
 
  need_lib_prefix=no
22235
 
  need_version=no
22236
 
  soname_spec='${libname}${release}${shared_ext}$major'
22237
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22238
 
  case $host_os in
22239
 
  irix5* | nonstopux*)
22240
 
    libsuff= shlibsuff=
22241
 
    ;;
22242
 
  *)
22243
 
    case $LD in # libtool.m4 will add one of these switches to LD
22244
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22245
 
      libsuff= shlibsuff= libmagic=32-bit;;
22246
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22247
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
22248
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22249
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
22250
 
    *) libsuff= shlibsuff= libmagic=never-match;;
22251
 
    esac
22252
 
    ;;
22253
 
  esac
22254
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22255
 
  shlibpath_overrides_runpath=no
22256
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22257
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22258
 
  hardcode_into_libs=yes
22259
 
  ;;
22260
 
 
22261
 
# No shared lib support for Linux oldld, aout, or coff.
22262
 
linux*oldld* | linux*aout* | linux*coff*)
22263
 
  dynamic_linker=no
22264
 
  ;;
22265
 
 
22266
 
# This must be Linux ELF.
22267
 
linux* | k*bsd*-gnu)
22268
 
  version_type=linux
22269
 
  need_lib_prefix=no
22270
 
  need_version=no
22271
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22272
 
  soname_spec='${libname}${release}${shared_ext}$major'
22273
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22274
 
  shlibpath_var=LD_LIBRARY_PATH
22275
 
  shlibpath_overrides_runpath=no
22276
 
  # This implies no fast_install, which is unacceptable.
22277
 
  # Some rework will be needed to allow for fast_install
22278
 
  # before this can be enabled.
22279
 
  hardcode_into_libs=yes
22280
 
 
22281
 
  # Append ld.so.conf contents to the search path
22282
 
  if test -f /etc/ld.so.conf; then
22283
 
    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' ' '`
22284
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22285
 
  fi
22286
 
 
22287
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
22288
 
  # powerpc, because MkLinux only supported shared libraries with the
22289
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
22290
 
  # most powerpc-linux boxes support dynamic linking these days and
22291
 
  # people can always --disable-shared, the test was removed, and we
22292
 
  # assume the GNU/Linux dynamic linker is in use.
22293
 
  dynamic_linker='GNU/Linux ld.so'
22294
 
  ;;
22295
 
 
22296
 
netbsdelf*-gnu)
22297
 
  version_type=linux
22298
 
  need_lib_prefix=no
22299
 
  need_version=no
22300
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22301
 
  soname_spec='${libname}${release}${shared_ext}$major'
22302
 
  shlibpath_var=LD_LIBRARY_PATH
22303
 
  shlibpath_overrides_runpath=no
22304
 
  hardcode_into_libs=yes
22305
 
  dynamic_linker='NetBSD ld.elf_so'
22306
 
  ;;
22307
 
 
22308
 
netbsd*)
22309
 
  version_type=sunos
22310
 
  need_lib_prefix=no
22311
 
  need_version=no
22312
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22313
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22314
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22315
 
    dynamic_linker='NetBSD (a.out) ld.so'
22316
 
  else
22317
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22318
 
    soname_spec='${libname}${release}${shared_ext}$major'
22319
 
    dynamic_linker='NetBSD ld.elf_so'
22320
 
  fi
22321
 
  shlibpath_var=LD_LIBRARY_PATH
22322
 
  shlibpath_overrides_runpath=yes
22323
 
  hardcode_into_libs=yes
22324
 
  ;;
22325
 
 
22326
 
newsos6)
22327
 
  version_type=linux
22328
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22329
 
  shlibpath_var=LD_LIBRARY_PATH
22330
 
  shlibpath_overrides_runpath=yes
22331
 
  ;;
22332
 
 
22333
 
nto-qnx*)
22334
 
  version_type=linux
22335
 
  need_lib_prefix=no
22336
 
  need_version=no
22337
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22338
 
  soname_spec='${libname}${release}${shared_ext}$major'
22339
 
  shlibpath_var=LD_LIBRARY_PATH
22340
 
  shlibpath_overrides_runpath=yes
22341
 
  ;;
22342
 
 
22343
 
openbsd*)
22344
 
  version_type=sunos
22345
 
  sys_lib_dlsearch_path_spec="/usr/lib"
22346
 
  need_lib_prefix=no
22347
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22348
 
  case $host_os in
22349
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22350
 
    *)                         need_version=no  ;;
22351
 
  esac
22352
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22353
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22354
 
  shlibpath_var=LD_LIBRARY_PATH
22355
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22356
 
    case $host_os in
22357
 
      openbsd2.[89] | openbsd2.[89].*)
22358
 
        shlibpath_overrides_runpath=no
22359
 
        ;;
22360
 
      *)
22361
 
        shlibpath_overrides_runpath=yes
22362
 
        ;;
22363
 
      esac
22364
 
  else
22365
 
    shlibpath_overrides_runpath=yes
22366
 
  fi
22367
 
  ;;
22368
 
 
22369
 
os2*)
22370
 
  libname_spec='$name'
22371
 
  shrext_cmds=".dll"
22372
 
  need_lib_prefix=no
22373
 
  library_names_spec='$libname${shared_ext} $libname.a'
22374
 
  dynamic_linker='OS/2 ld.exe'
22375
 
  shlibpath_var=LIBPATH
22376
 
  ;;
22377
 
 
22378
 
osf3* | osf4* | osf5*)
22379
 
  version_type=osf
22380
 
  need_lib_prefix=no
22381
 
  need_version=no
22382
 
  soname_spec='${libname}${release}${shared_ext}$major'
22383
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22384
 
  shlibpath_var=LD_LIBRARY_PATH
22385
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22386
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22387
 
  ;;
22388
 
 
22389
 
rdos*)
22390
 
  dynamic_linker=no
22391
 
  ;;
22392
 
 
22393
 
solaris*)
22394
 
  version_type=linux
22395
 
  need_lib_prefix=no
22396
 
  need_version=no
22397
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22398
 
  soname_spec='${libname}${release}${shared_ext}$major'
22399
 
  shlibpath_var=LD_LIBRARY_PATH
22400
 
  shlibpath_overrides_runpath=yes
22401
 
  hardcode_into_libs=yes
22402
 
  # ldd complains unless libraries are executable
22403
 
  postinstall_cmds='chmod +x $lib'
22404
 
  ;;
22405
 
 
22406
 
sunos4*)
22407
 
  version_type=sunos
22408
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22409
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22410
 
  shlibpath_var=LD_LIBRARY_PATH
22411
 
  shlibpath_overrides_runpath=yes
22412
 
  if test "$with_gnu_ld" = yes; then
22413
 
    need_lib_prefix=no
22414
 
  fi
22415
 
  need_version=yes
22416
 
  ;;
22417
 
 
22418
 
sysv4 | sysv4.3*)
22419
 
  version_type=linux
22420
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22421
 
  soname_spec='${libname}${release}${shared_ext}$major'
22422
 
  shlibpath_var=LD_LIBRARY_PATH
22423
 
  case $host_vendor in
22424
 
    sni)
22425
 
      shlibpath_overrides_runpath=no
22426
 
      need_lib_prefix=no
22427
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
22428
 
      runpath_var=LD_RUN_PATH
22429
 
      ;;
22430
 
    siemens)
22431
 
      need_lib_prefix=no
22432
 
      ;;
22433
 
    motorola)
22434
 
      need_lib_prefix=no
22435
 
      need_version=no
22436
 
      shlibpath_overrides_runpath=no
22437
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22438
 
      ;;
22439
 
  esac
22440
 
  ;;
22441
 
 
22442
 
sysv4*MP*)
22443
 
  if test -d /usr/nec ;then
22444
 
    version_type=linux
22445
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22446
 
    soname_spec='$libname${shared_ext}.$major'
22447
 
    shlibpath_var=LD_LIBRARY_PATH
22448
 
  fi
22449
 
  ;;
22450
 
 
22451
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22452
 
  version_type=freebsd-elf
22453
 
  need_lib_prefix=no
22454
 
  need_version=no
22455
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22456
 
  soname_spec='${libname}${release}${shared_ext}$major'
22457
 
  shlibpath_var=LD_LIBRARY_PATH
22458
 
  hardcode_into_libs=yes
22459
 
  if test "$with_gnu_ld" = yes; then
22460
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22461
 
    shlibpath_overrides_runpath=no
22462
 
  else
22463
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22464
 
    shlibpath_overrides_runpath=yes
22465
 
    case $host_os in
22466
 
      sco3.2v5*)
22467
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22468
 
        ;;
22469
 
    esac
22470
 
  fi
22471
 
  sys_lib_dlsearch_path_spec='/usr/lib'
22472
 
  ;;
22473
 
 
22474
 
uts4*)
22475
 
  version_type=linux
22476
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22477
 
  soname_spec='${libname}${release}${shared_ext}$major'
22478
 
  shlibpath_var=LD_LIBRARY_PATH
22479
 
  ;;
22480
 
 
22481
 
*)
22482
 
  dynamic_linker=no
22483
 
  ;;
22484
 
esac
22485
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22486
 
echo "${ECHO_T}$dynamic_linker" >&6; }
22487
 
test "$dynamic_linker" = no && can_build_shared=no
22488
 
 
22489
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22491
 
else
22492
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
22493
 
fi
22494
 
 
22495
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22496
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22497
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22498
 
else
22499
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
22500
 
fi
22501
 
 
22502
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22503
 
 
22504
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22505
 
if test "$GCC" = yes; then
22506
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22507
 
fi
22508
 
 
22509
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22510
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
22511
 
hardcode_action_GCJ=
22512
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
22513
 
   test -n "$runpath_var_GCJ" || \
22514
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
22515
 
 
22516
 
  # We can hardcode non-existant directories.
22517
 
  if test "$hardcode_direct_GCJ" != no &&
22518
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
22519
 
     # have to relink, otherwise we might link with an installed library
22520
 
     # when we should be linking with a yet-to-be-installed one
22521
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
22522
 
     test "$hardcode_minus_L_GCJ" != no; then
22523
 
    # Linking always hardcodes the temporary library directory.
22524
 
    hardcode_action_GCJ=relink
22525
 
  else
22526
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
22527
 
    hardcode_action_GCJ=immediate
22528
 
  fi
22529
 
else
22530
 
  # We cannot hardcode anything, or else we can only hardcode existing
22531
 
  # directories.
22532
 
  hardcode_action_GCJ=unsupported
22533
 
fi
22534
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
22535
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
22536
 
 
22537
 
if test "$hardcode_action_GCJ" = relink; then
22538
 
  # Fast installation is not supported
22539
 
  enable_fast_install=no
22540
 
elif test "$shlibpath_overrides_runpath" = yes ||
22541
 
     test "$enable_shared" = no; then
22542
 
  # Fast installation is not necessary
22543
 
  enable_fast_install=needless
22544
 
fi
22545
 
 
22546
 
 
22547
 
# The else clause should only fire when bootstrapping the
22548
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22549
 
# with your package, and you will get complaints that there are
22550
 
# no rules to generate ltmain.sh.
22551
 
if test -f "$ltmain"; then
22552
 
  # See if we are running on zsh, and set the options which allow our commands through
22553
 
  # without removal of \ escapes.
22554
 
  if test -n "${ZSH_VERSION+set}" ; then
22555
 
    setopt NO_GLOB_SUBST
22556
 
  fi
22557
 
  # Now quote all the things that may contain metacharacters while being
22558
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22559
 
  # variables and quote the copies for generation of the libtool script.
22560
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
22561
 
    SED SHELL STRIP \
22562
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22563
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22564
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22565
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22566
 
    lt_cv_sys_global_symbol_to_c_name_address \
22567
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22568
 
    old_postinstall_cmds old_postuninstall_cmds \
22569
 
    compiler_GCJ \
22570
 
    CC_GCJ \
22571
 
    LD_GCJ \
22572
 
    lt_prog_compiler_wl_GCJ \
22573
 
    lt_prog_compiler_pic_GCJ \
22574
 
    lt_prog_compiler_static_GCJ \
22575
 
    lt_prog_compiler_no_builtin_flag_GCJ \
22576
 
    export_dynamic_flag_spec_GCJ \
22577
 
    thread_safe_flag_spec_GCJ \
22578
 
    whole_archive_flag_spec_GCJ \
22579
 
    enable_shared_with_static_runtimes_GCJ \
22580
 
    old_archive_cmds_GCJ \
22581
 
    old_archive_from_new_cmds_GCJ \
22582
 
    predep_objects_GCJ \
22583
 
    postdep_objects_GCJ \
22584
 
    predeps_GCJ \
22585
 
    postdeps_GCJ \
22586
 
    compiler_lib_search_path_GCJ \
22587
 
    compiler_lib_search_dirs_GCJ \
22588
 
    archive_cmds_GCJ \
22589
 
    archive_expsym_cmds_GCJ \
22590
 
    postinstall_cmds_GCJ \
22591
 
    postuninstall_cmds_GCJ \
22592
 
    old_archive_from_expsyms_cmds_GCJ \
22593
 
    allow_undefined_flag_GCJ \
22594
 
    no_undefined_flag_GCJ \
22595
 
    export_symbols_cmds_GCJ \
22596
 
    hardcode_libdir_flag_spec_GCJ \
22597
 
    hardcode_libdir_flag_spec_ld_GCJ \
22598
 
    hardcode_libdir_separator_GCJ \
22599
 
    hardcode_automatic_GCJ \
22600
 
    module_cmds_GCJ \
22601
 
    module_expsym_cmds_GCJ \
22602
 
    lt_cv_prog_compiler_c_o_GCJ \
22603
 
    fix_srcfile_path_GCJ \
22604
 
    exclude_expsyms_GCJ \
22605
 
    include_expsyms_GCJ; do
22606
 
 
22607
 
    case $var in
22608
 
    old_archive_cmds_GCJ | \
22609
 
    old_archive_from_new_cmds_GCJ | \
22610
 
    archive_cmds_GCJ | \
22611
 
    archive_expsym_cmds_GCJ | \
22612
 
    module_cmds_GCJ | \
22613
 
    module_expsym_cmds_GCJ | \
22614
 
    old_archive_from_expsyms_cmds_GCJ | \
22615
 
    export_symbols_cmds_GCJ | \
22616
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22617
 
    postinstall_cmds | postuninstall_cmds | \
22618
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22619
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22620
 
      # Double-quote double-evaled strings.
22621
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22622
 
      ;;
22623
 
    *)
22624
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22625
 
      ;;
22626
 
    esac
22627
 
  done
22628
 
 
22629
 
  case $lt_echo in
22630
 
  *'\$0 --fallback-echo"')
22631
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22632
 
    ;;
22633
 
  esac
22634
 
 
22635
 
cfgfile="$ofile"
22636
 
 
22637
 
  cat <<__EOF__ >> "$cfgfile"
22638
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22639
 
 
22640
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22641
 
 
22642
 
# Shell to use when invoking shell scripts.
22643
 
SHELL=$lt_SHELL
22644
 
 
22645
 
# Whether or not to build shared libraries.
22646
 
build_libtool_libs=$enable_shared
22647
 
 
22648
 
# Whether or not to build static libraries.
22649
 
build_old_libs=$enable_static
22650
 
 
22651
 
# Whether or not to add -lc for building shared libraries.
22652
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
22653
 
 
22654
 
# Whether or not to disallow shared libs when runtime libs are static
22655
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
22656
 
 
22657
 
# Whether or not to optimize for fast installation.
22658
 
fast_install=$enable_fast_install
22659
 
 
22660
 
# The host system.
22661
 
host_alias=$host_alias
22662
 
host=$host
22663
 
host_os=$host_os
22664
 
 
22665
 
# The build system.
22666
 
build_alias=$build_alias
22667
 
build=$build
22668
 
build_os=$build_os
22669
 
 
22670
 
# An echo program that does not interpret backslashes.
22671
 
echo=$lt_echo
22672
 
 
22673
 
# The archiver.
22674
 
AR=$lt_AR
22675
 
AR_FLAGS=$lt_AR_FLAGS
22676
 
 
22677
 
# A C compiler.
22678
 
LTCC=$lt_LTCC
22679
 
 
22680
 
# LTCC compiler flags.
22681
 
LTCFLAGS=$lt_LTCFLAGS
22682
 
 
22683
 
# A language-specific compiler.
22684
 
CC=$lt_compiler_GCJ
22685
 
 
22686
 
# Is the compiler the GNU C compiler?
22687
 
with_gcc=$GCC_GCJ
22688
 
 
22689
 
# An ERE matcher.
22690
 
EGREP=$lt_EGREP
22691
 
 
22692
 
# The linker used to build libraries.
22693
 
LD=$lt_LD_GCJ
22694
 
 
22695
 
# Whether we need hard or soft links.
22696
 
LN_S=$lt_LN_S
22697
 
 
22698
 
# A BSD-compatible nm program.
22699
 
NM=$lt_NM
22700
 
 
22701
 
# A symbol stripping program
22702
 
STRIP=$lt_STRIP
22703
 
 
22704
 
# Used to examine libraries when file_magic_cmd begins "file"
22705
 
MAGIC_CMD=$MAGIC_CMD
22706
 
 
22707
 
# Used on cygwin: DLL creation program.
22708
 
DLLTOOL="$DLLTOOL"
22709
 
 
22710
 
# Used on cygwin: object dumper.
22711
 
OBJDUMP="$OBJDUMP"
22712
 
 
22713
 
# Used on cygwin: assembler.
22714
 
AS="$AS"
22715
 
 
22716
 
# The name of the directory that contains temporary libtool files.
22717
 
objdir=$objdir
22718
 
 
22719
 
# How to create reloadable object files.
22720
 
reload_flag=$lt_reload_flag
22721
 
reload_cmds=$lt_reload_cmds
22722
 
 
22723
 
# How to pass a linker flag through the compiler.
22724
 
wl=$lt_lt_prog_compiler_wl_GCJ
22725
 
 
22726
 
# Object file suffix (normally "o").
22727
 
objext="$ac_objext"
22728
 
 
22729
 
# Old archive suffix (normally "a").
22730
 
libext="$libext"
22731
 
 
22732
 
# Shared library suffix (normally ".so").
22733
 
shrext_cmds='$shrext_cmds'
22734
 
 
22735
 
# Executable file suffix (normally "").
22736
 
exeext="$exeext"
22737
 
 
22738
 
# Additional compiler flags for building library objects.
22739
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
22740
 
pic_mode=$pic_mode
22741
 
 
22742
 
# What is the maximum length of a command?
22743
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22744
 
 
22745
 
# Does compiler simultaneously support -c and -o options?
22746
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
22747
 
 
22748
 
# Must we lock files when doing compilation?
22749
 
need_locks=$lt_need_locks
22750
 
 
22751
 
# Do we need the lib prefix for modules?
22752
 
need_lib_prefix=$need_lib_prefix
22753
 
 
22754
 
# Do we need a version for libraries?
22755
 
need_version=$need_version
22756
 
 
22757
 
# Whether dlopen is supported.
22758
 
dlopen_support=$enable_dlopen
22759
 
 
22760
 
# Whether dlopen of programs is supported.
22761
 
dlopen_self=$enable_dlopen_self
22762
 
 
22763
 
# Whether dlopen of statically linked programs is supported.
22764
 
dlopen_self_static=$enable_dlopen_self_static
22765
 
 
22766
 
# Compiler flag to prevent dynamic linking.
22767
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
22768
 
 
22769
 
# Compiler flag to turn off builtin functions.
22770
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
22771
 
 
22772
 
# Compiler flag to allow reflexive dlopens.
22773
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
22774
 
 
22775
 
# Compiler flag to generate shared objects directly from archives.
22776
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
22777
 
 
22778
 
# Compiler flag to generate thread-safe objects.
22779
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
22780
 
 
22781
 
# Library versioning type.
22782
 
version_type=$version_type
22783
 
 
22784
 
# Format of library name prefix.
22785
 
libname_spec=$lt_libname_spec
22786
 
 
22787
 
# List of archive names.  First name is the real one, the rest are links.
22788
 
# The last name is the one that the linker finds with -lNAME.
22789
 
library_names_spec=$lt_library_names_spec
22790
 
 
22791
 
# The coded name of the library, if different from the real name.
22792
 
soname_spec=$lt_soname_spec
22793
 
 
22794
 
# Commands used to build and install an old-style archive.
22795
 
RANLIB=$lt_RANLIB
22796
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
22797
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22798
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22799
 
 
22800
 
# Create an old-style archive from a shared archive.
22801
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
22802
 
 
22803
 
# Create a temporary old-style archive to link instead of a shared archive.
22804
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
22805
 
 
22806
 
# Commands used to build and install a shared archive.
22807
 
archive_cmds=$lt_archive_cmds_GCJ
22808
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
22809
 
postinstall_cmds=$lt_postinstall_cmds
22810
 
postuninstall_cmds=$lt_postuninstall_cmds
22811
 
 
22812
 
# Commands used to build a loadable module (assumed same as above if empty)
22813
 
module_cmds=$lt_module_cmds_GCJ
22814
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
22815
 
 
22816
 
# Commands to strip libraries.
22817
 
old_striplib=$lt_old_striplib
22818
 
striplib=$lt_striplib
22819
 
 
22820
 
# Dependencies to place before the objects being linked to create a
22821
 
# shared library.
22822
 
predep_objects=$lt_predep_objects_GCJ
22823
 
 
22824
 
# Dependencies to place after the objects being linked to create a
22825
 
# shared library.
22826
 
postdep_objects=$lt_postdep_objects_GCJ
22827
 
 
22828
 
# Dependencies to place before the objects being linked to create a
22829
 
# shared library.
22830
 
predeps=$lt_predeps_GCJ
22831
 
 
22832
 
# Dependencies to place after the objects being linked to create a
22833
 
# shared library.
22834
 
postdeps=$lt_postdeps_GCJ
22835
 
 
22836
 
# The directories searched by this compiler when creating a shared
22837
 
# library
22838
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
22839
 
 
22840
 
# The library search path used internally by the compiler when linking
22841
 
# a shared library.
22842
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
22843
 
 
22844
 
# Method to check whether dependent libraries are shared objects.
22845
 
deplibs_check_method=$lt_deplibs_check_method
22846
 
 
22847
 
# Command to use when deplibs_check_method == file_magic.
22848
 
file_magic_cmd=$lt_file_magic_cmd
22849
 
 
22850
 
# Flag that allows shared libraries with undefined symbols to be built.
22851
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
22852
 
 
22853
 
# Flag that forces no undefined symbols.
22854
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
22855
 
 
22856
 
# Commands used to finish a libtool library installation in a directory.
22857
 
finish_cmds=$lt_finish_cmds
22858
 
 
22859
 
# Same as above, but a single script fragment to be evaled but not shown.
22860
 
finish_eval=$lt_finish_eval
22861
 
 
22862
 
# Take the output of nm and produce a listing of raw symbols and C names.
22863
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22864
 
 
22865
 
# Transform the output of nm in a proper C declaration
22866
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22867
 
 
22868
 
# Transform the output of nm in a C name address pair
22869
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22870
 
 
22871
 
# This is the shared library runtime path variable.
22872
 
runpath_var=$runpath_var
22873
 
 
22874
 
# This is the shared library path variable.
22875
 
shlibpath_var=$shlibpath_var
22876
 
 
22877
 
# Is shlibpath searched before the hard-coded library search path?
22878
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22879
 
 
22880
 
# How to hardcode a shared library path into an executable.
22881
 
hardcode_action=$hardcode_action_GCJ
22882
 
 
22883
 
# Whether we should hardcode library paths into libraries.
22884
 
hardcode_into_libs=$hardcode_into_libs
22885
 
 
22886
 
# Flag to hardcode \$libdir into a binary during linking.
22887
 
# This must work even if \$libdir does not exist.
22888
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22889
 
 
22890
 
# If ld is used when linking, flag to hardcode \$libdir into
22891
 
# a binary during linking. This must work even if \$libdir does
22892
 
# not exist.
22893
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22894
 
 
22895
 
# Whether we need a single -rpath flag with a separated argument.
22896
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22897
 
 
22898
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22899
 
# resulting binary.
22900
 
hardcode_direct=$hardcode_direct_GCJ
22901
 
 
22902
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22903
 
# resulting binary.
22904
 
hardcode_minus_L=$hardcode_minus_L_GCJ
22905
 
 
22906
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22907
 
# the resulting binary.
22908
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22909
 
 
22910
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22911
 
# and all subsequent libraries and executables linked against it.
22912
 
hardcode_automatic=$hardcode_automatic_GCJ
22913
 
 
22914
 
# Variables whose values should be saved in libtool wrapper scripts and
22915
 
# restored at relink time.
22916
 
variables_saved_for_relink="$variables_saved_for_relink"
22917
 
 
22918
 
# Whether libtool must link a program against all its dependency libraries.
22919
 
link_all_deplibs=$link_all_deplibs_GCJ
22920
 
 
22921
 
# Compile-time system search path for libraries
22922
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22923
 
 
22924
 
# Run-time system search path for libraries
22925
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22926
 
 
22927
 
# Fix the shell variable \$srcfile for the compiler.
22928
 
fix_srcfile_path=$lt_fix_srcfile_path
22929
 
 
22930
 
# Set to yes if exported symbols are required.
22931
 
always_export_symbols=$always_export_symbols_GCJ
22932
 
 
22933
 
# The commands to list exported symbols.
22934
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22935
 
 
22936
 
# The commands to extract the exported symbol list from a shared archive.
22937
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22938
 
 
22939
 
# Symbols that should not be listed in the preloaded symbols.
22940
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
22941
 
 
22942
 
# Symbols that must always be exported.
22943
 
include_expsyms=$lt_include_expsyms_GCJ
22944
 
 
22945
 
# ### END LIBTOOL TAG CONFIG: $tagname
22946
 
 
22947
 
__EOF__
22948
 
 
22949
 
 
22950
 
else
22951
 
  # If there is no Makefile yet, we rely on a make rule to execute
22952
 
  # `config.status --recheck' to rerun these tests and create the
22953
 
  # libtool script then.
22954
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22955
 
  if test -f "$ltmain_in"; then
22956
 
    test -f Makefile && make "$ltmain"
22957
 
  fi
22958
 
fi
22959
 
 
22960
 
 
22961
 
ac_ext=c
22962
 
ac_cpp='$CPP $CPPFLAGS'
22963
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22966
 
 
22967
 
CC="$lt_save_CC"
22968
 
 
22969
 
        else
22970
 
          tagname=""
22971
 
        fi
22972
 
        ;;
22973
 
 
22974
 
      RC)
22975
 
 
22976
 
 
22977
 
# Source file extension for RC test sources.
22978
 
ac_ext=rc
22979
 
 
22980
 
# Object file extension for compiled RC test sources.
22981
 
objext=o
22982
 
objext_RC=$objext
22983
 
 
22984
 
# Code to be used in simple compile tests
22985
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
22986
 
 
22987
 
# Code to be used in simple link tests
22988
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
22989
 
 
22990
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22991
 
 
22992
 
# If no C compiler was specified, use CC.
22993
 
LTCC=${LTCC-"$CC"}
22994
 
 
22995
 
# If no C compiler flags were specified, use CFLAGS.
22996
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
22997
 
 
22998
 
# Allow CC to be a program name with arguments.
22999
 
compiler=$CC
23000
 
 
23001
 
 
23002
 
# save warnings/boilerplate of simple test code
23003
 
ac_outfile=conftest.$ac_objext
23004
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23005
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23006
 
_lt_compiler_boilerplate=`cat conftest.err`
23007
 
$rm conftest*
23008
 
 
23009
 
ac_outfile=conftest.$ac_objext
23010
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
23011
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23012
 
_lt_linker_boilerplate=`cat conftest.err`
23013
 
$rm -r conftest*
23014
 
 
23015
 
 
23016
 
# Allow CC to be a program name with arguments.
23017
 
lt_save_CC="$CC"
23018
 
CC=${RC-"windres"}
23019
 
compiler=$CC
23020
 
compiler_RC=$CC
23021
 
for cc_temp in $compiler""; do
23022
 
  case $cc_temp in
23023
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23024
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23025
 
    \-*) ;;
23026
 
    *) break;;
23027
 
  esac
23028
 
done
23029
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23030
 
 
23031
 
lt_cv_prog_compiler_c_o_RC=yes
23032
 
 
23033
 
# The else clause should only fire when bootstrapping the
23034
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
23035
 
# with your package, and you will get complaints that there are
23036
 
# no rules to generate ltmain.sh.
23037
 
if test -f "$ltmain"; then
23038
 
  # See if we are running on zsh, and set the options which allow our commands through
23039
 
  # without removal of \ escapes.
23040
 
  if test -n "${ZSH_VERSION+set}" ; then
23041
 
    setopt NO_GLOB_SUBST
23042
 
  fi
23043
 
  # Now quote all the things that may contain metacharacters while being
23044
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
23045
 
  # variables and quote the copies for generation of the libtool script.
23046
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23047
 
    SED SHELL STRIP \
23048
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23049
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23050
 
    deplibs_check_method reload_flag reload_cmds need_locks \
23051
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23052
 
    lt_cv_sys_global_symbol_to_c_name_address \
23053
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23054
 
    old_postinstall_cmds old_postuninstall_cmds \
23055
 
    compiler_RC \
23056
 
    CC_RC \
23057
 
    LD_RC \
23058
 
    lt_prog_compiler_wl_RC \
23059
 
    lt_prog_compiler_pic_RC \
23060
 
    lt_prog_compiler_static_RC \
23061
 
    lt_prog_compiler_no_builtin_flag_RC \
23062
 
    export_dynamic_flag_spec_RC \
23063
 
    thread_safe_flag_spec_RC \
23064
 
    whole_archive_flag_spec_RC \
23065
 
    enable_shared_with_static_runtimes_RC \
23066
 
    old_archive_cmds_RC \
23067
 
    old_archive_from_new_cmds_RC \
23068
 
    predep_objects_RC \
23069
 
    postdep_objects_RC \
23070
 
    predeps_RC \
23071
 
    postdeps_RC \
23072
 
    compiler_lib_search_path_RC \
23073
 
    compiler_lib_search_dirs_RC \
23074
 
    archive_cmds_RC \
23075
 
    archive_expsym_cmds_RC \
23076
 
    postinstall_cmds_RC \
23077
 
    postuninstall_cmds_RC \
23078
 
    old_archive_from_expsyms_cmds_RC \
23079
 
    allow_undefined_flag_RC \
23080
 
    no_undefined_flag_RC \
23081
 
    export_symbols_cmds_RC \
23082
 
    hardcode_libdir_flag_spec_RC \
23083
 
    hardcode_libdir_flag_spec_ld_RC \
23084
 
    hardcode_libdir_separator_RC \
23085
 
    hardcode_automatic_RC \
23086
 
    module_cmds_RC \
23087
 
    module_expsym_cmds_RC \
23088
 
    lt_cv_prog_compiler_c_o_RC \
23089
 
    fix_srcfile_path_RC \
23090
 
    exclude_expsyms_RC \
23091
 
    include_expsyms_RC; do
23092
 
 
23093
 
    case $var in
23094
 
    old_archive_cmds_RC | \
23095
 
    old_archive_from_new_cmds_RC | \
23096
 
    archive_cmds_RC | \
23097
 
    archive_expsym_cmds_RC | \
23098
 
    module_cmds_RC | \
23099
 
    module_expsym_cmds_RC | \
23100
 
    old_archive_from_expsyms_cmds_RC | \
23101
 
    export_symbols_cmds_RC | \
23102
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
23103
 
    postinstall_cmds | postuninstall_cmds | \
23104
 
    old_postinstall_cmds | old_postuninstall_cmds | \
23105
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23106
 
      # Double-quote double-evaled strings.
23107
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23108
 
      ;;
23109
 
    *)
23110
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23111
 
      ;;
23112
 
    esac
23113
 
  done
23114
 
 
23115
 
  case $lt_echo in
23116
 
  *'\$0 --fallback-echo"')
23117
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23118
 
    ;;
23119
 
  esac
23120
 
 
23121
 
cfgfile="$ofile"
23122
 
 
23123
 
  cat <<__EOF__ >> "$cfgfile"
23124
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23125
 
 
23126
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23127
 
 
23128
 
# Shell to use when invoking shell scripts.
23129
 
SHELL=$lt_SHELL
23130
 
 
23131
 
# Whether or not to build shared libraries.
23132
 
build_libtool_libs=$enable_shared
23133
 
 
23134
 
# Whether or not to build static libraries.
23135
 
build_old_libs=$enable_static
23136
 
 
23137
 
# Whether or not to add -lc for building shared libraries.
23138
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
23139
 
 
23140
 
# Whether or not to disallow shared libs when runtime libs are static
23141
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
23142
 
 
23143
 
# Whether or not to optimize for fast installation.
23144
 
fast_install=$enable_fast_install
23145
 
 
23146
 
# The host system.
23147
 
host_alias=$host_alias
23148
 
host=$host
23149
 
host_os=$host_os
23150
 
 
23151
 
# The build system.
23152
 
build_alias=$build_alias
23153
 
build=$build
23154
 
build_os=$build_os
23155
 
 
23156
 
# An echo program that does not interpret backslashes.
23157
 
echo=$lt_echo
23158
 
 
23159
 
# The archiver.
23160
 
AR=$lt_AR
23161
 
AR_FLAGS=$lt_AR_FLAGS
23162
 
 
23163
 
# A C compiler.
23164
 
LTCC=$lt_LTCC
23165
 
 
23166
 
# LTCC compiler flags.
23167
 
LTCFLAGS=$lt_LTCFLAGS
23168
 
 
23169
 
# A language-specific compiler.
23170
 
CC=$lt_compiler_RC
23171
 
 
23172
 
# Is the compiler the GNU C compiler?
23173
 
with_gcc=$GCC_RC
23174
 
 
23175
 
# An ERE matcher.
23176
 
EGREP=$lt_EGREP
23177
 
 
23178
 
# The linker used to build libraries.
23179
 
LD=$lt_LD_RC
23180
 
 
23181
 
# Whether we need hard or soft links.
23182
 
LN_S=$lt_LN_S
23183
 
 
23184
 
# A BSD-compatible nm program.
23185
 
NM=$lt_NM
23186
 
 
23187
 
# A symbol stripping program
23188
 
STRIP=$lt_STRIP
23189
 
 
23190
 
# Used to examine libraries when file_magic_cmd begins "file"
23191
 
MAGIC_CMD=$MAGIC_CMD
23192
 
 
23193
 
# Used on cygwin: DLL creation program.
23194
 
DLLTOOL="$DLLTOOL"
23195
 
 
23196
 
# Used on cygwin: object dumper.
23197
 
OBJDUMP="$OBJDUMP"
23198
 
 
23199
 
# Used on cygwin: assembler.
23200
 
AS="$AS"
23201
 
 
23202
 
# The name of the directory that contains temporary libtool files.
23203
 
objdir=$objdir
23204
 
 
23205
 
# How to create reloadable object files.
23206
 
reload_flag=$lt_reload_flag
23207
 
reload_cmds=$lt_reload_cmds
23208
 
 
23209
 
# How to pass a linker flag through the compiler.
23210
 
wl=$lt_lt_prog_compiler_wl_RC
23211
 
 
23212
 
# Object file suffix (normally "o").
23213
 
objext="$ac_objext"
23214
 
 
23215
 
# Old archive suffix (normally "a").
23216
 
libext="$libext"
23217
 
 
23218
 
# Shared library suffix (normally ".so").
23219
 
shrext_cmds='$shrext_cmds'
23220
 
 
23221
 
# Executable file suffix (normally "").
23222
 
exeext="$exeext"
23223
 
 
23224
 
# Additional compiler flags for building library objects.
23225
 
pic_flag=$lt_lt_prog_compiler_pic_RC
23226
 
pic_mode=$pic_mode
23227
 
 
23228
 
# What is the maximum length of a command?
23229
 
max_cmd_len=$lt_cv_sys_max_cmd_len
23230
 
 
23231
 
# Does compiler simultaneously support -c and -o options?
23232
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
23233
 
 
23234
 
# Must we lock files when doing compilation?
23235
 
need_locks=$lt_need_locks
23236
 
 
23237
 
# Do we need the lib prefix for modules?
23238
 
need_lib_prefix=$need_lib_prefix
23239
 
 
23240
 
# Do we need a version for libraries?
23241
 
need_version=$need_version
23242
 
 
23243
 
# Whether dlopen is supported.
23244
 
dlopen_support=$enable_dlopen
23245
 
 
23246
 
# Whether dlopen of programs is supported.
23247
 
dlopen_self=$enable_dlopen_self
23248
 
 
23249
 
# Whether dlopen of statically linked programs is supported.
23250
 
dlopen_self_static=$enable_dlopen_self_static
23251
 
 
23252
 
# Compiler flag to prevent dynamic linking.
23253
 
link_static_flag=$lt_lt_prog_compiler_static_RC
23254
 
 
23255
 
# Compiler flag to turn off builtin functions.
23256
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
23257
 
 
23258
 
# Compiler flag to allow reflexive dlopens.
23259
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
23260
 
 
23261
 
# Compiler flag to generate shared objects directly from archives.
23262
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
23263
 
 
23264
 
# Compiler flag to generate thread-safe objects.
23265
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
23266
 
 
23267
 
# Library versioning type.
23268
 
version_type=$version_type
23269
 
 
23270
 
# Format of library name prefix.
23271
 
libname_spec=$lt_libname_spec
23272
 
 
23273
 
# List of archive names.  First name is the real one, the rest are links.
23274
 
# The last name is the one that the linker finds with -lNAME.
23275
 
library_names_spec=$lt_library_names_spec
23276
 
 
23277
 
# The coded name of the library, if different from the real name.
23278
 
soname_spec=$lt_soname_spec
23279
 
 
23280
 
# Commands used to build and install an old-style archive.
23281
 
RANLIB=$lt_RANLIB
23282
 
old_archive_cmds=$lt_old_archive_cmds_RC
23283
 
old_postinstall_cmds=$lt_old_postinstall_cmds
23284
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
23285
 
 
23286
 
# Create an old-style archive from a shared archive.
23287
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
23288
 
 
23289
 
# Create a temporary old-style archive to link instead of a shared archive.
23290
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
23291
 
 
23292
 
# Commands used to build and install a shared archive.
23293
 
archive_cmds=$lt_archive_cmds_RC
23294
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
23295
 
postinstall_cmds=$lt_postinstall_cmds
23296
 
postuninstall_cmds=$lt_postuninstall_cmds
23297
 
 
23298
 
# Commands used to build a loadable module (assumed same as above if empty)
23299
 
module_cmds=$lt_module_cmds_RC
23300
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
23301
 
 
23302
 
# Commands to strip libraries.
23303
 
old_striplib=$lt_old_striplib
23304
 
striplib=$lt_striplib
23305
 
 
23306
 
# Dependencies to place before the objects being linked to create a
23307
 
# shared library.
23308
 
predep_objects=$lt_predep_objects_RC
23309
 
 
23310
 
# Dependencies to place after the objects being linked to create a
23311
 
# shared library.
23312
 
postdep_objects=$lt_postdep_objects_RC
23313
 
 
23314
 
# Dependencies to place before the objects being linked to create a
23315
 
# shared library.
23316
 
predeps=$lt_predeps_RC
23317
 
 
23318
 
# Dependencies to place after the objects being linked to create a
23319
 
# shared library.
23320
 
postdeps=$lt_postdeps_RC
23321
 
 
23322
 
# The directories searched by this compiler when creating a shared
23323
 
# library
23324
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
23325
 
 
23326
 
# The library search path used internally by the compiler when linking
23327
 
# a shared library.
23328
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
23329
 
 
23330
 
# Method to check whether dependent libraries are shared objects.
23331
 
deplibs_check_method=$lt_deplibs_check_method
23332
 
 
23333
 
# Command to use when deplibs_check_method == file_magic.
23334
 
file_magic_cmd=$lt_file_magic_cmd
23335
 
 
23336
 
# Flag that allows shared libraries with undefined symbols to be built.
23337
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
23338
 
 
23339
 
# Flag that forces no undefined symbols.
23340
 
no_undefined_flag=$lt_no_undefined_flag_RC
23341
 
 
23342
 
# Commands used to finish a libtool library installation in a directory.
23343
 
finish_cmds=$lt_finish_cmds
23344
 
 
23345
 
# Same as above, but a single script fragment to be evaled but not shown.
23346
 
finish_eval=$lt_finish_eval
23347
 
 
23348
 
# Take the output of nm and produce a listing of raw symbols and C names.
23349
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23350
 
 
23351
 
# Transform the output of nm in a proper C declaration
23352
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23353
 
 
23354
 
# Transform the output of nm in a C name address pair
23355
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23356
 
 
23357
 
# This is the shared library runtime path variable.
23358
 
runpath_var=$runpath_var
23359
 
 
23360
 
# This is the shared library path variable.
23361
 
shlibpath_var=$shlibpath_var
23362
 
 
23363
 
# Is shlibpath searched before the hard-coded library search path?
23364
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23365
 
 
23366
 
# How to hardcode a shared library path into an executable.
23367
 
hardcode_action=$hardcode_action_RC
23368
 
 
23369
 
# Whether we should hardcode library paths into libraries.
23370
 
hardcode_into_libs=$hardcode_into_libs
23371
 
 
23372
 
# Flag to hardcode \$libdir into a binary during linking.
23373
 
# This must work even if \$libdir does not exist.
23374
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
23375
 
 
23376
 
# If ld is used when linking, flag to hardcode \$libdir into
23377
 
# a binary during linking. This must work even if \$libdir does
23378
 
# not exist.
23379
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
23380
 
 
23381
 
# Whether we need a single -rpath flag with a separated argument.
23382
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
23383
 
 
23384
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23385
 
# resulting binary.
23386
 
hardcode_direct=$hardcode_direct_RC
23387
 
 
23388
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23389
 
# resulting binary.
23390
 
hardcode_minus_L=$hardcode_minus_L_RC
23391
 
 
23392
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23393
 
# the resulting binary.
23394
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
23395
 
 
23396
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
23397
 
# and all subsequent libraries and executables linked against it.
23398
 
hardcode_automatic=$hardcode_automatic_RC
23399
 
 
23400
 
# Variables whose values should be saved in libtool wrapper scripts and
23401
 
# restored at relink time.
23402
 
variables_saved_for_relink="$variables_saved_for_relink"
23403
 
 
23404
 
# Whether libtool must link a program against all its dependency libraries.
23405
 
link_all_deplibs=$link_all_deplibs_RC
23406
 
 
23407
 
# Compile-time system search path for libraries
23408
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23409
 
 
23410
 
# Run-time system search path for libraries
23411
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23412
 
 
23413
 
# Fix the shell variable \$srcfile for the compiler.
23414
 
fix_srcfile_path=$lt_fix_srcfile_path
23415
 
 
23416
 
# Set to yes if exported symbols are required.
23417
 
always_export_symbols=$always_export_symbols_RC
23418
 
 
23419
 
# The commands to list exported symbols.
23420
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
23421
 
 
23422
 
# The commands to extract the exported symbol list from a shared archive.
23423
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
23424
 
 
23425
 
# Symbols that should not be listed in the preloaded symbols.
23426
 
exclude_expsyms=$lt_exclude_expsyms_RC
23427
 
 
23428
 
# Symbols that must always be exported.
23429
 
include_expsyms=$lt_include_expsyms_RC
23430
 
 
23431
 
# ### END LIBTOOL TAG CONFIG: $tagname
23432
 
 
23433
 
__EOF__
23434
 
 
23435
 
 
23436
 
else
23437
 
  # If there is no Makefile yet, we rely on a make rule to execute
23438
 
  # `config.status --recheck' to rerun these tests and create the
23439
 
  # libtool script then.
23440
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23441
 
  if test -f "$ltmain_in"; then
23442
 
    test -f Makefile && make "$ltmain"
23443
 
  fi
23444
 
fi
23445
 
 
23446
 
 
23447
 
ac_ext=c
23448
 
ac_cpp='$CPP $CPPFLAGS'
23449
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23452
 
 
23453
 
CC="$lt_save_CC"
23454
 
 
23455
 
        ;;
23456
 
 
23457
 
      *)
23458
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
23459
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
23460
 
   { (exit 1); exit 1; }; }
23461
 
        ;;
23462
 
      esac
23463
 
 
23464
 
      # Append the new tag name to the list of available tags.
23465
 
      if test -n "$tagname" ; then
23466
 
      available_tags="$available_tags $tagname"
23467
 
    fi
23468
 
    fi
23469
 
  done
23470
 
  IFS="$lt_save_ifs"
23471
 
 
23472
 
  # Now substitute the updated list of available tags.
23473
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
23474
 
    mv "${ofile}T" "$ofile"
23475
 
    chmod +x "$ofile"
23476
 
  else
23477
 
    rm -f "${ofile}T"
23478
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
23479
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
23480
 
   { (exit 1); exit 1; }; }
23481
 
  fi
23482
 
fi
23483
 
 
23484
 
 
23485
 
 
23486
 
# This can be used to rebuild libtool when needed
23487
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
23488
 
 
23489
 
# Always use our own libtool.
23490
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
23491
 
 
23492
 
# Prevent multiple expansion
23493
 
 
23494
 
 
23495
 
 
23496
 
 
23497
 
 
23498
 
 
23499
 
 
23500
 
 
23501
 
 
23502
 
 
23503
 
 
23504
 
 
23505
 
 
23506
 
 
23507
 
 
23508
 
 
23509
 
 
23510
 
 
 
15041
 
 
15042
 
 
15043
 
 
15044
 
 
15045
 
 
15046
 
 
15047
 
 
15048
 
 
15049
 
 
15050
 
 
15051
 
 
15052
 
 
15053
 
 
15054
 
 
15055
 
 
15056
striplib=
 
15057
old_striplib=
 
15058
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
15059
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
15060
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
15061
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
15062
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
15063
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15064
$as_echo "yes" >&6; }
 
15065
else
 
15066
# FIXME - insert some real tests, host_os isn't really good enough
 
15067
  case $host_os in
 
15068
  darwin*)
 
15069
    if test -n "$STRIP" ; then
 
15070
      striplib="$STRIP -x"
 
15071
      old_striplib="$STRIP -S"
 
15072
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15073
$as_echo "yes" >&6; }
 
15074
    else
 
15075
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
15076
$as_echo "no" >&6; }
 
15077
    fi
 
15078
    ;;
 
15079
  *)
 
15080
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
15081
$as_echo "no" >&6; }
 
15082
    ;;
 
15083
  esac
 
15084
fi
 
15085
 
 
15086
 
 
15087
 
 
15088
 
 
15089
 
 
15090
 
 
15091
 
 
15092
 
 
15093
 
 
15094
 
 
15095
 
 
15096
 
 
15097
  # Report which library types will actually be built
 
15098
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
15099
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
15100
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
15101
$as_echo "$can_build_shared" >&6; }
 
15102
 
 
15103
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
15104
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
15105
  test "$can_build_shared" = "no" && enable_shared=no
 
15106
 
 
15107
  # On AIX, shared libraries and static libraries use the same namespace, and
 
15108
  # are all built from PIC.
 
15109
  case $host_os in
 
15110
  aix3*)
 
15111
    test "$enable_shared" = yes && enable_static=no
 
15112
    if test -n "$RANLIB"; then
 
15113
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
15114
      postinstall_cmds='$RANLIB $lib'
 
15115
    fi
 
15116
    ;;
 
15117
 
 
15118
  aix[4-9]*)
 
15119
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
15120
      test "$enable_shared" = yes && enable_static=no
 
15121
    fi
 
15122
    ;;
 
15123
  esac
 
15124
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
15125
$as_echo "$enable_shared" >&6; }
 
15126
 
 
15127
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
15128
$as_echo_n "checking whether to build static libraries... " >&6; }
 
15129
  # Make sure either enable_shared or enable_static is yes.
 
15130
  test "$enable_shared" = yes || enable_static=yes
 
15131
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
15132
$as_echo "$enable_static" >&6; }
 
15133
 
 
15134
 
 
15135
 
 
15136
 
 
15137
fi
 
15138
ac_ext=c
 
15139
ac_cpp='$CPP $CPPFLAGS'
 
15140
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15141
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15142
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15143
 
 
15144
CC="$lt_save_CC"
 
15145
 
 
15146
 
 
15147
 
 
15148
 
 
15149
 
 
15150
 
 
15151
 
 
15152
 
 
15153
 
 
15154
 
 
15155
 
 
15156
 
 
15157
 
 
15158
        ac_config_commands="$ac_config_commands libtool"
 
15159
 
 
15160
 
 
15161
 
 
15162
 
 
15163
# Only expand once:
 
15164
 
 
15165
 
 
15166
 
 
15167
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
 
15168
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 
15169
  else
 
15170
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
 
15171
  fi
 
15172
 
 
15173
 
 
15174
# Check whether --with-gconf-source was given.
 
15175
if test "${with_gconf_source+set}" = set; then
 
15176
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
 
15177
fi
 
15178
 
 
15179
 
 
15180
 
 
15181
  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
15182
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
 
15183
 
 
15184
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
 
15185
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
 
15186
  fi
 
15187
 
 
15188
 
 
15189
# Check whether --with-gconf-schema-file-dir was given.
 
15190
if test "${with_gconf_schema_file_dir+set}" = set; then
 
15191
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
 
15192
fi
 
15193
 
 
15194
 
 
15195
 
 
15196
  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
15197
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
 
15198
 
 
15199
  # Check whether --enable-schemas-install was given.
 
15200
if test "${enable_schemas_install+set}" = set; then
 
15201
  enableval=$enable_schemas_install; case ${enableval} in
 
15202
       yes|no) ;;
 
15203
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
 
15204
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
 
15205
   { (exit 1); exit 1; }; } ;;
 
15206
      esac
 
15207
fi
 
15208
 
 
15209
 
 
15210
 
 
15211
if test "$enable_schemas_install" != no; then
 
15212
  GCONF_SCHEMAS_INSTALL_TRUE=
 
15213
  GCONF_SCHEMAS_INSTALL_FALSE='#'
 
15214
else
 
15215
  GCONF_SCHEMAS_INSTALL_TRUE='#'
 
15216
  GCONF_SCHEMAS_INSTALL_FALSE=
 
15217
fi
 
15218
 
 
15219
 
 
15220
# Extract the first word of "glib-mkenums", so it can be a program name with args.
 
15221
set dummy glib-mkenums; ac_word=$2
 
15222
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15223
$as_echo_n "checking for $ac_word... " >&6; }
 
15224
if test "${ac_cv_path_GLIB_MKENUMS+set}" = set; then
 
15225
  $as_echo_n "(cached) " >&6
 
15226
else
 
15227
  case $GLIB_MKENUMS in
 
15228
  [\\/]* | ?:[\\/]*)
 
15229
  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
 
15230
  ;;
 
15231
  *)
 
15232
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15233
for as_dir in $PATH
 
15234
do
 
15235
  IFS=$as_save_IFS
 
15236
  test -z "$as_dir" && as_dir=.
 
15237
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15239
    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
 
15240
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15241
    break 2
 
15242
  fi
 
15243
done
 
15244
done
 
15245
IFS=$as_save_IFS
 
15246
 
 
15247
  ;;
 
15248
esac
 
15249
fi
 
15250
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
 
15251
if test -n "$GLIB_MKENUMS"; then
 
15252
  { $as_echo "$as_me:$LINENO: result: $GLIB_MKENUMS" >&5
 
15253
$as_echo "$GLIB_MKENUMS" >&6; }
 
15254
else
 
15255
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15256
$as_echo "no" >&6; }
 
15257
fi
23511
15258
 
23512
15259
 
23513
15260
 
23517
15264
        if test -n "$ac_tool_prefix"; then
23518
15265
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23519
15266
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23520
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23521
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15267
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15268
$as_echo_n "checking for $ac_word... " >&6; }
23522
15269
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23523
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15270
  $as_echo_n "(cached) " >&6
23524
15271
else
23525
15272
  case $PKG_CONFIG in
23526
15273
  [\\/]* | ?:[\\/]*)
23535
15282
  for ac_exec_ext in '' $ac_executable_extensions; do
23536
15283
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23537
15284
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23538
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15285
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23539
15286
    break 2
23540
15287
  fi
23541
15288
done
23547
15294
fi
23548
15295
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23549
15296
if test -n "$PKG_CONFIG"; then
23550
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23551
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
15297
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
15298
$as_echo "$PKG_CONFIG" >&6; }
23552
15299
else
23553
 
  { echo "$as_me:$LINENO: result: no" >&5
23554
 
echo "${ECHO_T}no" >&6; }
 
15300
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15301
$as_echo "no" >&6; }
23555
15302
fi
23556
15303
 
23557
15304
 
23560
15307
  ac_pt_PKG_CONFIG=$PKG_CONFIG
23561
15308
  # Extract the first word of "pkg-config", so it can be a program name with args.
23562
15309
set dummy pkg-config; ac_word=$2
23563
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23564
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15310
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15311
$as_echo_n "checking for $ac_word... " >&6; }
23565
15312
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
23566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15313
  $as_echo_n "(cached) " >&6
23567
15314
else
23568
15315
  case $ac_pt_PKG_CONFIG in
23569
15316
  [\\/]* | ?:[\\/]*)
23578
15325
  for ac_exec_ext in '' $ac_executable_extensions; do
23579
15326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23580
15327
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23581
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15328
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23582
15329
    break 2
23583
15330
  fi
23584
15331
done
23590
15337
fi
23591
15338
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23592
15339
if test -n "$ac_pt_PKG_CONFIG"; then
23593
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23594
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
15340
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
15341
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
23595
15342
else
23596
 
  { echo "$as_me:$LINENO: result: no" >&5
23597
 
echo "${ECHO_T}no" >&6; }
 
15343
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15344
$as_echo "no" >&6; }
23598
15345
fi
23599
15346
 
23600
15347
  if test "x$ac_pt_PKG_CONFIG" = x; then
23602
15349
  else
23603
15350
    case $cross_compiling:$ac_tool_warned in
23604
15351
yes:)
23605
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23606
 
whose name does not start with the host triplet.  If you think this
23607
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
23608
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23609
 
whose name does not start with the host triplet.  If you think this
23610
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
15352
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15353
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23611
15354
ac_tool_warned=yes ;;
23612
15355
esac
23613
15356
    PKG_CONFIG=$ac_pt_PKG_CONFIG
23619
15362
fi
23620
15363
if test -n "$PKG_CONFIG"; then
23621
15364
        _pkg_min_version=0.9.0
23622
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23623
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
15365
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
15366
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
23624
15367
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23625
 
                { echo "$as_me:$LINENO: result: yes" >&5
23626
 
echo "${ECHO_T}yes" >&6; }
 
15368
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15369
$as_echo "yes" >&6; }
23627
15370
        else
23628
 
                { echo "$as_me:$LINENO: result: no" >&5
23629
 
echo "${ECHO_T}no" >&6; }
 
15371
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
15372
$as_echo "no" >&6; }
23630
15373
                PKG_CONFIG=""
23631
15374
        fi
23632
15375
 
23633
15376
fi
23634
15377
 
23635
15378
pkg_failed=no
23636
 
{ echo "$as_me:$LINENO: checking for STANDARD" >&5
23637
 
echo $ECHO_N "checking for STANDARD... $ECHO_C" >&6; }
 
15379
{ $as_echo "$as_me:$LINENO: checking for STANDARD" >&5
 
15380
$as_echo_n "checking for STANDARD... " >&6; }
23638
15381
 
23639
 
if test -n "$PKG_CONFIG"; then
23640
 
    if test -n "$STANDARD_CFLAGS"; then
23641
 
        pkg_cv_STANDARD_CFLAGS="$STANDARD_CFLAGS"
23642
 
    else
23643
 
        if test -n "$PKG_CONFIG" && \
23644
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo\"") >&5
23645
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo") 2>&5
23646
 
  ac_status=$?
23647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648
 
  (exit $ac_status); }; then
23649
 
  pkg_cv_STANDARD_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo" 2>/dev/null`
23650
 
else
23651
 
  pkg_failed=yes
23652
 
fi
23653
 
    fi
23654
 
else
23655
 
        pkg_failed=untried
23656
 
fi
23657
 
if test -n "$PKG_CONFIG"; then
23658
 
    if test -n "$STANDARD_LIBS"; then
23659
 
        pkg_cv_STANDARD_LIBS="$STANDARD_LIBS"
23660
 
    else
23661
 
        if test -n "$PKG_CONFIG" && \
23662
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo\"") >&5
23663
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo") 2>&5
23664
 
  ac_status=$?
23665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666
 
  (exit $ac_status); }; then
23667
 
  pkg_cv_STANDARD_LIBS=`$PKG_CONFIG --libs "glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo" 2>/dev/null`
23668
 
else
23669
 
  pkg_failed=yes
23670
 
fi
23671
 
    fi
23672
 
else
23673
 
        pkg_failed=untried
 
15382
if test -n "$STANDARD_CFLAGS"; then
 
15383
    pkg_cv_STANDARD_CFLAGS="$STANDARD_CFLAGS"
 
15384
 elif test -n "$PKG_CONFIG"; then
 
15385
    if test -n "$PKG_CONFIG" && \
 
15386
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2\"") >&5
 
15387
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2") 2>&5
 
15388
  ac_status=$?
 
15389
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15390
  (exit $ac_status); }; then
 
15391
  pkg_cv_STANDARD_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2" 2>/dev/null`
 
15392
else
 
15393
  pkg_failed=yes
 
15394
fi
 
15395
 else
 
15396
    pkg_failed=untried
 
15397
fi
 
15398
if test -n "$STANDARD_LIBS"; then
 
15399
    pkg_cv_STANDARD_LIBS="$STANDARD_LIBS"
 
15400
 elif test -n "$PKG_CONFIG"; then
 
15401
    if test -n "$PKG_CONFIG" && \
 
15402
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2\"") >&5
 
15403
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2") 2>&5
 
15404
  ac_status=$?
 
15405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15406
  (exit $ac_status); }; then
 
15407
  pkg_cv_STANDARD_LIBS=`$PKG_CONFIG --libs "glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2" 2>/dev/null`
 
15408
else
 
15409
  pkg_failed=yes
 
15410
fi
 
15411
 else
 
15412
    pkg_failed=untried
23674
15413
fi
23675
15414
 
23676
15415
 
23683
15422
        _pkg_short_errors_supported=no
23684
15423
fi
23685
15424
        if test $_pkg_short_errors_supported = yes; then
23686
 
                STANDARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo"`
 
15425
                STANDARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2" 2>&1`
23687
15426
        else
23688
 
                STANDARD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo"`
 
15427
                STANDARD_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2" 2>&1`
23689
15428
        fi
23690
15429
        # Put the nasty error message in config.log where it belongs
23691
15430
        echo "$STANDARD_PKG_ERRORS" >&5
23692
15431
 
23693
 
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo) were not met:
 
15432
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2) were not met:
23694
15433
 
23695
15434
$STANDARD_PKG_ERRORS
23696
15435
 
23701
15440
and STANDARD_LIBS to avoid the need to call pkg-config.
23702
15441
See the pkg-config man page for more details.
23703
15442
" >&5
23704
 
echo "$as_me: error: Package requirements (glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0 cairo) were not met:
 
15443
$as_echo "$as_me: error: Package requirements (glib-2.0 gtk+-2.0 >= 2.14 gmodule-2.0 gio-2.0 sqlite3 cairo gconf-2.0 atk libecal-1.2 libedataserver-1.2 libedataserverui-1.2) were not met:
23705
15444
 
23706
15445
$STANDARD_PKG_ERRORS
23707
15446
 
23714
15453
" >&2;}
23715
15454
   { (exit 1); exit 1; }; }
23716
15455
elif test $pkg_failed = untried; then
23717
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15456
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15457
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15458
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23718
15459
is in your PATH or set the PKG_CONFIG environment variable to the full
23719
15460
path to pkg-config.
23720
15461
 
23724
15465
 
23725
15466
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23726
15467
See \`config.log' for more details." >&5
23727
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
15468
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23728
15469
is in your PATH or set the PKG_CONFIG environment variable to the full
23729
15470
path to pkg-config.
23730
15471
 
23734
15475
 
23735
15476
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23736
15477
See \`config.log' for more details." >&2;}
23737
 
   { (exit 1); exit 1; }; }
 
15478
   { (exit 1); exit 1; }; }; }
23738
15479
else
23739
15480
        STANDARD_CFLAGS=$pkg_cv_STANDARD_CFLAGS
23740
15481
        STANDARD_LIBS=$pkg_cv_STANDARD_LIBS
23741
 
        { echo "$as_me:$LINENO: result: yes" >&5
23742
 
echo "${ECHO_T}yes" >&6; }
23743
 
        :
23744
 
fi
23745
 
 
23746
 
 
 
15482
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15483
$as_echo "yes" >&6; }
 
15484
        :
 
15485
fi
 
15486
 
 
15487
 
 
15488
 
 
15489
if test $spell_checking = "true"; then
 
15490
 
 
15491
pkg_failed=no
 
15492
{ $as_echo "$as_me:$LINENO: checking for SPELL_CHECKING" >&5
 
15493
$as_echo_n "checking for SPELL_CHECKING... " >&6; }
 
15494
 
 
15495
if test -n "$SPELL_CHECKING_CFLAGS"; then
 
15496
    pkg_cv_SPELL_CHECKING_CFLAGS="$SPELL_CHECKING_CFLAGS"
 
15497
 elif test -n "$PKG_CONFIG"; then
 
15498
    if test -n "$PKG_CONFIG" && \
 
15499
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0\"") >&5
 
15500
  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0") 2>&5
 
15501
  ac_status=$?
 
15502
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15503
  (exit $ac_status); }; then
 
15504
  pkg_cv_SPELL_CHECKING_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0" 2>/dev/null`
 
15505
else
 
15506
  pkg_failed=yes
 
15507
fi
 
15508
 else
 
15509
    pkg_failed=untried
 
15510
fi
 
15511
if test -n "$SPELL_CHECKING_LIBS"; then
 
15512
    pkg_cv_SPELL_CHECKING_LIBS="$SPELL_CHECKING_LIBS"
 
15513
 elif test -n "$PKG_CONFIG"; then
 
15514
    if test -n "$PKG_CONFIG" && \
 
15515
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0\"") >&5
 
15516
  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0") 2>&5
 
15517
  ac_status=$?
 
15518
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15519
  (exit $ac_status); }; then
 
15520
  pkg_cv_SPELL_CHECKING_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0" 2>/dev/null`
 
15521
else
 
15522
  pkg_failed=yes
 
15523
fi
 
15524
 else
 
15525
    pkg_failed=untried
 
15526
fi
 
15527
 
 
15528
 
 
15529
 
 
15530
if test $pkg_failed = yes; then
 
15531
 
 
15532
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15533
        _pkg_short_errors_supported=yes
 
15534
else
 
15535
        _pkg_short_errors_supported=no
 
15536
fi
 
15537
        if test $_pkg_short_errors_supported = yes; then
 
15538
                SPELL_CHECKING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkspell-2.0" 2>&1`
 
15539
        else
 
15540
                SPELL_CHECKING_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkspell-2.0" 2>&1`
 
15541
        fi
 
15542
        # Put the nasty error message in config.log where it belongs
 
15543
        echo "$SPELL_CHECKING_PKG_ERRORS" >&5
 
15544
 
 
15545
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtkspell-2.0) were not met:
 
15546
 
 
15547
$SPELL_CHECKING_PKG_ERRORS
 
15548
 
 
15549
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15550
installed software in a non-standard prefix.
 
15551
 
 
15552
Alternatively, you may set the environment variables SPELL_CHECKING_CFLAGS
 
15553
and SPELL_CHECKING_LIBS to avoid the need to call pkg-config.
 
15554
See the pkg-config man page for more details.
 
15555
" >&5
 
15556
$as_echo "$as_me: error: Package requirements (gtkspell-2.0) were not met:
 
15557
 
 
15558
$SPELL_CHECKING_PKG_ERRORS
 
15559
 
 
15560
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15561
installed software in a non-standard prefix.
 
15562
 
 
15563
Alternatively, you may set the environment variables SPELL_CHECKING_CFLAGS
 
15564
and SPELL_CHECKING_LIBS to avoid the need to call pkg-config.
 
15565
See the pkg-config man page for more details.
 
15566
" >&2;}
 
15567
   { (exit 1); exit 1; }; }
 
15568
elif test $pkg_failed = untried; then
 
15569
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15570
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15571
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15572
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15573
path to pkg-config.
 
15574
 
 
15575
Alternatively, you may set the environment variables SPELL_CHECKING_CFLAGS
 
15576
and SPELL_CHECKING_LIBS to avoid the need to call pkg-config.
 
15577
See the pkg-config man page for more details.
 
15578
 
 
15579
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15580
See \`config.log' for more details." >&5
 
15581
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
15582
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15583
path to pkg-config.
 
15584
 
 
15585
Alternatively, you may set the environment variables SPELL_CHECKING_CFLAGS
 
15586
and SPELL_CHECKING_LIBS to avoid the need to call pkg-config.
 
15587
See the pkg-config man page for more details.
 
15588
 
 
15589
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15590
See \`config.log' for more details." >&2;}
 
15591
   { (exit 1); exit 1; }; }; }
 
15592
else
 
15593
        SPELL_CHECKING_CFLAGS=$pkg_cv_SPELL_CHECKING_CFLAGS
 
15594
        SPELL_CHECKING_LIBS=$pkg_cv_SPELL_CHECKING_LIBS
 
15595
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15596
$as_echo "yes" >&6; }
 
15597
        :
 
15598
fi
 
15599
 
 
15600
 
 
15601
fi
23747
15602
 
23748
15603
if test $encryption = "true"; then
23749
15604
 
23750
15605
pkg_failed=no
23751
 
{ echo "$as_me:$LINENO: checking for ENCRYPTION" >&5
23752
 
echo $ECHO_N "checking for ENCRYPTION... $ECHO_C" >&6; }
 
15606
{ $as_echo "$as_me:$LINENO: checking for ENCRYPTION" >&5
 
15607
$as_echo_n "checking for ENCRYPTION... " >&6; }
23753
15608
 
23754
 
if test -n "$PKG_CONFIG"; then
23755
 
    if test -n "$ENCRYPTION_CFLAGS"; then
23756
 
        pkg_cv_ENCRYPTION_CFLAGS="$ENCRYPTION_CFLAGS"
23757
 
    else
23758
 
        if test -n "$PKG_CONFIG" && \
23759
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
23760
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
23761
 
  ac_status=$?
23762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763
 
  (exit $ac_status); }; then
23764
 
  pkg_cv_ENCRYPTION_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
23765
 
else
23766
 
  pkg_failed=yes
23767
 
fi
23768
 
    fi
23769
 
else
23770
 
        pkg_failed=untried
23771
 
fi
23772
 
if test -n "$PKG_CONFIG"; then
23773
 
    if test -n "$ENCRYPTION_LIBS"; then
23774
 
        pkg_cv_ENCRYPTION_LIBS="$ENCRYPTION_LIBS"
23775
 
    else
23776
 
        if test -n "$PKG_CONFIG" && \
23777
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
23778
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
23779
 
  ac_status=$?
23780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781
 
  (exit $ac_status); }; then
23782
 
  pkg_cv_ENCRYPTION_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
23783
 
else
23784
 
  pkg_failed=yes
23785
 
fi
23786
 
    fi
23787
 
else
23788
 
        pkg_failed=untried
 
15609
if test -n "$ENCRYPTION_CFLAGS"; then
 
15610
    pkg_cv_ENCRYPTION_CFLAGS="$ENCRYPTION_CFLAGS"
 
15611
 elif test -n "$PKG_CONFIG"; then
 
15612
    if test -n "$PKG_CONFIG" && \
 
15613
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cryptui-0.0\"") >&5
 
15614
  ($PKG_CONFIG --exists --print-errors "cryptui-0.0") 2>&5
 
15615
  ac_status=$?
 
15616
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15617
  (exit $ac_status); }; then
 
15618
  pkg_cv_ENCRYPTION_CFLAGS=`$PKG_CONFIG --cflags "cryptui-0.0" 2>/dev/null`
 
15619
else
 
15620
  pkg_failed=yes
 
15621
fi
 
15622
 else
 
15623
    pkg_failed=untried
 
15624
fi
 
15625
if test -n "$ENCRYPTION_LIBS"; then
 
15626
    pkg_cv_ENCRYPTION_LIBS="$ENCRYPTION_LIBS"
 
15627
 elif test -n "$PKG_CONFIG"; then
 
15628
    if test -n "$PKG_CONFIG" && \
 
15629
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cryptui-0.0\"") >&5
 
15630
  ($PKG_CONFIG --exists --print-errors "cryptui-0.0") 2>&5
 
15631
  ac_status=$?
 
15632
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15633
  (exit $ac_status); }; then
 
15634
  pkg_cv_ENCRYPTION_LIBS=`$PKG_CONFIG --libs "cryptui-0.0" 2>/dev/null`
 
15635
else
 
15636
  pkg_failed=yes
 
15637
fi
 
15638
 else
 
15639
    pkg_failed=untried
23789
15640
fi
23790
15641
 
23791
15642
 
23798
15649
        _pkg_short_errors_supported=no
23799
15650
fi
23800
15651
        if test $_pkg_short_errors_supported = yes; then
23801
 
                ENCRYPTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-2.0"`
 
15652
                ENCRYPTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cryptui-0.0" 2>&1`
23802
15653
        else
23803
 
                ENCRYPTION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0"`
 
15654
                ENCRYPTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "cryptui-0.0" 2>&1`
23804
15655
        fi
23805
15656
        # Put the nasty error message in config.log where it belongs
23806
15657
        echo "$ENCRYPTION_PKG_ERRORS" >&5
23807
15658
 
23808
 
        { { echo "$as_me:$LINENO: error: Package requirements (gconf-2.0) were not met:
 
15659
        { { $as_echo "$as_me:$LINENO: error: Package requirements (cryptui-0.0) were not met:
23809
15660
 
23810
15661
$ENCRYPTION_PKG_ERRORS
23811
15662
 
23816
15667
and ENCRYPTION_LIBS to avoid the need to call pkg-config.
23817
15668
See the pkg-config man page for more details.
23818
15669
" >&5
23819
 
echo "$as_me: error: Package requirements (gconf-2.0) were not met:
 
15670
$as_echo "$as_me: error: Package requirements (cryptui-0.0) were not met:
23820
15671
 
23821
15672
$ENCRYPTION_PKG_ERRORS
23822
15673
 
23829
15680
" >&2;}
23830
15681
   { (exit 1); exit 1; }; }
23831
15682
elif test $pkg_failed = untried; then
23832
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15683
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15684
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15685
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23833
15686
is in your PATH or set the PKG_CONFIG environment variable to the full
23834
15687
path to pkg-config.
23835
15688
 
23839
15692
 
23840
15693
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23841
15694
See \`config.log' for more details." >&5
23842
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
15695
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23843
15696
is in your PATH or set the PKG_CONFIG environment variable to the full
23844
15697
path to pkg-config.
23845
15698
 
23849
15702
 
23850
15703
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23851
15704
See \`config.log' for more details." >&2;}
23852
 
   { (exit 1); exit 1; }; }
 
15705
   { (exit 1); exit 1; }; }; }
23853
15706
else
23854
15707
        ENCRYPTION_CFLAGS=$pkg_cv_ENCRYPTION_CFLAGS
23855
15708
        ENCRYPTION_LIBS=$pkg_cv_ENCRYPTION_LIBS
23856
 
        { echo "$as_me:$LINENO: result: yes" >&5
23857
 
echo "${ECHO_T}yes" >&6; }
 
15709
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15710
$as_echo "yes" >&6; }
23858
15711
        :
23859
15712
fi
23860
15713
 
23861
15714
                        min_gpgme_version=1.0.0
23862
15715
        # Extract the first word of "gpgme-config", so it can be a program name with args.
23863
15716
set dummy gpgme-config; ac_word=$2
23864
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23865
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15717
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15718
$as_echo_n "checking for $ac_word... " >&6; }
23866
15719
if test "${ac_cv_path_GPGME_CONFIG+set}" = set; then
23867
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15720
  $as_echo_n "(cached) " >&6
23868
15721
else
23869
15722
  case $GPGME_CONFIG in
23870
15723
  [\\/]* | ?:[\\/]*)
23879
15732
  for ac_exec_ext in '' $ac_executable_extensions; do
23880
15733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23881
15734
    ac_cv_path_GPGME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23882
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15735
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23883
15736
    break 2
23884
15737
  fi
23885
15738
done
23892
15745
fi
23893
15746
GPGME_CONFIG=$ac_cv_path_GPGME_CONFIG
23894
15747
if test -n "$GPGME_CONFIG"; then
23895
 
  { echo "$as_me:$LINENO: result: $GPGME_CONFIG" >&5
23896
 
echo "${ECHO_T}$GPGME_CONFIG" >&6; }
 
15748
  { $as_echo "$as_me:$LINENO: result: $GPGME_CONFIG" >&5
 
15749
$as_echo "$GPGME_CONFIG" >&6; }
23897
15750
else
23898
 
  { echo "$as_me:$LINENO: result: no" >&5
23899
 
echo "${ECHO_T}no" >&6; }
 
15751
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15752
$as_echo "no" >&6; }
23900
15753
fi
23901
15754
 
23902
15755
 
23903
15756
        if test $GPGME_CONFIG != "failed" ; then
23904
 
                { echo "$as_me:$LINENO: checking for GPGME" >&5
23905
 
echo $ECHO_N "checking for GPGME... $ECHO_C" >&6; }
 
15757
                { $as_echo "$as_me:$LINENO: checking for GPGME" >&5
 
15758
$as_echo_n "checking for GPGME... " >&6; }
23906
15759
                req_major=`echo $min_gpgme_version | \
23907
15760
                        sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
23908
15761
                req_minor=`echo $min_gpgme_version | \
23929
15782
        if test $ok = "yes"; then
23930
15783
                ENCRYPTION_CFLAGS="$ENCRYPTION_CFLAGS `$GPGME_CONFIG --cflags`"
23931
15784
                ENCRYPTION_LIBS="$ENCRYPTION_LIBS `$GPGME_CONFIG --libs`"
23932
 
                { echo "$as_me:$LINENO: result: yes" >&5
23933
 
echo "${ECHO_T}yes" >&6; }
 
15785
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15786
$as_echo "yes" >&6; }
23934
15787
        else
23935
 
                { { echo "$as_me:$LINENO: error: GPGME $min_gpgme_version or later needed" >&5
23936
 
echo "$as_me: error: GPGME $min_gpgme_version or later needed" >&2;}
 
15788
                { { $as_echo "$as_me:$LINENO: error: GPGME $min_gpgme_version or later needed" >&5
 
15789
$as_echo "$as_me: error: GPGME $min_gpgme_version or later needed" >&2;}
23937
15790
   { (exit 1); exit 1; }; }
23938
15791
        fi
23939
15792
else
23973
15826
    case $ac_val in #(
23974
15827
    *${as_nl}*)
23975
15828
      case $ac_var in #(
23976
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23977
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
15829
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
15830
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23978
15831
      esac
23979
15832
      case $ac_var in #(
23980
15833
      _ | IFS | as_nl) ;; #(
 
15834
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23981
15835
      *) $as_unset $ac_var ;;
23982
15836
      esac ;;
23983
15837
    esac
24010
15864
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24011
15865
  if test -w "$cache_file"; then
24012
15866
    test "x$cache_file" != "x/dev/null" &&
24013
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24014
 
echo "$as_me: updating cache $cache_file" >&6;}
 
15867
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
15868
$as_echo "$as_me: updating cache $cache_file" >&6;}
24015
15869
    cat confcache >$cache_file
24016
15870
  else
24017
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24018
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
15871
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
15872
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24019
15873
  fi
24020
15874
fi
24021
15875
rm -f confcache
24031
15885
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24032
15886
  # 1. Remove the extension, and $U if already installed.
24033
15887
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24034
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
15888
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24035
15889
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24036
15890
  #    will be set to the directory where LIBOBJS objects are built.
24037
15891
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24043
15897
 
24044
15898
 
24045
15899
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24046
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
15900
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24047
15901
Usually this means the macro was only invoked conditionally." >&5
24048
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
15902
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24049
15903
Usually this means the macro was only invoked conditionally." >&2;}
24050
15904
   { (exit 1); exit 1; }; }
24051
15905
fi
24052
15906
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24053
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24054
 
Usually this means the macro was only invoked conditionally." >&5
24055
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
24056
 
Usually this means the macro was only invoked conditionally." >&2;}
24057
 
   { (exit 1); exit 1; }; }
24058
 
fi
24059
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24060
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24061
 
Usually this means the macro was only invoked conditionally." >&5
24062
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24063
 
Usually this means the macro was only invoked conditionally." >&2;}
24064
 
   { (exit 1); exit 1; }; }
24065
 
fi
24066
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24067
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24068
 
Usually this means the macro was only invoked conditionally." >&5
24069
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24070
 
Usually this means the macro was only invoked conditionally." >&2;}
24071
 
   { (exit 1); exit 1; }; }
24072
 
fi
24073
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24074
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24075
 
Usually this means the macro was only invoked conditionally." >&5
24076
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
15907
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
15908
Usually this means the macro was only invoked conditionally." >&5
 
15909
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
15910
Usually this means the macro was only invoked conditionally." >&2;}
 
15911
   { (exit 1); exit 1; }; }
 
15912
fi
 
15913
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15914
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
15915
Usually this means the macro was only invoked conditionally." >&5
 
15916
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
15917
Usually this means the macro was only invoked conditionally." >&2;}
 
15918
   { (exit 1); exit 1; }; }
 
15919
fi
 
15920
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15921
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
15922
Usually this means the macro was only invoked conditionally." >&5
 
15923
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
15924
Usually this means the macro was only invoked conditionally." >&2;}
 
15925
   { (exit 1); exit 1; }; }
 
15926
fi
 
15927
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15928
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
15929
Usually this means the macro was only invoked conditionally." >&5
 
15930
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24077
15931
Usually this means the macro was only invoked conditionally." >&2;}
24078
15932
   { (exit 1); exit 1; }; }
24079
15933
fi
24080
15934
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
24081
 
  { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
 
15935
  { { $as_echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
24082
15936
Usually this means the macro was only invoked conditionally." >&5
24083
 
echo "$as_me: error: conditional \"DEBUG\" was never defined.
 
15937
$as_echo "$as_me: error: conditional \"DEBUG\" was never defined.
24084
15938
Usually this means the macro was only invoked conditionally." >&2;}
24085
15939
   { (exit 1); exit 1; }; }
24086
15940
fi
24087
15941
if test -z "${ENCRYPTION_TRUE}" && test -z "${ENCRYPTION_FALSE}"; then
24088
 
  { { echo "$as_me:$LINENO: error: conditional \"ENCRYPTION\" was never defined.
24089
 
Usually this means the macro was only invoked conditionally." >&5
24090
 
echo "$as_me: error: conditional \"ENCRYPTION\" was never defined.
 
15942
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENCRYPTION\" was never defined.
 
15943
Usually this means the macro was only invoked conditionally." >&5
 
15944
$as_echo "$as_me: error: conditional \"ENCRYPTION\" was never defined.
 
15945
Usually this means the macro was only invoked conditionally." >&2;}
 
15946
   { (exit 1); exit 1; }; }
 
15947
fi
 
15948
if test -z "${SPELL_CHECKING_TRUE}" && test -z "${SPELL_CHECKING_FALSE}"; then
 
15949
  { { $as_echo "$as_me:$LINENO: error: conditional \"SPELL_CHECKING\" was never defined.
 
15950
Usually this means the macro was only invoked conditionally." >&5
 
15951
$as_echo "$as_me: error: conditional \"SPELL_CHECKING\" was never defined.
24091
15952
Usually this means the macro was only invoked conditionally." >&2;}
24092
15953
   { (exit 1); exit 1; }; }
24093
15954
fi
24095
15956
  ac_config_commands="$ac_config_commands po/stamp-it"
24096
15957
 
24097
15958
 
24098
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24099
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
15959
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
15960
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
24100
15961
Usually this means the macro was only invoked conditionally." >&5
24101
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
15962
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
24102
15963
Usually this means the macro was only invoked conditionally." >&2;}
24103
15964
   { (exit 1); exit 1; }; }
24104
15965
fi
24105
15966
 
24106
15967
: ${CONFIG_STATUS=./config.status}
 
15968
ac_write_fail=0
24107
15969
ac_clean_files_save=$ac_clean_files
24108
15970
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24109
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24110
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
24111
 
cat >$CONFIG_STATUS <<_ACEOF
 
15971
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
15972
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
15973
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24112
15974
#! $SHELL
24113
15975
# Generated by $as_me.
24114
15976
# Run this file to recreate the current configuration.
24121
15983
SHELL=\${CONFIG_SHELL-$SHELL}
24122
15984
_ACEOF
24123
15985
 
24124
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
15986
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24125
15987
## --------------------- ##
24126
15988
## M4sh Initialization.  ##
24127
15989
## --------------------- ##
24131
15993
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24132
15994
  emulate sh
24133
15995
  NULLCMD=:
24134
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
15996
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24135
15997
  # is contrary to our usage.  Disable this feature.
24136
15998
  alias -g '${1+"$@"}'='"$@"'
24137
15999
  setopt NO_GLOB_SUBST
24153
16015
as_cr_digits='0123456789'
24154
16016
as_cr_alnum=$as_cr_Letters$as_cr_digits
24155
16017
 
 
16018
as_nl='
 
16019
'
 
16020
export as_nl
 
16021
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
16022
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
16023
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
16024
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
16025
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16026
  as_echo='printf %s\n'
 
16027
  as_echo_n='printf %s'
 
16028
else
 
16029
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
16030
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
16031
    as_echo_n='/usr/ucb/echo -n'
 
16032
  else
 
16033
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
16034
    as_echo_n_body='eval
 
16035
      arg=$1;
 
16036
      case $arg in
 
16037
      *"$as_nl"*)
 
16038
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
16039
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
16040
      esac;
 
16041
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
16042
    '
 
16043
    export as_echo_n_body
 
16044
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
16045
  fi
 
16046
  export as_echo_body
 
16047
  as_echo='sh -c $as_echo_body as_echo'
 
16048
fi
 
16049
 
24156
16050
# The user is always right.
24157
16051
if test "${PATH_SEPARATOR+set}" != set; then
24158
 
  echo "#! /bin/sh" >conf$$.sh
24159
 
  echo  "exit 0"   >>conf$$.sh
24160
 
  chmod +x conf$$.sh
24161
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24162
 
    PATH_SEPARATOR=';'
24163
 
  else
24164
 
    PATH_SEPARATOR=:
24165
 
  fi
24166
 
  rm -f conf$$.sh
 
16052
  PATH_SEPARATOR=:
 
16053
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
16054
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
16055
      PATH_SEPARATOR=';'
 
16056
  }
24167
16057
fi
24168
16058
 
24169
16059
# Support unset when possible.
24179
16069
# there to prevent editors from complaining about space-tab.
24180
16070
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24181
16071
# splitting by setting IFS to empty value.)
24182
 
as_nl='
24183
 
'
24184
16072
IFS=" ""        $as_nl"
24185
16073
 
24186
16074
# Find who we are.  Look in the path if we contain no directory separator.
24203
16091
  as_myself=$0
24204
16092
fi
24205
16093
if test ! -f "$as_myself"; then
24206
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
16094
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24207
16095
  { (exit 1); exit 1; }
24208
16096
fi
24209
16097
 
24216
16104
PS4='+ '
24217
16105
 
24218
16106
# NLS nuisances.
24219
 
for as_var in \
24220
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24221
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24222
 
  LC_TELEPHONE LC_TIME
24223
 
do
24224
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24225
 
    eval $as_var=C; export $as_var
24226
 
  else
24227
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24228
 
  fi
24229
 
done
 
16107
LC_ALL=C
 
16108
export LC_ALL
 
16109
LANGUAGE=C
 
16110
export LANGUAGE
24230
16111
 
24231
16112
# Required to use basename.
24232
16113
if expr a : '\(a\)' >/dev/null 2>&1 &&
24248
16129
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24249
16130
         X"$0" : 'X\(//\)$' \| \
24250
16131
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24251
 
echo X/"$0" |
 
16132
$as_echo X/"$0" |
24252
16133
    sed '/^.*\/\([^/][^/]*\)\/*$/{
24253
16134
            s//\1/
24254
16135
            q
24299
16180
      s/-\n.*//
24300
16181
    ' >$as_me.lineno &&
24301
16182
  chmod +x "$as_me.lineno" ||
24302
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
16183
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24303
16184
   { (exit 1); exit 1; }; }
24304
16185
 
24305
16186
  # Don't try to exec as it changes $[0], causing all sort of problems
24327
16208
*)
24328
16209
  ECHO_N='-n';;
24329
16210
esac
24330
 
 
24331
16211
if expr a : '\(a\)' >/dev/null 2>&1 &&
24332
16212
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24333
16213
  as_expr=expr
24340
16220
  rm -f conf$$.dir/conf$$.file
24341
16221
else
24342
16222
  rm -f conf$$.dir
24343
 
  mkdir conf$$.dir
 
16223
  mkdir conf$$.dir 2>/dev/null
24344
16224
fi
24345
 
echo >conf$$.file
24346
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
24347
 
  as_ln_s='ln -s'
24348
 
  # ... but there are two gotchas:
24349
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24350
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24351
 
  # In both cases, we have to default to `cp -p'.
24352
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16225
if (echo >conf$$.file) 2>/dev/null; then
 
16226
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
16227
    as_ln_s='ln -s'
 
16228
    # ... but there are two gotchas:
 
16229
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
16230
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
16231
    # In both cases, we have to default to `cp -p'.
 
16232
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16233
      as_ln_s='cp -p'
 
16234
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
16235
    as_ln_s=ln
 
16236
  else
24353
16237
    as_ln_s='cp -p'
24354
 
elif ln conf$$.file conf$$ 2>/dev/null; then
24355
 
  as_ln_s=ln
 
16238
  fi
24356
16239
else
24357
16240
  as_ln_s='cp -p'
24358
16241
fi
24377
16260
  as_test_x='
24378
16261
    eval sh -c '\''
24379
16262
      if test -d "$1"; then
24380
 
        test -d "$1/.";
 
16263
        test -d "$1/.";
24381
16264
      else
24382
16265
        case $1 in
24383
 
        -*)set "./$1";;
 
16266
        -*)set "./$1";;
24384
16267
        esac;
24385
16268
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
24386
16269
        ???[sx]*):;;*)false;;esac;fi
24402
16285
# report actual input values of CONFIG_FILES etc. instead of their
24403
16286
# values after options handling.
24404
16287
ac_log="
24405
 
This file was extended by almanah $as_me 0.4.0, which was
24406
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
16288
This file was extended by almanah $as_me 0.6.1, which was
 
16289
generated by GNU Autoconf 2.63.  Invocation command line was
24407
16290
 
24408
16291
  CONFIG_FILES    = $CONFIG_FILES
24409
16292
  CONFIG_HEADERS  = $CONFIG_HEADERS
24416
16299
 
24417
16300
_ACEOF
24418
16301
 
24419
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16302
case $ac_config_files in *"
 
16303
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
16304
esac
 
16305
 
 
16306
case $ac_config_headers in *"
 
16307
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
16308
esac
 
16309
 
 
16310
 
 
16311
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24420
16312
# Files that config.status was made for.
24421
16313
config_files="$ac_config_files"
24422
16314
config_headers="$ac_config_headers"
24424
16316
 
24425
16317
_ACEOF
24426
16318
 
24427
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
16319
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24428
16320
ac_cs_usage="\
24429
16321
\`$as_me' instantiates files from templates according to the
24430
16322
current configuration.
24431
16323
 
24432
 
Usage: $0 [OPTIONS] [FILE]...
 
16324
Usage: $0 [OPTION]... [FILE]...
24433
16325
 
24434
16326
  -h, --help       print this help, then exit
24435
16327
  -V, --version    print version number and configuration settings, then exit
24436
 
  -q, --quiet      do not print progress messages
 
16328
  -q, --quiet, --silent
 
16329
                   do not print progress messages
24437
16330
  -d, --debug      don't remove temporary files
24438
16331
      --recheck    update $as_me by reconfiguring in the same conditions
24439
 
  --file=FILE[:TEMPLATE]
24440
 
                   instantiate the configuration file FILE
24441
 
  --header=FILE[:TEMPLATE]
24442
 
                   instantiate the configuration header FILE
 
16332
      --file=FILE[:TEMPLATE]
 
16333
                   instantiate the configuration file FILE
 
16334
      --header=FILE[:TEMPLATE]
 
16335
                   instantiate the configuration header FILE
24443
16336
 
24444
16337
Configuration files:
24445
16338
$config_files
24453
16346
Report bugs to <bug-autoconf@gnu.org>."
24454
16347
 
24455
16348
_ACEOF
24456
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16349
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24457
16350
ac_cs_version="\\
24458
 
almanah config.status 0.4.0
24459
 
configured by $0, generated by GNU Autoconf 2.61,
24460
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
16351
almanah config.status 0.6.1
 
16352
configured by $0, generated by GNU Autoconf 2.63,
 
16353
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24461
16354
 
24462
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
16355
Copyright (C) 2008 Free Software Foundation, Inc.
24463
16356
This config.status script is free software; the Free Software Foundation
24464
16357
gives unlimited permission to copy, distribute and modify it."
24465
16358
 
24466
16359
ac_pwd='$ac_pwd'
24467
16360
srcdir='$srcdir'
24468
16361
INSTALL='$INSTALL'
24469
 
MKDIR_P='$MKDIR_P'
 
16362
AWK='$AWK'
 
16363
test -n "\$AWK" || AWK=awk
24470
16364
_ACEOF
24471
16365
 
24472
 
cat >>$CONFIG_STATUS <<\_ACEOF
24473
 
# If no file are specified by the user, then we need to provide default
24474
 
# value.  By we need to know if files were specified by the user.
 
16366
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16367
# The default lists apply if the user does not specify any file.
24475
16368
ac_need_defaults=:
24476
16369
while test $# != 0
24477
16370
do
24493
16386
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24494
16387
    ac_cs_recheck=: ;;
24495
16388
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24496
 
    echo "$ac_cs_version"; exit ;;
 
16389
    $as_echo "$ac_cs_version"; exit ;;
24497
16390
  --debug | --debu | --deb | --de | --d | -d )
24498
16391
    debug=: ;;
24499
16392
  --file | --fil | --fi | --f )
24500
16393
    $ac_shift
24501
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
16394
    case $ac_optarg in
 
16395
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16396
    esac
 
16397
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
24502
16398
    ac_need_defaults=false;;
24503
16399
  --header | --heade | --head | --hea )
24504
16400
    $ac_shift
24505
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
16401
    case $ac_optarg in
 
16402
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16403
    esac
 
16404
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
24506
16405
    ac_need_defaults=false;;
24507
16406
  --he | --h)
24508
16407
    # Conflict between --help and --header
24509
 
    { echo "$as_me: error: ambiguous option: $1
 
16408
    { $as_echo "$as_me: error: ambiguous option: $1
24510
16409
Try \`$0 --help' for more information." >&2
24511
16410
   { (exit 1); exit 1; }; };;
24512
16411
  --help | --hel | -h )
24513
 
    echo "$ac_cs_usage"; exit ;;
 
16412
    $as_echo "$ac_cs_usage"; exit ;;
24514
16413
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24515
16414
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
24516
16415
    ac_cs_silent=: ;;
24517
16416
 
24518
16417
  # This is an error.
24519
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
16418
  -*) { $as_echo "$as_me: error: unrecognized option: $1
24520
16419
Try \`$0 --help' for more information." >&2
24521
16420
   { (exit 1); exit 1; }; } ;;
24522
16421
 
24535
16434
fi
24536
16435
 
24537
16436
_ACEOF
24538
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16437
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24539
16438
if \$ac_cs_recheck; then
24540
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24541
 
  CONFIG_SHELL=$SHELL
 
16439
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
16440
  shift
 
16441
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
16442
  CONFIG_SHELL='$SHELL'
24542
16443
  export CONFIG_SHELL
24543
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
16444
  exec "\$@"
24544
16445
fi
24545
16446
 
24546
16447
_ACEOF
24547
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
16448
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24548
16449
exec 5>>config.log
24549
16450
{
24550
16451
  echo
24551
16452
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24552
16453
## Running $as_me. ##
24553
16454
_ASBOX
24554
 
  echo "$ac_log"
 
16455
  $as_echo "$ac_log"
24555
16456
} >&5
24556
16457
 
24557
16458
_ACEOF
24558
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16459
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24559
16460
#
24560
16461
# INIT-COMMANDS
24561
16462
#
24562
16463
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24563
16464
 
24564
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
24565
 
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
24566
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
 
16465
 
 
16466
 
 
16467
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16468
# if CDPATH is set.
 
16469
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16470
 
 
16471
sed_quote_subst='$sed_quote_subst'
 
16472
double_quote_subst='$double_quote_subst'
 
16473
delay_variable_subst='$delay_variable_subst'
 
16474
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16475
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
16476
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
16477
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16478
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
16479
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
16480
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16481
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
16482
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16483
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16484
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
16485
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16486
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
16487
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
16488
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16489
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16490
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16491
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
16492
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
16493
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
16494
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
16495
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
16496
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
16497
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
16498
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
16499
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
16500
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16501
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16502
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
16503
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
16504
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
16505
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
16506
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16507
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
16508
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
16509
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16510
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16511
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16512
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
16513
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16514
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
16515
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
16516
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
16517
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
16518
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"`'
 
16519
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"`'
 
16520
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
16521
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
16522
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
16523
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
16524
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16525
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
16526
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
16527
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16528
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
16529
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
16530
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
16531
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
16532
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
16533
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
16534
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
16535
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
16536
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16537
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16538
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
16539
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
16540
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16541
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16542
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
16543
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16544
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16545
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16546
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16547
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16548
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16549
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16550
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16551
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16552
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16553
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16554
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
16555
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
16556
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
16557
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
16558
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16559
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
16560
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16561
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
16562
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
16563
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
16564
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16565
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16566
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16567
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16568
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16569
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
16570
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
16571
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16572
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
16573
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16574
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16575
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16576
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16577
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16578
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16579
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16580
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16581
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16582
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
16583
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
16584
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16585
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16586
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
16587
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
16588
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
16589
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16590
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16591
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16592
 
 
16593
LTCC='$LTCC'
 
16594
LTCFLAGS='$LTCFLAGS'
 
16595
compiler='$compiler_DEFAULT'
 
16596
 
 
16597
# Quote evaled strings.
 
16598
for var in SED \
 
16599
GREP \
 
16600
EGREP \
 
16601
FGREP \
 
16602
LD \
 
16603
NM \
 
16604
LN_S \
 
16605
lt_SP2NL \
 
16606
lt_NL2SP \
 
16607
reload_flag \
 
16608
OBJDUMP \
 
16609
deplibs_check_method \
 
16610
file_magic_cmd \
 
16611
AR \
 
16612
AR_FLAGS \
 
16613
STRIP \
 
16614
RANLIB \
 
16615
CC \
 
16616
CFLAGS \
 
16617
compiler \
 
16618
lt_cv_sys_global_symbol_pipe \
 
16619
lt_cv_sys_global_symbol_to_cdecl \
 
16620
lt_cv_sys_global_symbol_to_c_name_address \
 
16621
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16622
SHELL \
 
16623
ECHO \
 
16624
lt_prog_compiler_no_builtin_flag \
 
16625
lt_prog_compiler_wl \
 
16626
lt_prog_compiler_pic \
 
16627
lt_prog_compiler_static \
 
16628
lt_cv_prog_compiler_c_o \
 
16629
need_locks \
 
16630
DSYMUTIL \
 
16631
NMEDIT \
 
16632
LIPO \
 
16633
OTOOL \
 
16634
OTOOL64 \
 
16635
shrext_cmds \
 
16636
export_dynamic_flag_spec \
 
16637
whole_archive_flag_spec \
 
16638
compiler_needs_object \
 
16639
with_gnu_ld \
 
16640
allow_undefined_flag \
 
16641
no_undefined_flag \
 
16642
hardcode_libdir_flag_spec \
 
16643
hardcode_libdir_flag_spec_ld \
 
16644
hardcode_libdir_separator \
 
16645
fix_srcfile_path \
 
16646
exclude_expsyms \
 
16647
include_expsyms \
 
16648
file_list_spec \
 
16649
variables_saved_for_relink \
 
16650
libname_spec \
 
16651
library_names_spec \
 
16652
soname_spec \
 
16653
finish_eval \
 
16654
old_striplib \
 
16655
striplib; do
 
16656
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16657
    *[\\\\\\\`\\"\\\$]*)
 
16658
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16659
      ;;
 
16660
    *)
 
16661
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16662
      ;;
 
16663
    esac
 
16664
done
 
16665
 
 
16666
# Double-quote double-evaled strings.
 
16667
for var in reload_cmds \
 
16668
old_postinstall_cmds \
 
16669
old_postuninstall_cmds \
 
16670
old_archive_cmds \
 
16671
extract_expsyms_cmds \
 
16672
old_archive_from_new_cmds \
 
16673
old_archive_from_expsyms_cmds \
 
16674
archive_cmds \
 
16675
archive_expsym_cmds \
 
16676
module_cmds \
 
16677
module_expsym_cmds \
 
16678
export_symbols_cmds \
 
16679
prelink_cmds \
 
16680
postinstall_cmds \
 
16681
postuninstall_cmds \
 
16682
finish_cmds \
 
16683
sys_lib_search_path_spec \
 
16684
sys_lib_dlsearch_path_spec; do
 
16685
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16686
    *[\\\\\\\`\\"\\\$]*)
 
16687
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16688
      ;;
 
16689
    *)
 
16690
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16691
      ;;
 
16692
    esac
 
16693
done
 
16694
 
 
16695
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
16696
case \$lt_ECHO in
 
16697
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
16698
  ;;
 
16699
esac
 
16700
 
 
16701
ac_aux_dir='$ac_aux_dir'
 
16702
xsi_shell='$xsi_shell'
 
16703
lt_shell_append='$lt_shell_append'
 
16704
 
 
16705
# See if we are running on zsh, and set the options which allow our
 
16706
# commands through without removal of \ escapes INIT.
 
16707
if test -n "\${ZSH_VERSION+set}" ; then
 
16708
   setopt NO_GLOB_SUBST
 
16709
fi
 
16710
 
 
16711
 
 
16712
    PACKAGE='$PACKAGE'
 
16713
    VERSION='$VERSION'
 
16714
    TIMESTAMP='$TIMESTAMP'
 
16715
    RM='$RM'
 
16716
    ofile='$ofile'
 
16717
 
 
16718
 
 
16719
 
24567
16720
 
24568
16721
_ACEOF
24569
16722
 
24570
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
16723
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24571
16724
 
24572
16725
# Handling of arguments.
24573
16726
for ac_config_target in $ac_config_targets
24576
16729
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24577
16730
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24578
16731
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24579
 
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
16732
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24580
16733
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24581
16734
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24582
16735
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24588
16741
    "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
24589
16742
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
24590
16743
 
24591
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24592
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
16744
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
16745
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24593
16746
   { (exit 1); exit 1; }; };;
24594
16747
  esac
24595
16748
done
24630
16783
  (umask 077 && mkdir "$tmp")
24631
16784
} ||
24632
16785
{
24633
 
   echo "$me: cannot create a temporary directory in ." >&2
 
16786
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
24634
16787
   { (exit 1); exit 1; }
24635
16788
}
24636
16789
 
24637
 
#
24638
 
# Set up the sed scripts for CONFIG_FILES section.
24639
 
#
24640
 
 
24641
 
# No need to generate the scripts if there are no CONFIG_FILES.
24642
 
# This happens for instance when ./config.status config.h
 
16790
# Set up the scripts for CONFIG_FILES section.
 
16791
# No need to generate them if there are no CONFIG_FILES.
 
16792
# This happens for instance with `./config.status config.h'.
24643
16793
if test -n "$CONFIG_FILES"; then
24644
16794
 
24645
 
_ACEOF
24646
 
 
24647
 
 
24648
 
 
24649
 
ac_delim='%!_!# '
24650
 
for ac_last_try in false false false false false :; do
24651
 
  cat >conf$$subs.sed <<_ACEOF
24652
 
SHELL!$SHELL$ac_delim
24653
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24654
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24655
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24656
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24657
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24658
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24659
 
exec_prefix!$exec_prefix$ac_delim
24660
 
prefix!$prefix$ac_delim
24661
 
program_transform_name!$program_transform_name$ac_delim
24662
 
bindir!$bindir$ac_delim
24663
 
sbindir!$sbindir$ac_delim
24664
 
libexecdir!$libexecdir$ac_delim
24665
 
datarootdir!$datarootdir$ac_delim
24666
 
datadir!$datadir$ac_delim
24667
 
sysconfdir!$sysconfdir$ac_delim
24668
 
sharedstatedir!$sharedstatedir$ac_delim
24669
 
localstatedir!$localstatedir$ac_delim
24670
 
includedir!$includedir$ac_delim
24671
 
oldincludedir!$oldincludedir$ac_delim
24672
 
docdir!$docdir$ac_delim
24673
 
infodir!$infodir$ac_delim
24674
 
htmldir!$htmldir$ac_delim
24675
 
dvidir!$dvidir$ac_delim
24676
 
pdfdir!$pdfdir$ac_delim
24677
 
psdir!$psdir$ac_delim
24678
 
libdir!$libdir$ac_delim
24679
 
localedir!$localedir$ac_delim
24680
 
mandir!$mandir$ac_delim
24681
 
DEFS!$DEFS$ac_delim
24682
 
ECHO_C!$ECHO_C$ac_delim
24683
 
ECHO_N!$ECHO_N$ac_delim
24684
 
ECHO_T!$ECHO_T$ac_delim
24685
 
LIBS!$LIBS$ac_delim
24686
 
build_alias!$build_alias$ac_delim
24687
 
host_alias!$host_alias$ac_delim
24688
 
target_alias!$target_alias$ac_delim
24689
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24690
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24691
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
24692
 
am__isrc!$am__isrc$ac_delim
24693
 
CYGPATH_W!$CYGPATH_W$ac_delim
24694
 
PACKAGE!$PACKAGE$ac_delim
24695
 
VERSION!$VERSION$ac_delim
24696
 
ACLOCAL!$ACLOCAL$ac_delim
24697
 
AUTOCONF!$AUTOCONF$ac_delim
24698
 
AUTOMAKE!$AUTOMAKE$ac_delim
24699
 
AUTOHEADER!$AUTOHEADER$ac_delim
24700
 
MAKEINFO!$MAKEINFO$ac_delim
24701
 
install_sh!$install_sh$ac_delim
24702
 
STRIP!$STRIP$ac_delim
24703
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24704
 
mkdir_p!$mkdir_p$ac_delim
24705
 
AWK!$AWK$ac_delim
24706
 
SET_MAKE!$SET_MAKE$ac_delim
24707
 
am__leading_dot!$am__leading_dot$ac_delim
24708
 
AMTAR!$AMTAR$ac_delim
24709
 
am__tar!$am__tar$ac_delim
24710
 
am__untar!$am__untar$ac_delim
24711
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
24712
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
24713
 
MAINT!$MAINT$ac_delim
24714
 
CC!$CC$ac_delim
24715
 
CFLAGS!$CFLAGS$ac_delim
24716
 
LDFLAGS!$LDFLAGS$ac_delim
24717
 
CPPFLAGS!$CPPFLAGS$ac_delim
24718
 
ac_ct_CC!$ac_ct_CC$ac_delim
24719
 
EXEEXT!$EXEEXT$ac_delim
24720
 
OBJEXT!$OBJEXT$ac_delim
24721
 
DEPDIR!$DEPDIR$ac_delim
24722
 
am__include!$am__include$ac_delim
24723
 
am__quote!$am__quote$ac_delim
24724
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24725
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24726
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24727
 
CCDEPMODE!$CCDEPMODE$ac_delim
24728
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24729
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24730
 
CPP!$CPP$ac_delim
24731
 
GREP!$GREP$ac_delim
24732
 
EGREP!$EGREP$ac_delim
24733
 
DEBUG_TRUE!$DEBUG_TRUE$ac_delim
24734
 
DEBUG_FALSE!$DEBUG_FALSE$ac_delim
24735
 
ENCRYPTION_TRUE!$ENCRYPTION_TRUE$ac_delim
24736
 
ENCRYPTION_FALSE!$ENCRYPTION_FALSE$ac_delim
24737
 
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24738
 
USE_NLS!$USE_NLS$ac_delim
24739
 
MSGFMT!$MSGFMT$ac_delim
24740
 
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
24741
 
GMSGFMT!$GMSGFMT$ac_delim
24742
 
XGETTEXT!$XGETTEXT$ac_delim
24743
 
CATALOGS!$CATALOGS$ac_delim
24744
 
CATOBJEXT!$CATOBJEXT$ac_delim
24745
 
DATADIRNAME!$DATADIRNAME$ac_delim
24746
 
GMOFILES!$GMOFILES$ac_delim
24747
 
INSTOBJEXT!$INSTOBJEXT$ac_delim
24748
 
INTLLIBS!$INTLLIBS$ac_delim
24749
 
_ACEOF
24750
 
 
24751
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24752
 
    break
24753
 
  elif $ac_last_try; then
24754
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24755
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24756
 
   { (exit 1); exit 1; }; }
24757
 
  else
24758
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24759
 
  fi
24760
 
done
24761
 
 
24762
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24763
 
if test -n "$ac_eof"; then
24764
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24765
 
  ac_eof=`expr $ac_eof + 1`
24766
 
fi
24767
 
 
24768
 
cat >>$CONFIG_STATUS <<_ACEOF
24769
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24770
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24771
 
_ACEOF
24772
 
sed '
24773
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24774
 
s/^/s,@/; s/!/@,|#_!!_#|/
24775
 
:n
24776
 
t n
24777
 
s/'"$ac_delim"'$/,g/; t
24778
 
s/$/\\/; p
24779
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24780
 
' >>$CONFIG_STATUS <conf$$subs.sed
24781
 
rm -f conf$$subs.sed
24782
 
cat >>$CONFIG_STATUS <<_ACEOF
24783
 
CEOF$ac_eof
24784
 
_ACEOF
24785
 
 
24786
 
 
24787
 
ac_delim='%!_!# '
24788
 
for ac_last_try in false false false false false :; do
24789
 
  cat >conf$$subs.sed <<_ACEOF
24790
 
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
24791
 
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
24792
 
POFILES!$POFILES$ac_delim
24793
 
POSUB!$POSUB$ac_delim
24794
 
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24795
 
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
24796
 
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
24797
 
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
24798
 
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
24799
 
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
24800
 
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
24801
 
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
24802
 
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
24803
 
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
24804
 
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
24805
 
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
24806
 
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
24807
 
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
24808
 
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
24809
 
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
24810
 
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24811
 
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24812
 
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
24813
 
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
24814
 
MSGMERGE!$MSGMERGE$ac_delim
24815
 
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24816
 
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
24817
 
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24818
 
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24819
 
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24820
 
build!$build$ac_delim
24821
 
build_cpu!$build_cpu$ac_delim
24822
 
build_vendor!$build_vendor$ac_delim
24823
 
build_os!$build_os$ac_delim
24824
 
host!$host$ac_delim
24825
 
host_cpu!$host_cpu$ac_delim
24826
 
host_vendor!$host_vendor$ac_delim
24827
 
host_os!$host_os$ac_delim
24828
 
SED!$SED$ac_delim
24829
 
LN_S!$LN_S$ac_delim
24830
 
ECHO!$ECHO$ac_delim
24831
 
AR!$AR$ac_delim
24832
 
RANLIB!$RANLIB$ac_delim
24833
 
DSYMUTIL!$DSYMUTIL$ac_delim
24834
 
NMEDIT!$NMEDIT$ac_delim
24835
 
CXX!$CXX$ac_delim
24836
 
CXXFLAGS!$CXXFLAGS$ac_delim
24837
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
24838
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
24839
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24840
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24841
 
CXXCPP!$CXXCPP$ac_delim
24842
 
F77!$F77$ac_delim
24843
 
FFLAGS!$FFLAGS$ac_delim
24844
 
ac_ct_F77!$ac_ct_F77$ac_delim
24845
 
LIBTOOL!$LIBTOOL$ac_delim
24846
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
24847
 
STANDARD_CFLAGS!$STANDARD_CFLAGS$ac_delim
24848
 
STANDARD_LIBS!$STANDARD_LIBS$ac_delim
24849
 
ENCRYPTION_CFLAGS!$ENCRYPTION_CFLAGS$ac_delim
24850
 
ENCRYPTION_LIBS!$ENCRYPTION_LIBS$ac_delim
24851
 
GPGME_CONFIG!$GPGME_CONFIG$ac_delim
24852
 
LIBOBJS!$LIBOBJS$ac_delim
24853
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
24854
 
_ACEOF
24855
 
 
24856
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
24857
 
    break
24858
 
  elif $ac_last_try; then
24859
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24860
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24861
 
   { (exit 1); exit 1; }; }
24862
 
  else
24863
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24864
 
  fi
24865
 
done
24866
 
 
24867
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24868
 
if test -n "$ac_eof"; then
24869
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24870
 
  ac_eof=`expr $ac_eof + 1`
24871
 
fi
24872
 
 
24873
 
cat >>$CONFIG_STATUS <<_ACEOF
24874
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24875
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24876
 
_ACEOF
24877
 
sed '
24878
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24879
 
s/^/s,@/; s/!/@,|#_!!_#|/
24880
 
:n
24881
 
t n
24882
 
s/'"$ac_delim"'$/,g/; t
24883
 
s/$/\\/; p
24884
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24885
 
' >>$CONFIG_STATUS <conf$$subs.sed
24886
 
rm -f conf$$subs.sed
24887
 
cat >>$CONFIG_STATUS <<_ACEOF
24888
 
:end
24889
 
s/|#_!!_#|//g
24890
 
CEOF$ac_eof
24891
 
_ACEOF
24892
 
 
 
16795
 
 
16796
ac_cr='
 
 
b"'"
 
16797
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
16798
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
16799
  ac_cs_awk_cr='\\r'
 
16800
else
 
16801
  ac_cs_awk_cr=$ac_cr
 
16802
fi
 
16803
 
 
16804
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16805
_ACEOF
 
16806
 
 
16807
 
 
16808
{
 
16809
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
16810
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
16811
  echo "_ACEOF"
 
16812
} >conf$$subs.sh ||
 
16813
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
16814
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
16815
   { (exit 1); exit 1; }; }
 
16816
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16817
ac_delim='%!_!# '
 
16818
for ac_last_try in false false false false false :; do
 
16819
  . ./conf$$subs.sh ||
 
16820
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
16821
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
16822
   { (exit 1); exit 1; }; }
 
16823
 
 
16824
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
16825
  if test $ac_delim_n = $ac_delim_num; then
 
16826
    break
 
16827
  elif $ac_last_try; then
 
16828
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
16829
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
16830
   { (exit 1); exit 1; }; }
 
16831
  else
 
16832
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16833
  fi
 
16834
done
 
16835
rm -f conf$$subs.sh
 
16836
 
 
16837
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16838
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16839
_ACEOF
 
16840
sed -n '
 
16841
h
 
16842
s/^/S["/; s/!.*/"]=/
 
16843
p
 
16844
g
 
16845
s/^[^!]*!//
 
16846
:repl
 
16847
t repl
 
16848
s/'"$ac_delim"'$//
 
16849
t delim
 
16850
:nl
 
16851
h
 
16852
s/\(.\{148\}\).*/\1/
 
16853
t more1
 
16854
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
16855
p
 
16856
n
 
16857
b repl
 
16858
:more1
 
16859
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16860
p
 
16861
g
 
16862
s/.\{148\}//
 
16863
t nl
 
16864
:delim
 
16865
h
 
16866
s/\(.\{148\}\).*/\1/
 
16867
t more2
 
16868
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
16869
p
 
16870
b
 
16871
:more2
 
16872
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16873
p
 
16874
g
 
16875
s/.\{148\}//
 
16876
t delim
 
16877
' <conf$$subs.awk | sed '
 
16878
/^[^""]/{
 
16879
  N
 
16880
  s/\n//
 
16881
}
 
16882
' >>$CONFIG_STATUS || ac_write_fail=1
 
16883
rm -f conf$$subs.awk
 
16884
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16885
_ACAWK
 
16886
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16887
  for (key in S) S_is_set[key] = 1
 
16888
  FS = ""
 
16889
 
 
16890
}
 
16891
{
 
16892
  line = $ 0
 
16893
  nfields = split(line, field, "@")
 
16894
  substed = 0
 
16895
  len = length(field[1])
 
16896
  for (i = 2; i < nfields; i++) {
 
16897
    key = field[i]
 
16898
    keylen = length(key)
 
16899
    if (S_is_set[key]) {
 
16900
      value = S[key]
 
16901
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
16902
      len += length(value) + length(field[++i])
 
16903
      substed = 1
 
16904
    } else
 
16905
      len += 1 + keylen
 
16906
  }
 
16907
 
 
16908
  print line
 
16909
}
 
16910
 
 
16911
_ACAWK
 
16912
_ACEOF
 
16913
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16914
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
16915
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
16916
else
 
16917
  cat
 
16918
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
16919
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
16920
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
16921
   { (exit 1); exit 1; }; }
 
16922
_ACEOF
24893
16923
 
24894
16924
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24895
16925
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24906
16936
}'
24907
16937
fi
24908
16938
 
24909
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
16939
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24910
16940
fi # test -n "$CONFIG_FILES"
24911
16941
 
24912
 
 
24913
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
16942
# Set up the scripts for CONFIG_HEADERS section.
 
16943
# No need to generate them if there are no CONFIG_HEADERS.
 
16944
# This happens for instance with `./config.status Makefile'.
 
16945
if test -n "$CONFIG_HEADERS"; then
 
16946
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
16947
BEGIN {
 
16948
_ACEOF
 
16949
 
 
16950
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
16951
# here-document in config.status, that substitutes the proper values into
 
16952
# config.h.in to produce config.h.
 
16953
 
 
16954
# Create a delimiter string that does not exist in confdefs.h, to ease
 
16955
# handling of long lines.
 
16956
ac_delim='%!_!# '
 
16957
for ac_last_try in false false :; do
 
16958
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
16959
  if test -z "$ac_t"; then
 
16960
    break
 
16961
  elif $ac_last_try; then
 
16962
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
16963
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
16964
   { (exit 1); exit 1; }; }
 
16965
  else
 
16966
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16967
  fi
 
16968
done
 
16969
 
 
16970
# For the awk script, D is an array of macro values keyed by name,
 
16971
# likewise P contains macro parameters if any.  Preserve backslash
 
16972
# newline sequences.
 
16973
 
 
16974
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
16975
sed -n '
 
16976
s/.\{148\}/&'"$ac_delim"'/g
 
16977
t rset
 
16978
:rset
 
16979
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
16980
t def
 
16981
d
 
16982
:def
 
16983
s/\\$//
 
16984
t bsnl
 
16985
s/["\\]/\\&/g
 
16986
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16987
D["\1"]=" \3"/p
 
16988
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
16989
d
 
16990
:bsnl
 
16991
s/["\\]/\\&/g
 
16992
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16993
D["\1"]=" \3\\\\\\n"\\/p
 
16994
t cont
 
16995
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
16996
t cont
 
16997
d
 
16998
:cont
 
16999
n
 
17000
s/.\{148\}/&'"$ac_delim"'/g
 
17001
t clear
 
17002
:clear
 
17003
s/\\$//
 
17004
t bsnlc
 
17005
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
17006
d
 
17007
:bsnlc
 
17008
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
17009
b cont
 
17010
' <confdefs.h | sed '
 
17011
s/'"$ac_delim"'/"\\\
 
17012
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
17013
 
 
17014
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17015
  for (key in D) D_is_set[key] = 1
 
17016
  FS = ""
 
17017
}
 
17018
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
17019
  line = \$ 0
 
17020
  split(line, arg, " ")
 
17021
  if (arg[1] == "#") {
 
17022
    defundef = arg[2]
 
17023
    mac1 = arg[3]
 
17024
  } else {
 
17025
    defundef = substr(arg[1], 2)
 
17026
    mac1 = arg[2]
 
17027
  }
 
17028
  split(mac1, mac2, "(") #)
 
17029
  macro = mac2[1]
 
17030
  prefix = substr(line, 1, index(line, defundef) - 1)
 
17031
  if (D_is_set[macro]) {
 
17032
    # Preserve the white space surrounding the "#".
 
17033
    print prefix "define", macro P[macro] D[macro]
 
17034
    next
 
17035
  } else {
 
17036
    # Replace #undef with comments.  This is necessary, for example,
 
17037
    # in the case of _POSIX_SOURCE, which is predefined and required
 
17038
    # on some systems where configure will not decide to define it.
 
17039
    if (defundef == "undef") {
 
17040
      print "/*", prefix defundef, macro, "*/"
 
17041
      next
 
17042
    }
 
17043
  }
 
17044
}
 
17045
{ print }
 
17046
_ACAWK
 
17047
_ACEOF
 
17048
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17049
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
17050
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
17051
   { (exit 1); exit 1; }; }
 
17052
fi # test -n "$CONFIG_HEADERS"
 
17053
 
 
17054
 
 
17055
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
17056
shift
 
17057
for ac_tag
24914
17058
do
24915
17059
  case $ac_tag in
24916
17060
  :[FHLC]) ac_mode=$ac_tag; continue;;
24917
17061
  esac
24918
17062
  case $ac_mode$ac_tag in
24919
17063
  :[FHL]*:*);;
24920
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24921
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
17064
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
17065
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
24922
17066
   { (exit 1); exit 1; }; };;
24923
17067
  :[FH]-) ac_tag=-:-;;
24924
17068
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24947
17091
           [\\/$]*) false;;
24948
17092
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24949
17093
           esac ||
24950
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24951
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
17094
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
17095
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24952
17096
   { (exit 1); exit 1; }; };;
24953
17097
      esac
24954
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
17098
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
17099
      ac_file_inputs="$ac_file_inputs '$ac_f'"
24955
17100
    done
24956
17101
 
24957
17102
    # Let's still pretend it is `configure' which instantiates (i.e., don't
24958
17103
    # use $as_me), people would be surprised to read:
24959
17104
    #    /* config.h.  Generated by config.status.  */
24960
 
    configure_input="Generated from "`IFS=:
24961
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
17105
    configure_input='Generated from '`
 
17106
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
17107
        `' by configure.'
24962
17108
    if test x"$ac_file" != x-; then
24963
17109
      configure_input="$ac_file.  $configure_input"
24964
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
24965
 
echo "$as_me: creating $ac_file" >&6;}
 
17110
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
17111
$as_echo "$as_me: creating $ac_file" >&6;}
24966
17112
    fi
 
17113
    # Neutralize special characters interpreted by sed in replacement strings.
 
17114
    case $configure_input in #(
 
17115
    *\&* | *\|* | *\\* )
 
17116
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
17117
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
17118
    *) ac_sed_conf_input=$configure_input;;
 
17119
    esac
24967
17120
 
24968
17121
    case $ac_tag in
24969
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
17122
    *:-:* | *:-) cat >"$tmp/stdin" \
 
17123
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
17124
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
17125
   { (exit 1); exit 1; }; } ;;
24970
17126
    esac
24971
17127
    ;;
24972
17128
  esac
24976
17132
         X"$ac_file" : 'X\(//\)[^/]' \| \
24977
17133
         X"$ac_file" : 'X\(//\)$' \| \
24978
17134
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24979
 
echo X"$ac_file" |
 
17135
$as_echo X"$ac_file" |
24980
17136
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24981
17137
            s//\1/
24982
17138
            q
25002
17158
    as_dirs=
25003
17159
    while :; do
25004
17160
      case $as_dir in #(
25005
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
17161
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25006
17162
      *) as_qdir=$as_dir;;
25007
17163
      esac
25008
17164
      as_dirs="'$as_qdir' $as_dirs"
25011
17167
         X"$as_dir" : 'X\(//\)[^/]' \| \
25012
17168
         X"$as_dir" : 'X\(//\)$' \| \
25013
17169
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25014
 
echo X"$as_dir" |
 
17170
$as_echo X"$as_dir" |
25015
17171
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25016
17172
            s//\1/
25017
17173
            q
25032
17188
      test -d "$as_dir" && break
25033
17189
    done
25034
17190
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25035
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25036
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
17191
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
17192
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25037
17193
   { (exit 1); exit 1; }; }; }
25038
17194
  ac_builddir=.
25039
17195
 
25040
17196
case "$ac_dir" in
25041
17197
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25042
17198
*)
25043
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
17199
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25044
17200
  # A ".." for each directory in $ac_dir_suffix.
25045
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
17201
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25046
17202
  case $ac_top_builddir_sub in
25047
17203
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25048
17204
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25080
17236
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25081
17237
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25082
17238
  esac
25083
 
  ac_MKDIR_P=$MKDIR_P
25084
 
  case $MKDIR_P in
25085
 
  [\\/$]* | ?:[\\/]* ) ;;
25086
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
25087
 
  esac
25088
17239
_ACEOF
25089
17240
 
25090
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17241
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25091
17242
# If the template does not know about datarootdir, expand it.
25092
17243
# FIXME: This hack should be removed a few years after 2.60.
25093
17244
ac_datarootdir_hack=; ac_datarootdir_seen=
25094
17245
 
25095
 
case `sed -n '/datarootdir/ {
 
17246
ac_sed_dataroot='
 
17247
/datarootdir/ {
25096
17248
  p
25097
17249
  q
25098
17250
}
25101
17253
/@infodir@/p
25102
17254
/@localedir@/p
25103
17255
/@mandir@/p
25104
 
' $ac_file_inputs` in
 
17256
'
 
17257
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25105
17258
*datarootdir*) ac_datarootdir_seen=yes;;
25106
17259
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25107
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25108
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
17260
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
17261
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25109
17262
_ACEOF
25110
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17263
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25111
17264
  ac_datarootdir_hack='
25112
17265
  s&@datadir@&$datadir&g
25113
17266
  s&@docdir@&$docdir&g
25121
17274
# Neutralize VPATH when `$srcdir' = `.'.
25122
17275
# Shell code in configure.ac might set extrasub.
25123
17276
# FIXME: do we really want to maintain this feature?
25124
 
cat >>$CONFIG_STATUS <<_ACEOF
25125
 
  sed "$ac_vpsub
 
17277
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17278
ac_sed_extra="$ac_vpsub
25126
17279
$extrasub
25127
17280
_ACEOF
25128
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17281
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25129
17282
:t
25130
17283
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25131
 
s&@configure_input@&$configure_input&;t t
 
17284
s|@configure_input@|$ac_sed_conf_input|;t t
25132
17285
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
17286
s&@top_build_prefix@&$ac_top_build_prefix&;t t
25133
17287
s&@srcdir@&$ac_srcdir&;t t
25134
17288
s&@abs_srcdir@&$ac_abs_srcdir&;t t
25135
17289
s&@top_srcdir@&$ac_top_srcdir&;t t
25138
17292
s&@abs_builddir@&$ac_abs_builddir&;t t
25139
17293
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25140
17294
s&@INSTALL@&$ac_INSTALL&;t t
25141
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
25142
17295
$ac_datarootdir_hack
25143
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
17296
"
 
17297
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
17298
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
17299
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
17300
   { (exit 1); exit 1; }; }
25144
17301
 
25145
17302
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25146
17303
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25147
17304
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25148
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17305
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25149
17306
which seems to be undefined.  Please make sure it is defined." >&5
25150
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17307
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25151
17308
which seems to be undefined.  Please make sure it is defined." >&2;}
25152
17309
 
25153
17310
  rm -f "$tmp/stdin"
25154
17311
  case $ac_file in
25155
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
25156
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25157
 
  esac
 
17312
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
17313
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17314
  esac \
 
17315
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
17316
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
17317
   { (exit 1); exit 1; }; }
25158
17318
 ;;
25159
17319
  :H)
25160
17320
  #
25161
17321
  # CONFIG_HEADER
25162
17322
  #
25163
 
_ACEOF
25164
 
 
25165
 
# Transform confdefs.h into a sed script `conftest.defines', that
25166
 
# substitutes the proper values into config.h.in to produce config.h.
25167
 
rm -f conftest.defines conftest.tail
25168
 
# First, append a space to every undef/define line, to ease matching.
25169
 
echo 's/$/ /' >conftest.defines
25170
 
# Then, protect against being on the right side of a sed subst, or in
25171
 
# an unquoted here document, in config.status.  If some macros were
25172
 
# called several times there might be several #defines for the same
25173
 
# symbol, which is useless.  But do not sort them, since the last
25174
 
# AC_DEFINE must be honored.
25175
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25176
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25177
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
25178
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
25179
 
# just an empty string.
25180
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
25181
 
ac_dB='\\)[      (].*,\\1define\\2'
25182
 
ac_dC=' '
25183
 
ac_dD=' ,'
25184
 
 
25185
 
uniq confdefs.h |
25186
 
  sed -n '
25187
 
        t rset
25188
 
        :rset
25189
 
        s/^[     ]*#[    ]*define[       ][      ]*//
25190
 
        t ok
25191
 
        d
25192
 
        :ok
25193
 
        s/[\\&,]/\\&/g
25194
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25195
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25196
 
  ' >>conftest.defines
25197
 
 
25198
 
# Remove the space that was appended to ease matching.
25199
 
# Then replace #undef with comments.  This is necessary, for
25200
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
25201
 
# on some systems where configure will not decide to define it.
25202
 
# (The regexp can be short, since the line contains either #define or #undef.)
25203
 
echo 's/ $//
25204
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
25205
 
 
25206
 
# Break up conftest.defines:
25207
 
ac_max_sed_lines=50
25208
 
 
25209
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25210
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25211
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25212
 
# et cetera.
25213
 
ac_in='$ac_file_inputs'
25214
 
ac_out='"$tmp/out1"'
25215
 
ac_nxt='"$tmp/out2"'
25216
 
 
25217
 
while :
25218
 
do
25219
 
  # Write a here document:
25220
 
    cat >>$CONFIG_STATUS <<_ACEOF
25221
 
    # First, check the format of the line:
25222
 
    cat >"\$tmp/defines.sed" <<\\CEOF
25223
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
25224
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
25225
 
b
25226
 
:def
25227
 
_ACEOF
25228
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25229
 
  echo 'CEOF
25230
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25231
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25232
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25233
 
  grep . conftest.tail >/dev/null || break
25234
 
  rm -f conftest.defines
25235
 
  mv conftest.tail conftest.defines
25236
 
done
25237
 
rm -f conftest.defines conftest.tail
25238
 
 
25239
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
25240
 
cat >>$CONFIG_STATUS <<\_ACEOF
25241
17323
  if test x"$ac_file" != x-; then
25242
 
    echo "/* $configure_input  */" >"$tmp/config.h"
25243
 
    cat "$ac_result" >>"$tmp/config.h"
25244
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25245
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25246
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
17324
    {
 
17325
      $as_echo "/* $configure_input  */" \
 
17326
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
17327
    } >"$tmp/config.h" \
 
17328
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
17329
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
17330
   { (exit 1); exit 1; }; }
 
17331
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
17332
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
17333
$as_echo "$as_me: $ac_file is unchanged" >&6;}
25247
17334
    else
25248
 
      rm -f $ac_file
25249
 
      mv "$tmp/config.h" $ac_file
 
17335
      rm -f "$ac_file"
 
17336
      mv "$tmp/config.h" "$ac_file" \
 
17337
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
17338
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
17339
   { (exit 1); exit 1; }; }
25250
17340
    fi
25251
17341
  else
25252
 
    echo "/* $configure_input  */"
25253
 
    cat "$ac_result"
 
17342
    $as_echo "/* $configure_input  */" \
 
17343
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
17344
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
17345
$as_echo "$as_me: error: could not create -" >&2;}
 
17346
   { (exit 1); exit 1; }; }
25254
17347
  fi
25255
 
  rm -f "$tmp/out12"
25256
 
# Compute $ac_file's index in $config_headers.
25257
 
_am_arg=$ac_file
 
17348
# Compute "$ac_file"'s index in $config_headers.
25258
17349
_am_stamp_count=1
25259
17350
for _am_header in $config_headers :; do
25260
17351
  case $_am_header in
25261
 
    $_am_arg | $_am_arg:* )
 
17352
    "$ac_file" | "$ac_file":* )
25262
17353
      break ;;
25263
17354
    * )
25264
17355
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25265
17356
  esac
25266
17357
done
25267
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25268
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25269
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
25270
 
         X"$_am_arg" : 'X\(//\)$' \| \
25271
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25272
 
echo X"$_am_arg" |
 
17358
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
 
17359
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17360
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
17361
         X"$ac_file" : 'X\(//\)$' \| \
 
17362
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
17363
$as_echo X"$ac_file" |
25273
17364
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25274
17365
            s//\1/
25275
17366
            q
25289
17380
          s/.*/./; q'`/stamp-h$_am_stamp_count
25290
17381
 ;;
25291
17382
 
25292
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25293
 
echo "$as_me: executing $ac_file commands" >&6;}
 
17383
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
17384
$as_echo "$as_me: executing $ac_file commands" >&6;}
25294
17385
 ;;
25295
17386
  esac
25296
17387
 
25304
17395
  # some people rename them; so instead we look at the file content.
25305
17396
  # Grep'ing the first line is not enough: some people post-process
25306
17397
  # each Makefile.in and add a new line on top of each file to say so.
25307
 
  # Grep'ing the whole file is not good either: AIX grep has a line
25308
 
  # limit of 2048, but all sed's we know have understand at least 4000.
25309
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
17398
  # So let's grep whole file.
 
17399
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25310
17400
    dirpart=`$as_dirname -- "$mf" ||
25311
17401
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25312
17402
         X"$mf" : 'X\(//\)[^/]' \| \
25313
17403
         X"$mf" : 'X\(//\)$' \| \
25314
17404
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25315
 
echo X"$mf" |
 
17405
$as_echo X"$mf" |
25316
17406
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25317
17407
            s//\1/
25318
17408
            q
25356
17446
         X"$file" : 'X\(//\)[^/]' \| \
25357
17447
         X"$file" : 'X\(//\)$' \| \
25358
17448
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25359
 
echo X"$file" |
 
17449
$as_echo X"$file" |
25360
17450
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25361
17451
            s//\1/
25362
17452
            q
25382
17472
    as_dirs=
25383
17473
    while :; do
25384
17474
      case $as_dir in #(
25385
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
17475
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25386
17476
      *) as_qdir=$as_dir;;
25387
17477
      esac
25388
17478
      as_dirs="'$as_qdir' $as_dirs"
25391
17481
         X"$as_dir" : 'X\(//\)[^/]' \| \
25392
17482
         X"$as_dir" : 'X\(//\)$' \| \
25393
17483
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25394
 
echo X"$as_dir" |
 
17484
$as_echo X"$as_dir" |
25395
17485
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25396
17486
            s//\1/
25397
17487
            q
25412
17502
      test -d "$as_dir" && break
25413
17503
    done
25414
17504
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25415
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25416
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
17505
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
17506
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25417
17507
   { (exit 1); exit 1; }; }; }
25418
17508
    # echo "creating $dirpart/$file"
25419
17509
    echo '# dummy' > "$dirpart/$file"
25423
17513
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
25424
17514
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
25425
17515
      esac ;;
25426
 
    "intltool":C)
25427
 
 
25428
 
for file in intltool-extract intltool-merge intltool-update; do
25429
 
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
25430
 
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
25431
 
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
25432
 
        < ${ac_aux_dir}/${file}.in > ${file}.out
25433
 
  if cmp -s ${file} ${file}.out 2>/dev/null; then
25434
 
    rm -f ${file}.out
 
17516
    "libtool":C)
 
17517
 
 
17518
    # See if we are running on zsh, and set the options which allow our
 
17519
    # commands through without removal of \ escapes.
 
17520
    if test -n "${ZSH_VERSION+set}" ; then
 
17521
      setopt NO_GLOB_SUBST
 
17522
    fi
 
17523
 
 
17524
    cfgfile="${ofile}T"
 
17525
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17526
    $RM "$cfgfile"
 
17527
 
 
17528
    cat <<_LT_EOF >> "$cfgfile"
 
17529
#! $SHELL
 
17530
 
 
17531
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17532
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17533
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17534
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17535
#
 
17536
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
17537
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17538
#   Written by Gordon Matzigkeit, 1996
 
17539
#
 
17540
#   This file is part of GNU Libtool.
 
17541
#
 
17542
# GNU Libtool is free software; you can redistribute it and/or
 
17543
# modify it under the terms of the GNU General Public License as
 
17544
# published by the Free Software Foundation; either version 2 of
 
17545
# the License, or (at your option) any later version.
 
17546
#
 
17547
# As a special exception to the GNU General Public License,
 
17548
# if you distribute this file as part of a program or library that
 
17549
# is built using GNU Libtool, you may include this file under the
 
17550
# same distribution terms that you use for the rest of that program.
 
17551
#
 
17552
# GNU Libtool is distributed in the hope that it will be useful,
 
17553
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17554
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17555
# GNU General Public License for more details.
 
17556
#
 
17557
# You should have received a copy of the GNU General Public License
 
17558
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
17559
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
17560
# obtained by writing to the Free Software Foundation, Inc.,
 
17561
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17562
 
 
17563
 
 
17564
# The names of the tagged configurations supported by this script.
 
17565
available_tags=""
 
17566
 
 
17567
# ### BEGIN LIBTOOL CONFIG
 
17568
 
 
17569
# Which release of libtool.m4 was used?
 
17570
macro_version=$macro_version
 
17571
macro_revision=$macro_revision
 
17572
 
 
17573
# Whether or not to build shared libraries.
 
17574
build_libtool_libs=$enable_shared
 
17575
 
 
17576
# Whether or not to build static libraries.
 
17577
build_old_libs=$enable_static
 
17578
 
 
17579
# What type of objects to build.
 
17580
pic_mode=$pic_mode
 
17581
 
 
17582
# Whether or not to optimize for fast installation.
 
17583
fast_install=$enable_fast_install
 
17584
 
 
17585
# The host system.
 
17586
host_alias=$host_alias
 
17587
host=$host
 
17588
host_os=$host_os
 
17589
 
 
17590
# The build system.
 
17591
build_alias=$build_alias
 
17592
build=$build
 
17593
build_os=$build_os
 
17594
 
 
17595
# A sed program that does not truncate output.
 
17596
SED=$lt_SED
 
17597
 
 
17598
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
17599
Xsed="\$SED -e 1s/^X//"
 
17600
 
 
17601
# A grep program that handles long lines.
 
17602
GREP=$lt_GREP
 
17603
 
 
17604
# An ERE matcher.
 
17605
EGREP=$lt_EGREP
 
17606
 
 
17607
# A literal string matcher.
 
17608
FGREP=$lt_FGREP
 
17609
 
 
17610
# A BSD- or MS-compatible name lister.
 
17611
NM=$lt_NM
 
17612
 
 
17613
# Whether we need soft or hard links.
 
17614
LN_S=$lt_LN_S
 
17615
 
 
17616
# What is the maximum length of a command?
 
17617
max_cmd_len=$max_cmd_len
 
17618
 
 
17619
# Object file suffix (normally "o").
 
17620
objext=$ac_objext
 
17621
 
 
17622
# Executable file suffix (normally "").
 
17623
exeext=$exeext
 
17624
 
 
17625
# whether the shell understands "unset".
 
17626
lt_unset=$lt_unset
 
17627
 
 
17628
# turn spaces into newlines.
 
17629
SP2NL=$lt_lt_SP2NL
 
17630
 
 
17631
# turn newlines into spaces.
 
17632
NL2SP=$lt_lt_NL2SP
 
17633
 
 
17634
# How to create reloadable object files.
 
17635
reload_flag=$lt_reload_flag
 
17636
reload_cmds=$lt_reload_cmds
 
17637
 
 
17638
# An object symbol dumper.
 
17639
OBJDUMP=$lt_OBJDUMP
 
17640
 
 
17641
# Method to check whether dependent libraries are shared objects.
 
17642
deplibs_check_method=$lt_deplibs_check_method
 
17643
 
 
17644
# Command to use when deplibs_check_method == "file_magic".
 
17645
file_magic_cmd=$lt_file_magic_cmd
 
17646
 
 
17647
# The archiver.
 
17648
AR=$lt_AR
 
17649
AR_FLAGS=$lt_AR_FLAGS
 
17650
 
 
17651
# A symbol stripping program.
 
17652
STRIP=$lt_STRIP
 
17653
 
 
17654
# Commands used to install an old-style archive.
 
17655
RANLIB=$lt_RANLIB
 
17656
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17657
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17658
 
 
17659
# A C compiler.
 
17660
LTCC=$lt_CC
 
17661
 
 
17662
# LTCC compiler flags.
 
17663
LTCFLAGS=$lt_CFLAGS
 
17664
 
 
17665
# Take the output of nm and produce a listing of raw symbols and C names.
 
17666
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17667
 
 
17668
# Transform the output of nm in a proper C declaration.
 
17669
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17670
 
 
17671
# Transform the output of nm in a C name address pair.
 
17672
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17673
 
 
17674
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17675
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17676
 
 
17677
# The name of the directory that contains temporary libtool files.
 
17678
objdir=$objdir
 
17679
 
 
17680
# Shell to use when invoking shell scripts.
 
17681
SHELL=$lt_SHELL
 
17682
 
 
17683
# An echo program that does not interpret backslashes.
 
17684
ECHO=$lt_ECHO
 
17685
 
 
17686
# Used to examine libraries when file_magic_cmd begins with "file".
 
17687
MAGIC_CMD=$MAGIC_CMD
 
17688
 
 
17689
# Must we lock files when doing compilation?
 
17690
need_locks=$lt_need_locks
 
17691
 
 
17692
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17693
DSYMUTIL=$lt_DSYMUTIL
 
17694
 
 
17695
# Tool to change global to local symbols on Mac OS X.
 
17696
NMEDIT=$lt_NMEDIT
 
17697
 
 
17698
# Tool to manipulate fat objects and archives on Mac OS X.
 
17699
LIPO=$lt_LIPO
 
17700
 
 
17701
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17702
OTOOL=$lt_OTOOL
 
17703
 
 
17704
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17705
OTOOL64=$lt_OTOOL64
 
17706
 
 
17707
# Old archive suffix (normally "a").
 
17708
libext=$libext
 
17709
 
 
17710
# Shared library suffix (normally ".so").
 
17711
shrext_cmds=$lt_shrext_cmds
 
17712
 
 
17713
# The commands to extract the exported symbol list from a shared archive.
 
17714
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17715
 
 
17716
# Variables whose values should be saved in libtool wrapper scripts and
 
17717
# restored at link time.
 
17718
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17719
 
 
17720
# Do we need the "lib" prefix for modules?
 
17721
need_lib_prefix=$need_lib_prefix
 
17722
 
 
17723
# Do we need a version for libraries?
 
17724
need_version=$need_version
 
17725
 
 
17726
# Library versioning type.
 
17727
version_type=$version_type
 
17728
 
 
17729
# Shared library runtime path variable.
 
17730
runpath_var=$runpath_var
 
17731
 
 
17732
# Shared library path variable.
 
17733
shlibpath_var=$shlibpath_var
 
17734
 
 
17735
# Is shlibpath searched before the hard-coded library search path?
 
17736
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17737
 
 
17738
# Format of library name prefix.
 
17739
libname_spec=$lt_libname_spec
 
17740
 
 
17741
# List of archive names.  First name is the real one, the rest are links.
 
17742
# The last name is the one that the linker finds with -lNAME
 
17743
library_names_spec=$lt_library_names_spec
 
17744
 
 
17745
# The coded name of the library, if different from the real name.
 
17746
soname_spec=$lt_soname_spec
 
17747
 
 
17748
# Command to use after installation of a shared archive.
 
17749
postinstall_cmds=$lt_postinstall_cmds
 
17750
 
 
17751
# Command to use after uninstallation of a shared archive.
 
17752
postuninstall_cmds=$lt_postuninstall_cmds
 
17753
 
 
17754
# Commands used to finish a libtool library installation in a directory.
 
17755
finish_cmds=$lt_finish_cmds
 
17756
 
 
17757
# As "finish_cmds", except a single script fragment to be evaled but
 
17758
# not shown.
 
17759
finish_eval=$lt_finish_eval
 
17760
 
 
17761
# Whether we should hardcode library paths into libraries.
 
17762
hardcode_into_libs=$hardcode_into_libs
 
17763
 
 
17764
# Compile-time system search path for libraries.
 
17765
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17766
 
 
17767
# Run-time system search path for libraries.
 
17768
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17769
 
 
17770
# Whether dlopen is supported.
 
17771
dlopen_support=$enable_dlopen
 
17772
 
 
17773
# Whether dlopen of programs is supported.
 
17774
dlopen_self=$enable_dlopen_self
 
17775
 
 
17776
# Whether dlopen of statically linked programs is supported.
 
17777
dlopen_self_static=$enable_dlopen_self_static
 
17778
 
 
17779
# Commands to strip libraries.
 
17780
old_striplib=$lt_old_striplib
 
17781
striplib=$lt_striplib
 
17782
 
 
17783
 
 
17784
# The linker used to build libraries.
 
17785
LD=$lt_LD
 
17786
 
 
17787
# Commands used to build an old-style archive.
 
17788
old_archive_cmds=$lt_old_archive_cmds
 
17789
 
 
17790
# A language specific compiler.
 
17791
CC=$lt_compiler
 
17792
 
 
17793
# Is the compiler the GNU compiler?
 
17794
with_gcc=$GCC
 
17795
 
 
17796
# Compiler flag to turn off builtin functions.
 
17797
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
17798
 
 
17799
# How to pass a linker flag through the compiler.
 
17800
wl=$lt_lt_prog_compiler_wl
 
17801
 
 
17802
# Additional compiler flags for building library objects.
 
17803
pic_flag=$lt_lt_prog_compiler_pic
 
17804
 
 
17805
# Compiler flag to prevent dynamic linking.
 
17806
link_static_flag=$lt_lt_prog_compiler_static
 
17807
 
 
17808
# Does compiler simultaneously support -c and -o options?
 
17809
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
17810
 
 
17811
# Whether or not to add -lc for building shared libraries.
 
17812
build_libtool_need_lc=$archive_cmds_need_lc
 
17813
 
 
17814
# Whether or not to disallow shared libs when runtime libs are static.
 
17815
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
17816
 
 
17817
# Compiler flag to allow reflexive dlopens.
 
17818
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
17819
 
 
17820
# Compiler flag to generate shared objects directly from archives.
 
17821
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
17822
 
 
17823
# Whether the compiler copes with passing no objects directly.
 
17824
compiler_needs_object=$lt_compiler_needs_object
 
17825
 
 
17826
# Create an old-style archive from a shared archive.
 
17827
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
17828
 
 
17829
# Create a temporary old-style archive to link instead of a shared archive.
 
17830
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
17831
 
 
17832
# Commands used to build a shared archive.
 
17833
archive_cmds=$lt_archive_cmds
 
17834
archive_expsym_cmds=$lt_archive_expsym_cmds
 
17835
 
 
17836
# Commands used to build a loadable module if different from building
 
17837
# a shared archive.
 
17838
module_cmds=$lt_module_cmds
 
17839
module_expsym_cmds=$lt_module_expsym_cmds
 
17840
 
 
17841
# Whether we are building with GNU ld or not.
 
17842
with_gnu_ld=$lt_with_gnu_ld
 
17843
 
 
17844
# Flag that allows shared libraries with undefined symbols to be built.
 
17845
allow_undefined_flag=$lt_allow_undefined_flag
 
17846
 
 
17847
# Flag that enforces no undefined symbols.
 
17848
no_undefined_flag=$lt_no_undefined_flag
 
17849
 
 
17850
# Flag to hardcode \$libdir into a binary during linking.
 
17851
# This must work even if \$libdir does not exist
 
17852
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
17853
 
 
17854
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
17855
# during linking.  This must work even if \$libdir does not exist.
 
17856
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
17857
 
 
17858
# Whether we need a single "-rpath" flag with a separated argument.
 
17859
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
17860
 
 
17861
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17862
# DIR into the resulting binary.
 
17863
hardcode_direct=$hardcode_direct
 
17864
 
 
17865
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17866
# DIR into the resulting binary and the resulting library dependency is
 
17867
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17868
# library is relocated.
 
17869
hardcode_direct_absolute=$hardcode_direct_absolute
 
17870
 
 
17871
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17872
# into the resulting binary.
 
17873
hardcode_minus_L=$hardcode_minus_L
 
17874
 
 
17875
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17876
# into the resulting binary.
 
17877
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
17878
 
 
17879
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17880
# into the library and all subsequent libraries and executables linked
 
17881
# against it.
 
17882
hardcode_automatic=$hardcode_automatic
 
17883
 
 
17884
# Set to yes if linker adds runtime paths of dependent libraries
 
17885
# to runtime path list.
 
17886
inherit_rpath=$inherit_rpath
 
17887
 
 
17888
# Whether libtool must link a program against all its dependency libraries.
 
17889
link_all_deplibs=$link_all_deplibs
 
17890
 
 
17891
# Fix the shell variable \$srcfile for the compiler.
 
17892
fix_srcfile_path=$lt_fix_srcfile_path
 
17893
 
 
17894
# Set to "yes" if exported symbols are required.
 
17895
always_export_symbols=$always_export_symbols
 
17896
 
 
17897
# The commands to list exported symbols.
 
17898
export_symbols_cmds=$lt_export_symbols_cmds
 
17899
 
 
17900
# Symbols that should not be listed in the preloaded symbols.
 
17901
exclude_expsyms=$lt_exclude_expsyms
 
17902
 
 
17903
# Symbols that must always be exported.
 
17904
include_expsyms=$lt_include_expsyms
 
17905
 
 
17906
# Commands necessary for linking programs (against libraries) with templates.
 
17907
prelink_cmds=$lt_prelink_cmds
 
17908
 
 
17909
# Specify filename containing input files.
 
17910
file_list_spec=$lt_file_list_spec
 
17911
 
 
17912
# How to hardcode a shared library path into an executable.
 
17913
hardcode_action=$hardcode_action
 
17914
 
 
17915
# ### END LIBTOOL CONFIG
 
17916
 
 
17917
_LT_EOF
 
17918
 
 
17919
  case $host_os in
 
17920
  aix3*)
 
17921
    cat <<\_LT_EOF >> "$cfgfile"
 
17922
# AIX sometimes has problems with the GCC collect2 program.  For some
 
17923
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17924
# vanish in a puff of smoke.
 
17925
if test "X${COLLECT_NAMES+set}" != Xset; then
 
17926
  COLLECT_NAMES=
 
17927
  export COLLECT_NAMES
 
17928
fi
 
17929
_LT_EOF
 
17930
    ;;
 
17931
  esac
 
17932
 
 
17933
 
 
17934
ltmain="$ac_aux_dir/ltmain.sh"
 
17935
 
 
17936
 
 
17937
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17938
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17939
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17940
  # is reportedly fixed, but why not run on old versions too?
 
17941
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
17942
    || (rm -f "$cfgfile"; exit 1)
 
17943
 
 
17944
  case $xsi_shell in
 
17945
  yes)
 
17946
    cat << \_LT_EOF >> "$cfgfile"
 
17947
 
 
17948
# func_dirname file append nondir_replacement
 
17949
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
17950
# otherwise set result to NONDIR_REPLACEMENT.
 
17951
func_dirname ()
 
17952
{
 
17953
  case ${1} in
 
17954
    */*) func_dirname_result="${1%/*}${2}" ;;
 
17955
    *  ) func_dirname_result="${3}" ;;
 
17956
  esac
 
17957
}
 
17958
 
 
17959
# func_basename file
 
17960
func_basename ()
 
17961
{
 
17962
  func_basename_result="${1##*/}"
 
17963
}
 
17964
 
 
17965
# func_dirname_and_basename file append nondir_replacement
 
17966
# perform func_basename and func_dirname in a single function
 
17967
# call:
 
17968
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
17969
#             add APPEND to the result, otherwise set result
 
17970
#             to NONDIR_REPLACEMENT.
 
17971
#             value returned in "$func_dirname_result"
 
17972
#   basename: Compute filename of FILE.
 
17973
#             value retuned in "$func_basename_result"
 
17974
# Implementation must be kept synchronized with func_dirname
 
17975
# and func_basename. For efficiency, we do not delegate to
 
17976
# those functions but instead duplicate the functionality here.
 
17977
func_dirname_and_basename ()
 
17978
{
 
17979
  case ${1} in
 
17980
    */*) func_dirname_result="${1%/*}${2}" ;;
 
17981
    *  ) func_dirname_result="${3}" ;;
 
17982
  esac
 
17983
  func_basename_result="${1##*/}"
 
17984
}
 
17985
 
 
17986
# func_stripname prefix suffix name
 
17987
# strip PREFIX and SUFFIX off of NAME.
 
17988
# PREFIX and SUFFIX must not contain globbing or regex special
 
17989
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
17990
# dot (in which case that matches only a dot).
 
17991
func_stripname ()
 
17992
{
 
17993
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
17994
  # positional parameters, so assign one to ordinary parameter first.
 
17995
  func_stripname_result=${3}
 
17996
  func_stripname_result=${func_stripname_result#"${1}"}
 
17997
  func_stripname_result=${func_stripname_result%"${2}"}
 
17998
}
 
17999
 
 
18000
# func_opt_split
 
18001
func_opt_split ()
 
18002
{
 
18003
  func_opt_split_opt=${1%%=*}
 
18004
  func_opt_split_arg=${1#*=}
 
18005
}
 
18006
 
 
18007
# func_lo2o object
 
18008
func_lo2o ()
 
18009
{
 
18010
  case ${1} in
 
18011
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
18012
    *)    func_lo2o_result=${1} ;;
 
18013
  esac
 
18014
}
 
18015
 
 
18016
# func_xform libobj-or-source
 
18017
func_xform ()
 
18018
{
 
18019
  func_xform_result=${1%.*}.lo
 
18020
}
 
18021
 
 
18022
# func_arith arithmetic-term...
 
18023
func_arith ()
 
18024
{
 
18025
  func_arith_result=$(( $* ))
 
18026
}
 
18027
 
 
18028
# func_len string
 
18029
# STRING may not start with a hyphen.
 
18030
func_len ()
 
18031
{
 
18032
  func_len_result=${#1}
 
18033
}
 
18034
 
 
18035
_LT_EOF
 
18036
    ;;
 
18037
  *) # Bourne compatible functions.
 
18038
    cat << \_LT_EOF >> "$cfgfile"
 
18039
 
 
18040
# func_dirname file append nondir_replacement
 
18041
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18042
# otherwise set result to NONDIR_REPLACEMENT.
 
18043
func_dirname ()
 
18044
{
 
18045
  # Extract subdirectory from the argument.
 
18046
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
18047
  if test "X$func_dirname_result" = "X${1}"; then
 
18048
    func_dirname_result="${3}"
25435
18049
  else
25436
 
    mv -f ${file}.out ${file}
 
18050
    func_dirname_result="$func_dirname_result${2}"
25437
18051
  fi
25438
 
  chmod ugo+x ${file}
25439
 
  chmod u+w ${file}
25440
 
done
 
18052
}
 
18053
 
 
18054
# func_basename file
 
18055
func_basename ()
 
18056
{
 
18057
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
18058
}
 
18059
 
 
18060
 
 
18061
# func_stripname prefix suffix name
 
18062
# strip PREFIX and SUFFIX off of NAME.
 
18063
# PREFIX and SUFFIX must not contain globbing or regex special
 
18064
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18065
# dot (in which case that matches only a dot).
 
18066
# func_strip_suffix prefix name
 
18067
func_stripname ()
 
18068
{
 
18069
  case ${2} in
 
18070
    .*) func_stripname_result=`$ECHO "X${3}" \
 
18071
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
18072
    *)  func_stripname_result=`$ECHO "X${3}" \
 
18073
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
18074
  esac
 
18075
}
 
18076
 
 
18077
# sed scripts:
 
18078
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
18079
my_sed_long_arg='1s/^-[^=]*=//'
 
18080
 
 
18081
# func_opt_split
 
18082
func_opt_split ()
 
18083
{
 
18084
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
18085
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
18086
}
 
18087
 
 
18088
# func_lo2o object
 
18089
func_lo2o ()
 
18090
{
 
18091
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
18092
}
 
18093
 
 
18094
# func_xform libobj-or-source
 
18095
func_xform ()
 
18096
{
 
18097
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
18098
}
 
18099
 
 
18100
# func_arith arithmetic-term...
 
18101
func_arith ()
 
18102
{
 
18103
  func_arith_result=`expr "$@"`
 
18104
}
 
18105
 
 
18106
# func_len string
 
18107
# STRING may not start with a hyphen.
 
18108
func_len ()
 
18109
{
 
18110
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
18111
}
 
18112
 
 
18113
_LT_EOF
 
18114
esac
 
18115
 
 
18116
case $lt_shell_append in
 
18117
  yes)
 
18118
    cat << \_LT_EOF >> "$cfgfile"
 
18119
 
 
18120
# func_append var value
 
18121
# Append VALUE to the end of shell variable VAR.
 
18122
func_append ()
 
18123
{
 
18124
  eval "$1+=\$2"
 
18125
}
 
18126
_LT_EOF
 
18127
    ;;
 
18128
  *)
 
18129
    cat << \_LT_EOF >> "$cfgfile"
 
18130
 
 
18131
# func_append var value
 
18132
# Append VALUE to the end of shell variable VAR.
 
18133
func_append ()
 
18134
{
 
18135
  eval "$1=\$$1\$2"
 
18136
}
 
18137
 
 
18138
_LT_EOF
 
18139
    ;;
 
18140
  esac
 
18141
 
 
18142
 
 
18143
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
18144
    || (rm -f "$cfgfile"; exit 1)
 
18145
 
 
18146
  mv -f "$cfgfile" "$ofile" ||
 
18147
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
18148
  chmod +x "$ofile"
25441
18149
 
25442
18150
 ;;
25443
18151
    "po/stamp-it":C)
 
18152
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
18153
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
 
18154
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
 
18155
   { (exit 1); exit 1; }; }
 
18156
    fi
25444
18157
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
25445
18158
    >"po/stamp-it.tmp"
25446
18159
    sed '/^#/d
25449
18162
        '"s|^|  $ac_top_srcdir/|" \
25450
18163
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
25451
18164
 
25452
 
    if test ! -f "po/Makefile"; then
25453
 
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
25454
 
echo "$as_me: error: po/Makefile is not ready." >&2;}
25455
 
   { (exit 1); exit 1; }; }
25456
 
    fi
25457
 
    mv "po/Makefile" "po/Makefile.tmp"
25458
18165
    sed '/^POTFILES =/,/[^\\]$/ {
25459
18166
                /^POTFILES =/!d
25460
18167
                r po/POTFILES
25461
18168
          }
25462
 
         ' "po/Makefile.tmp" >"po/Makefile"
 
18169
         ' "po/Makefile.in" >"po/Makefile"
25463
18170
    rm -f "po/Makefile.tmp"
25464
18171
    mv "po/stamp-it.tmp" "po/stamp-it"
25465
18172
   ;;
25473
18180
chmod +x $CONFIG_STATUS
25474
18181
ac_clean_files=$ac_clean_files_save
25475
18182
 
 
18183
test $ac_write_fail = 0 ||
 
18184
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
18185
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
18186
   { (exit 1); exit 1; }; }
 
18187
 
25476
18188
 
25477
18189
# configure is writing to config.log, and then calls config.status.
25478
18190
# config.status does its own redirection, appending to config.log.
25494
18206
  # would make configure fail if this is the last instruction.
25495
18207
  $ac_cs_success || { (exit 1); exit 1; }
25496
18208
fi
 
18209
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
18210
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18211
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
18212
fi
25497
18213